/* ZoneCastAI — styles.css */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Playfair+Display:wght@700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0B1D3A;
  --navy-mid: #112240;
  --navy-light: #1E3A6E;
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --blue-glow: rgba(59,130,246,0.4);
  --accent: #E63946;
  --accent-dark: #C1272D;
  --gold: #D4A843;
  --gold-light: #F0D78C;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray-100: #E2E8F0;
  --gray-200: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-800: #1E293B;
  --success: #10B981;
  --warning: #F59E0B;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-tech: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar { background: var(--accent); color: var(--white); text-align: center; padding: 10px 24px; font-size: 13px; font-weight: 500; letter-spacing: 0.5px; animation: pulseBar 3s ease-in-out infinite; }
.announcement-bar span { font-weight: 700; }
.announcement-bar a { color: #fff; text-decoration: underline; margin-left: 6px; }
@keyframes pulseBar { 0%, 100% { opacity: 1; } 50% { opacity: 0.85; } }

/* ===== NAV ===== */
nav { background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 0 24px; position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); }
nav .nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 38px; height: 38px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; box-shadow: 0 0 12px var(--blue-glow); }
.logo-icon svg { width: 20px; height: 20px; }
.logo-text { font-family: var(--font-body); font-weight: 700; font-size: 20px; color: var(--white); letter-spacing: -0.3px; }
.logo-text em { font-style: normal; color: var(--blue-light); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--gray-200); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; letter-spacing: 0.2px; }
.nav-links a:hover { color: var(--white); }
.nav-cta { background: var(--blue) !important; color: var(--white) !important; padding: 10px 22px; border-radius: 8px; font-weight: 600 !important; transition: all 0.2s !important; box-shadow: 0 4px 12px rgba(37,99,235,0.25); }
.nav-cta:hover { background: var(--blue-light) !important; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37,99,235,0.35); }
.mobile-menu { display: none; background: none; border: none; color: var(--white); font-size: 28px; cursor: pointer; padding: 8px 12px; -webkit-tap-highlight-color: rgba(255,255,255,0.1); touch-action: manipulation; }

/* ===== MOBILE OVERLAY & DRAWER ===== */
.mobile-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 200; opacity: 0; transition: opacity 0.3s; }
.mobile-overlay.active { display: block; opacity: 1; }
.mobile-drawer { position: fixed; top: 0; right: -300px; width: 300px; height: 100%; background: var(--navy); z-index: 201; transition: right 0.3s ease; overflow-y: auto; display: flex; flex-direction: column; }
.mobile-drawer.active { right: 0; }
.mobile-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-close { background: none; border: none; color: var(--gray-400); font-size: 28px; cursor: pointer; padding: 4px; transition: color 0.2s; }
.mobile-close:hover { color: var(--white); }
.mobile-drawer-links { flex: 1; padding: 12px 0; }
.mobile-drawer-links a { display: flex; align-items: center; gap: 10px; padding: 12px 24px; color: var(--gray-200); text-decoration: none; font-size: 15px; font-weight: 500; transition: background 0.2s, color 0.2s; }
.mobile-drawer-links a:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.mobile-drawer-links a svg { width: 18px; height: 18px; opacity: 0.6; flex-shrink: 0; }
.mobile-section-label { padding: 16px 24px 6px; font-size: 11px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 1.5px; }
.mobile-drawer-cta { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.08); }

