/* ═══════════════════════════════════════════════
   HushHush V2 — Signal-Inspired Utilitarian Design
   ═══════════════════════════════════════════════ */

:root {
    /* Signal-inspired palette */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F6F8FA;
    --text-main: #121212;
    --text-muted: #5F6368;
    --signal-blue: #2C6BED;
    --signal-blue-hover: #1A54D4;
    --border-light: #E0E4E8;
    --radius-card: 12px;
    --radius-btn: 8px;

    /* Legacy compat (used by app mockup) */
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* Typography: Inter only, bold headings */
h1, h2, h3, h4 {
    font-family: var(--font);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-main);
}
.logo span {
    font-family: var(--font);
    font-weight: 700;
}

/* ── Solid Cards (Signal-inspired) ─────────── */
.glass-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    border-color: var(--signal-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 107, 237, 0.1);
}

.tip-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tip-card::after {
    content: 'View Tip →';
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--signal-blue);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.2s ease;
}

.tip-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--signal-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-shield {
    width: 18px;
    height: 18px;
    color: white;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    color: var(--text-main);
    margin-left: auto;
}
.mobile-menu-btn svg { width: 24px; height: 24px; }

/* ── Hero ────────────────────────────────────── */
.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 560px;
}

.hero-badge, .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.badge-icon {
    width: 14px;
    height: 14px;
    color: var(--text-main);
}

.badge-icon.warn { color: var(--text-main); }
.badge-icon.accent { color: var(--signal-blue); }

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--text-main);
    margin-bottom: 1.25rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ── Waitlist Form (Glass) ──────────────────── */
.waitlist-form.glass-card {
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 480px;
}

.form-step-1 {
    display: flex;
    gap: 0.5rem;
}

.form-step-2 {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-top: 0.5rem;
}

.hidden { display: none !important; }

.input-row {
    display: flex;
    gap: 0.6rem;
}
.input-row input { flex: 1; min-width: 0; }

input, textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-btn);
    background: var(--bg-primary);
    font-size: 0.9rem;
    font-family: var(--font);
    color: var(--text-main);
    transition: border-color 0.2s;
    width: 100%;
    outline: none;
}

textarea { resize: vertical; }

input::placeholder, textarea::placeholder {
    color: var(--gray-500);
}

input:focus, textarea:focus {
    border-color: var(--signal-blue);
    box-shadow: none;
}

/* ── Signal-Blue Solid Button ──────────────── */
.btn-glow {
    padding: 0.75rem 1.5rem;
    background: var(--signal-blue);
    color: white;
    border: none;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.btn-glow:hover {
    background: var(--signal-blue-hover);
}

.btn-glow.full-width { width: 100%; }

/* ── Hero Actions ───────────────────────────── */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-outline {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--gray-400);
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s ease;
}

.btn-outline:hover {
    border-color: var(--text-main);
}

/* ── Trust Ribbon ───────────────────────────── */
.trust-ribbon {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.trust-item svg {
    width: 16px;
    height: 16px;
    color: var(--gray-400);
}

/* ── Success Message ────────────────────────── */
.success-message {
    text-align: center;
    padding: 1.5rem;
}

.success-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--blue-500);
    animation: scaleIn 0.5s ease-out;
}

.success-message h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.success-message p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ── Phone Mockup ───────────────────────────── */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 580px;
    background: #FFFFFF;
    border: 6px solid var(--text-main);
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    position: relative;
}

.phone-mockup:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.16);
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: var(--gray-800);
    border-radius: 0 0 20px 20px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.app-header-mock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.back-arrow { color: var(--gray-400); }
.back-arrow svg { width: 18px; height: 18px; }

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-800);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-500);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 4px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 0 12px rgba(59, 130, 246, 0.6); }
}

.online-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-500);
}

.app-chat {
    flex: 1;
    padding: 1.25rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(243, 244, 246, 0.4);
}

.chat-msg {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-width: 85%;
}
.chat-msg.received { align-self: flex-start; }
.chat-msg.sent { align-self: flex-end; align-items: flex-end; }

