/* --- Variables --- */
:root {
  --bg: #0c1220;
  --bg-alt: #111928;
  --surface: #172036;
  --accent: #00d4a0;
  --accent-dim: #00a87a;
  --text: #e8edf5;
  --text-muted: #7a8ba8;
  --text-dim: #4a5c7a;
  --border: #1e2d45;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.15; }

/* --- Navigation --- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.25rem 2rem; }
.nav-inner { max-width: 1200px; margin: 0 auto; }
.nav-logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-mark { font-size: 1.25rem; color: var(--accent); }
.logo-text { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }

/* --- Hero --- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 8rem 2rem 5rem; position: relative; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.8rem; color: var(--accent); font-family: 'Syne', sans-serif; font-weight: 600; margin-bottom: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase; }
.badge-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-headline { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; color: var(--text); margin-bottom: 1.25rem; letter-spacing: -0.03em; }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 480px; line-height: 1.7; }

/* --- Pulse Visual --- */
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.pulse-ring { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: ripple 3s ease-out infinite; }
.ring-1 { width: 120px; height: 120px; animation-delay: 0s; }
.ring-2 { width: 170px; height: 170px; animation-delay: 1s; }
.ring-3 { width: 220px; height: 220px; animation-delay: 2s; }
@keyframes ripple { 0% { transform: scale(0.8); opacity: 0.8; } 100% { transform: scale(1); opacity: 0; } }
.pulse-core { width: 100px; height: 100px; background: var(--surface); border: 2px solid var(--accent); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem; position: relative; z-index: 1; box-shadow: 0 0 30px rgba(0, 212, 160, 0.2); }
.core-icon { font-size: 1.5rem; color: var(--accent); line-height: 1; }
.core-status { font-family: 'Syne', sans-serif; font-size: 0.6rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }

/* --- Device List --- */
.device-list { width: 100%; max-width: 320px; display: flex; flex-direction: column; gap: 0.5rem; }
.device-item { display: flex; justify-content: space-between; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0.65rem 1rem; font-size: 0.85rem; }
.device-name { font-family: 'Syne', sans-serif; font-weight: 600; color: var(--text); }
.device-status { font-size: 0.78rem; font-weight: 500; }
.device-status.ok { color: var(--accent); }
.device-status.warn { color: #f59e0b; }

/* --- Section Labels --- */
.section-label { font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.section-headline { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; color: var(--text); margin-bottom: 3rem; letter-spacing: -0.02em; max-width: 640px; }

/* --- How It Works --- */
.how-it-works { padding: 6rem 2rem; background: var(--bg-alt); border-top: 1px solid var(--border); }
.how-it-works .section-headline { margin-bottom: 2.5rem; }
.steps-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step { padding: 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.step-num { font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 800; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 1rem; }
.step h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; }
.step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* --- Features --- */
.features { padding: 6rem 2rem; border-top: 1px solid var(--border); }
.features-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.feature-card { padding: 2rem; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 16px; }
.feature-icon { font-size: 1.75rem; color: var(--accent); margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* --- Difference --- */
.difference { padding: 6rem 2rem; background: var(--bg-alt); border-top: 1px solid var(--border); }
.diff-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.diff-copy h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 1.25rem; }
.diff-copy p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.comp-col { padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.comp-label { font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.comp-item { font-size: 0.85rem; color: var(--text); padding: 0.4rem 0; border-bottom: 1px solid var(--border); }
.comp-item:last-child { border-bottom: none; }
.old .comp-item { color: var(--text-muted); text-decoration: line-through; text-decoration-color: var(--text-dim); }
.new .comp-item { color: var(--accent); }

/* --- Closing --- */
.closing { padding: 8rem 2rem; text-align: center; background: var(--bg); }
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--text); margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.closing p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; }

/* --- Footer --- */
.footer { padding: 2.5rem 2rem; border-top: 1px solid var(--border); background: var(--bg-alt); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; }
.footer-tagline { font-size: 0.82rem; color: var(--text-muted); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .hero-copy { text-align: center; }
  .hero-sub { margin: 0 auto; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .diff-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 6rem 1.25rem 4rem; }
  .how-it-works, .features, .difference, .closing { padding: 4rem 1.25rem; }
  .nav { padding: 1rem 1.25rem; }
  .comparison { grid-template-columns: 1fr; }
}