/* ===== PWA INSTALL BANNER ===== */
.pwa-banner { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150; padding: 12px; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.3)); }
.pwa-banner.active { display: block; animation: slideUpBanner 0.4s ease; }
@keyframes slideUpBanner { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.pwa-banner-inner { max-width: 480px; margin: 0 auto; display: flex; align-items: center; gap: 12px; background: var(--navy); border: 1px solid rgba(37,99,235,0.3); border-radius: 14px; padding: 14px 16px; box-shadow: 0 -4px 24px rgba(0,0,0,0.3); }
.pwa-banner-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: white; }
.pwa-banner-icon svg { width: 20px; height: 20px; }
.pwa-banner-text { flex: 1; }
.pwa-banner-text strong { color: var(--white); font-size: 14px; display: block; }
.pwa-banner-text span { color: var(--gray-400); font-size: 12px; }
.pwa-banner-btn { padding: 8px 18px; border-radius: 8px; border: none; background: var(--blue); color: white; font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.pwa-banner-btn:hover { background: var(--blue-light); }
.pwa-banner-dismiss { background: none; border: none; color: var(--gray-400); font-size: 20px; cursor: pointer; padding: 4px; }

/* ===== HERO (index only) ===== */
.hero { background: var(--navy); position: relative; overflow: hidden; padding: 80px 24px 100px; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(37,99,235,0.15), transparent), radial-gradient(ellipse 60% 50% at 20% 80%, rgba(230,57,70,0.08), transparent); pointer-events: none; }
.hero::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px); background-size: 30px 30px; pointer-events: none; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.25); padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; color: var(--blue-light); letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 24px; animation: fadeSlideUp 0.6s ease both; }
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { font-family: var(--font-display); font-size: 52px; font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.5px; animation: fadeSlideUp 0.6s 0.1s ease both; }
.hero h1 .highlight { background: linear-gradient(135deg, var(--blue-light), var(--gold-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 18px; color: var(--gray-400); line-height: 1.7; margin-bottom: 36px; max-width: 520px; animation: fadeSlideUp 0.6s 0.2s ease both; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; animation: fadeSlideUp 0.6s 0.3s ease both; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: var(--white); padding: 16px 32px; border-radius: 10px; font-size: 16px; font-weight: 600; text-decoration: none; transition: all 0.25s; box-shadow: 0 4px 16px rgba(37,99,235,0.3); }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,99,235,0.4); }
.btn-secondary { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--gray-200); padding: 16px 32px; border-radius: 10px; font-size: 16px; font-weight: 500; text-decoration: none; border: 1px solid rgba(255,255,255,0.15); transition: all 0.25s; }
.btn-secondary:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.3); }
.hero-stats { display: flex; gap: 40px; animation: fadeSlideUp 0.6s 0.4s ease both; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-value { font-size: 28px; font-weight: 700; color: var(--white); letter-spacing: -0.5px; }
.hero-stat-label { font-size: 12px; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.8px; margin-top: 2px; }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; align-items: center; animation: fadeSlideUp 0.8s 0.3s ease both; }
.phone-mockup { width: 300px; height: 600px; background: var(--navy-mid); border-radius: 36px; border: 3px solid rgba(255,255,255,0.12); padding: 12px; position: relative; box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05) inset; }
.phone-screen { width: 100%; height: 100%; background: linear-gradient(180deg, #0F2847 0%, #0B1D3A 50%, #111827 100%); border-radius: 24px; overflow: hidden; position: relative; }
.phone-notch { width: 120px; height: 28px; background: var(--navy-mid); border-radius: 0 0 16px 16px; margin: 0 auto; position: relative; z-index: 2; }
.phone-content { padding: 20px 16px; }
.phone-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.phone-logo-small { font-weight: 700; font-size: 14px; color: var(--white); }
.phone-logo-small em { font-style: normal; color: var(--blue-light); }
.phone-status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--success); font-weight: 500; }
.phone-status::before { content: ''; width: 6px; height: 6px; background: var(--success); border-radius: 50%; }
.phone-alert { background: rgba(230,57,70,0.12); border: 1px solid rgba(230,57,70,0.3); border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.phone-alert-type { font-size: 10px; font-weight: 700; color: var(--accent); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.phone-alert-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.phone-alert-desc { font-size: 11px; color: var(--gray-400); line-height: 1.5; }
.phone-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 14px; margin-bottom: 10px; }
.phone-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.phone-card-title { font-size: 12px; font-weight: 600; color: var(--gray-200); }
.phone-card-badge { font-size: 9px; font-weight: 700; color: var(--blue-light); background: rgba(37,99,235,0.15); padding: 3px 8px; border-radius: 10px; letter-spacing: 0.5px; }
.phone-resources { display: flex; flex-direction: column; gap: 8px; }
.phone-resource { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--gray-400); }
.phone-resource-icon { width: 28px; height: 28px; background: rgba(37,99,235,0.1); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.phone-nav-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 56px; background: rgba(11,29,58,0.95); border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-around; align-items: center; padding: 0 20px; }
.phone-nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9px; color: var(--gray-400); }
.phone-nav-item.active { color: var(--blue-light); }
.phone-nav-icon { font-size: 18px; }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--off-white); border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); padding: 28px 24px; }
.trust-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-label { font-size: 11px; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap; }
.trust-logos { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; justify-content: center; }
.trust-logo { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--gray-600); opacity: 0.7; transition: opacity 0.2s; }
.trust-logo:hover { opacity: 1; }
.trust-logo-icon { width: 32px; height: 32px; background: var(--white); border-radius: 6px; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0,0,0,0.08); color: var(--gray-600); }
.trust-logo-icon svg { width: 18px; height: 18px; }