.msg-bubble {
    padding: 0.65rem 1rem;
    border-radius: 18px;
    font-size: 0.82rem;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.chat-msg.received .msg-bubble {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom-left-radius: 4px;
    color: var(--gray-800);
}

.chat-msg.sent .msg-bubble {
    background: var(--blue-500);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-msg.sent .msg-bubble.encrypted {
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue-600);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 10px;
    font-family: 'SF Mono', monospace;
    font-size: 0.72rem;
    padding: 0.5rem 0.75rem;
}

.tiny-icon { width: 12px; height: 12px; }

.msg-time {
    font-size: 0.6rem;
    color: var(--gray-400);
    padding: 0 0.4rem;
}

.app-input-mock {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.input-bar-mock {
    flex: 1;
    background: rgba(249, 250, 251, 0.8);
    border: 1px solid var(--gray-200);
    padding: 0.5rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--gray-400);
}

.send-btn-mock {
    width: 34px;
    height: 34px;
    background: var(--blue-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(59, 130, 246, 0.25);
}

.send-icon { width: 16px; height: 16px; color: white; }

/* ── Hero Animation (Faithful App Replica) ──── */
.anim-scene {
    position: absolute;
    top: 28px; left: 0; right: 0; bottom: 0; /* below notch */
    opacity: 0;
    animation-duration: 9s;
    animation-iteration-count: infinite;
    background: #f3f4f6; /* matches app bg-gray-100 */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.scene-1 { animation-name: showScene1; z-index: 10; }
.scene-2 { animation-name: showScene2; z-index: 10; }
.scene-3 { animation-name: showScene3; z-index: 10; }

@keyframes showScene1 {
    0%, 30% { opacity: 1; transform: translateX(0); }
    33%, 100% { opacity: 0; transform: translateX(-20px); }
}
@keyframes showScene2 {
    0%, 30% { opacity: 0; transform: translateX(20px); }
    33%, 63% { opacity: 1; transform: translateX(0); }
    66%, 100% { opacity: 0; transform: translateX(-20px); }
}
@keyframes showScene3 {
    0%, 63% { opacity: 0; transform: translateX(20px); }
    66%, 96% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(-20px); }
}

/* ── App Header (matches ChatInterface.jsx) ──── */
.hh-app-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.6rem 0.75rem;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #f3f4f6;
}
.hh-back-btn svg { width: 18px; height: 18px; color: #9ca3af; }
.hh-contact-header { display: flex; align-items: center; gap: 0.5rem; flex: 1; margin-left: 0.25rem; }
.hh-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, #60a5fa, #67e8f9); /* from-blue-400 to-cyan-300 */
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 0.75rem;
    box-shadow: 0 2px 6px rgba(96, 165, 250, 0.3);
}
.hh-contact-meta { display: flex; flex-direction: column; gap: 0.1rem; }
.hh-contact-name { font-weight: 700; font-size: 0.8rem; color: #1f2937; }
.hh-encrypted-tag { display: flex; align-items: center; gap: 0.25rem; font-size: 0.55rem; color: #6b7280; font-weight: 500; }
.hh-green-dot { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; animation: pulse-dot 2s ease-in-out infinite; box-shadow: 0 0 4px rgba(74,222,128,0.4); }
.hh-settings-btn svg { width: 16px; height: 16px; color: #9ca3af; }

/* ── Messages (matches MessageBubble) ──── */
.hh-messages { flex: 1; padding: 0.75rem 0.6rem; display: flex; flex-direction: column; gap: 0.6rem; overflow: hidden; }
.hh-msg { display: flex; flex-direction: column; gap: 0.15rem; max-width: 80%; }
.hh-msg-received { align-self: flex-start; }
.hh-msg-sent { align-self: flex-end; align-items: flex-end; }

.hh-bubble-recv {
    padding: 0.5rem 0.75rem; border-radius: 14px; border-bottom-left-radius: 3px;
    background: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.5);
    font-size: 0.7rem; line-height: 1.45; color: #1f2937;
    font-family: 'SF Mono', 'Menlo', monospace;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.hh-bubble-sent {
    padding: 0.5rem 0.75rem; border-radius: 14px; border-bottom-right-radius: 3px;
    background: #3b82f6; /* blue-500 */
    color: white;
    font-size: 0.7rem; line-height: 1.45;
    font-family: 'SF Mono', 'Menlo', monospace;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.hh-time { font-size: 0.5rem; color: #9ca3af; padding: 0 0.25rem; }
.hh-time-sent { text-align: right; }

/* ── Input Bar (matches actual app) ──── */
.hh-input-bar {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.6rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,0.2);
}
.hh-paste-btn {
    display: flex; align-items: center; gap: 0.25rem;
    padding: 0.4rem 0.6rem; border-radius: 20px;
    background: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.4);
    font-size: 0.6rem; font-weight: 500; color: #374151;
    white-space: nowrap;
}
.hh-paste-btn svg { width: 12px; height: 12px; }
.hh-text-input {
    flex: 1; padding: 0.4rem 0.7rem; border-radius: 16px;
    background: rgba(255,255,255,0.5); border: none;
    font-size: 0.65rem; color: #9ca3af;
}
.hh-lock-btn {
    width: 32px; height: 32px; border-radius: 50%;
    background: #3b82f6; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 8px rgba(59,130,246,0.3); flex-shrink: 0;
}
.hh-lock-btn svg { width: 14px; height: 14px; color: white; }

.hh-footer-hint {
    text-align: center; font-size: 0.45rem; color: #9ca3af; padding: 0.2rem 0 0.4rem;
}

/* ── Toast Banner ──── */
.hh-toast-banner {
    position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
    background: rgba(34,197,94,0.9); color: white;
    padding: 0.35rem 1rem; border-radius: 20px;
    font-size: 0.6rem; font-weight: 600;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(34,197,94,0.2);
    animation: toastPop 9s infinite;
    z-index: 20;
    white-space: nowrap;
}
@keyframes toastPop {
    0%, 33% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    38%, 60% { opacity: 1; transform: translateX(-50%) translateY(0); }
    63%, 100% { opacity: 0; transform: translateX(-50%) translateY(-5px); }
}

/* ── Typewriter ──── */
.cursor { animation: blink 1s step-end infinite; color: #60a5fa; }
@keyframes blink { 50% { opacity: 0; } }

@keyframes scene1TextFlow {
    0%, 18% { content: "Alpha-7 Tango confirmed."; color: white; }
    19%, 30% { content: "eyJwcWMiOiJCd0F..."; color: rgba(255,255,255,0.7); }
}
.typewriter-content::after {
    content: "Alpha-7 Tango confirmed.";
    animation: scene1TextFlow 9s infinite;
}

/* ── Scene 3 message pop ──── */
@keyframes msgPop {
    0%, 75% { opacity: 0; transform: scale(0.9) translateY(10px); }
    78%, 100% { opacity: 1; transform: scale(1) translateY(0); }
}
.scene-3-msg { animation: msgPop 9s infinite; transform-origin: top right; }

/* ── WhatsApp-themed Scene 3 ──── */
.wa-header {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: #075E54;
}
.wa-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center;
    justify-content: center; color: white; font-weight: 700; font-size: 0.7rem;
}
.wa-online { font-size: 0.5rem; color: rgba(255,255,255,0.7); }
.wa-messages {
    flex: 1; padding: 0.75rem 0.6rem; display: flex;
    flex-direction: column; gap: 0.5rem;
    background: #ECE5DD;
}
.wa-bubble-recv {
    padding: 0.45rem 0.65rem; border-radius: 6px; border-bottom-left-radius: 0;
    background: white; font-size: 0.65rem; color: #303030; line-height: 1.4;
    box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}
.wa-bubble-sent {
    padding: 0.45rem 0.65rem; border-radius: 6px; border-bottom-right-radius: 0;
    background: #DCF8C6; font-size: 0.65rem; color: #303030; line-height: 1.4;
    box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}
.wa-cipher {
    font-family: 'SF Mono', 'Menlo', monospace; font-size: 0.55rem;
    word-break: break-all; color: #555;
}
.wa-input-bar {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem; background: #f0f0f0;
}
.wa-text-input {
    flex: 1; padding: 0.4rem 0.7rem; border-radius: 20px;
    background: white; font-size: 0.65rem; color: #999;
}
.wa-send-btn {
    width: 30px; height: 30px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center;
    justify-content: center;
}
.wa-send-btn svg { width: 14px; height: 14px; color: white; }

/* ── Sections ───────────────────────────────── */
.section {
    position: relative;
    z-index: 2;
    padding: 6.25rem 0; /* 100px */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-badge {
    margin: 0 auto 1.5rem;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.04em;
    color: var(--text-main);
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── FAQ & Playbooks ────────────────────────── */
.faq-container {
    max-width: 800px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 1rem;
}
.faq-item {
    background: #FFFFFF; border: 1px solid var(--gray-200); border-radius: 8px;
    padding: 1.25rem 1.5rem;
}
.faq-item summary {
    font-weight: 600; font-size: 1.05rem; color: var(--gray-800);
    cursor: pointer; list-style: none; display: flex; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--gray-400); font-weight: 400; font-size: 1.25rem; }
.faq-item[open] summary::after { content: '−'; }
.faq-answer {
    margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--gray-100);
    color: var(--gray-500); font-size: 0.95rem; line-height: 1.6;
}
.playbook-link {
    display: inline-block; margin-top: 1rem; font-size: 0.85rem; font-weight: 600;
    color: var(--gray-900); text-decoration: none;
}
.playbook-link:hover { text-decoration: underline; }

/* ── Feature Cards Grid ─────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
}

.card-icon {
    width: 44px;
    height: 44px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--blue-500);
}

.card-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.6rem;
}

.feature-card p {
    font-size: 0.925rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ── Steps Container ────────────────────────── */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step-card {
    padding: 2rem;
    position: relative;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-400);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ── Tech Grid ──────────────────────────────── */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-card {
    padding: 2rem;
}

.tech-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--blue-500);
}

.tech-icon svg { width: 20px; height: 20px; }

.tech-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.tech-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ── CTA Section ────────────────────────────── */
.cta-section {
    padding: 8rem 0;
}

.cta-content {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.cta-form {
    margin-top: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Footer ─────────────────────────────────── */
.site-footer {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-inner .logo {
    font-size: 0.95rem;
}

.footer-inner .logo-shield {
    width: 16px;
    height: 16px;
    color: var(--gray-600);
}

.copyright {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--signal-blue);
}

/* ── Scroll Animations ──────────────────────── */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in.delay-1 {
    transition-delay: 0.2s;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 992px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1.5rem 4rem;
    }

    .hero-content { max-width: 100%; }

    .hero-badge { margin-left: auto; margin-right: auto; }

    .hero h1 { font-size: 2.75rem; }

    .waitlist-form.glass-card { margin: 0 auto; }

    .hero-visual { margin-top: 2rem; }

    .card-grid, .steps-container {
        grid-template-columns: 1fr;
    }

    .section h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        gap: 1.5rem;
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 600px) {

    .hero h1 { font-size: 2rem; }

    .hero-desc { font-size: 1rem; }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-actions button {
        width: 100%;
    }

    .hero-inner {
        padding: 5rem 1rem 3rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .nav-inner {
        padding: 1rem 1.25rem;
    }

    .section h2 { font-size: 1.75rem; line-height: 1.2; }

    .trust-ribbon {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem 1.25rem;
    }

    .form-step-1 { flex-direction: column; }

    .input-row { flex-direction: column; }

    .tech-grid { grid-template-columns: 1fr; }

    .phone-mockup {
        width: 260px;
        height: 500px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 1rem;
    }
}
