/* ═══════════════════════════════════════════
   Hushify Landing Page — Styles v2
   ═══════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --bg: #0a0b10;
  --bg-raised: #12131a;
  --bg-card: #15161f;
  --bg-card-hover: #1a1b26;
  --bg-surface: #1e1f2b;
  --accent: #00b894;
  --accent-light: #55efc4;
  --accent-dark: #009b7d;
  --accent-glow: rgba(0, 184, 148, 0.15);
  --accent-glow-strong: rgba(0, 184, 148, 0.25);
  --gold: #fbbf24;
  --gold-glow: rgba(251, 191, 36, 0.12);
  --text: #e8e8ed;
  --text-secondary: #9b9caa;
  --text-muted: #5c5d6e;
  --border: rgba(255, 255, 255, 0.05);
  --border-strong: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 184, 148, 0.2);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 80px rgba(0, 184, 148, 0.1);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
code { font-family: 'JetBrains Mono', monospace; font-size: 0.85em; background: var(--bg-surface); padding: 2px 6px; border-radius: 4px; color: var(--accent-light); }

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-0 { transition-delay: 0.05s; }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.25s; }

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 11, 16, 0.8);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; height: 60px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.nav-logo { width: 28px; height: 28px; border-radius: 6px; }
.nav-name {
  font-size: 18px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none; font-size: 13.5px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.btn-nav {
  display: inline-flex !important; align-items: center; gap: 6px;
  background: var(--accent) !important; color: #fff !important;
  padding: 8px 16px !important; border-radius: var(--radius-sm) !important;
  font-weight: 600 !important; font-size: 13px !important;
  transition: all 0.2s !important; box-shadow: 0 2px 12px rgba(0, 184, 148, 0.2);
}
.btn-nav:hover {
  background: var(--accent-dark) !important;
  box-shadow: 0 4px 20px rgba(0, 184, 148, 0.3) !important;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */

.hero {
  position: relative; padding: 130px 0 80px; overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero-content { max-width: 500px; }

/* Animated glows */
.hero-glow {
  position: absolute; top: -200px; left: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 184, 148, 0.1) 0%, transparent 65%);
  pointer-events: none; z-index: 1;
  animation: glow-drift 8s ease-in-out infinite alternate;
}
.hero-glow-secondary {
  position: absolute; top: 100px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(85, 239, 196, 0.06) 0%, transparent 65%);
  pointer-events: none; z-index: 1;
  animation: glow-drift 10s ease-in-out infinite alternate-reverse;
}
@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, 20px) scale(1.1); }
}

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  color: var(--accent-light); font-size: 12.5px; font-weight: 600;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Title */
.hero-title {
  font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 18px;
}
.hero-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #81ecec 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200% 100%;
  animation: gradient-shift 4s ease-in-out infinite alternate;
}
@keyframes gradient-shift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px;
}
.hero-actions {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 13px 24px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: all 0.25s; border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 184, 148, 0.25);
}
.btn-primary:hover {
  background: var(--accent-dark); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 184, 148, 0.3);
}
.btn-ghost {
  color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color 0.2s; padding: 13px 4px;
}
.btn-ghost:hover { color: var(--accent-light); }
.hero-note { font-size: 11.5px; color: var(--text-muted); }

/* ── Hero Mockup ── */
.hero-mockup { position: relative; }
.mockup-browser {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative; z-index: 2;
}
.mockup-glow {
  position: absolute; inset: -20px; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(0, 184, 148, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.mockup-toolbar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; background: var(--bg-raised); border-bottom: 1px solid var(--border);
}
.mockup-dots { display: flex; gap: 5px; }
.mockup-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-strong);
}
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }
.mockup-url {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--text-muted); flex: 1;
  background: rgba(255,255,255,0.03); padding: 4px 10px; border-radius: 4px;
}

.mockup-popup { padding: 14px; }
.mockup-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px;
}
.mockup-brand-row { display: flex; align-items: center; gap: 8px; }
.mockup-icon-mini {
  width: 18px; height: 18px; border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}
