@font-face {
  font-family: "Dirooz";
  src: url("fonts/Dirooz.woff2") format("woff2"), url("fonts/Dirooz.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #060414;
  --bg-soft: #0d0821;
  --surface: rgba(20, 14, 47, 0.78);
  --surface-strong: #15102e;
  --surface-light: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(192, 132, 252, 0.3);
  --text: #f7f4ff;
  --muted: #b9b3cb;
  --muted-2: #8f88a4;
  --purple: #8b5cf6;
  --purple-2: #a855f7;
  --pink: #ec4899;
  --cyan: #22d3ee;
  --green: #34d399;
  --warning: #fbbf24;
  --danger: #fb7185;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 85% -10%, rgba(139, 92, 246, 0.24), transparent 31rem),
    radial-gradient(circle at -8% 24%, rgba(236, 72, 153, 0.12), transparent 30rem),
    var(--bg);
  font-family: "Dirooz", Tahoma, Arial, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

::selection { color: #fff; background: rgba(168, 85, 247, 0.6); }

a { color: inherit; }

img { max-width: 100%; }

button, input, textarea { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 12px;
  color: #140825;
  background: #fff;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(6, 4, 20, 0.68);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color .25s ease, background .25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(6, 4, 20, 0.9);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(139, 92, 246, .24);
}

.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-size: 16px; letter-spacing: .2px; }
.brand-copy small { margin-top: 5px; color: var(--muted-2); font-size: 10px; }

.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.main-nav a {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: var(--surface-light); }

.nav-cta { min-height: 42px !important; padding: 9px 17px !important; font-size: 12px !important; }

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  margin-right: auto;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #fff;
  background: var(--surface-light);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2) 58%, var(--pink));
  box-shadow: 0 12px 30px rgba(139, 92, 246, .25);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 16px 36px rgba(139, 92, 246, .34); }
.button:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(34, 211, 238, .7); outline-offset: 3px; }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.055); box-shadow: none; }
.button-secondary:hover { border-color: var(--line-strong); background: rgba(255,255,255,.085); box-shadow: none; }
.button-small { min-height: 44px; padding: 9px 17px; font-size: 13px; }
.button svg { width: 20px; height: 20px; fill: currentColor; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #d8b4fe;
  font-size: 13px;
  font-weight: 700;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 99px; background: linear-gradient(90deg, var(--pink), var(--purple)); }

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  padding: 84px 0 72px;
}

