/* ===== TOKENS ===== */
:root {
  --bg: #0A1628;
  --bg-2: #0D1E36;
  --bg-3: #112540;
  --fg: #F0F4F8;
  --fg-2: #8FA3BF;
  --fg-3: #5A7599;
  --accent: #FF6B35;
  --accent-2: #FF8C5A;
  --teal: #00C9A7;
  --teal-2: #00A889;
  --border: rgba(255,255,255,0.07);
  --card: rgba(255,255,255,0.03);
  --card-2: rgba(255,255,255,0.06);
  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--fg); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 3px; }

/* ===== NAV ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 2rem; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--fg); text-decoration: none; }
.nav-tag { font-size: 0.78rem; color: var(--fg-3); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 500; }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 8rem 2rem 4rem; max-width: 1200px; margin: 0 auto; position: relative; }
.hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 100%); pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.hero-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,107,53,0.12) 0%, transparent 70%); top: -100px; left: -200px; }
.hero-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,201,167,0.08) 0%, transparent 70%); bottom: 0; right: 0; }
.hero-inner { position: relative; }
.hero-label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.label-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-headline { font-family: var(--font-head); font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 800; line-height: 1.05; color: var(--fg); margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.headline-accent { color: var(--accent); }
.hero-sub { font-size: 1.15rem; color: var(--fg-2); max-width: 460px; line-height: 1.7; margin-bottom: 2rem; }
.hero-channels { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.channel-tag { background: var(--card-2); border: 1px solid var(--border); border-radius: 100px; padding: 0.4rem 1rem; font-size: 0.82rem; font-weight: 500; color: var(--fg-2); }

/* Hero Visual */
.hero-visual { position: relative; }
.funnel-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 2rem; backdrop-filter: blur(10px); }
.funnel-stage { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
.funnel-stage:last-child { border-bottom: none; }
.fs-bar { height: 4px; background: var(--bg-3); border-radius: 2px; grid-column: 1; }
.fs-bar-accent { background: linear-gradient(90deg, var(--teal), var(--teal-2)); }
.fs-label { font-size: 0.78rem; color: var(--fg-3); grid-column: 1; grid-row: 2; margin-top: 0.25rem; }
.fs-count { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--fg); text-align: right; grid-column: 3; grid-row: 1 / 3; display: flex; align-items: center; }
.fs-label-accent { color: var(--teal); }
.fs-count-accent { color: var(--teal); }

/* ===== STATS BAR ===== */
.stats-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); padding: 2.5rem 2rem; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; align-items: center; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 0.4rem; }
.stat-desc { font-size: 0.8rem; color: var(--fg-3); line-height: 1.4; }
.stat-divider { width: 1px; height: 50px; background: var(--border); }

/* ===== FEATURES ===== */
.features { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 4rem; }
.section-eyebrow { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 0.75rem; }
.section-title { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--fg); line-height: 1.2; margin-bottom: 1rem; letter-spacing: -0.01em; }
.section-sub { font-size: 1.05rem; color: var(--fg-2); max-width: 560px; line-height: 1.7; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; position: relative; overflow: hidden; transition: border-color 0.2s; }
.feature-card:hover { border-color: rgba(255,255,255,0.15); }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); opacity: 0; transition: opacity 0.2s; }
.fc-linkedin::before { background: #0077B5; }
.fc-email::before { background: var(--accent); }
.fc-lead::before { background: var(--teal); }
.feature-card:hover::before { opacity: 1; }
.fc-icon { width: 48px; height: 48px; background: var(--card-2); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 1.25rem; }
.feature-card h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--fg); margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.9rem; color: var(--fg-2); line-height: 1.6; margin-bottom: 1.25rem; }
.fc-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.fc-list li { font-size: 0.82rem; color: var(--fg-3); display: flex; align-items: center; gap: 0.5rem; }
.fc-list li::before { content: ''; width: 5px; height: 5px; background: var(--teal); border-radius: 50%; flex-shrink: 0; }

