/* ─── Dealix Shared Stylesheet ─────────────────────────────────────────────── */
/* Used by every page on dealix.ai */

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

:root {
  --indigo:       #6366f1;
  --indigo-dark:  #4f46e5;
  --indigo-light: #818cf8;
  --violet:       #7c3aed;
  --green:        #10b981;
  --green-light:  #34d399;
  --gray-950:     #030712;
  --gray-900:     #111827;
  --gray-800:     #1f2937;
  --gray-700:     #374151;
  --gray-600:     #4b5563;
  --gray-500:     #6b7280;
  --gray-400:     #9ca3af;
  --gray-300:     #d1d5db;
  --gray-200:     #e5e7eb;
  --white:        #ffffff;
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    24px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--gray-950);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Typography ─────────────────────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #6366f1 0%, #818cf8 40%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-green {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--indigo-light);
  margin-bottom: 14px;
}
.section-headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.12;
  margin-bottom: 16px;
}
.section-sub {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 600px;
}

/* ─── Navigation ─────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 60px);
  height: 64px;
  background: rgba(3,7,18,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #6366f1, #7c3aed);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon svg { width: 18px; height: 18px; }
.nav-logo-text { font-size: 17px; font-weight: 800; letter-spacing: -0.5px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--gray-400);
  transition: all 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-ctas { display: flex; align-items: center; gap: 10px; }
.nav-hamburger { display: none; cursor: pointer; background: none; border: none; color: var(--gray-400); padding: 4px; }

/* ─── Buttons ─────────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600;
  background: var(--indigo-dark); color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.15s; cursor: pointer;
}
.btn-primary:hover { background: #4338ca; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(99,102,241,0.3); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500;
  color: var(--gray-300); border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.15s; cursor: pointer;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); color: var(--white); background: rgba(255,255,255,0.05); }
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-md);
  font-size: 16px; font-weight: 700;
  background: linear-gradient(135deg, var(--indigo-dark), var(--violet));
  color: var(--white); cursor: pointer; transition: all 0.2s;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset, 0 8px 32px rgba(99,102,241,0.35);
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset, 0 12px 40px rgba(99,102,241,0.45); }
.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-md);
  font-size: 16px; font-weight: 600;
  background: rgba(255,255,255,0.04); color: var(--gray-200);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer; transition: all 0.2s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: var(--white); transform: translateY(-1px); }
.btn-green {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-md);
  font-size: 16px; font-weight: 700;
  background: linear-gradient(135deg, #059669, #10b981);
  color: var(--white); cursor: pointer; transition: all 0.2s;
  box-shadow: 0 8px 32px rgba(16,185,129,0.3);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(16,185,129,0.4); }
.btn-outline-indigo {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 24px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600;
  color: var(--indigo-light); border: 1px solid rgba(99,102,241,0.35);
  transition: all 0.15s; cursor: pointer;
}
.btn-outline-indigo:hover { background: rgba(99,102,241,0.08); border-color: rgba(99,102,241,0.5); }
.btn-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 500; color: var(--indigo-light);
  transition: all 0.15s; cursor: pointer;
}
.btn-link:hover { color: var(--white); gap: 8px; }

/* ─── Layout Utilities ──────────────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px,4vw,60px); }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px,4vw,60px); }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

/* ─── Cards ──────────────────────────────────────────────────────────────────── */
.card {
  background: var(--gray-900); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg); padding: 28px;
  transition: border-color 0.2s;
}
.card:hover { border-color: rgba(255,255,255,0.1); }
.card-indigo {
  background: linear-gradient(135deg, rgba(79,70,229,0.08), rgba(99,102,241,0.04));
  border: 1px solid rgba(99,102,241,0.2);
}
.card-green {
  background: linear-gradient(135deg, rgba(5,150,105,0.08), rgba(16,185,129,0.04));
  border: 1px solid rgba(16,185,129,0.2);
}
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.icon-indigo { background: rgba(99,102,241,0.12); color: var(--indigo-light); }
.icon-green { background: rgba(16,185,129,0.12); color: var(--green-light); }
.icon-violet { background: rgba(124,58,237,0.12); color: #a78bfa; }
.icon-amber { background: rgba(245,158,11,0.12); color: #fbbf24; }
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.3px; }
.card p { font-size: 14px; color: var(--gray-400); line-height: 1.65; }

/* ─── Grids ──────────────────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ─── Trust / Proof ───────────────────────────────────────────────────────────── */
.proof-row {
  display: flex; align-items: center; gap: 20px;
  justify-content: center; flex-wrap: wrap;
  font-size: 13px; color: var(--gray-600);
}
.proof-row span { display: flex; align-items: center; gap: 5px; }
.check { color: var(--green-light); }

/* ─── Trust strip ────────────────────────────────────────────────────────────── */
.trust-strip {
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.015);
  padding: 20px 0;
}
.trust-strip-inner {
  display: flex; align-items: center; gap: 32px;
  justify-content: center; flex-wrap: wrap;
  font-size: 13px; color: var(--gray-500); font-weight: 500;
}
.trust-strip-inner span { display: flex; align-items: center; gap: 7px; }

