/* iMiTech CMS v8 — visual polish + real preset separation */
html{font-size:calc(16px * var(--font-scale,1))}
body{min-height:100vh}
body[data-density="compact"] .section{padding:74px 0}body[data-density="compact"] .section-sm{padding:48px 0}
body[data-density="spacious"] .section{padding:120px 0}body[data-density="spacious"] .section-sm{padding:82px 0}
body[data-header-style="solid"] .site-header{top:0;padding-top:0}body[data-header-style="solid"] .navbar{border-radius:0;border-inline:0;border-top:0;box-shadow:0 8px 28px rgba(40,28,82,.06);backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--surface)}

/* Cleaner premium home composition */
.hero{padding-top:72px}.hero-grid{gap:64px}.hero-copy h1{font-size:clamp(44px,4.8vw,64px);line-height:1.19;letter-spacing:-.045em}.hero-copy p{font-size:14.5px;max-width:590px}.hero-stage{min-height:560px}.hero-actions .btn{min-height:46px}.section-action{text-align:center;margin-top:30px}.panel-action{margin-top:20px}.about-home{align-items:center}
.product-feature{transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}.product-feature:hover{transform:translateY(-6px);border-color:color-mix(in srgb,var(--brand-primary) 24%,var(--line));box-shadow:0 24px 70px rgba(32,24,70,.10)}
.product-feature-media{overflow:hidden}.product-feature-media img{transition:transform .5s cubic-bezier(.2,.7,.2,1)}.product-feature:hover .product-feature-media img{transform:translateY(-4px) scale(1.012)}
.ai-panel,.workshop-panel,.cta{isolation:isolate}.ai-panel:after,.workshop-panel:after{content:"";position:absolute;inset:auto -80px -110px auto;width:250px;height:250px;border-radius:50%;background:color-mix(in srgb,var(--brand-secondary) 15%,transparent);filter:blur(2px);z-index:-1}.workshop-panel{position:relative;overflow:hidden}.workshop-panel:after{background:color-mix(in srgb,var(--brand-primary) 10%,transparent)}

/* Truly different design languages per preset */
body[data-preset="aurora"] .hero-stage{background:radial-gradient(circle at 76% 13%,color-mix(in srgb,var(--brand-primary) 32%,transparent),transparent 25rem),radial-gradient(circle at 12% 86%,color-mix(in srgb,var(--brand-secondary) 28%,transparent),transparent 24rem),linear-gradient(145deg,#0B1225,#23164B)}
body[data-preset="aurora"] .navbar{box-shadow:0 18px 55px rgba(64,44,122,.08)}
body[data-preset="aurora"] .product-feature:first-child{background:linear-gradient(180deg,#fff,color-mix(in srgb,var(--brand-secondary) 3%,#fff))}

body[data-preset="midnight"] .section-head .eyebrow,body[data-preset="midnight"] .hero-copy .eyebrow{background:#151C2A;border-color:#27334A;color:#A995FF}
body[data-preset="midnight"] .product-feature,body[data-preset="midnight"] .workshop-panel,body[data-preset="midnight"] .article-card{box-shadow:0 18px 60px rgba(0,0,0,.20)}
body[data-preset="midnight"] .hero-copy h1 .grad{background:linear-gradient(110deg,#B689FF,#55C7FF);-webkit-background-clip:text;background-clip:text;color:transparent}

body[data-preset="glass"] .navbar,body[data-preset="glass"] .product-feature,body[data-preset="glass"] .trust-card,body[data-preset="glass"] .workshop-panel,body[data-preset="glass"] .article-card{background:color-mix(in srgb,var(--surface) 76%,transparent);border-color:rgba(255,255,255,.55);box-shadow:0 20px 70px rgba(50,72,110,.10)}
body[data-preset="glass"] .hero-copy{padding:24px;border-radius:28px;background:rgba(255,255,255,.28);border:1px solid rgba(255,255,255,.42);backdrop-filter:blur(18px)}

body[data-preset="editorial"] .hero-grid{grid-template-columns:1.1fr .9fr;gap:38px}body[data-preset="editorial"] .hero-copy h1{font-size:clamp(50px,5.7vw,76px);line-height:1.07;letter-spacing:-.055em}body[data-preset="editorial"] .hero-stage{min-height:500px}body[data-preset="editorial"] .section-head{border-top:1px solid var(--ink);padding-top:16px}body[data-preset="editorial"] .product-feature:first-child,body[data-preset="editorial"] .product-feature:nth-child(2),body[data-preset="editorial"] .product-feature:nth-child(3){border-radius:0}body[data-preset="editorial"] .cta{border-radius:0;background:var(--ink);color:var(--surface)}

body[data-preset="neon"] .hero-copy h1 .grad{background:linear-gradient(105deg,#7C5CFF,#27B9FF 55%,#42E2C3);-webkit-background-clip:text;background-clip:text;color:transparent}body[data-preset="neon"] .navbar{border-color:#22304A}body[data-preset="neon"] .product-feature{border-color:#1B2940}body[data-preset="neon"] .product-feature:hover{border-color:#714EFF;box-shadow:0 0 0 1px #714EFF55,0 28px 90px rgba(0,0,0,.48),0 0 55px #653AFF22}body[data-preset="neon"] .cta{background:linear-gradient(115deg,#6A35FF,#168DFF 62%,#15BDAA)}

/* Visual editor mode: keep animations visible immediately */
body[data-visual-editor="1"] .reveal{opacity:1!important;transform:none!important}

@media(max-width:1080px){body[data-preset="editorial"] .hero-grid{grid-template-columns:1fr}.hero-grid{gap:36px}}
@media(max-width:700px){.hero{padding-top:44px}.hero-copy h1,body[data-preset="editorial"] .hero-copy h1{font-size:39px;line-height:1.22}.hero-copy p{font-size:13px}.hero-stage{min-height:420px}.section-action{text-align:stretch}.section-action .btn{width:100%}}
/* Visual Builder custom section templates */
.custom-home-section .custom-block{padding:44px 46px;border-radius:28px;background:var(--surface);border:1px solid var(--line);box-shadow:0 16px 54px rgba(35,27,75,.06)}.custom-home-section .custom-block h2{font-size:clamp(29px,3.7vw,45px);line-height:1.3;margin:10px 0}.custom-home-section .custom-block p{max-width:760px;color:var(--muted);font-size:13px}.custom-home-section .custom-block .btn{margin-top:14px}.custom-template-split .custom-block{display:grid;grid-template-columns:1fr auto;gap:36px;align-items:center}.custom-template-highlight .custom-block{background:linear-gradient(135deg,color-mix(in srgb,var(--brand-primary) 8%,var(--surface)),color-mix(in srgb,var(--brand-secondary) 7%,var(--surface)));border-color:color-mix(in srgb,var(--brand-primary) 16%,var(--line))}.custom-template-cta .custom-block{display:flex;align-items:center;justify-content:space-between;gap:34px;background:linear-gradient(118deg,#101629,#25164A);color:#fff;border-color:rgba(255,255,255,.08);box-shadow:0 30px 85px rgba(22,16,54,.18)}.custom-template-cta .custom-block p{color:#C7C3D5}.custom-template-cta .custom-block .btn{margin:0;white-space:nowrap}@media(max-width:700px){.custom-home-section .custom-block{padding:28px 24px}.custom-template-split .custom-block,.custom-template-cta .custom-block{display:block}.custom-template-cta .custom-block .btn{margin-top:16px;width:100%}}