.mockup-app-name {
  font-size: 14px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.mockup-header-actions { display: flex; gap: 6px; }
.mockup-btn-sm {
  width: 20px; height: 20px; border-radius: 5px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
}

.mockup-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px;
}
.mockup-stat {
  text-align: center; padding: 10px 4px; border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
}
.mockup-stat.highlight {
  background: var(--accent-glow); border-color: var(--border-accent);
}
.mockup-stat-num { display: block; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mockup-stat-label { font-size: 9.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.accent-color { color: var(--accent-light); }

.mockup-actions-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 14px;
}
.mockup-btn-primary {
  text-align: center; padding: 7px; font-size: 11px; font-weight: 600;
  background: var(--accent); color: #fff; border-radius: var(--radius-xs);
}
.mockup-btn-outline {
  text-align: center; padding: 7px; font-size: 11px; font-weight: 600;
  border: 1px solid var(--border-strong); color: var(--text-secondary); border-radius: var(--radius-xs);
}

.mockup-sessions { }
.mockup-session-header {
  font-size: 11px; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px;
}
.mockup-session-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  margin-bottom: 4px; font-size: 12px;
}
.mockup-session-count {
  font-size: 10px; color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace; font-weight: 500;
}

/* ═══════════════════════════════════════════
   SOCIAL PROOF
   ═══════════════════════════════════════════ */

.social-proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised); padding: 28px 0;
}
.social-proof-inner {
  display: flex; justify-content: center; align-items: center; gap: 40px;
  flex-wrap: wrap;
}
.proof-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-secondary);
}
.proof-stars { color: var(--gold); letter-spacing: 1px; font-size: 14px; }
.proof-highlight {
  font-size: 16px; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.proof-divider {
  width: 1px; height: 24px; background: var(--border-strong);
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */

.how-it-works { padding: 100px 0; }
.steps-grid {
  display: flex; align-items: center; justify-content: center; gap: 0;
  margin-top: 48px;
}
.step-card {
  flex: 0 0 260px; text-align: center; padding: 32px 24px;
  background: var(--bg-card); border: 1px solid var(--border-strong);
  border-radius: var(--radius); position: relative;
  transition: all 0.3s ease;
}
.step-card:hover {
  border-color: var(--border-accent); transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.step-number {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 184, 148, 0.3);
}
.step-icon {
  width: 52px; height: 52px; margin: 8px auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-glow); border-radius: 12px; color: var(--accent);
}
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

.step-connector {
  color: var(--text-muted); padding: 0 8px; flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════ */

.features { padding: 100px 0; background: var(--bg-raised); border-top: 1px solid var(--border); }

.section-heading {
  text-align: center; font-size: clamp(24px, 4vw, 34px); font-weight: 800;
  margin-bottom: 10px; letter-spacing: -0.02em;
}
.section-subheading {
  text-align: center; font-size: 15px; color: var(--text-secondary); margin-bottom: 52px;
}

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px;
  transition: all 0.3s ease; position: relative;
}
.feature-card:hover {
  border-color: var(--border-accent); background: var(--bg-card-hover);
  transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.feature-card-large {
  grid-column: span 3;
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 184, 148, 0.03) 100%);
  border-color: var(--border-accent);
}
.feature-card-large .feature-icon { margin-bottom: 0; }
.feature-card-large h3 { margin-bottom: 4px; }
.feature-card-large p { margin-bottom: 0; }

.feature-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-glow); border-radius: 10px; margin-bottom: 14px;
  color: var(--accent); transition: all 0.3s;
}
.feature-card:hover .feature-icon {
  background: var(--accent-glow-strong); box-shadow: 0 0 20px rgba(0, 184, 148, 0.1);
}
.feature-icon-pro {
  background: var(--gold-glow); color: var(--gold);
}
.feature-card:hover .feature-icon-pro {
  background: rgba(251, 191, 36, 0.18); box-shadow: 0 0 20px rgba(251, 191, 36, 0.08);
}

