/* SailPlan Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --navy-deep: #001B2E;
  --navy-dark: #0D3B56;
  --navy-mid: #1A4D6B;
  --teal: #00BFB3;
  --teal-light: #33CFC5;
  --sky: #7DD3FC;
  --pale-cyan: #E8F6F8;
  --pale-ice: #D9ECFC;
  --coral: #F95B6B;
  --gold: #F5B731;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-900); background: var(--white); -webkit-font-smoothing: antialiased; }

/* NAV */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px; position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}
nav.scrolled, nav.nav-solid {
  background: rgba(0, 27, 46, 0.97); backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.2);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,0.8); text-decoration: none; font-size: 14px;
  font-weight: 500; transition: color 0.2s; letter-spacing: 0.3px;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--teal); color: var(--navy-deep); padding: 10px 24px;
  border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--teal-light); transform: translateY(-1px); }

/* HERO */
.hero {
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy-dark) 45%, var(--navy-mid) 100%);
  padding: 160px 48px 120px; position: relative; overflow: hidden; min-height: 700px;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 900px 600px at 70% 35%, rgba(0,191,179,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 500px 400px at 25% 75%, rgba(125,211,252,0.04) 0%, transparent 70%);
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 64px; position: relative; z-index: 2; }
.hero-content { flex: 1; max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,191,179,0.1); border: 1px solid rgba(0,191,179,0.25);
  padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 500;
  color: var(--teal); margin-bottom: 28px;
}
.hero-badge::before { content: none; }
.hero h1 {
  font-size: 56px; font-weight: 800; line-height: 1.1; letter-spacing: -2px;
  color: var(--white); margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--teal), var(--sky));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.65);
  max-width: 520px; margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), #00a89e);
  color: var(--navy-deep); padding: 14px 32px; border-radius: 10px; text-decoration: none;
  font-size: 15px; font-weight: 700; transition: all 0.3s; border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,191,179,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,191,179,0.35); }
.btn-secondary {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); padding: 14px 32px; border-radius: 10px; text-decoration: none;
  font-size: 15px; font-weight: 600; transition: all 0.2s; cursor: pointer;
}
.btn-secondary:hover { background: rgba(255,255,255,0.14); }

