@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --navy: #0f2345;
  --navy-dark: #091833;
  --navy-mid: #163160;
  --navy-light: #e8edf5;
  --accent: #2b6cb0;
  --accent-light: #ebf4ff;
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15,35,69,0.08);
  --shadow-lg: 0 20px 40px rgba(15,35,69,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Outfit', sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0; background: transparent; transition: all 0.3s; }
.nav.scrolled { background: rgba(15,35,69,0.97); backdrop-filter: blur(12px); padding: 0.6rem 0; box-shadow: 0 2px 20px rgba(0,0,0,0.15); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo-img { height: 32px; filter: brightness(0) invert(1); transition: filter 0.3s; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link { color: rgba(255,255,255,0.8); font-size: 0.92rem; font-weight: 500; transition: color 0.15s; }
.nav-link:hover { color: #fff; }
.btn-nav { background: rgba(255,255,255,0.12); color: #fff !important; padding: 0.5rem 1.25rem; border-radius: 8px; font-weight: 600; font-size: 0.88rem; border: 1px solid rgba(255,255,255,0.2); transition: all 0.2s; }
.btn-nav:hover { background: rgba(255,255,255,0.22); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0.65rem 1.5rem; border-radius: 8px; font-family: inherit; font-size: 0.95rem; font-weight: 600; border: none; cursor: pointer; text-decoration: none; transition: all 0.2s; white-space: nowrap; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1.05rem; border-radius: 10px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,35,69,0.25); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.btn-full { width: 100%; }

/* HERO */
.hero { position: relative; padding: 10rem 0 8rem; overflow: hidden; background: linear-gradient(165deg, #091833 0%, #0f2345 40%, #163160 80%, #1e4080 100%); color: #fff; text-align: center; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 20%, rgba(43,108,176,0.18) 0%, transparent 60%), radial-gradient(ellipse at 20% 80%, rgba(43,108,176,0.12) 0%, transparent 50%); }
.hero-content { position: relative; z-index: 2; }
.hero-badge { display: inline-block; padding: 0.4rem 1.2rem; border-radius: 50px; font-size: 0.82rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 3.8rem); font-weight: 800; line-height: 1.12; margin-bottom: 1.25rem; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, #93c5fd, #60a5fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: auto; }

/* WAITLIST */
.waitlist-section { padding: 0; margin-top: -2rem; position: relative; z-index: 3; }
.waitlist-card { background: var(--white); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-lg); text-align: center; max-width: 600px; margin: 0 auto; border: 1px solid var(--border); }
.waitlist-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--accent); }
.waitlist-card h2 { font-size: 1.5rem; color: var(--navy); margin-bottom: 0.5rem; }
.waitlist-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1.25rem; }
.waitlist-form { display: flex; gap: 0.5rem; }
.waitlist-input { flex: 1; padding: 0.7rem 1rem; border: 2px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 0.95rem; outline: none; transition: border-color 0.2s; }
.waitlist-input:focus { border-color: var(--accent); }

/* SECTION HEADER */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag { display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.75rem; }
.section-header h2 { font-size: 2.2rem; font-weight: 800; color: var(--navy); margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 550px; margin: 0 auto; }

/* FEATURES */
.features-section { padding: 5rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; transition: all 0.25s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.feature-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.features-more { text-align: center; }
.features-also { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.75rem; }
.features-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.ftag { background: var(--navy-light); color: var(--navy-mid); font-size: 0.78rem; font-weight: 600; padding: 0.35rem 0.85rem; border-radius: 50px; white-space: nowrap; }

/* STATS */
.stats-section { padding: 3rem 0; background: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-num { display: block; font-size: 2.8rem; font-weight: 900; color: #fff; font-family: 'JetBrains Mono', monospace; letter-spacing: -0.02em; }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1.5px; }

/* PREVIEW */
.preview-section { padding: 5rem 0; }
.preview-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.preview-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s; }
.preview-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.preview-card-header { background: var(--navy); color: #fff; padding: 0.75rem 1rem; font-size: 0.82rem; font-weight: 600; display: flex; align-items: center; gap: 0.75rem; }
.preview-dots { display: flex; gap: 5px; }
.preview-dots span { width: 8px; height: 8px; border-radius: 50%; }
.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #febc2e; }
.preview-dots span:nth-child(3) { background: #28c840; }
.preview-card-body { padding: 1.25rem; min-height: 180px; }

/* Mock widgets */
.mock-stat { background: var(--bg); border-radius: 8px; padding: 0.75rem; margin-bottom: 0.5rem; display: flex; justify-content: space-between; align-items: center; }
.mock-label { font-size: 0.78rem; color: var(--text-muted); }
.mock-value { font-size: 1rem; font-weight: 700; color: var(--navy); font-family: 'JetBrains Mono', monospace; }
.mock-chart { display: flex; gap: 6px; align-items: flex-end; height: 70px; padding: 0.5rem 0; }
.mock-bar { flex: 1; background: linear-gradient(to top, var(--accent), #60a5fa); border-radius: 4px 4px 0 0; transition: height 0.6s ease; }
.mock-pipeline { display: flex; gap: 0.5rem; }
.mock-stage { flex: 1; }
.mock-stage-head { font-size: 0.72rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; padding-bottom: 0.4rem; border-bottom: 2px solid var(--accent); margin-bottom: 0.4rem; }
.mock-deal { font-size: 0.75rem; color: var(--text); background: var(--bg); border-radius: 6px; padding: 0.4rem 0.5rem; margin-bottom: 0.3rem; border-left: 3px solid var(--accent-light); }
.mock-chat { display: flex; flex-direction: column; gap: 0.6rem; }
.mock-msg { font-size: 0.78rem; line-height: 1.5; padding: 0.6rem 0.8rem; border-radius: 10px; max-width: 90%; }
.mock-user { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.mock-ai { background: var(--bg); color: var(--text); align-self: flex-start; border-bottom-left-radius: 3px; border: 1px solid var(--border); }

/* PRICING TEASER */
.pricing-teaser { padding: 4rem 0; }
.pricing-teaser-inner { background: linear-gradient(165deg, #091833, #163160); border-radius: 16px; padding: 3rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; color: #fff; }
.pricing-teaser-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.75rem; color: #fff; }
.pricing-teaser-content p { color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.7; }
.pricing-teaser-highlights { display: flex; flex-direction: column; gap: 0.75rem; }
.pth { display: flex; align-items: center; gap: 0.75rem; font-size: 0.92rem; color: rgba(255,255,255,0.85); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select { padding: 0.7rem 1rem; border: 2px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 0.92rem; outline: none; transition: border-color 0.2s; resize: vertical; background: var(--white); color: var(--text); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }
.form-msg { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.88rem; display: none; }
.form-msg.success { display: block; background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.form-msg.error { display: block; background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* CONTACT */
.contact-section { padding: 5rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
.contact-info h2 { font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 0.75rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.7; }
.contact-detail { display: flex; align-items: center; gap: 0.75rem; font-size: 0.92rem; color: var(--text); margin-bottom: 0.75rem; }
.contact-detail svg { color: var(--accent); flex-shrink: 0; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.contact-form { display: flex; flex-direction: column; gap: 0.85rem; }

/* FOOTER */
.footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 3rem 0 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { height: 28px; filter: brightness(0) invert(1); margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; max-width: 280px; line-height: 1.6; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.5rem; font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* ANIMATIONS */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate="fade-down"] { transform: translateY(-20px); }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 8rem 0 6rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }
  .features-grid { grid-template-columns: 1fr; }
  .preview-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .pricing-teaser-inner { grid-template-columns: 1fr; padding: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy-dark); flex-direction: column; justify-content: center; align-items: center; gap: 1.5rem; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; z-index: 1001; }
}
