:root {
  --bg: #0A0E1A;
  --bg-2: #141B2D;
  --bg-3: #1A2235;
  --card: rgba(30, 42, 58, 0.55);
  --card-border: rgba(255, 255, 255, 0.08);
  --primary: #38BDF8;
  --primary-dark: #0EA5E9;
  --accent: #F59E0B;
  --active: #22C55E;
  --repair: #EF4444;
  --new: #3B82F6;
  --text: #F1F5F9;
  --text-2: #94A3B8;
  --text-muted: #64748B;
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand-name { font-family: 'Outfit', 'DM Sans', sans-serif; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

/* Background glows */
.bg-glow { position: fixed; border-radius: 50%; filter: blur(120px); opacity: 0.5; z-index: -1; pointer-events: none; }
.bg-glow-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(56,189,248,0.35), transparent 70%); top: -160px; right: -120px; }
.bg-glow-2 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(245,158,11,0.20), transparent 70%); bottom: -180px; left: -140px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 14, 26, 0.55);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled { background: rgba(10, 14, 26, 0.85); border-bottom-color: var(--card-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { width: 34px; height: 34px; border-radius: 9px; }
.brand-name { font-weight: 700; font-size: 1.05rem; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--text-2); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.mobile-nav { display: none; flex-direction: column; padding: 8px 24px 16px; gap: 4px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 10px 0; color: var(--text-2); border-bottom: 1px solid var(--card-border); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, box-shadow .25s ease, background .25s; font-family: inherit; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #04121f; box-shadow: 0 8px 24px rgba(56,189,248,0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(56,189,248,0.4); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--card-border); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); }

/* Eyebrow + section heads */
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); background: rgba(56,189,248,0.1); border: 1px solid rgba(56,189,248,0.2); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.section { padding: 92px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(20,27,45,0.5), transparent); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.section-sub { color: var(--text-2); margin-top: 12px; font-size: 1.05rem; }

/* Hero */
.hero { padding: 72px 0 84px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 800; line-height: 1.05; }
.lede { color: var(--text-2); font-size: 1.15rem; margin: 22px 0 30px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: 'Outfit'; font-size: 1.8rem; color: var(--text); }
.hero-stats span { color: var(--text-muted); font-size: .85rem; letter-spacing: .04em; }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }
.phone { position: relative; width: 300px; height: 600px; background: #05080f; border-radius: 42px; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,0.55), 0 0 0 2px rgba(255,255,255,0.05); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #05080f; border-radius: 0 0 16px 16px; z-index: 3; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--bg); }
.phone-hero-img { width: 100%; height: 190px; object-fit: cover; opacity: .92; }
.phone-overlay { position: absolute; top: 120px; left: 0; right: 0; padding: 0 16px 16px; background: linear-gradient(180deg, transparent, var(--bg) 70px); }
.phone-title { font-family: 'Outfit'; font-weight: 800; font-size: 1.5rem; margin-bottom: 14px; }
.phone-counters { display: flex; gap: 8px; margin-bottom: 14px; }
.pc { flex: 1; background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; padding: 10px 6px; text-align: center; }
.pc-icon { font-size: 1rem; }
.pc b { display: block; font-family: 'Outfit'; font-size: 1.25rem; }
.pc small { color: var(--text-2); font-size: .68rem; }
.phone-card { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; padding: 12px; margin-bottom: 10px; }
.phone-card b { font-size: .92rem; }
.phone-card small { display: block; color: var(--text-2); font-size: .74rem; }
.dot { width: 8px; height: 40px; border-radius: 4px; flex-shrink: 0; }
.dot-active { background: var(--active); }
.dot-repair { background: var(--repair); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 30px 26px; transition: transform .25s ease, border-color .25s ease, background .25s; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(56,189,248,0.35); background: rgba(30,42,58,0.75); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-2); font-size: .96rem; }
.feature-card em { color: var(--primary); font-style: normal; font-weight: 600; }

/* Field chips */
.chips-wrap { display: flex; flex-direction: column; gap: 20px; max-width: 900px; margin: 0 auto; }
.chip-group { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 18px 20px; }
.chip-group h4 { font-family: 'Outfit'; font-size: .95rem; color: var(--text-2); margin-bottom: 12px; font-weight: 600; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: rgba(56,189,248,0.08); border: 1px solid rgba(56,189,248,0.18); color: var(--text); padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 500; }
.chip.accent { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.22); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 32px 26px; position: relative; }
.step-num { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: 'Outfit'; font-weight: 800; font-size: 1.3rem; color: #04121f; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: .96rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--card-border); aspect-ratio: 4/5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px; font-weight: 600; font-size: .92rem; background: linear-gradient(transparent, rgba(5,8,15,0.9)); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 2px 20px; }
.faq-item summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--primary); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-2); padding: 0 0 18px; }

/* Support form */
.support-form { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.support-form label { display: flex; flex-direction: column; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--text-2); }
.support-form input, .support-form select, .support-form textarea { background: rgba(10,14,26,0.6); border: 1px solid var(--card-border); border-radius: 12px; padding: 13px 15px; color: var(--text); font-family: inherit; font-size: .98rem; transition: border-color .2s, box-shadow .2s; }
.support-form input:focus, .support-form select:focus, .support-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(56,189,248,0.15); }
.support-form textarea { resize: vertical; }
.form-note { font-size: .92rem; min-height: 1.2em; }
.form-note.ok { color: var(--active); }
.form-note.err { color: var(--repair); }

/* Footer */
.site-footer { border-top: 1px solid var(--card-border); padding: 40px 0; margin-top: 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-family: 'Outfit'; }
.footer-brand .brand-icon { width: 28px; height: 28px; }
.footer-copy { color: var(--text-muted); font-size: .88rem; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: var(--text-2); font-size: .9rem; }
.footer-nav a:hover { color: var(--text); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .feature-grid, .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 64px 0; }
  .feature-grid, .steps, .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .phone { width: 260px; height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  .phone { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