/* Dashboard Preview */
.hero-visual { flex: 0 0 480px; display: flex; align-items: center; justify-content: center; }
.dashboard-preview {
  background: rgba(0,27,46,0.5); backdrop-filter: blur(20px);
  border: 1px solid rgba(0,191,179,0.12); border-radius: 16px;
  padding: 24px; box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.dash-header { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.r { background: #ef4444; } .dash-dot.y { background: #eab308; } .dash-dot.g { background: #22c55e; }
.dash-title { color: rgba(255,255,255,0.45); font-size: 12px; font-weight: 500; margin-left: 8px; letter-spacing: 0.5px; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dash-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(0,191,179,0.08);
  border-radius: 10px; padding: 16px;
}
.dash-card-label { font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.dash-card-value { font-size: 24px; font-weight: 700; color: var(--white); }
.dash-card-value.teal { color: var(--teal); }
.dash-card-value.green { color: #4ade80; }
.dash-card-value.sky { color: var(--sky); }
.dash-chart {
  margin-top: 12px; background: rgba(255,255,255,0.03); border: 1px solid rgba(0,191,179,0.06);
  border-radius: 10px; padding: 16px; height: 80px; position: relative; overflow: hidden;
}
.dash-chart svg { width: 100%; height: 100%; }
.bw-notification {
  margin-top: 12px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,191,179,0.12); border-radius: 10px;
  padding: 14px 16px; display: flex; align-items: flex-start; gap: 12px;
}
.bw-notif-icon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: rgba(0,191,179,0.12); display: flex; align-items: center; justify-content: center;
}
.bw-notif-content { flex: 1; }
.bw-notif-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.bw-notif-title { font-size: 10px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.5px; }
.bw-notif-time { font-size: 10px; color: rgba(255,255,255,0.3); }
.bw-notif-text { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.bw-notif-text strong { color: var(--white); }
.bw-notif-cta { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 600; color: var(--teal); text-decoration: none; }

/* SECTION COMMONS */
.section { padding: 100px 48px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-label {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
  color: var(--teal); margin-bottom: 16px;
}
.section-title {
  font-size: 40px; font-weight: 800; line-height: 1.15; letter-spacing: -1.5px;
  color: var(--navy-deep); margin-bottom: 20px;
}
.section-subtitle { font-size: 17px; line-height: 1.7; color: var(--gray-500); max-width: 600px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-subtitle { margin: 0 auto; }

/* STORY */
.story .section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story p { font-size: 17px; line-height: 1.75; color: var(--gray-600); margin-bottom: 16px; }
.story-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story-stat {
  background: var(--pale-cyan); border: 1px solid var(--pale-ice);
  border-radius: 16px; padding: 28px; text-align: center;
}
.story-stat-value { font-size: 36px; font-weight: 800; color: var(--navy-deep); margin-bottom: 4px; }
.story-stat-value.teal { color: var(--teal); }
.story-stat-label { font-size: 13px; color: var(--gray-500); font-weight: 500; }

/* CONVERGENCE */
.convergence {
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy-dark) 50%, var(--navy-mid) 100%);
  position: relative; overflow: hidden; text-align: center;
}
.convergence::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 75% 25%, rgba(0,191,179,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 600px 500px at 20% 80%, rgba(125,211,252,0.04) 0%, transparent 70%);
}
.convergence .section-inner { position: relative; z-index: 2; }
.convergence-title {
  font-size: 44px; font-weight: 900; line-height: 1.1; letter-spacing: -1.5px;
  color: var(--white); max-width: 820px; margin: 0 auto 64px;
}
.convergence-accent {
  background: linear-gradient(135deg, var(--teal), var(--sky));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.convergence-steps {
  display: flex; align-items: stretch; gap: 0;
  max-width: 960px; margin: 0 auto 64px;
}
.convergence-step {
  flex: 1; padding: 40px 28px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(0,191,179,0.12);
  border-radius: 20px; transition: all 0.3s;
  display: flex; flex-direction: column; align-items: center;
}
.convergence-step:hover {
  background: rgba(255,255,255,0.07); border-color: rgba(0,191,179,0.28);
  transform: translateY(-4px);
}
.step-icon-wrap {
  width: 72px; height: 72px; border-radius: 20px;
  background: rgba(0,191,179,0.1); border: 1px solid rgba(0,191,179,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 30px; line-height: 1;
}
.step-label {
  font-size: 12px; font-weight: 700; letter-spacing: 3px;
  color: var(--teal); text-transform: uppercase; margin-bottom: 12px;
}
.step-desc { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.6); margin: 0; }
.step-connector {
  flex: 0 0 56px; display: flex; align-items: center; justify-content: center;
}
.convergence-stat-block {
  max-width: 600px; margin: 0 auto 48px;
  background: rgba(0,191,179,0.08); border: 1px solid rgba(0,191,179,0.2);
  border-radius: 20px; padding: 48px 40px;
}
.convergence-stat-number {
  font-size: 80px; font-weight: 900; color: var(--teal);
  letter-spacing: -4px; line-height: 1; margin-bottom: 16px;
}
.convergence-stat-label { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.convergence-closing {
  font-size: 19px; line-height: 1.75; color: rgba(255,255,255,0.55);
  max-width: 780px; margin: 0 auto 48px; font-style: italic;
}
.convergence-closing strong { color: var(--white); font-style: normal; }
.convergence-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* PRODUCTS */
.products { background: var(--pale-cyan); }
.product-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.product-card {
  background: var(--white); border-radius: 20px; overflow: hidden;
  border: 1px solid var(--pale-ice); transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.product-card-header { padding: 40px 40px 32px; }
.product-card-header.mariner { background: linear-gradient(135deg, var(--navy-deep), var(--navy-dark)); }
/* HIDDEN: .product-card-header.boatwork { background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid)); } */
.product-wordmark { font-size: 14px; font-weight: 700; color: var(--teal); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; }
.product-card-header h3 { font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 8px; letter-spacing: -0.5px; }
.product-card-header .tagline { font-size: 14px; color: rgba(255,255,255,0.55); }
.product-card-body { padding: 32px 40px 40px; }
.product-card-body p { font-size: 15px; line-height: 1.7; color: var(--gray-600); margin-bottom: 24px; }
.product-features { list-style: none; margin-bottom: 28px; }
.product-features li {
  display: flex; align-items: flex-start; gap: 12px; padding: 8px 0;
  font-size: 14px; color: var(--gray-700); line-height: 1.5;
}
.product-features li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--teal); }
.product-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none; transition: gap 0.2s;
}
.product-link.teal { color: var(--teal); }
.product-link.navy { color: var(--navy-deep); }
.product-link:hover { gap: 12px; }

/* PROOF */
.proof-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--pale-ice); border-radius: 20px; overflow: hidden;
  border: 1px solid var(--pale-ice);
}
.proof-item { background: var(--white); padding: 48px 32px; text-align: center; }
.proof-value { font-size: 44px; font-weight: 800; color: var(--navy-deep); margin-bottom: 8px; letter-spacing: -2px; }
.proof-label { font-size: 14px; color: var(--gray-500); font-weight: 500; }

/* AI TEAM */
.ai-team { background: var(--gray-50); }
.ai-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 20px; padding: 48px; max-width: 800px; margin: 0 auto;
  display: flex; gap: 40px; align-items: center;
}
.ai-card-icon {
  width: 80px; height: 80px; border-radius: 20px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal), var(--sky));
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}
.ai-card h3 { font-size: 24px; font-weight: 700; color: var(--navy-deep); margin-bottom: 12px; }
.ai-card p { font-size: 15px; line-height: 1.7; color: var(--gray-600); }

