:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --surface: #101010;
  --surface-2: #151515;
  --gold: #f7b916;
  --gold-bright: #ffc62b;
  --gold-soft: #d99708;
  --gold-pale: #ffe7a3;
  --text: #f8f7f3;
  --muted: #b9b7b0;
  --line: rgba(247, 185, 22, 0.34);
  --line-soft: rgba(255, 255, 255, 0.10);
  --radius: 22px;
  --radius-small: 14px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 999; background: var(--gold); color: #080808; padding: 10px 16px; border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(5, 5, 5, 0.76);
  backdrop-filter: blur(18px);
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-color: var(--line); background: rgba(5, 5, 5, 0.94); }
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 66px; height: 66px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 15px; letter-spacing: .08em; }
.brand-copy small { margin-top: 5px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2vw, 28px); margin-inline: auto; }
.main-nav a { color: #e4e2dc; font-size: 14px; font-weight: 650; transition: color .2s ease; }
.main-nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; min-width: max-content; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: transparent; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--gold); }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding-inline: 17px; font-size: 13px; }
.button-gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold-soft)); color: #080808; box-shadow: 0 10px 26px rgba(247, 185, 22, .16); }
.button-gold:hover { box-shadow: 0 14px 36px rgba(247, 185, 22, .26); }
.button-outline { border-color: rgba(247, 185, 22, .75); background: rgba(8, 8, 8, .56); color: var(--text); }
.button-outline:hover { background: rgba(247, 185, 22, .08); }

