/* iMiTech CMS v7.2 — Premium visual system */

/* Font loader: supports both the normalized CMS filenames and the original filenames supplied by the owner. */

:root{
  --premium-max:1260px;
  --hero-deep:#0D1020;
  --hero-deep-2:#16122E;
  --premium-shadow:0 28px 80px rgba(36,26,77,.10);
  --premium-shadow-strong:0 38px 100px rgba(28,20,64,.16);
  --premium-hairline:color-mix(in srgb,var(--line) 82%,transparent);
}

body{font-family:var(--font-body,Tahoma,Arial,sans-serif);font-weight:400;letter-spacing:0;background-attachment:fixed}
.container{width:min(var(--premium-max),calc(100% - 48px))}
.display,.page-title,.section-head h2,.hero-copy h1,.workshop-display{font-weight:800;letter-spacing:-.035em}
.hero-copy p,.lead,.article-content,.product-description,.product-summary{font-weight:400}
.nav-link,.btn,.eyebrow,.store-btn{font-weight:600}

/* ---------- clearly distinct theme presets ---------- */
body[data-preset="aurora"]{
  --bg:#F6FAFD;--surface:#FFFFFF;--surface-2:#F1F5FA;--surface-3:#EAF0F7;--ink:#211947;--muted:#756F88;--line:#E2E3ED;
  --header:rgba(255,255,255,.88);--hero-deep:#0E1530;--hero-deep-2:#241650;
  background:
    radial-gradient(circle at 8% 0%,color-mix(in srgb,var(--brand-secondary) 12%,transparent),transparent 32rem),
    radial-gradient(circle at 94% 3%,color-mix(in srgb,var(--brand-primary) 12%,transparent),transparent 34rem),
    linear-gradient(180deg,#F8FCFF 0%,#F6F8FC 54%,#F8FAFC 100%);
}
body[data-preset="midnight"]{
  color-scheme:dark;--bg:#080B12;--surface:#101521;--surface-2:#141B2A;--surface-3:#192235;--ink:#F7F6FD;--muted:#A7A3B8;--line:#242C3D;
  --header:rgba(10,14,24,.90);--hero-deep:#090C15;--hero-deep-2:#251247;
  --shadow:0 30px 90px rgba(0,0,0,.34);--shadow-sm:0 15px 42px rgba(0,0,0,.26);
  background:
    radial-gradient(circle at 88% 0%,color-mix(in srgb,var(--brand-primary) 18%,transparent),transparent 32rem),
    radial-gradient(circle at 3% 18%,color-mix(in srgb,var(--brand-secondary) 13%,transparent),transparent 28rem),#080B12;
}
body[data-preset="glass"]{
  --bg:#EEF7FB;--surface:rgba(255,255,255,.68);--surface-2:rgba(247,250,255,.60);--surface-3:rgba(238,244,251,.72);--ink:#202047;--muted:#6D7187;--line:rgba(111,118,153,.18);
  --header:rgba(255,255,255,.58);--hero-deep:#17203C;--hero-deep-2:#2A205D;
  background:
    radial-gradient(circle at 10% 10%,rgba(36,167,242,.20),transparent 31rem),
    radial-gradient(circle at 86% 4%,rgba(123,57,237,.18),transparent 32rem),
    radial-gradient(circle at 70% 72%,rgba(34,200,190,.10),transparent 26rem),#EEF7FB;
}
body[data-preset="editorial"]{
  --bg:#F4F0E8;--surface:#FFFDF8;--surface-2:#ECE7DE;--surface-3:#E4DED4;--ink:#17151D;--muted:#6E675F;--line:#D8D0C5;
  --header:rgba(255,253,248,.94);--hero-deep:#17151D;--hero-deep-2:#332C3D;--ui-radius:12px;
  --shadow:0 20px 54px rgba(35,29,23,.08);--shadow-sm:0 10px 26px rgba(35,29,23,.06);
  background:#F4F0E8;
}
body[data-preset="neon"]{
  color-scheme:dark;--bg:#05070C;--surface:#0C111B;--surface-2:#101827;--surface-3:#152035;--ink:#F6F8FF;--muted:#97A3B7;--line:#1D2A40;
  --header:rgba(7,10,17,.88);--hero-deep:#070A10;--hero-deep-2:#10172A;
  --shadow:0 34px 100px rgba(0,0,0,.42);--shadow-sm:0 16px 46px rgba(0,0,0,.30);
  background:
    radial-gradient(circle at 84% -2%,rgba(123,57,237,.26),transparent 30rem),
    radial-gradient(circle at 8% 18%,rgba(36,167,242,.19),transparent 28rem),#05070C;
}

body[data-preset="glass"] .navbar,
body[data-preset="glass"] .product-feature,
body[data-preset="glass"] .trust-card,
body[data-preset="glass"] .article-card,
body[data-preset="glass"] .custom-block,
body[data-preset="glass"] .product-copy-card{backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
body[data-preset="editorial"] .navbar{border-radius:0;border-inline:0;box-shadow:none}
body[data-preset="editorial"] .btn{border-radius:6px}
body[data-preset="editorial"] .eyebrow{border-radius:4px;text-transform:uppercase;letter-spacing:.06em;background:transparent}
body[data-preset="editorial"] .product-feature,body[data-preset="editorial"] .article-card,body[data-preset="editorial"] .trust-card{border-radius:8px;box-shadow:none}
body[data-preset="midnight"] .navbar,body[data-preset="neon"] .navbar{box-shadow:0 18px 54px rgba(0,0,0,.30)}
body[data-preset="neon"] .btn-primary{box-shadow:0 0 30px color-mix(in srgb,var(--brand-primary) 42%,transparent),0 0 55px color-mix(in srgb,var(--brand-secondary) 18%,transparent)}
body[data-preset="neon"] .product-feature:hover{box-shadow:0 0 0 1px color-mix(in srgb,var(--brand-primary) 35%,transparent),0 26px 75px rgba(0,0,0,.38)}

/* ---------- premium navigation ---------- */
.site-header{top:14px;padding-top:10px}
.navbar{min-height:74px;padding:0 14px 0 18px;border-radius:20px;border:1px solid var(--premium-hairline);box-shadow:0 14px 44px rgba(39,29,85,.065)}
.brand img{width:158px}
.nav-links{gap:1px}
.nav-link{padding:10px 12px;font-size:11.5px}
.nav-link.active{background:color-mix(in srgb,var(--brand-primary) 7%,var(--surface));color:var(--ink)}
.nav-link.active:after{width:16px;height:2px;border-radius:999px;bottom:4px}
.nav-actions .btn{min-height:42px;border-radius:12px}
.icon-btn,.lang-switch{border-radius:12px}

/* ---------- redesigned home hero ---------- */
.hero{padding:64px 0 42px;position:relative}
.hero:before{content:"";position:absolute;inset:0 0 auto;height:440px;pointer-events:none;background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 20%,transparent),transparent);opacity:.7}
.hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:56px;align-items:center}
.hero-copy{position:relative;z-index:2;padding-inline-start:8px}
.hero-copy h1{font-size:clamp(48px,5.25vw,68px);line-height:1.18;margin:15px 0 18px;max-width:720px}
.hero-copy p{max-width:610px;font-size:15px;line-height:2.05}
.hero-actions{margin-top:25px}.hero-tags{margin-top:20px}
.hero-tags span{padding:6px 11px;background:transparent;border-color:color-mix(in srgb,var(--line) 82%,transparent);font-size:9px}
.hero-stage{min-height:590px;border-radius:34px;background:
  radial-gradient(circle at 72% 12%,color-mix(in srgb,var(--brand-primary) 30%,transparent),transparent 26rem),
  radial-gradient(circle at 10% 84%,color-mix(in srgb,var(--brand-secondary) 24%,transparent),transparent 24rem),
  linear-gradient(145deg,var(--hero-deep),var(--hero-deep-2));
  border:1px solid rgba(255,255,255,.08);box-shadow:var(--premium-shadow-strong);overflow:hidden}