/* VISION CTA */
.vision {
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy-dark) 50%, var(--navy-mid) 100%);
  position: relative; overflow: hidden; text-align: center;
}
.vision::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(0,191,179,0.05) 0%, transparent 70%);
}
.vision .section-inner { position: relative; z-index: 2; max-width: 720px; }
.vision .section-title { color: var(--white); }
.vision p { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 40px; }

/* FOOTER */
#site-footer { background: #010D1A; display: block; margin: 0; padding: 0; }
footer {
  padding: 64px 48px 32px; background: #010D1A;
  border-top: 1px solid rgba(0,191,179,0.06);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; margin-bottom: 48px; }
.footer-brand { max-width: 300px; }
.footer-brand img { height: 28px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; }
.footer-col h4 {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.55); text-decoration: none;
  font-size: 14px; 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.05); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 12px; margin-left: 24px; }

/* HAMBURGER */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1002; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; border-radius: 2px; }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,11,20,0.6); backdrop-filter: blur(4px); z-index: 999; }
.nav-overlay.open { display: block; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hamburger { display: block; }
  .nav-links {
    display: none; position: fixed; top: 0; right: 0; bottom: 0; width: 280px;
    background: var(--navy-deep); flex-direction: column; padding: 80px 32px 32px;
    gap: 20px; box-shadow: -4px 0 24px rgba(0,0,0,0.3); z-index: 1001;
    border-left: 1px solid rgba(0,191,179,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 16px; }
  .nav-cta { text-align: center; }
  .hero-inner { flex-direction: column; }
  .hero-visual { flex: none; width: 100%; max-width: 480px; }
  .hero h1 { font-size: 44px; }
  .story .section-inner { grid-template-columns: 1fr; gap: 48px; }
  .product-cards { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .ai-card { flex-direction: column; text-align: center; }
  .footer-top { flex-direction: column; gap: 40px; }
  .convergence-title { font-size: 34px; }
  .convergence-steps { flex-direction: column; gap: 16px; }
  .step-connector { transform: rotate(90deg); padding: 4px 0; }
  .convergence-stat-number { font-size: 64px; }
}
@media (max-width: 640px) {
  nav { padding: 16px 24px; }
  .section { padding: 64px 24px; }
  .hero { padding: 120px 24px 80px; }
  .hero h1 { font-size: 36px; }
  .proof-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  footer { padding: 48px 24px 24px; }
  .footer-cols { flex-direction: column; gap: 32px; }
  .convergence-title { font-size: 28px; letter-spacing: -1px; margin-bottom: 40px; }
  .convergence-steps { gap: 12px; }
  .step-connector { display: none; }
  .convergence-step { padding: 28px 24px; }
  .convergence-stat-block { padding: 32px 24px; }
  .convergence-stat-number { font-size: 56px; letter-spacing: -2px; }
  .convergence-closing { font-size: 17px; }
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dropdown-arrow {
  font-size: 0.7em;
  opacity: 0.7;
  transition: transform 0.2s;
}
.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: rgba(0, 27, 46, 0.97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 191, 179, 0.15);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(8px);
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover {
  background: rgba(0, 191, 179, 0.1);
  color: var(--teal);
}

/* Mobile dropdown */
@media (max-width: 768px) {
  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: rgba(0, 27, 46, 0.5);
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  .nav-dropdown:hover .nav-dropdown-menu {
    transform: none;
  }
}