/* ===== SECTION STYLES ===== */
.section-eyebrow { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--navy); margin-bottom: 16px; letter-spacing: -0.5px; line-height: 1.15; }
.section-desc { font-size: 17px; color: var(--gray-600); max-width: 600px; line-height: 1.7; margin-bottom: 48px; }

/* ===== EMERGENCY CARDS ===== */
.emergencies { padding: 100px 24px; background: var(--white); }
.emergency-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.emergency-card { background: var(--off-white); border: 1px solid var(--gray-100); border-radius: 14px; padding: 28px 24px; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden; cursor: pointer; box-shadow: 0 2px 8px rgba(11,29,58,0.04); }
.emergency-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(11,29,58,0.08); border-color: var(--blue); }
.emergency-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-light)); opacity: 0; transition: opacity 0.3s; }
.emergency-card:hover::before { opacity: 1; }
.emergency-card[data-active="true"] { border-color: var(--blue); box-shadow: 0 12px 32px rgba(37,99,235,0.15); transform: translateY(-4px); }
.emergency-card[data-active="true"]::before { opacity: 1; }
.emergency-icon { width: 48px; height: 48px; background: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); color: var(--blue); }
.emergency-icon svg { width: 24px; height: 24px; }
.emergency-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.emergency-card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 0; }

/* Card detail panel */
.card-detail { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease; margin-top: 0; }
.emergency-card[data-active="true"] .card-detail { max-height: 500px; opacity: 1; margin-top: 16px; }
.card-detail-header { font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--gray-100); }
.card-detail-alert { background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.2); border-radius: 8px; padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.card-detail-body { font-size: 13px; color: var(--gray-600); line-height: 1.6; margin-bottom: 14px; }
.card-detail-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.card-action { display: flex; align-items: flex-start; gap: 10px; background: var(--white); border: 1px solid var(--gray-100); border-radius: 8px; padding: 10px 12px; }
.card-action-icon { font-size: 20px; flex-shrink: 0; width: 28px; text-align: center; }
.card-action div { font-size: 12px; color: var(--gray-600); line-height: 1.5; }
.card-action strong { color: var(--navy); font-size: 13px; }
.card-detail-footer { font-size: 10px; color: var(--gray-400); text-align: right; font-style: italic; }

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 100px 24px; background: var(--navy); position: relative; overflow: hidden; }
.how-it-works::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse 50% 50% at 80% 20%, rgba(37,99,235,0.1), transparent); pointer-events: none; }
.how-it-works::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(37,99,235,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,0.03) 1px, transparent 1px); background-size: 30px 30px; pointer-events: none; }
.how-it-works .section-eyebrow { color: var(--gold); }
.how-it-works .section-title { color: var(--white); }
.how-it-works .section-desc { color: var(--gray-400); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 60px; position: relative; z-index: 1; }
.step-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 36px 28px; transition: all 0.3s; }
.step-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-4px); }
.step-number { font-family: var(--font-display); font-size: 48px; font-weight: 800; color: rgba(37,99,235,0.2); line-height: 1; margin-bottom: 16px; }
.step-card h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.step-card p { font-size: 15px; color: var(--gray-400); line-height: 1.7; }
.ai-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; position: relative; z-index: 1; }
.ai-feature { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 22px; transition: all 0.2s; }
.ai-feature:hover { background: rgba(255,255,255,0.06); }
.ai-feature-icon { width: 40px; height: 40px; background: rgba(37,99,235,0.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue-light); }
.ai-feature-icon svg { width: 20px; height: 20px; }
.ai-feature h4 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.ai-feature p { font-size: 13px; color: var(--gray-400); line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 100px 24px; background: var(--off-white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: 14px; padding: 32px 28px; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.testimonial-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.testimonial-stars { color: var(--gold); font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; background: linear-gradient(135deg, var(--blue), var(--navy-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--white); }
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--navy); }
.testimonial-role { font-size: 12px; color: var(--gray-400); }

/* ===== CTA SECTION ===== */
.cta-section { padding: 100px 24px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -200px; right: -200px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,0.15), transparent 70%); pointer-events: none; }
.cta-section h2 { font-family: var(--font-display); font-size: 42px; font-weight: 800; color: var(--white); margin-bottom: 16px; letter-spacing: -0.5px; position: relative; z-index: 1; }
.cta-section p { font-size: 18px; color: var(--gray-400); max-width: 560px; margin: 0 auto 36px; line-height: 1.7; position: relative; z-index: 1; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--white); color: var(--navy); padding: 16px 28px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; transition: all 0.25s; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }
.store-btn-icon { font-size: 24px; }
.store-btn-text { display: flex; flex-direction: column; text-align: left; }
.store-btn-label { font-size: 10px; font-weight: 500; color: var(--gray-600); line-height: 1; }
.store-btn-name { font-size: 17px; font-weight: 700; line-height: 1.2; }

