/*
Theme Name: WorkbookHub
Theme URI: https://workbookhub.in/
Author: WorkbookHub
Description: A clean, responsive digital workbook and ebook storefront theme.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: workbookhub
*/
:root{--ink:#15243b;--muted:#617089;--blue:#2457d6;--blue-dark:#1743b4;--pale:#edf3ff;--line:#e4eaf3;--white:#fff;--radius:22px;--shadow:0 18px 55px rgba(28,57,110,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button,input{font:inherit}.wrap{width:min(1140px,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:24px}.brand{font-size:1.35rem;font-weight:850;letter-spacing:-.05em}.brand span{color:var(--blue)}.nav{display:flex;align-items:center;gap:28px;font-size:.94rem;color:#45536a}.nav a:hover{color:var(--blue)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 21px;border-radius:999px;background:var(--blue);color:#fff;font-weight:750;border:1px solid var(--blue);box-shadow:0 8px 22px rgba(36,87,214,.18);transition:.2s}.button:hover{background:var(--blue-dark);transform:translateY(-1px);color:#fff}.button.secondary{background:#fff;color:var(--ink);border-color:var(--line);box-shadow:none}.hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#f4f7ff 0%,#fff 56%,#eef4ff 100%);padding:88px 0 80px}.hero:before{content:"";position:absolute;width:460px;height:460px;border-radius:50%;background:rgba(110,151,255,.12);right:-130px;top:-170px}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:65px;position:relative}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--blue);font-size:.8rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.eyebrow:before{content:"";width:24px;height:2px;background:currentColor}.hero h1{font-size:clamp(2.7rem,5.2vw,4.5rem);line-height:1.06;letter-spacing:-.065em;margin:18px 0 22px;max-width:680px}.hero h1 em{font-style:normal;color:var(--blue)}.hero p{font-size:1.12rem;color:var(--muted);max-width:550px;margin:0 0 30px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px}.hero-note{margin-top:22px;font-size:.86rem;color:#7b8799}.hero-art{min-height:390px;display:grid;place-items:center;position:relative}.book-stack{position:relative;width:min(330px,80%);height:390px;display:grid;place-items:center;transform:rotate(3deg)}.book-back{position:absolute;inset:32px 0 20px 36px;border-radius:10px;background:#b9caff;transform:rotate(8deg);box-shadow:var(--shadow)}.book-cover{position:relative;width:84%;height:100%;padding:34px 28px;background:linear-gradient(150deg,#2457d6,#163d9e);border-radius:8px 14px 14px 8px;color:#fff;box-shadow:0 25px 60px rgba(27,57,126,.28);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.book-cover:after{content:"";position:absolute;width:230px;height:230px;border:1px solid rgba(255,255,255,.22);border-radius:50%;right:-100px;bottom:-85px;box-shadow:0 0 0 28px rgba(255,255,255,.05),0 0 0 58px rgba(255,255,255,.04)}.cover-label{font-size:.65rem;letter-spacing:.18em;text-transform:uppercase;opacity:.8}.cover-title{font-size:2.1rem;line-height:1.02;letter-spacing:-.05em;font-weight:850}.cover-sub{font-size:.8rem;opacity:.85}.floating-chip{position:absolute;background:#fff;padding:12px 16px;border-radius:14px;box-shadow:var(--shadow);font-size:.82rem;font-weight:750}.chip-one{left:0;top:60px}.chip-two{right:-4px;bottom:45px}.section{padding:82px 0}.section.soft{background:#f7f9fd}.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:34px}.section-head h2{font-size:clamp(2rem,3.5vw,2.8rem);line-height:1.1;letter-spacing:-.05em;margin:10px 0}.section-head p{max-width:540px;color:var(--muted);margin:0}.featured{display:grid;grid-template-columns:.8fr 1.2fr;gap:55px;align-items:center;padding:34px;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:#fff}.featured-visual{min-height:350px;background:linear-gradient(145deg,#edf3ff,#dce7ff);border-radius:18px;display:grid;place-items:center;padding:30px}.featured-visual .book-stack{height:300px;width:245px}.featured-visual .cover-title{font-size:1.65rem}.featured-copy .tag{display:inline-block;background:var(--pale);color:var(--blue);font-size:.75rem;font-weight:800;padding:6px 11px;border-radius:999px}.featured-copy h3{font-size:2.2rem;line-height:1.12;letter-spacing:-.05em;margin:16px 0}.featured-copy p{color:var(--muted)}.checklist{padding:0;margin:22px 0;list-style:none;display:grid;gap:10px}.checklist li{display:flex;gap:10px;align-items:flex-start}.checklist li:before{content:"✓";display:grid;place-items:center;flex:0 0 23px;height:23px;border-radius:50%;background:#e8f7ef;color:#18844a;font-weight:900;font-size:.8rem}.product-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:20px 0}.price{font-size:1.6rem;font-weight:850;letter-spacing:-.04em}.muted{color:var(--muted);font-size:.9rem}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.feature-card{padding:26px;border:1px solid var(--line);border-radius:18px;background:#fff}.icon-box{width:46px;height:46px;border-radius:14px;background:var(--pale);color:var(--blue);display:grid;place-items:center;font-size:1.25rem;font-weight:900}.feature-card h3{margin:17px 0 8px;font-size:1.08rem}.feature-card p{margin:0;color:var(--muted);font-size:.95rem}.cta{padding:54px;border-radius:26px;background:linear-gradient(120deg,#1d4fc5,#3675ee);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}.cta h2{font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.1;letter-spacing:-.05em;margin:0 0 10px}.cta p{margin:0;color:rgba(255,255,255,.8)}.cta .button{background:#fff;color:var(--blue);border-color:#fff;box-shadow:none;white-space:nowrap}.site-footer{background:#111f37;color:#fff;padding:44px 0 25px}.footer-top{display:flex;justify-content:space-between;gap:30px;align-items:center;padding-bottom:28px;border-bottom:1px solid rgba(255,255,255,.13)}.footer-top p{color:#b9c4d8;margin:6px 0 0}.footer-links{display:flex;gap:22px;flex-wrap:wrap;color:#d4dced;font-size:.9rem}.copyright{padding-top:20px;color:#9eacc4;font-size:.83rem;display:flex;justify-content:space-between;gap:16px}.content-area{padding:60px 0;min-height:45vh}.entry-title{font-size:2.5rem;letter-spacing:-.05em}.entry-content{max-width:760px}.entry-content a{color:var(--blue);text-decoration:underline}.menu-toggle{display:none;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px 12px;color:var(--ink)}@media(max-width:850px){.hero-grid,.featured{grid-template-columns:1fr;gap:35px}.hero{padding:65px 0}.hero-art{min-height:330px}.book-stack{height:330px}.featured-visual{min-height:300px}.section{padding:60px 0}.feature-grid{grid-template-columns:1fr}.cta{padding:35px;align-items:flex-start;flex-direction:column}.nav{gap:16px}}@media(max-width:640px){.wrap{width:min(100% - 30px,1140px)}.header-inner{height:68px}.menu-toggle{display:block}.nav{display:none;position:absolute;top:68px;left:0;right:0;background:#fff;padding:18px 20px 22px;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:15px}.nav.is-open{display:flex}.nav .button{text-align:center}.hero h1{font-size:2.75rem}.hero-art{min-height:290px}.book-stack{height:285px}.chip-one{left:-5px;top:25px}.chip-two{right:-5px;bottom:25px}.section-head{align-items:flex-start;flex-direction:column}.featured{padding:16px}.featured-visual{min-height:260px}.featured-copy{padding:10px}.featured-copy h3{font-size:1.8rem}.footer-top,.copyright{flex-direction:column;align-items:flex-start}.cta{padding:28px}.hero-actions .button{width:100%}}