.hero-stage:before{width:520px;height:520px;border-color:rgba(255,255,255,.09);box-shadow:0 0 0 55px rgba(255,255,255,.018),0 0 0 110px rgba(255,255,255,.012)}
.hero-stage:after{width:360px;height:360px;border-color:color-mix(in srgb,var(--brand-secondary) 32%,transparent)}
.hero-stage .hero-phone{border-width:6px;border-color:#070A10;background:#070A10;box-shadow:0 34px 70px rgba(0,0,0,.40)}
.hero-stage .hero-phone.p1{width:252px;height:505px;right:50%;top:51%;transform:translate(50%,-50%) rotate(-1deg)}
.hero-stage .hero-phone.p2{width:156px;height:316px;right:4%;bottom:48px;transform:rotate(8deg)}
.hero-stage .hero-phone.p3{width:156px;height:316px;left:4%;top:48px;transform:rotate(-8deg)}
.hero-float{background:rgba(255,255,255,.91);border-color:rgba(255,255,255,.72);color:#1F173F;box-shadow:0 16px 45px rgba(0,0,0,.18)}
.hero-float small{color:#746F84}
body[data-preset="midnight"] .hero-float,body[data-preset="neon"] .hero-float{background:rgba(17,22,34,.88);border-color:rgba(255,255,255,.08);color:#F8F6FF}
body[data-preset="midnight"] .hero-float small,body[data-preset="neon"] .hero-float small{color:#A7A3B8}

.trust-grid{margin-top:22px;gap:10px}
.trust-card{min-height:92px;display:flex;flex-direction:column;justify-content:center;padding:14px 16px;border-radius:16px;background:color-mix(in srgb,var(--surface) 90%,transparent);border-color:var(--premium-hairline);text-align:start}
.trust-card b{font-size:20px;line-height:1.25}.trust-card span{margin-top:3px;font-size:9px}

/* ---------- stronger section hierarchy ---------- */
.section{padding:96px 0}.section-sm{padding:66px 0}
.section-head{max-width:820px;margin:0 0 38px;text-align:start}
html[dir="ltr"] .section-head{text-align:left}
.section-head h2{font-size:clamp(31px,3.65vw,46px);line-height:1.3;margin-top:10px}
.section-head p{font-size:13px;line-height:1.95;max-width:720px;margin:10px 0 0}
.eyebrow{font-size:9px;font-weight:700;letter-spacing:.01em}

.product-feature-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:16px}
.product-feature{grid-column:span 4;border-radius:24px;border-color:var(--premium-hairline);box-shadow:0 12px 36px rgba(42,31,86,.045);overflow:hidden}
.product-feature:first-child{grid-column:span 7}.product-feature:nth-child(2){grid-column:span 5}.product-feature:nth-child(3){grid-column:span 12;display:grid;grid-template-columns:1.12fr .88fr;min-height:360px}
.product-feature:nth-child(3) .product-feature-media{height:100%;border-bottom:0;border-inline-end:1px solid var(--line)}
.product-feature:nth-child(3) .product-feature-body{display:flex;flex-direction:column;justify-content:center;padding:28px}
.product-feature-media{height:390px;padding:20px;background:linear-gradient(145deg,color-mix(in srgb,var(--surface-2) 88%,var(--brand-secondary) 12%),var(--surface-2));position:relative}
.product-feature-media:before{content:"";position:absolute;inset:18px;border:1px solid color-mix(in srgb,var(--line) 70%,transparent);border-radius:18px;pointer-events:none}
.product-feature-media img{position:relative;z-index:1;max-height:345px;box-shadow:0 22px 56px rgba(7,11,24,.18)}
.product-feature-body{padding:20px 21px 22px}
.product-head h3{font-size:19px;font-weight:700}.product-feature-body p{font-size:11.5px;line-height:1.95}

.ai-panel{border-radius:30px;position:relative;overflow:hidden;background:
  radial-gradient(circle at 85% 5%,color-mix(in srgb,var(--brand-primary) 34%,transparent),transparent 24rem),
  radial-gradient(circle at 10% 90%,color-mix(in srgb,var(--brand-secondary) 28%,transparent),transparent 24rem),
  linear-gradient(140deg,#0C1120,#1B1538);color:#fff;border:1px solid rgba(255,255,255,.08);box-shadow:var(--premium-shadow-strong)}
.ai-panel .muted,.ai-panel p{color:#C8C4D7}.ai-panel .eyebrow{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.10);color:#CFC4FF}.ai-mini{border-color:rgba(255,255,255,.09);background:rgba(255,255,255,.055)}

.workshop-panel{border-radius:28px;border-color:var(--premium-hairline);box-shadow:var(--premium-shadow);background:linear-gradient(135deg,var(--surface),color-mix(in srgb,var(--surface-2) 86%,var(--brand-primary) 14%))}
.cta{border-radius:28px;background:linear-gradient(115deg,var(--brand-primary),color-mix(in srgb,var(--brand-secondary) 88%,#fff));box-shadow:0 24px 68px color-mix(in srgb,var(--brand-primary) 20%,transparent)}

/* ---------- cards/pages refinement ---------- */
.article-card,.product-showcase,.product-copy-card,.custom-block,.legal-content,.empty-state,.empty-page{border-color:var(--premium-hairline)}
.page-hero{padding-top:72px}.page-title{font-size:clamp(42px,5vw,60px)}
.catalog-tools{border-radius:18px;box-shadow:0 12px 38px rgba(42,31,86,.05)}

/* ---------- theme-specific component language ---------- */
body[data-preset="midnight"] .product-feature-media,body[data-preset="neon"] .product-feature-media{background:linear-gradient(145deg,#111827,#151C2C)}
body[data-preset="editorial"] .hero-stage{border-radius:8px;background:linear-gradient(145deg,#17151D,#332C3D)}
body[data-preset="editorial"] .product-feature-grid{gap:10px}
body[data-preset="editorial"] .product-feature-media{background:#ECE7DE}
body[data-preset="editorial"] .trust-card{border-top:2px solid var(--ink);border-right:0;border-left:0;border-bottom:0;background:transparent;border-radius:0;padding-inline:0}
body[data-preset="editorial"] .section-head h2{font-size:clamp(34px,4vw,52px)}
body[data-preset="glass"] .hero-stage{background:
  radial-gradient(circle at 70% 20%,rgba(123,57,237,.30),transparent 25rem),
  radial-gradient(circle at 14% 84%,rgba(36,167,242,.28),transparent 24rem),
  linear-gradient(145deg,rgba(19,30,58,.95),rgba(41,31,87,.94))}
body[data-preset="neon"] .hero-stage{box-shadow:0 0 0 1px rgba(74,128,255,.08),0 34px 100px rgba(0,0,0,.50),0 0 75px rgba(123,57,237,.14)}
body[data-preset="neon"] .eyebrow{box-shadow:inset 0 0 20px color-mix(in srgb,var(--brand-primary) 6%,transparent)}

/* ---------- responsive ---------- */
@media(max-width:1080px){
  .container{width:min(var(--premium-max),calc(100% - 34px))}
  .hero-grid{grid-template-columns:1fr;gap:34px}.hero-copy{order:1}.hero-stage{order:2;min-height:540px}
  .product-feature:first-child,.product-feature:nth-child(2),.product-feature:nth-child(3){grid-column:span 6;display:block;min-height:0}
  .product-feature:nth-child(3) .product-feature-media{height:390px;border-inline-end:0;border-bottom:1px solid var(--line)}
  .product-feature:nth-child(3) .product-feature-body{display:block;padding:20px 21px 22px}
}
@media(max-width:700px){
  .container{width:min(var(--premium-max),calc(100% - 22px))}.hero{padding:42px 0 28px}.hero-copy{padding:0}.hero-copy h1{font-size:40px;line-height:1.24}.hero-copy p{font-size:13.5px}
  .hero-stage{min-height:430px;border-radius:24px}.hero-stage .hero-phone.p1{width:196px;height:392px}.hero-stage .hero-phone.p2,.hero-stage .hero-phone.p3{width:118px;height:238px}
  .trust-grid{grid-template-columns:repeat(2,1fr)}.trust-card{min-height:84px}
  .section,.section-sm{padding:58px 0}.section-head{margin-bottom:28px}.section-head h2{font-size:31px}
  .product-feature:first-child,.product-feature:nth-child(2),.product-feature:nth-child(3){grid-column:1/-1}.product-feature-media,.product-feature:nth-child(3) .product-feature-media{height:350px}
  .navbar{min-height:64px;border-radius:16px}.brand img{width:136px}
}

/* Dark-mode companions for the light-oriented presets. */
html.dark body[data-preset="aurora"]{color-scheme:dark;--bg:#090C14;--surface:#111622;--surface-2:#161C29;--surface-3:#1C2333;--ink:#F6F3FF;--muted:#ABA5BB;--line:#272D3D;--header:rgba(17,22,34,.88);background:radial-gradient(circle at 8% 0%,color-mix(in srgb,var(--brand-secondary) 14%,transparent),transparent 32rem),radial-gradient(circle at 94% 3%,color-mix(in srgb,var(--brand-primary) 16%,transparent),transparent 34rem),#090C14}
html.dark body[data-preset="glass"]{color-scheme:dark;--bg:#0A101A;--surface:rgba(17,24,38,.72);--surface-2:rgba(22,31,48,.72);--surface-3:rgba(27,38,58,.78);--ink:#F5F6FC;--muted:#A9B0C0;--line:rgba(174,189,215,.16);--header:rgba(14,20,32,.66);background:radial-gradient(circle at 10% 10%,rgba(36,167,242,.18),transparent 31rem),radial-gradient(circle at 86% 4%,rgba(123,57,237,.20),transparent 32rem),#0A101A}
html.dark body[data-preset="editorial"]{color-scheme:dark;--bg:#151310;--surface:#1B1814;--surface-2:#24201B;--surface-3:#2C2721;--ink:#F3EEE6;--muted:#B7AEA2;--line:#383129;--header:rgba(27,24,20,.94);background:#151310}
