/* ======================================
   DIAL24 — OPERATING SYSTEM
   Dark industrial teal palette
   Fonts: Syne + DM Sans
   ====================================== */

/* --- CSS Reset & Variables --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080C15;
  --surface: #0D1420;
  --surface-2: #111A2B;
  --border: rgba(255,255,255,0.07);
  --text: #E8F0F8;
  --text-dim: rgba(232,240,248,0.5);
  --text-faint: rgba(232,240,248,0.25);
  --teal: #00E5D0;
  --teal-dim: rgba(0,229,208,0.15);
  --violet: #6B5CE7;
  --violet-dim: rgba(107,92,231,0.15);
  --amber: #F5A623;
  --radius: 10px;
  --font-head: 'Syne', 'Arial Black', sans-serif;
  --font-body: 'DM Sans', 'Arial', sans-serif;
}

html { font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ======================================
   HERO
   ====================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 60px;
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(0,229,208,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(107,92,231,0.05) 0%, transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* Badge */
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid rgba(0,229,208,0.2);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 28px;
}

/* Headline */
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 300;
}

/* Pills */
.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot.green { background: var(--teal); box-shadow: 0 0 6px var(--teal); }
.dot.violet { background: var(--violet); box-shadow: 0 0 6px var(--violet); }
.dot.teal { background: var(--teal); opacity: 0.7; }

/* Wave art */
.hero-right { display: flex; flex-direction: column; gap: 32px; }
.wave-art {
  position: relative;
  height: 220px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 24px;
}

.wave-sine {
  position: absolute;
  left: 0; right: 0;
  height: 100%;
  border-radius: 4px;
  animation: waveFlow 6s ease-in-out infinite;
}
.wave-1 {
  top: 15%; height: 3px; background: rgba(0,229,208,0.5);
  animation-duration: 5s;
}
.wave-2 {
  top: 30%; height: 2px; background: rgba(0,229,208,0.35);
  animation-duration: 7s; animation-delay: -2s;
}
.wave-3 {
  top: 45%; height: 4px; background: rgba(0,229,208,0.7);
  animation-duration: 4.5s; animation-delay: -1s;
  background: linear-gradient(90deg, transparent, rgba(0,229,208,0.8), transparent);
  background-size: 200% 100%;
  animation: waveFlow 5s ease-in-out infinite, waveGlow 3s ease-in-out infinite;
}
.wave-4 {
  top: 60%; height: 2px; background: rgba(107,92,231,0.4);
  animation-duration: 8s; animation-delay: -3s;
}
.wave-5 {
  top: 75%; height: 3px; background: rgba(107,92,231,0.3);
  animation-duration: 6s; animation-delay: -4s;
}

@keyframes waveFlow {
  0% { transform: translateX(-5%); }
  50% { transform: translateX(5%); }
  100% { transform: translateX(-5%); }
}
@keyframes waveGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.wave-center-line {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.08) 80%, transparent 95%);
}

.wave-dots { position: absolute; top: 50%; transform: translateY(-50%); right: 24px; }
.dot-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  margin: 8px 0;
  animation: dotPulse 2s ease-in-out infinite;
}
.dp1 { animation-delay: 0s; }
.dp2 { animation-delay: 0.6s; }
.dp3 { animation-delay: 1.2s; }
@keyframes dotPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Hero numbers */
.hero-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hn-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.hn-val {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.03em;
}
.hn-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 4px;
  font-weight: 400;
  line-height: 1.3;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}
.scroll-arrow { opacity: 0.4; }

/* ======================================
   STATS STRIP
   ====================================== */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.stats-inner {
  display: flex;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
}
.stat-item {
  flex: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 400;
}
.stat-divider {
  width: 1px;
  background: var(--border);
  margin: 16px 0;
  flex-shrink: 0;
}

/* ======================================
   FEATURES
   ====================================== */
.features {
  padding: 120px 60px;
  max-width: 1280px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 64px;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  gap: 24px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(0,229,208,0.2); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fi-dialer { background: rgba(0,229,208,0.1); color: var(--teal); }
.fi-voice { background: rgba(107,92,231,0.1); color: var(--violet); }
.fi-hybrid { background: rgba(245,166,35,0.1); color: var(--amber); }
.fi-browser { background: rgba(0,229,208,0.07); color: var(--teal); }
.fi-coaching { background: rgba(107,92,231,0.07); color: var(--violet); }
.fi-energy { background: rgba(245,166,35,0.07); color: var(--amber); }

.feature-body h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-body p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 16px;
  font-weight: 300;
}
.feature-stat {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.05em;
}