/* ===== HOW ===== */
.how { background: var(--bg-2); padding: 6rem 2rem; }
.how-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; }
.how-title { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.how-sub { font-size: 0.95rem; color: var(--fg-2); line-height: 1.7; margin-top: 1rem; }
.how-steps { display: flex; flex-direction: column; gap: 0; }
.step { display: grid; grid-template-columns: 60px 1fr; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); position: relative; }
.step:last-child { border-bottom: none; }
.step::before { content: ''; position: absolute; left: 29px; top: 4rem; bottom: 0; width: 1px; background: var(--border); }
.step-last::before { display: none; }
.step-num { font-family: var(--font-head); font-size: 0.75rem; font-weight: 800; color: var(--accent); letter-spacing: 0.05em; padding-top: 0.3rem; }
.step-body h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--fg); margin-bottom: 0.4rem; }
.step-body p { font-size: 0.88rem; color: var(--fg-2); line-height: 1.6; }

/* ===== PRICING ===== */
.pricing { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; }
.pricing-header { max-width: 600px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 0; }
.price-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; position: relative; }
.pc-featured { border-color: var(--accent); box-shadow: 0 0 40px rgba(255,107,53,0.08); }
.pc-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: white; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.25rem 0.9rem; border-radius: 100px; white-space: nowrap; }
.pc-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.75rem; }
.pc-price { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: var(--fg); line-height: 1; margin-bottom: 0.75rem; }
.pc-price span { font-size: 1rem; font-weight: 500; color: var(--fg-3); }
.pc-desc { font-size: 0.88rem; color: var(--fg-2); line-height: 1.6; margin-bottom: 1.5rem; }
.pc-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.pc-list li { font-size: 0.85rem; color: var(--fg-2); display: flex; align-items: flex-start; gap: 0.6rem; }
.pc-list li::before { content: ''; width: 16px; height: 16px; background: var(--card-2); border-radius: 4px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 0.1rem; background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.33 2.5L3.75 7.08 1.67 5' stroke='%2300C9A7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 10px; }
.pricing-note { text-align: center; font-size: 0.82rem; color: var(--fg-3); margin-top: 2rem; padding: 1rem; background: var(--card); border: 1px solid var(--border); border-radius: 10px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== CLOSING ===== */
.closing { background: var(--bg-2); padding: 6rem 2rem; }
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.closing-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--teal); margin-bottom: 1.5rem; padding: 0.4rem 1.2rem; background: rgba(0,201,167,0.08); border: 1px solid rgba(0,201,167,0.2); border-radius: 100px; }
.closing-headline { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--fg); line-height: 1.15; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.closing-sub { font-size: 1.05rem; color: var(--fg-2); line-height: 1.7; margin-bottom: 2.5rem; }
.closing-promise { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.cp-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: var(--fg-2); }
.cp-icon { width: 24px; height: 24px; background: rgba(0,201,167,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer { padding: 3rem 2rem; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-logo { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--fg); margin-bottom: 0.75rem; }
.footer-copy { font-size: 0.88rem; color: var(--fg-3); margin-bottom: 0.5rem; }
.footer-sub { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 6rem; }
  .hero-visual { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .how-inner { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; }
}
/* ===== APP NAV ===== */
.app-nav { position: sticky; top: 0; z-index: 100; background: rgba(10,22,40,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0 2rem; }
.app-nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; }
.app-nav-logo { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--fg); text-decoration: none; }
.app-nav-links { display: flex; gap: 0.25rem; }
.app-nav-links a { padding: 0.4rem 0.8rem; border-radius: 8px; font-size: 0.88rem; font-weight: 500; color: var(--fg-2); text-decoration: none; transition: color 0.15s, background 0.15s; }
.app-nav-links a:hover { color: var(--fg); background: var(--card-2); }
.app-nav-links a.active { color: var(--fg); background: var(--card-2); }
.app-nav-actions { display: flex; gap: 0.75rem; align-items: center; }

/* ===== APP LAYOUT ===== */
.app-body { max-width: 1200px; margin: 0 auto; padding: 2.5rem 2rem; }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2rem; gap: 1rem; }
.page-title { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--fg); margin-bottom: 0.25rem; }
.page-sub { font-size: 0.9rem; color: var(--fg-2); }

