/* ─── Thalassa Corporate Site ─────────────────────────────────────────────── */
/* Built on Pico CSS (MIT) — https://picocss.com                               */

:root {
  --brand-900: #0c1a2e;
  --brand-800: #0f2744;
  --brand-700: #1a3a5c;
  --brand-600: #1e5799;
  --brand-500: #0ea5e9;
  --brand-400: #38bdf8;
  --brand-100: #e0f2fe;
  --neutral-50:  #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-900: #0f172a;
  --radius: 0.75rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.07), 0 4px 6px rgba(0,0,0,.05);
}

/* ─── Reset / base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--neutral-700);
  background: #fff;
  margin: 0;
  line-height: 1.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4 { color: var(--neutral-900); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; font-weight: 600; }

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-500); }

/* ─── Navigation ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--neutral-200);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
}

.site-header nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header nav a { color: var(--neutral-700); font-size: 0.9rem; font-weight: 500; }
.site-header nav a:hover { color: var(--brand-600); }
.brand { font-size: 1.25rem !important; color: var(--brand-900) !important; }

[role="button"] {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  border: 2px solid transparent;
}

[role="button"]:not(.outline):not(.secondary) {
  background: var(--brand-600);
  color: #fff;
  border-color: var(--brand-600);
}
[role="button"]:not(.outline):not(.secondary):hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
}

[role="button"].outline {
  background: transparent;
  color: var(--brand-600);
  border-color: var(--brand-600);
}
[role="button"].outline:hover {
  background: var(--brand-100);
}

[role="button"].secondary {
  background: transparent;
  color: var(--neutral-700);
  border-color: var(--neutral-200);
}
[role="button"].secondary:hover { background: var(--neutral-100); }

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-700) 60%, var(--brand-600) 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  text-align: center;
}

.hero-content { max-width: 760px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--brand-400);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}

.hero h1 { color: #fff; margin-bottom: 1.25rem; }

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-actions [role="button"]:not(.outline) {
  background: var(--brand-500);
  border-color: var(--brand-500);
  font-size: 1rem;
  padding: 0.75rem 2rem;
}
.hero-actions [role="button"]:not(.outline):hover {
  background: var(--brand-400);
  border-color: var(--brand-400);
}
.hero-actions [role="button"].outline {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.4);
  font-size: 1rem;
  padding: 0.75rem 2rem;
}
.hero-actions [role="button"].outline:hover {
  background: rgba(255,255,255,0.1);
}

.hero-note { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin: 0; }

/* ─── Proof strip ─────────────────────────────────────────────────────────── */
.proof-strip {
  background: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-200);
  padding: 1rem 0;
  text-align: center;
}
.proof-strip p { margin: 0; font-size: 0.875rem; color: var(--neutral-600); }

/* ─── Sections ────────────────────────────────────────────────────────────── */
section { padding: 5rem 0; }
.section-alt { background: var(--neutral-50); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-header p { color: var(--neutral-600); font-size: 1.05rem; margin-top: 0.75rem; }

/* ─── Problem cards ───────────────────────────────────────────────────────── */
.grid { display: grid; gap: 1.5rem; }
.three-col { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.two-col   { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.card h3 { margin: 0 0 0.5rem; }
.card p { margin: 0; color: var(--neutral-600); font-size: 0.9rem; }

/* ─── Feature grid ────────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 2.5rem;
  text-align: center;
  margin-top: 0.1rem;
}

.feature-block h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.feature-block p  { margin: 0; color: var(--neutral-600); font-size: 0.875rem; line-height: 1.6; }

/* ─── Mode C callout ──────────────────────────────────────────────────────── */
.callout-section {
  background: var(--brand-900);
  color: #fff;
  padding: 4rem 0;
}

.callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.callout-text h2 { color: #fff; margin-bottom: 1rem; }
.callout-text p  { color: rgba(255,255,255,0.75); margin-bottom: 0.75rem; }
.callout-text p:last-child { color: var(--brand-400); font-weight: 600; margin: 0; }

.callout-stat {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.stat { display: flex; flex-direction: column; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--brand-400); line-height: 1; }
.stat-label  { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.25rem; }

/* ─── Persona cards ───────────────────────────────────────────────────────── */
.persona-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.persona-card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.persona-card p  { margin: 0; color: var(--neutral-600); font-size: 0.875rem; }

/* ─── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 2px var(--brand-500), var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-500);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  white-space: nowrap;
}

.pricing-tier { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-600); margin-bottom: 0.5rem; }
.pricing-price { margin-bottom: 0.75rem; }
.price-amount { font-size: 2.5rem; font-weight: 800; color: var(--neutral-900); }
.price-period { font-size: 0.9rem; color: var(--neutral-600); }
.pricing-desc { font-size: 0.875rem; color: var(--neutral-600); margin-bottom: 1.25rem; }

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.pricing-features li {
  font-size: 0.875rem;
  color: var(--neutral-700);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--neutral-100);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pricing-features li::before { content: "✓"; color: var(--brand-500); font-weight: 700; flex-shrink: 0; }

.pricing-card [role="button"] { width: 100%; justify-content: center; }

.pricing-note { text-align: center; font-size: 0.8rem; color: var(--neutral-600); margin-top: 2rem; }

/* ─── CTA section ─────────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-600) 100%);
  color: #fff;
  padding: 5rem 0;
}

.cta-content { max-width: 640px; margin: 0 auto; text-align: center; }
.cta-content h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-content > p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }

/* EngageBay form embed — override form background to match section */
.engage-hub-form-embed {
  background: transparent;
  text-align: start;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--neutral-900);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand strong { color: #fff; font-size: 1.1rem; display: block; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.875rem; margin: 0 0 0.25rem; }
.footer-domain { color: var(--brand-400) !important; font-size: 0.8rem !important; }

.footer-links h4 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.875rem; }
.footer-links a:hover { color: #fff; }
.footer-placeholder { color: rgba(255,255,255,0.35); font-size: 0.875rem; font-style: italic; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-header nav ul:last-child { display: none; }

  .callout { grid-template-columns: 1fr; }
  .callout-stat { flex-direction: row; justify-content: center; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .hero { padding: 4rem 0 3rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
