*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0c0f;
  --bg2: #0f1114;
  --accent: #E31E24;
  --accent2: #9B1B1B;
  --text: #f0f0f0;
  --muted: #8892a0;
  --card: #131619;
  --border: #1e2226;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
}

.accent { color: var(--accent); }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 12, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* LOGO */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-logo {
  display: inline-flex;
  margin-bottom: 12px;
}
.footer-logo .logo-img {
  height: 30px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }
.cta-btn {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.cta-btn:hover { opacity: 0.85; }

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 64px; /* nav height */
}
.hero-content { flex: 1; max-width: 600px; }
.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 480px;
}

/* PHONE BANNER */
.phone-banner {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #1a1214 0%, #0f0c0d 100%);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 22px 40px;
  margin-bottom: 24px;
  box-shadow: 0 0 60px rgba(227, 30, 36, 0.18);
  overflow: visible;
}
.pulse-ring {
  position: absolute;
  inset: -12px;
  border-radius: 28px;
  border: 2px solid rgba(227, 30, 36, 0.35);
  animation: pulse 2.5s ease-out infinite;
}
.pulse-ring.delay { animation-delay: 1.25s; }
@keyframes pulse {
  0%   { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.08); }
}
.phone-icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
  animation: ring 3s ease-in-out infinite;
}
@keyframes ring {
  0%, 90%, 100% { transform: rotate(0); }
  93% { transform: rotate(-15deg); }
  96% { transform: rotate(15deg); }
}
.phone-number {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}
.phone-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 6px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s, opacity 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-primary.large { padding: 18px 36px; font-size: 1.15rem; }
.btn-ghost {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* WAVEFORM */
.hero-visual { flex-shrink: 0; }
.waveform {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 120px;
}
.waveform span {
  display: block;
  width: 8px;
  background: linear-gradient(to top, var(--accent), var(--accent2));
  border-radius: 4px;
  animation: wave 1.2s ease-in-out infinite alternate;
}
.waveform span:nth-child(1)  { height: 30%; animation-delay: 0s; }
.waveform span:nth-child(2)  { height: 70%; animation-delay: 0.1s; }
.waveform span:nth-child(3)  { height: 90%; animation-delay: 0.2s; }
.waveform span:nth-child(4)  { height: 50%; animation-delay: 0.3s; }
.waveform span:nth-child(5)  { height: 80%; animation-delay: 0.4s; }
.waveform span:nth-child(6)  { height: 60%; animation-delay: 0.5s; }
.waveform span:nth-child(7)  { height: 95%; animation-delay: 0.6s; }
.waveform span:nth-child(8)  { height: 40%; animation-delay: 0.7s; }
.waveform span:nth-child(9)  { height: 75%; animation-delay: 0.8s; }
.waveform span:nth-child(10) { height: 25%; animation-delay: 0.9s; }
@keyframes wave {
  from { transform: scaleY(0.4); }
  to   { transform: scaleY(1); }
}

/* FEATURES */
.features {
  background: var(--bg2);
  padding: 100px 24px;
  text-align: center;
}
.features h2, .how h2, .contact h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 56px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: left;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: rgba(227, 30, 36, 0.1);
  color: var(--accent);
  border: 1px solid rgba(227, 30, 36, 0.3);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* HOW IT WORKS */
.how {
  padding: 100px 24px;
  text-align: center;
}
.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1000px;
  margin: 56px auto 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 180px;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}
.step-text { font-size: 0.88rem; color: var(--muted); text-align: center; }
.step-text strong { color: var(--text); display: block; margin-bottom: 4px; }
.arrow { color: var(--accent); font-size: 1.5rem; }

/* CONTACT */
.contact {
  background: var(--bg2);
  padding: 100px 24px;
  text-align: center;
}
.contact p { color: var(--muted); font-size: 1.05rem; margin: 12px auto 40px; }
.contact-details { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
footer {
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; height: auto; min-height: 100vh; padding-top: 80px; padding-bottom: 40px; }
  .hero-sub, .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .arrow { transform: rotate(90deg); }
  .flow { flex-direction: column; }
  .phone-banner { padding: 20px 24px; }
}