/* ===== BUTTONS ===== */
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent); color: white; font-family: var(--font-body); font-size: 0.88rem; font-weight: 600; padding: 0.6rem 1.2rem; border: none; border-radius: 8px; cursor: pointer; text-decoration: none; transition: background 0.15s; }
.btn-primary:hover { background: var(--accent-2); }
.btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--card-2); color: var(--fg); font-family: var(--font-body); font-size: 0.88rem; font-weight: 600; padding: 0.6rem 1.2rem; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; text-decoration: none; transition: background 0.15s; }
.btn-secondary:hover { background: var(--bg-3); }
.btn-ghost { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--fg-2); font-size: 0.85rem; padding: 0.4rem 0.8rem; border-radius: 6px; text-decoration: none; transition: color 0.15s, background 0.15s; }
.btn-ghost:hover { color: var(--fg); background: var(--card); }
.btn-danger { display: inline-flex; align-items: center; gap: 0.4rem; background: transparent; color: #ff6b6b; font-size: 0.82rem; padding: 0.4rem 0.7rem; border-radius: 6px; cursor: pointer; border: none; transition: background 0.15s; }
.btn-danger:hover { background: rgba(255,107,107,0.1); }

/* ===== STATS GRID ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem 1.5rem; }
.stat-card-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-3); margin-bottom: 0.5rem; }
.stat-card-value { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--fg); line-height: 1; }
.stat-card-value.accent { color: var(--accent); }
.stat-card-value.teal { color: var(--teal); }
.stat-card-change { font-size: 0.78rem; color: var(--fg-3); margin-top: 0.4rem; }

/* ===== TABLES ===== */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-3); padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
.data-table td { padding: 1rem; border-bottom: 1px solid var(--border); font-size: 0.88rem; color: var(--fg); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--card); }
.data-table .col-actions { text-align: right; white-space: nowrap; }

/* ===== CARDS ===== */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; }
.card-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--fg); margin-bottom: 0.25rem; }
.card-meta { font-size: 0.8rem; color: var(--fg-3); margin-bottom: 1rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }

/* ===== STATUS BADGES ===== */
.badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 100px; }
.badge-draft { background: rgba(90,117,153,0.15); color: var(--fg-3); }
.badge-active { background: rgba(0,201,167,0.1); color: var(--teal); }
.badge-paused { background: rgba(255,165,32,0.1); color: #FFA500; }
.badge-completed { background: rgba(143,163,191,0.1); color: var(--fg-2); }
.badge-new { background: rgba(255,107,53,0.1); color: var(--accent); }
.badge-replied { background: rgba(0,201,167,0.1); color: var(--teal); }
.badge-qualified { background: rgba(80,200,120,0.1); color: #50C878; }
.badge-bounced { background: rgba(255,107,107,0.1); color: #ff6b6b; }
.badge-email { background: rgba(255,107,53,0.1); color: var(--accent); }
.badge-linkedin { background: rgba(0,119,181,0.1); color: #0077B5; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--fg-2); margin-bottom: 0.4rem; }
.form-input { width: 100%; background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 0.6rem 0.9rem; color: var(--fg); font-family: var(--font-body); font-size: 0.9rem; outline: none; transition: border-color 0.15s; }
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--fg-3); }
.form-select { width: 100%; background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 0.6rem 0.9rem; color: var(--fg); font-family: var(--font-body); font-size: 0.9rem; outline: none; appearance: none; cursor: pointer; }
.form-select:focus { border-color: var(--accent); }
.form-textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 0.6rem 0.9rem; color: var(--fg); font-family: var(--font-body); font-size: 0.9rem; outline: none; resize: vertical; min-height: 80px; }
.form-textarea:focus { border-color: var(--accent); }

/* ===== MODALS ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal { background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.modal-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--fg); }
.modal-close { width: 32px; height: 32px; border-radius: 8px; background: var(--card-2); border: none; color: var(--fg-2); cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--bg-3); }
.modal-actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.5rem; }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--fg-3); }
.empty-state h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--fg-2); margin-bottom: 0.5rem; }
.empty-state p { font-size: 0.88rem; }

/* ===== TABS ===== */
.tabs { display: flex; gap: 0.25rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.tab { padding: 0.6rem 1rem; border-radius: 8px 8px 0 0; font-size: 0.85rem; font-weight: 500; color: var(--fg-2); text-decoration: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--fg); }
.tab.active { color: var(--fg); border-bottom-color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 6rem; }
  .hero-visual { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .how-inner { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .stats-inner { grid-template-columns: 1fr; }
  .stat-divider { display: none; }
  .hero-headline { font-size: 2.2rem; }
  .closing-promise { align-items: flex-start; }
  .footer-sub { font-size: 0.95rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .page-header { flex-direction: column; }
}