/*
Theme Name: TemplateCraft
Theme URI: https://templatecraft.rankschool.in
Author: TemplateCraft
Description: A premium, modern storefront theme for digital templates, spreadsheets, planners and business tools.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: templatecraft
*/
:root{--ink:#172033;--muted:#667085;--brand:#5b4bdb;--brand2:#8a70ff;--paper:#f7f8fc;--line:#e8eaf1;--white:#fff;--radius:18px;--shadow:0 18px 50px rgba(24,32,51,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1160px,calc(100% - 40px));margin:auto}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.header-inner{height:78px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{font-weight:850;font-size:1.35rem;letter-spacing:-.05em}.brand span{color:var(--brand)}.custom-logo{max-height:44px;width:auto}.main-nav ul{display:flex;gap:26px;list-style:none;margin:0;padding:0;align-items:center}.main-nav a{font-size:.94rem;font-weight:650;color:#4c5568}.main-nav a:hover{color:var(--brand)}.header-cta,.button{display:inline-flex;align-items:center;justify-content:center;background:var(--brand);color:#fff!important;border:0;border-radius:999px;padding:12px 21px;font-weight:750;box-shadow:0 8px 20px rgba(91,75,219,.18);transition:.2s}.header-cta:hover,.button:hover{background:#4637c2;transform:translateY(-2px)}.menu-toggle{display:none;background:none;border:1px solid var(--line);padding:8px 12px;border-radius:10px}
.hero{padding:88px 0 76px;background:radial-gradient(circle at 85% 20%,#e9e5ff 0,transparent 28%),linear-gradient(135deg,#f8f8ff,#fff 62%)}.hero-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:55px;align-items:center}.eyebrow{display:inline-flex;padding:7px 13px;border-radius:999px;background:#eeebff;color:#5141c7;font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.hero h1{font-size:clamp(2.6rem,5.4vw,4.7rem);line-height:1.04;letter-spacing:-.065em;margin:22px 0}.hero h1 em{font-style:normal;color:var(--brand)}.hero p{font-size:1.13rem;color:var(--muted);max-width:590px;margin:0 0 28px}.hero-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.button.secondary{background:#fff;color:var(--ink)!important;border:1px solid var(--line);box-shadow:none}.hero-visual{min-height:365px;border-radius:30px;background:linear-gradient(145deg,#201b55,#5c4cdb 60%,#a28dff);padding:28px;display:flex;align-items:center;justify-content:center;box-shadow:0 30px 70px rgba(72,57,184,.22);position:relative;overflow:hidden}.hero-visual:before,.hero-visual:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.22);border-radius:50%;width:340px;height:340px}.hero-visual:after{width:240px;height:240px}.mock-card{z-index:1;background:rgba(255,255,255,.96);border-radius:18px;padding:23px;width:min(290px,90%);box-shadow:0 18px 45px rgba(0,0,0,.18);transform:rotate(-5deg)}.mock-top{display:flex;justify-content:space-between;color:#777;font-size:.72rem;font-weight:800}.mock-title{font-size:1.5rem;font-weight:850;line-height:1.15;margin:22px 0 16px;letter-spacing:-.04em}.mock-lines span{display:block;height:8px;background:#ececf5;border-radius:8px;margin:9px 0}.mock-lines span:nth-child(2){width:75%}.mock-lines span:nth-child(3){width:55%}.mock-pill{display:inline-block;margin-top:16px;background:#eeebff;color:#5141c7;padding:7px 12px;border-radius:20px;font-size:.7rem;font-weight:800}
.section{padding:76px 0}.section.soft{background:var(--paper)}.section-head{text-align:center;max-width:680px;margin:0 auto 38px}.section-head h2{font-size:clamp(2rem,3.5vw,2.8rem);line-height:1.12;letter-spacing:-.05em;margin:13px 0}.section-head p{color:var(--muted);margin:0}.feature-grid,.product-grid,.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.feature,.product-card,.step-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:25px;box-shadow:0 8px 30px rgba(24,32,51,.035)}.feature-icon{width:46px;height:46px;border-radius:14px;background:#efedff;color:var(--brand);display:grid;place-items:center;font-size:1.3rem;font-weight:900}.feature h3,.product-card h3,.step-card h3{margin:17px 0 7px;font-size:1.12rem;letter-spacing:-.02em}.feature p,.product-card p,.step-card p{color:var(--muted);margin:0;font-size:.94rem}.product-card{padding:0;overflow:hidden}.product-art{height:155px;background:linear-gradient(135deg,#eeebff,#dcd6ff);display:grid;place-items:center;color:#5546c9;font-size:2.3rem;font-weight:900}.product-body{padding:22px}.product-tag{font-size:.72rem;color:var(--brand);font-weight:850;text-transform:uppercase;letter-spacing:.06em}.product-price{font-weight:850;font-size:1.15rem;margin:15px 0}.product-body .button{padding:9px 16px;font-size:.86rem}.steps-grid{counter-reset:steps}.step-card{position:relative}.step-card:before{counter-increment:steps;content:"0" counter(steps);font-size:1.8rem;font-weight:900;color:#d4ceff;letter-spacing:-.06em}.cta-band{background:#211c55;color:#fff;border-radius:28px;padding:48px;display:flex;align-items:center;justify-content:space-between;gap:25px}.cta-band h2{font-size:2rem;line-height:1.15;letter-spacing:-.04em;margin:0 0 8px}.cta-band p{color:#d7d3ff;margin:0}.cta-band .button{background:#fff;color:#30266f!important;box-shadow:none}
.site-footer{background:#11162a;color:#e8eaf4;padding:55px 0 25px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:35px}.footer-grid p,.footer-grid a{color:#aeb5c8}.footer-grid h3{font-size:1rem;color:#fff}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin:8px 0}.copyright{border-top:1px solid #30364b;margin-top:35px;padding-top:20px;color:#929bb2;font-size:.85rem}
.page-hero{padding:58px 0;background:var(--paper)}.page-hero h1{font-size:clamp(2.3rem,4vw,3.5rem);letter-spacing:-.06em;margin:0 0 8px}.content-area{padding:55px 0;min-height:45vh}.content-area article{max-width:850px}.content-area p{color:#50596b}.content-area h2,.content-area h3{letter-spacing:-.03em}.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product{width:auto!important;margin:0!important;padding:15px!important;border:1px solid var(--line);border-radius:18px}.woocommerce ul.products li.product img{border-radius:12px}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--brand);color:#fff;border-radius:999px}.woocommerce div.product .product_title{letter-spacing:-.04em}
@media(max-width:800px){.header-inner{height:68px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:68px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:18px 22px}.main-nav.is-open{display:block}.main-nav ul{display:block}.main-nav li{padding:9px 0}.header-cta{display:none}.hero{padding:58px 0}.hero-grid{grid-template-columns:1fr;gap:35px}.hero-visual{min-height:290px}.feature-grid,.product-grid,.steps-grid{grid-template-columns:1fr}.section{padding:58px 0}.cta-band{padding:30px;display:block}.cta-band .button{margin-top:20px}.footer-grid{grid-template-columns:1fr}.woocommerce ul.products{grid-template-columns:1fr 1fr}}