/* ======================================
   PHILOSOPHY
   ====================================== */
.philosophy {
  padding: 120px 60px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.philosophy-inner { max-width: 1280px; margin: 0 auto; }
.philosophy-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--violet-dim);
  border: 1px solid rgba(107,92,231,0.2);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 28px;
}
.philosophy-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 36px;
}
.philosophy-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin-bottom: 80px;
}
.philosophy-body p {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-weight: 300;
}
.philosophy-model {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.model-step {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  flex: 1;
}
.ms-num {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 12px;
}
.ms-content h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.ms-content p {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
  font-weight: 300;
}
.model-arrow { flex-shrink: 0; color: var(--text-faint); }
.ms3 { border-color: rgba(0,229,208,0.2); }
.ms3 .ms-num { color: var(--teal); }

/* ======================================
   PERFORMANCE
   ====================================== */
.performance {
  padding: 120px 60px;
  max-width: 1280px;
  margin: 0 auto;
}
.perf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.perf-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.perf-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.perf-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 400;
  margin-bottom: 20px;
}
.perf-bar {
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  margin-bottom: 10px;
}
.perf-fill {
  height: 100%;
  border-radius: 2px;
  animation: barLoad 1.5s ease-out forwards;
  transform-origin: left;
}
.pf-95 { width: 95%; background: var(--teal); }
.pf-87 { width: 87%; background: var(--violet); }
.pf-100 { width: 100%; background: var(--teal); }
@keyframes barLoad {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.perf-note {
  font-size: 0.68rem;
  color: var(--text-faint);
  font-weight: 400;
}

.perf-testimonial {
  border-left: 2px solid var(--teal);
  padding-left: 28px;
  max-width: 600px;
}
.perf-testimonial blockquote {
  font-size: 1.1rem;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 12px;
  font-weight: 300;
}
.perf-testimonial cite {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-style: normal;
}

/* ======================================
   CLOSING
   ====================================== */
.closing {
  padding: 140px 60px;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(0,229,208,0.03) 0%, transparent 70%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.closing-inner { max-width: 1280px; margin: 0 auto; text-align: center; }
.closing-visual {
  width: 120px;
  height: 120px;
  margin: 0 auto 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: cvPulse 4s ease-in-out infinite;
}
.cv-ring-1 { width: 60px; height: 60px; border-color: rgba(0,229,208,0.3); animation-delay: 0s; }
.cv-ring-2 { width: 90px; height: 90px; border-color: rgba(0,229,208,0.15); animation-delay: 0.8s; }
.cv-ring-3 { width: 120px; height: 120px; border-color: rgba(0,229,208,0.07); animation-delay: 1.6s; }
@keyframes cvPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}
.cv-center {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  background: var(--surface);
  border: 1px solid rgba(0,229,208,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}
.closing-body {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
  font-weight: 300;
}

/* ======================================
   FOOTER
   ====================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 60px 40px;
  background: var(--surface);
}
.footer-inner {
  display: flex;
  gap: 80px;
  max-width: 1280px;
  margin: 0 auto 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { flex: 0 0 220px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--teal);
  color: var(--bg);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.footer-tagline {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
  font-weight: 300;
}
.footer-links {
  display: flex;
  gap: 60px;
  flex: 1;
}
.footer-col h5 {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.15s;
  font-weight: 400;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-faint);
  font-weight: 400;
}
.footer-gdpr { color: var(--teal); opacity: 0.7; }

/* ======================================
   RESPONSIVE
   ====================================== */
@media (max-width: 900px) {
  .hero { padding: 60px 32px 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .philosophy-body { grid-template-columns: 1fr; }
  .philosophy-model { flex-direction: column; }
  .perf-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .stats-inner { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat-item { flex: 0 0 50%; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.2rem; }
  .section-heading { font-size: 1.6rem; }
  .hero { padding: 48px 20px 48px; }
  .features, .performance, .philosophy, .closing { padding: 80px 20px; }
  .site-footer { padding: 40px 20px 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-numbers { grid-template-columns: 1fr 1fr; }
}