.feature-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.feature-tag {
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  color: var(--accent); background: var(--accent-glow);
  padding: 3px 8px; border-radius: 4px; display: inline-block;
}

.feature-card-pro {
  border-color: rgba(251, 191, 36, 0.1);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(251, 191, 36, 0.02) 100%);
}
.feature-card-pro:hover {
  border-color: rgba(251, 191, 36, 0.2);
}

.badge-pro {
  font-size: 9px; font-weight: 700; letter-spacing: 1px;
  color: var(--gold); background: var(--gold-glow);
  border: 1px solid rgba(251, 191, 36, 0.2);
  padding: 2px 5px; border-radius: 4px; vertical-align: middle;
}

/* ═══════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════ */

.pricing {
  padding: 100px 0;
  background: var(--bg); border-top: 1px solid var(--border);
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  max-width: 720px; margin: 0 auto; gap: 20px; align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 36px 28px;
  position: relative; transition: all 0.3s;
}
.pricing-card:hover { transform: translateY(-2px); }

/* Pro card — elevated */
.pricing-featured {
  border-color: var(--accent);
  background: linear-gradient(170deg, var(--bg-card) 0%, rgba(0, 184, 148, 0.04) 100%);
  box-shadow: 0 0 60px rgba(0, 184, 148, 0.06), 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: scale(1.03);
}
.pricing-featured:hover { transform: scale(1.04) translateY(-2px); }

.pricing-popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 5px 16px; border-radius: 20px; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 184, 148, 0.3);
}

.pricing-tier {
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px;
}
.pricing-tier-pro { color: var(--accent); }

.pricing-amount {
  font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px;
}
.pricing-decimal { font-size: 28px; font-weight: 700; }
.pricing-once { font-size: 13px; font-weight: 500; color: var(--text-muted); vertical-align: middle; }
.pricing-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }

.pricing-features { list-style: none; margin-bottom: 24px; }
.pricing-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--text-secondary); padding: 5px 0;
}
.pricing-features li strong { color: var(--text); }
.check { flex-shrink: 0; font-size: 12px; color: var(--accent); }
.check.pro { color: var(--gold); }

.btn-outline-pricing {
  display: block; text-align: center; padding: 12px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  color: var(--text-secondary); text-decoration: none;
  font-size: 14px; font-weight: 600; transition: all 0.2s;
}
.btn-outline-pricing:hover {
  border-color: var(--accent); color: var(--accent); background: var(--accent-glow);
}

.btn-primary-pricing {
  display: block; text-align: center; padding: 13px;
  background: var(--accent); border-radius: var(--radius-sm);
  color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600; transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(0, 184, 148, 0.2);
}
.btn-primary-pricing:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 30px rgba(0, 184, 148, 0.3);
  transform: translateY(-1px);
}

.pricing-guarantee {
  text-align: center; font-size: 11px; color: var(--text-muted); margin-top: 12px;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.site-footer {
  padding: 40px 0; border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.footer-brand {
  display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px;
}
.footer-logo { width: 22px; height: 22px; border-radius: 5px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: var(--text-muted); text-decoration: none; font-size: 12.5px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-secondary); }
.footer-copy { font-size: 12px; color: var(--text-muted); }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-mockup { max-width: 420px; margin: 0 auto; }

  .steps-grid { flex-direction: column; gap: 16px; }
  .step-connector { transform: rotate(90deg); }
  .step-card { flex: none; width: 100%; max-width: 340px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card-large { grid-column: span 1; grid-template-columns: 1fr; text-align: center; }
  .feature-card-large .feature-icon { margin: 0 auto 14px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
  .pricing-featured { transform: none; }
  .pricing-featured:hover { transform: translateY(-2px); }
}

@media (max-width: 600px) {
  .nav-links a:not(.btn-nav) { display: none; }
  .social-proof-inner { gap: 20px; }
  .proof-divider { display: none; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer-links { gap: 16px; }
}