.section, .hero { position: relative; padding: 94px 0; }
.section-dark { background: radial-gradient(circle at 68% 18%, rgba(247, 185, 22, .12), transparent 31%), linear-gradient(180deg, #050505 0%, #080808 100%); }
.hero { min-height: 690px; display: flex; align-items: center; overflow: hidden; padding-top: 70px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .42; }
.hero-glow { position: absolute; border: 1px solid rgba(247, 185, 22, .12); border-radius: 50%; pointer-events: none; }
.hero-glow-one { width: 630px; height: 310px; right: -120px; top: 60px; transform: rotate(-13deg); }
.hero-glow-two { width: 530px; height: 210px; left: 25%; top: 170px; transform: rotate(18deg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); align-items: center; gap: 56px; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 680px; margin: 0; font-size: clamp(45px, 5.1vw, 74px); line-height: .98; letter-spacing: -.045em; }
.hero h1 span { display: block; color: var(--gold); }
.hero-description { max-width: 640px; margin: 26px 0 0; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin: 26px 0 0; padding: 0; list-style: none; color: #d8d5ce; font-size: 13px; font-weight: 700; }
.hero-trust li::before { content: "✓"; margin-right: 7px; color: var(--gold); }
.hero-photo-frame { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: #12100c; box-shadow: var(--shadow); }
.hero-photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,.18), transparent 35%, transparent 70%, rgba(5,5,5,.16)); pointer-events: none; }
.hero-photo-frame img { width: 100%; min-height: 390px; object-fit: cover; object-position: center; }
.hero-photo-badge { position: absolute; left: 20px; bottom: 20px; z-index: 1; display: grid; max-width: 290px; padding: 14px 18px; border: 1px solid rgba(247,185,22,.45); border-radius: 14px; background: rgba(5,5,5,.72); backdrop-filter: blur(12px); }
.hero-photo-badge strong { color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.hero-photo-badge span { color: #dedbd3; font-size: 12px; }

.solutions { position: relative; z-index: 2; margin-top: -52px; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.solution-card { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 18px; min-height: 150px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(20,20,20,.98), rgba(8,8,8,.98)); box-shadow: 0 16px 50px rgba(0,0,0,.28); }
.icon-circle { display: grid; width: 68px; height: 68px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); }
.icon-circle svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.solution-card h2 { margin: 0 0 6px; color: var(--gold); font-size: 22px; text-transform: uppercase; letter-spacing: .025em; }
.solution-card p { margin: 0; color: var(--muted); font-size: 14px; }

.section-heading { max-width: 800px; margin-bottom: 42px; }
.section-heading h2, .about-card h2, .demo-card h2, .final-cta h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; letter-spacing: -.035em; }
.section-heading > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.section-heading-inline { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 50px; }
.section-heading-inline > p { margin: 0; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audience-card { position: relative; overflow: hidden; min-height: 270px; padding: 34px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(145deg, #111, #0a0a0a); }
.audience-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; bottom: -80px; border: 1px solid var(--line); border-radius: 50%; }
.audience-card > span { color: var(--gold); font-size: 14px; font-weight: 900; letter-spacing: .15em; }
.audience-card h3 { margin: 52px 0 12px; font-size: 25px; }
.audience-card p { margin: 0; color: var(--muted); }

.system-section { border-block: 1px solid rgba(247,185,22,.12); background: radial-gradient(circle at 50% 20%, rgba(247,185,22,.08), transparent 38%), #090909; }
.modules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.module-card { min-height: 205px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: rgba(13,13,13,.82); }
.module-icon { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(247,185,22,.6); border-radius: 14px; color: var(--gold); font-weight: 900; font-size: 19px; }
.module-card h3 { margin: 24px 0 7px; font-size: 19px; }
.module-card p { margin: 0; color: var(--muted); font-size: 14px; }

.products-section { padding-bottom: 110px; }
.product-carousel { position: relative; }
.product-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(158px, 1fr); gap: 12px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: none; padding: 5px; }
.product-track::-webkit-scrollbar { display: none; }
.product-card { scroll-snap-align: start; overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: #e9dfcf; color: #101010; transition: transform .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.product-card img { width: 100%; aspect-ratio: 1.16; object-fit: cover; background: #e9dfcf; }
.product-card h3 { margin: 0; padding: 13px 8px; background: #0a0a0a; color: var(--gold); text-align: center; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.carousel-button { position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; transform: translateY(-50%); border: 1px solid var(--gold); border-radius: 50%; background: rgba(6,6,6,.92); color: var(--gold); font-size: 28px; cursor: pointer; }
.carousel-prev { left: -22px; }.carousel-next { right: -22px; }

.process-section { background: linear-gradient(180deg, #080808, #0b0b0b); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.process-card { min-height: 250px; padding: 30px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: #111; }
.process-card > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: var(--gold); color: #080808; font-weight: 950; }
.process-card h3 { margin: 46px 0 10px; font-size: 24px; }
.process-card p { margin: 0; color: var(--muted); }

.about-section { background: radial-gradient(circle at 10% 30%, rgba(247,185,22,.09), transparent 32%); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; }
.about-card { padding: 46px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, #111, #080808); }
.about-card p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.benefits-list { display: grid; gap: 12px; }
.benefits-list > div { display: grid; gap: 6px; padding: 25px 28px; border: 1px solid var(--line-soft); border-radius: 17px; background: #0e0e0e; }
.benefits-list strong { color: var(--gold); font-size: 18px; }
.benefits-list span { color: var(--muted); }

.demo-section { padding-top: 30px; }
.demo-card { display: grid; grid-template-columns: 1fr .88fr; gap: 48px; padding: 52px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(135deg, #13100a, #090909 58%); box-shadow: var(--shadow); }
.demo-card > div > p:last-child { color: var(--muted); font-size: 17px; }
.demo-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.demo-form label { display: grid; gap: 7px; color: #e4e0d7; font-size: 13px; font-weight: 750; }
.demo-form input, .demo-form select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid rgba(247,185,22,.28); border-radius: 11px; outline: none; background: #080808; color: var(--text); }
.demo-form input:focus, .demo-form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(247,185,22,.10); }
.demo-form .button, .form-note { grid-column: 1 / -1; }
.form-note { margin: 0; color: #8f8c85; font-size: 12px; }

.content-section { border-top: 1px solid rgba(247,185,22,.12); }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.content-card { min-height: 270px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line-soft); border-radius: 20px; background: #0f0f0f; }
.content-card span { color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.content-card h3 { margin: 30px 0 20px; font-size: 23px; line-height: 1.25; }
.content-card a { margin-top: auto; color: var(--gold); font-weight: 800; }

.final-cta { padding: 78px 0; border-block: 1px solid var(--line); background: linear-gradient(135deg, #151006, #080808 62%); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.final-cta h2 { max-width: 720px; }
.final-cta p:last-child { color: var(--muted); }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; min-width: max-content; }

.site-footer { background: #030303; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 34px; padding: 60px 0 42px; }
.footer-brand { max-width: 280px; }
.footer-brand img { width: 78px; height: 78px; object-fit: contain; }
.footer-brand p { color: var(--muted); }
.footer-grid h2 { margin: 0 0 15px; color: var(--gold); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { color: var(--muted); font-size: 14px; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0 28px; border-top: 1px solid var(--line-soft); color: #8e8b84; font-size: 12px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 999; max-width: calc(100% - 32px); transform: translate(-50%, 20px); padding: 13px 18px; border: 1px solid var(--gold); border-radius: 12px; background: #111; color: var(--text); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .brand-copy { display: none; }
  .header-actions .button-outline { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
  .hero-copy { max-width: 800px; }
  .hero-photo-frame img { min-height: 340px; }
  .solution-grid { grid-template-columns: 1fr; }
  .solutions { margin-top: -24px; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading-inline { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 28px, 1180px); }
  .site-header { position: sticky; }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand img { width: 55px; height: 55px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { position: fixed; inset: 72px 14px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(7,7,7,.98); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; border-bottom: 1px solid var(--line-soft); }
  .main-nav a:last-child { border-bottom: 0; }
  .header-actions .button { min-height: 40px; padding-inline: 13px; font-size: 12px; }
  .hero { min-height: auto; padding: 70px 0 82px; }
  .hero h1 { font-size: clamp(42px, 12vw, 62px); }
  .hero-grid { gap: 38px; }
  .hero-photo-frame img { min-height: 270px; }
  .audience-grid, .process-grid, .content-grid { grid-template-columns: 1fr; }
  .about-grid, .demo-card { grid-template-columns: 1fr; }
  .demo-card { padding: 34px; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .final-actions { min-width: 0; }
  .carousel-prev { left: -8px; }.carousel-next { right: -8px; }
}

@media (max-width: 600px) {
  .header-actions .button-gold { display: none; }
  .section, .hero { padding-block: 70px; }
  .hero h1 { font-size: 44px; }
  .hero-actions, .final-actions { display: grid; width: 100%; }
  .hero-actions .button, .final-actions .button { width: 100%; }
  .hero-photo-frame img { min-height: 235px; }
  .hero-photo-badge { right: 12px; left: 12px; bottom: 12px; }
  .solution-card { grid-template-columns: 58px 1fr; padding: 22px; }
  .icon-circle { width: 54px; height: 54px; }
  .solution-card h2 { font-size: 18px; }
  .modules-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 235px; }
  .demo-card { padding: 26px 20px; }
  .demo-form { grid-template-columns: 1fr; }
  .demo-form .button, .form-note { grid-column: auto; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

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