.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 60px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  max-width: 720px;
  margin: 0 0 20px;
  font-size: clamp(38px, 5.3vw, 66px);
  line-height: 1.32;
  letter-spacing: -1.8px;
  text-align: justify;
  text-align-last: right;
}
.gradient-text { color: transparent; background: linear-gradient(90deg, #c084fc, #f0abfc 48%, #67e8f9); background-clip: text; -webkit-background-clip: text; }
.hero-lead { max-width: 680px; margin: 0 0 30px; color: var(--muted); font-size: 17px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--muted-2); font-size: 12px; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.hero-points span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-orbit {
  position: absolute;
  width: 430px;
  aspect-ratio: 1;
  border: 1px solid rgba(192,132,252,.22);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(139, 92, 246, .12), 0 0 100px rgba(139, 92, 246, .12);
  animation: orbitPulse 5s ease-in-out infinite;
}
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.12); }
.hero-orbit::before { inset: 42px; }
.hero-orbit::after { inset: 92px; }
.phone-wrap { position: relative; z-index: 2; width: 292px; transform: rotate(-4deg); filter: drop-shadow(0 38px 38px rgba(0,0,0,.5)); transition: transform .4s ease; }
.phone-wrap:hover { transform: rotate(-1deg) translateY(-7px); }
.phone-wrap img { display: block; width: 100%; }
.float-card {
  position: absolute;
  z-index: 3;
  min-width: 150px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(17, 11, 41, .88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.float-card strong { display: block; font-size: 13px; }
.float-card span { color: var(--muted-2); font-size: 10px; }
.float-card-one { top: 85px; right: -12px; }
.float-card-two { bottom: 74px; left: -10px; }
.float-icon { width: 35px; height: 35px; display: grid; place-items: center; float: right; margin-left: 10px; border-radius: 11px; background: linear-gradient(135deg, rgba(139,92,246,.4), rgba(236,72,153,.3)); }

@keyframes orbitPulse { 50% { transform: scale(1.04); opacity: .78; } }

.section { padding: 96px 0; }
.section-tight { padding: 60px 0; }
.section-soft { border-block: 1px solid rgba(255,255,255,.065); background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(139,92,246,.04)); }
.section-header { max-width: 700px; margin: 0 auto 45px; text-align: center; }
.section-header.align-start { max-width: none; margin-inline: 0; text-align: right; }
.section-title { margin: 0 0 14px; font-size: clamp(27px, 3.4vw, 39px); line-height: 1.5; letter-spacing: -.6px; text-align: justify; text-align-last: center; }
.section-header.align-start .section-title { text-align-last: right; }
.section-desc { margin: 0; color: var(--muted); font-size: 15px; line-height: 2; }

.trust-bar { position: relative; z-index: 5; margin-top: -22px; }
.trust-shell {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, .8fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: var(--shadow);
}
.trust-item { min-height: 120px; display: flex; align-items: center; gap: 15px; padding: 22px; background: rgba(15, 10, 35, .94); }
.trust-item strong { display: block; font-size: 14px; }
.trust-item span { color: var(--muted-2); font-size: 11px; }
.trust-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; color: #d8b4fe; background: rgba(139,92,246,.14); }
.trust-icon svg { width: 23px; height: 23px; fill: currentColor; }
.footer-badges { display: flex; gap: 10px; margin-top: 20px; }
.footer-badge {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.footer-badge img { width: 100%; height: 100%; object-fit: contain; }
#zarinpal { margin: 0; }
#zarinpal a { width: 100%; height: 100%; display: grid; place-items: center; }
#zarinpal img { width: 100%; height: 100%; object-fit: contain; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: linear-gradient(145deg, rgba(139,92,246,.11), rgba(255,255,255,.025)); }
.feature-card::after { content: ""; position: absolute; width: 130px; height: 130px; top: -72px; left: -55px; border-radius: 50%; background: var(--card-glow, var(--purple)); filter: blur(55px); opacity: .23; }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; color: #e9d5ff; background: linear-gradient(135deg, rgba(139,92,246,.28), rgba(236,72,153,.15)); }
.feature-icon svg { width: 25px; height: 25px; fill: currentColor; }
.feature-card h3 { margin: 0 0 10px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 2; }
.feature-card a { display: inline-block; margin-top: 18px; color: #d8b4fe; font-size: 12px; text-decoration: none; }

.showcase { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 72px; }
.showcase-art { position: relative; min-height: 520px; display: grid; place-items: center; }
.showcase-art::before { content: ""; position: absolute; width: 430px; height: 430px; border-radius: 45% 55% 65% 35%; background: linear-gradient(135deg, rgba(139,92,246,.25), rgba(236,72,153,.1)); filter: blur(2px); transform: rotate(14deg); }
.showcase-phone { position: relative; z-index: 2; width: 260px; filter: drop-shadow(0 32px 35px rgba(0,0,0,.5)); }
.showcase-list { display: grid; gap: 18px; margin: 28px 0 32px; }
.showcase-point { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.showcase-point > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #d8b4fe; background: rgba(139,92,246,.13); }
.showcase-point strong { display: block; margin-bottom: 3px; font-size: 14px; }
.showcase-point small { color: var(--muted); font-size: 12px; line-height: 1.8; }

.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shot-card { position: relative; min-height: 350px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(160deg, #21144e, #0a0719); }
.shot-card:nth-child(2) { margin-top: 32px; }
.shot-card:nth-child(4) { margin-top: 32px; }
.shot-card img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; }
.shot-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 26px; text-align: center; color: var(--muted-2); }
.shot-placeholder span { width: 54px; height: 54px; display: grid; place-items: center; border: 1px dashed var(--line-strong); border-radius: 16px; color: #d8b4fe; font-size: 24px; background: rgba(139,92,246,.09); }
.shot-placeholder strong { color: #ddd6fe; font-size: 13px; }
.shot-placeholder small { font-size: 10px; line-height: 1.8; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: steps; }
.step { position: relative; padding: 28px; border-top: 1px solid var(--line-strong); background: linear-gradient(180deg, rgba(139,92,246,.08), transparent 55%); counter-increment: steps; }
.step::before { content: "۰" counter(steps); color: rgba(216,180,254,.52); font-size: 42px; font-weight: 800; line-height: 1; }
.step h3 { margin: 18px 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 12px; }

.faq-list { max-width: 820px; display: grid; gap: 12px; margin: 0 auto; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.025); }
.faq-item summary { position: relative; padding: 20px 54px 20px 22px; list-style: none; font-size: 14px; font-weight: 700; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after { content: ""; position: absolute; top: 50%; right: 22px; width: 15px; height: 2px; border-radius: 10px; background: #c4b5fd; transition: transform .2s ease; }
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0); }
.faq-item p { margin: 0; padding: 0 22px 22px; color: var(--muted); font-size: 13px; line-height: 2; }

.cta-panel { position: relative; overflow: hidden; padding: 58px; border: 1px solid rgba(216,180,254,.23); border-radius: var(--radius-xl); background: linear-gradient(130deg, rgba(89, 46, 163, .52), rgba(49, 21, 87, .7) 50%, rgba(139, 40, 112, .42)); box-shadow: var(--shadow); }
.cta-panel::before { content: "ACE"; position: absolute; left: 25px; top: -37px; color: rgba(255,255,255,.035); font: 900 150px/1 Arial, sans-serif; letter-spacing: -10px; }
.cta-content { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta-content h2 { max-width: 570px; margin: 0 0 10px; font-size: clamp(24px, 3.3vw, 36px); line-height: 1.55; text-align: justify; text-align-last: right; }
.cta-content p { margin: 0; color: #d5cfe3; font-size: 13px; }
.cta-actions { display: flex; gap: 10px; flex-shrink: 0; }

.page-hero { position: relative; padding: 100px 0 66px; text-align: center; }
.page-hero::after { content: ""; position: absolute; left: 50%; bottom: 0; width: min(720px, 80vw); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(192,132,252,.45), transparent); }
.page-hero h1 { max-width: 820px; margin: 0 auto 15px; font-size: clamp(34px, 4.8vw, 56px); line-height: 1.42; text-align: justify; text-align-last: center; }
.page-hero p { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 15px; line-height: 2; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; color: var(--muted-2); font-size: 11px; }
.breadcrumb a { color: #d8b4fe; text-decoration: none; }

.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.bento-card { min-height: 270px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.016)); }
.bento-card.wide { grid-column: span 7; }
.bento-card.narrow { grid-column: span 5; }
.bento-card.half { grid-column: span 6; }
.bento-card h2, .bento-card h3 { margin: 18px 0 9px; }
.bento-card p { margin: 0; color: var(--muted); font-size: 13px; }
.bento-tag { display: inline-flex; padding: 6px 10px; border-radius: 99px; color: #e9d5ff; background: rgba(139,92,246,.13); font-size: 10px; }

.gallery-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-page-card { min-height: 520px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(155deg, #21124b, #0c081c); }
.gallery-page-card.featured { grid-column: span 2; }
.gallery-page-card img { width: 100%; height: 100%; display: block; object-fit: contain; }
.gallery-page-card .shot-placeholder { min-height: 520px; }
.gallery-note { margin-top: 26px; padding: 18px 20px; border: 1px solid rgba(251,191,36,.2); border-radius: 16px; color: #e8dcb6; background: rgba(251,191,36,.06); font-size: 12px; }

.story-grid { display: grid; grid-template-columns: 1fr .86fr; gap: 58px; align-items: center; }
.story-copy p { color: var(--muted); font-size: 14px; line-height: 2.2; }
.story-visual { position: relative; min-height: 450px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: radial-gradient(circle at 50% 50%, rgba(139,92,246,.28), transparent 42%), linear-gradient(145deg, #1b103c, #090718); }
.story-visual img { position: relative; z-index: 2; width: 230px; border-radius: 44px; box-shadow: 0 30px 70px rgba(0,0,0,.44); }
.story-visual::before, .story-visual::after { content: ""; position: absolute; width: 290px; height: 290px; border: 1px solid rgba(255,255,255,.1); border-radius: 40%; transform: rotate(35deg); }
.story-visual::after { width: 400px; height: 400px; transform: rotate(60deg); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.025); }
.value-card strong { display: block; margin-bottom: 8px; font-size: 16px; }
.value-card p { margin: 0; color: var(--muted); font-size: 12px; }

.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; }
.contact-panel { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); }
.contact-panel h2 { margin: 0 0 8px; font-size: 24px; }
.contact-panel > p { margin: 0 0 26px; color: var(--muted); font-size: 13px; }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 14px; padding: 15px; border: 1px solid rgba(255,255,255,.075); border-radius: 16px; background: rgba(255,255,255,.025); }
.contact-item-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #d8b4fe; background: rgba(139,92,246,.14); }
.contact-item strong { display: block; font-size: 12px; }
.contact-item span, .contact-item a { color: var(--muted); font-size: 11px; text-decoration: none; overflow-wrap: anywhere; }
.placeholder-alert { margin-bottom: 24px; padding: 14px 16px; border: 1px solid rgba(251,191,36,.22); border-radius: 14px; color: #f5df9b; background: rgba(251,191,36,.065); font-size: 11px; }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); text-decoration: none; font-size: 12px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.social-link:hover { color: #fff; border-color: var(--line-strong); background: rgba(139,92,246,.08); }

.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.platform-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
}
.platform-card.featured { border-color: rgba(192,132,252,.35); background: linear-gradient(145deg, rgba(139,92,246,.16), rgba(255,255,255,.02)); }
.platform-card::after { content: ""; position: absolute; top: -75px; left: -65px; width: 170px; height: 170px; border-radius: 50%; background: var(--platform-glow, var(--purple)); filter: blur(60px); opacity: .25; }
.platform-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; color: #e9d5ff; background: rgba(139,92,246,.14); font-size: 26px; }
.platform-card h2 { margin: 0 0 10px; font-size: 21px; }
.platform-card p { min-height: 82px; margin: 0 0 22px; color: var(--muted); font-size: 12px; line-height: 2; }
.platform-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.platform-meta span { padding: 5px 9px; border-radius: 99px; color: var(--muted); background: rgba(255,255,255,.055); font-size: 9px; }
.install-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: install; }
.install-step { position: relative; min-height: 210px; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.025); counter-increment: install; }
.install-step::before { content: counter(install, decimal-leading-zero); display: block; margin-bottom: 22px; color: #c4b5fd; font: 800 30px/1 Arial, sans-serif; }
.install-step h3 { margin: 0 0 8px; font-size: 15px; }
.install-step p { margin: 0; color: var(--muted); font-size: 11px; line-height: 2; }
.guide-notice { margin-top: 24px; padding: 17px 19px; border: 1px solid rgba(34,211,238,.2); border-radius: 16px; color: #c7edf3; background: rgba(34,211,238,.055); font-size: 11px; line-height: 1.9; }

.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; }
.legal-nav { position: sticky; top: 104px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.legal-nav strong { display: block; margin-bottom: 12px; font-size: 13px; }
.legal-nav a { display: block; padding: 8px 0; color: var(--muted); font-size: 11px; text-decoration: none; }
.legal-nav a:hover { color: #fff; }
.legal-content { min-width: 0; }
.legal-card { margin-bottom: 16px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.025); scroll-margin-top: 110px; }
.legal-card h2 { margin: 0 0 12px; font-size: 20px; }
.legal-card h3 { margin: 20px 0 8px; font-size: 15px; }
.legal-card p, .legal-card li { color: var(--muted); font-size: 12px; line-height: 2.1; }
.legal-card ul { margin: 12px 0 0; padding-right: 20px; }
.law-quote { margin-top: 18px; padding: 18px; border-right: 3px solid var(--purple-2); border-radius: 12px; color: #d9d3e8; background: rgba(139,92,246,.075); font-size: 12px; line-height: 2.1; }
.legal-meta { display: inline-flex; margin-bottom: 20px; padding: 7px 11px; border-radius: 99px; color: var(--muted); background: rgba(255,255,255,.05); font-size: 10px; }

.site-footer { margin-top: 70px; border-top: 1px solid var(--line); background: #070511; }
.footer-main { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1.1fr; gap: 44px; padding: 58px 0 42px; }
.footer-about p { max-width: 390px; margin: 18px 0 0; color: var(--muted-2); font-size: 12px; line-height: 2; }
.footer-col h2 { margin: 0 0 16px; font-size: 13px; }
.footer-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-links a, .footer-links span { color: var(--muted-2); font-size: 11px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-contact { padding: 16px; border: 1px dashed rgba(251,191,36,.19); border-radius: 15px; background: rgba(251,191,36,.035); }
.footer-contact small { display: block; margin-bottom: 10px; color: #d4b95f; font-size: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.07); color: var(--muted-2); font-size: 10px; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom a { color: inherit; text-decoration: none; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .main-nav a { padding-inline: 8px; }
  .nav-cta { display: none; }
  .hero-grid, .showcase, .story-grid { gap: 36px; }
  .trust-shell { grid-template-columns: 1.3fr 1fr 1fr; }
  .trust-item:last-child { display: none; }
  .footer-main { grid-template-columns: 1.2fr .8fr .8fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-shell { min-height: 70px; }
  .brand-copy small { display: none; }
  .nav-toggle { display: grid; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    background: rgba(9, 6, 24, .98);
    box-shadow: 0 25px 50px rgba(0,0,0,.42);
  }
  .main-nav.open { display: block; }
  .main-nav ul { display: grid; grid-template-columns: 1fr 1fr; }
  .main-nav a { width: 100%; padding: 11px 13px; }
  .hero { padding-top: 58px; }
  .hero-grid, .showcase, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero h1 { margin-inline: auto; font-size: clamp(36px, 8.5vw, 54px); text-align-last: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { min-height: 500px; }
  .trust-bar { margin-top: 10px; }
  .trust-shell { grid-template-columns: 1fr 1fr; }
  .trust-item:last-child { display: flex; }
  .feature-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .gallery-strip { grid-template-columns: 1fr 1fr; }
  .shot-card:nth-child(2), .shot-card:nth-child(4) { margin-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-inline: 20px; }
  .cta-content { align-items: flex-start; flex-direction: column; }
  .bento-card.wide, .bento-card.narrow, .bento-card.half { grid-column: span 12; }
  .gallery-page-grid { grid-template-columns: 1fr 1fr; }
  .gallery-page-card.featured { grid-column: span 2; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card p { min-height: 0; }
  .install-flow { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .section { padding: 70px 0; }
  .section-tight { padding: 44px 0; }
  .hero { min-height: auto; padding-bottom: 48px; }
  .hero h1 { font-size: 34px; letter-spacing: -.7px; }
  .hero-lead { font-size: 14px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 420px; }
  .hero-orbit { width: 330px; }
  .phone-wrap { width: 230px; }
  .float-card { min-width: 130px; padding: 10px 11px; }
  .float-card-one { top: 66px; right: 0; }
  .float-card-two { bottom: 52px; left: 0; }
  .trust-shell, .feature-grid, .values-grid, .gallery-strip, .gallery-page-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 100px; }
  .gallery-page-card.featured { grid-column: span 1; }
  .install-flow { grid-template-columns: 1fr; }
  .showcase-art { min-height: 440px; overflow: hidden; }
  .showcase-art::before { width: 340px; height: 340px; }
  .cta-panel { padding: 35px 24px; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .button { width: 100%; }
  .page-hero { padding-top: 72px; }
  .bento-card, .contact-panel, .legal-card { padding: 22px; }
  .social-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-about, .footer-col:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