/* ===== FOOTER ===== */
footer { background: #060E1A; padding: 60px 24px 32px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--gray-400); line-height: 1.7; margin-top: 12px; max-width: 300px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--gray-200); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--gray-400); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 13px; color: var(--gray-400); }
.footer-badges { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.footer-badge { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--gray-400); background: rgba(255,255,255,0.04); padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.06); }

/* ===== PAGE HEADER (subpages) ===== */
.page-header { background-color: var(--navy); background-image: linear-gradient(rgba(37,99,235,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,0.05) 1px, transparent 1px); background-size: 30px 30px; padding: 80px 24px; position: relative; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.05); }
.page-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(37,99,235,0.12), transparent); pointer-events: none; }
.page-header .container { position: relative; z-index: 1; }
.page-header .breadcrumb { font-size: 13px; color: var(--gray-400); margin-bottom: 16px; }
.page-header .breadcrumb a { color: var(--blue-light); text-decoration: none; }
.page-header h1 { font-family: var(--font-tech); font-size: 48px; font-weight: 800; color: var(--white); letter-spacing: -1px; margin-bottom: 16px; line-height: 1.1; }
.page-header p { font-size: 18px; color: var(--gray-400); max-width: 640px; line-height: 1.7; }

/* ===== CONTENT SECTIONS (subpages) ===== */
.content-section { padding: 80px 24px; }
.content-section.alt { background: var(--off-white); }
.content-section h2 { font-family: var(--font-tech); font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 16px; letter-spacing: -0.3px; }
.content-section h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; margin-top: 28px; }
.content-section p { font-size: 16px; color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; max-width: 800px; }
.content-section ul { list-style: none; margin-bottom: 20px; }
.content-section ul li { font-size: 15px; color: var(--gray-600); line-height: 1.7; padding: 6px 0 6px 24px; position: relative; }
.content-section ul li::before { content: '\2022'; color: var(--blue); position: absolute; left: 0; font-weight: bold; }

/* Feature cards (subpages) */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
.feature-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: 12px; padding: 32px 28px; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03); }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(11,29,58,0.1), 0 10px 10px -5px rgba(11,29,58,0.04); border-color: var(--blue-light); }
.feature-card .icon { width: 52px; height: 52px; background: rgba(37,99,235,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--blue); }
.feature-card .icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; margin-top: 0; }
.feature-card p { font-size: 14px; margin-bottom: 0; }

/* Image blocks */
.img-block { border-radius: 14px; overflow: hidden; margin: 32px 0; box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.img-block img { width: 100%; height: 360px; object-fit: cover; display: block; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin: 40px 0; }
.two-col img { width: 100%; height: 320px; object-fit: cover; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.price-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: 16px; padding: 36px 28px; text-align: center; transition: all 0.3s; position: relative; }
.price-card.featured { border-color: var(--blue); box-shadow: 0 8px 32px rgba(37,99,235,0.15); transform: scale(1.03); }
.price-card.featured::before { content: 'MOST POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--blue); color: white; font-size: 11px; font-weight: 700; padding: 4px 16px; border-radius: 12px; letter-spacing: 1px; }
.price-card h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.price-card .price { font-family: var(--font-tech); font-size: 48px; font-weight: 800; color: var(--navy); margin: 16px 0 4px; }
.price-card .price span { font-size: 16px; font-weight: 400; color: var(--gray-400); }
.price-card .price-desc { font-size: 14px; color: var(--gray-400); margin-bottom: 24px; }
.price-card ul { text-align: left; margin-bottom: 28px; }
.price-card ul li::before { content: '\2713'; color: var(--success); }
.price-btn { display: inline-block; padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; transition: all 0.2s; }
.price-btn.primary { background: var(--blue); color: white; }
.price-btn.secondary { background: var(--off-white); color: var(--navy); border: 1px solid var(--gray-200); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 32px; }
.team-card { text-align: center; }
.team-card .avatar { width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--blue)); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 700; color: white; overflow: hidden; }
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--gray-400); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; margin-top: 32px; }
.blog-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: 14px; overflow: hidden; transition: all 0.3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card .tag { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; display: inline-block; }
.blog-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 0 0 8px; line-height: 1.3; }
.blog-card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 12px; }
.blog-card .meta { font-size: 12px; color: var(--gray-400); }