/* ─── Badge / pill ───────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; border-radius: 100px;
  background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.25);
  font-size: 13px; font-weight: 500; color: var(--indigo-light);
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--indigo-light); animation: pulse 2s infinite;
}
.badge-green {
  background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.25);
  color: var(--green-light);
}
.badge-green .badge-dot { background: var(--green-light); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* ─── Steps ──────────────────────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--indigo-light);
  flex-shrink: 0; margin-top: 2px;
}
.step-num.green {
  background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.25);
  color: var(--green-light);
}
.step-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.3px; }
.step-content p { font-size: 14px; color: var(--gray-400); line-height: 1.65; }

/* ─── Two-column feature split ───────────────────────────────────────────────── */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.feature-panel { padding: 32px; border-radius: var(--radius-xl); }
.founder-panel {
  background: linear-gradient(135deg, rgba(79,70,229,0.06), rgba(99,102,241,0.03));
  border: 1px solid rgba(99,102,241,0.18);
}
.investor-panel {
  background: linear-gradient(135deg, rgba(5,150,105,0.06), rgba(16,185,129,0.03));
  border: 1px solid rgba(16,185,129,0.18);
}
.feature-panel h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.5px; }
.feature-panel .panel-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.founder-panel .panel-label { color: var(--indigo-light); }
.investor-panel .panel-label { color: var(--green-light); }
.feature-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--gray-300); list-style: none; line-height: 1.5;
}
.feature-list li::before {
  content: '✓'; font-weight: 700; margin-top: 1px; flex-shrink: 0;
}
.founder-panel .feature-list li::before { color: var(--indigo-light); }
.investor-panel .feature-list li::before { color: var(--green-light); }
.panel-cta { margin-top: 24px; }

/* ─── Comparison table ───────────────────────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  padding: 14px 20px; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
}
.compare-table th { font-size: 13px; font-weight: 700; color: var(--gray-400); }
.compare-table td:first-child { color: var(--gray-300); font-weight: 500; }
.compare-table .yes { color: var(--green-light); font-weight: 600; }
.compare-table .no { color: var(--gray-600); }
.compare-table .partial { color: #fbbf24; }
.compare-table .highlight-col { background: rgba(99,102,241,0.05); }

/* ─── Divider ────────────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 0; }

/* ─── Page hero (inner pages) ────────────────────────────────────────────────── */
.page-hero {
  padding: 120px clamp(16px,4vw,60px) 80px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero-glow {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(32px,5vw,56px); font-weight: 900; letter-spacing: -1.8px; line-height: 1.08; margin-bottom: 20px; max-width: 760px; margin-left: auto; margin-right: auto; }
.page-hero p { font-size: clamp(16px,2vw,19px); color: var(--gray-400); max-width: 560px; margin: 0 auto 36px; line-height: 1.7; }
.page-hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FAQ ────────────────────────────────────────────────────────────────────── */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--white);
  text-align: left; padding: 20px 0; cursor: pointer;
  font-size: 15px; font-weight: 600; display: flex;
  justify-content: space-between; align-items: center; gap: 12px;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--indigo-light); }
.faq-q span { font-size: 20px; color: var(--gray-500); transition: transform 0.2s; }
.faq-a { font-size: 14px; color: var(--gray-400); line-height: 1.7; padding-bottom: 20px; display: none; }
.faq-item.open .faq-q span { transform: rotate(45deg); color: var(--indigo-light); }
.faq-item.open .faq-a { display: block; }

/* ─── CTA banner ─────────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(79,70,229,0.12) 0%, rgba(124,58,237,0.08) 100%);
  border: 1px solid rgba(99,102,241,0.2); border-radius: var(--radius-xl);
  padding: 64px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 300px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(99,102,241,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { font-size: clamp(24px,3.5vw,40px); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.cta-banner p { font-size: 16px; color: var(--gray-400); margin-bottom: 32px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px clamp(16px,4vw,60px) 32px;
}
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4,1fr); gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--gray-500); margin-top: 12px; max-width: 220px; line-height: 1.65; }
.footer-col h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--gray-400); margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 13px; color: var(--gray-600); flex-wrap: wrap; gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--gray-600); transition: color 0.15s; }
.footer-bottom-links a:hover { color: var(--gray-400); }

/* ─── Form styles ────────────────────────────────────────────────────────────── */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-300); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); font-size: 14px; font-family: inherit;
  transition: border-color 0.15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: rgba(99,102,241,0.5);
  background: rgba(99,102,241,0.04);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--gray-600); }
.form-field select option { background: var(--gray-900); color: var(--white); }

/* ─── Animations ─────────────────────────────────────────────────────────────── */
@keyframes fadeInUp { from { opacity:0; transform: translateY(16px); } to { opacity:1; transform: translateY(0); } }
.fade-in { animation: fadeInUp 0.5s ease both; }
.fade-in-2 { animation: fadeInUp 0.5s 0.1s ease both; }
.fade-in-3 { animation: fadeInUp 0.5s 0.2s ease both; }

/* ─── Mobile nav ─────────────────────────────────────────────────────────────── */
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: rgba(3,7,18,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px clamp(16px,4vw,60px) 24px;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 14px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; color: var(--gray-300); transition: all 0.15s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.mobile-menu .mobile-ctas { display: flex; gap: 10px; margin-top: 12px; padding: 0 14px; }
.mobile-menu .mobile-ctas a { flex: 1; justify-content: center; text-align: center; }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-ctas .btn-ghost { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .cta-banner { padding: 40px 20px; }
  .btn-hero, .btn-hero-secondary, .btn-green { padding: 12px 20px; font-size: 15px; }
}