/* Jobs */
.job-list { margin-top: 32px; }
.job-item { background: var(--white); border: 1px solid var(--gray-100); border-radius: 12px; padding: 24px 28px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; transition: all 0.2s; }
.job-item:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.job-title { font-size: 17px; font-weight: 700; color: var(--navy); }
.job-meta { font-size: 13px; color: var(--gray-400); margin-top: 4px; }
.job-btn { padding: 10px 24px; border-radius: 8px; background: var(--off-white); color: var(--navy); font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid var(--gray-200); transition: all 0.2s; white-space: nowrap; }
.job-btn:hover { background: var(--blue); color: white; border-color: var(--blue); }

/* Press */
.press-item { border-bottom: 1px solid var(--gray-100); padding: 28px 0; }
.press-item:last-child { border-bottom: none; }
.press-date { font-size: 12px; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.press-item h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 8px 0; }
.press-item p { font-size: 15px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 32px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea, .contact-form select { padding: 14px 18px; border: 1px solid var(--gray-200); border-radius: 10px; font-family: var(--font-body); font-size: 15px; outline: none; transition: border 0.2s; background: var(--white); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button { padding: 16px; background: var(--blue); color: white; border: none; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.contact-form button:hover { background: var(--blue-light); }
.contact-info-card { background: var(--navy); border-radius: 16px; padding: 40px 32px; color: white; }
.contact-info-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; color: white; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.contact-info-icon { width: 40px; height: 40px; background: rgba(37,99,235,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue-light); }
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; color: white; }
.contact-info-item p { font-size: 14px; color: var(--gray-400); margin: 0; }

/* API docs */
.api-block { background: var(--navy); border-radius: 12px; padding: 28px; margin: 24px 0; overflow-x: auto; }
.api-block code { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 13px; color: var(--gray-200); white-space: pre; line-height: 1.8; }
.api-block .kw { color: #7dd3fc; }
.api-block .str { color: #86efac; }
.api-block .cm { color: #6b7280; }

/* Stat banner */
.stat-banner { background: var(--navy); padding: 48px 24px; background-image: linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px); background-size: 30px 30px; }
.stat-banner .container { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-value { font-family: var(--font-tech); font-size: 42px; font-weight: 800; color: var(--white); }
.stat-label { font-size: 13px; color: var(--gray-400); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* CTA banner (subpages) */
.cta-banner { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); padding: 80px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(37,99,235,0.12), transparent 70%); pointer-events: none; }
.cta-banner h2 { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: white; margin-bottom: 12px; position: relative; z-index: 1; }
.cta-banner p { font-size: 17px; color: var(--gray-400); max-width: 500px; margin: 0 auto 28px; position: relative; z-index: 1; }
.cta-banner .btn-primary { position: relative; z-index: 1; }

/* ===== RICKROLL MODAL ===== */
.rickroll-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.85); z-index: 9999; align-items: center; justify-content: center; }
.rickroll-overlay.active { display: flex; }
.rickroll-modal { background: var(--navy); border-radius: 20px; padding: 24px; width: 90%; max-width: 720px; position: relative; box-shadow: 0 32px 64px rgba(0,0,0,0.5); }
.rickroll-modal .close-btn { position: absolute; top: 12px; right: 16px; background: none; border: none; color: var(--gray-400); font-size: 28px; cursor: pointer; z-index: 2; transition: color 0.2s; }
.rickroll-modal .close-btn:hover { color: white; }
.rickroll-modal .video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 12px; overflow: hidden; }
.rickroll-modal .video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ===== ANIMATIONS ===== */
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 36px; }
  .hero-sub { margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 240px; height: 480px; }
  .steps-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .ai-features { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .mobile-menu { display: block; }
  .section-title { font-size: 32px; }
  .page-header h1 { font-size: 32px; }
  .two-col { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat-banner .container { gap: 32px; }
  .stat-value { font-size: 32px; }
  .job-item { flex-direction: column; align-items: flex-start; gap: 12px; }
}
