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

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

:root {
  --bg: #0b0b1e;
  --bg-gradient: linear-gradient(180deg, #0e0e28 0%, #0b0b1e 30%, #080816 100%);
  --text: rgba(255,255,255,0.95);
  --text-muted: rgba(255,255,255,0.56);
  --text-faint: rgba(255,255,255,0.28);
  --text-ghost: rgba(255,255,255,0.176);
  --surface: rgba(255,255,255,0.025);
  --surface-hover: rgba(255,255,255,0.05);
  --surface-active: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.07);
  --border-faint: rgba(255,255,255,0.04);
  --panel: rgba(14,14,40,0.96);
  --coral: #e8916b;
  --blue: #8b9cf0;
  --teal: #3dd6c8;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-gradient);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ═══ NAV ═══ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,11,30,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-faint);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
}

.logo {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--coral);
}

/* ═══ HERO ═══ */
.hero {
  padding: 80px 0 100px;
  text-align: center;
}

.hero-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-ghost);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -1.5px;
  line-height: 1.15;
  max-width: 700px;
  margin: 0 auto 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  color: var(--text);
}

/* ═══ BEACH CARDS (Hero showcase) ═══ */
.beach-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
  margin: 60px auto 0;
}

.beach-card {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: 16px;
  padding: 18px 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}

.beach-card:hover {
  border-color: var(--border);
  background: var(--surface-hover);
}

.beach-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.beach-name {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

.beach-region {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.48;
  margin-top: 2px;
}

.beach-temp {
  font-size: 28px;
  font-weight: 200;
  letter-spacing: -1px;
  line-height: 1;
  text-align: right;
}

.beach-temp-range {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.48;
  margin-top: 2px;
}

.beach-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 12px;
}

.quality-badge {
  display: inline-block;
  font-size: 9px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
}

.quality-glassy {
  color: var(--teal);
  background: rgba(61,214,200,0.1);
}

.quality-clean {
  color: var(--blue);
  background: rgba(139,156,240,0.1);
}

.quality-choppy {
  color: var(--coral);
  background: rgba(232,145,107,0.1);
}

.beach-swell {
  font-size: 11.5px;
  color: var(--text-muted);
  opacity: 0.52;
  font-family: 'JetBrains Mono', monospace;
}

.beach-detail {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.48;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 3px;
}

/* ═══ FEATURES ═══ */
.features {
  padding: 100px 0;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-ghost);
  margin-bottom: 12px;
  text-align: center;
}

.features h2 {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.8px;
  text-align: center;
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.feature-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: 16px;
  transition: all 0.2s;
}

.feature-card:hover {
  border-color: var(--border);
  background: var(--surface-hover);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
}

/* ═══ HIGHLIGHTS (alternating sections) ═══ */
.highlights {
  padding: 60px 0;
}

.highlight-row {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--border-faint);
}

.highlight-row:last-child {
  border-bottom: 1px solid var(--border-faint);
}

.highlight-text {
  flex: 1;
}

.highlight-text .section-label {
  text-align: left;
}

.highlight-text h3 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.highlight-text p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

.highlight-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.highlight-visual .mock-card {
  width: 100%;
  max-width: 320px;
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: 16px;
  padding: 20px;
}

/* ═══ Mock UI elements ═══ */
.mock-slider {
  margin: 16px 0;
}

.mock-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
}

.mock-slider-label span:last-child {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  opacity: 0.8;
}

.mock-slider-track {
  position: relative;
  height: 4px;
  background: var(--surface-hover);
  border-radius: 2px;
}

.mock-slider-fill {
  position: absolute;
  height: 100%;
  border-radius: 2px;
  top: 0;
  left: 0;
}

.mock-slider-fill.blue { background: var(--blue); }
.mock-slider-fill.teal { background: var(--teal); }
.mock-slider-fill.coral { background: var(--coral); }

.mock-slider-handle {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 7px;
  top: -5px;
  border: 2px solid var(--bg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.mock-slider-handle.blue { background: var(--blue); }
.mock-slider-handle.teal { background: var(--teal); }
.mock-slider-handle.coral { background: var(--coral); }

.mock-compass {
  width: 120px;
  height: 120px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  margin: 16px auto;
  position: relative;
}

.mock-compass-label {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--text-muted);
}

.mock-compass-label.n { top: 4px; left: 50%; transform: translateX(-50%); }
.mock-compass-label.s { bottom: 4px; left: 50%; transform: translateX(-50%); }
.mock-compass-label.e { right: 6px; top: 50%; transform: translateY(-50%); }
.mock-compass-label.w { left: 6px; top: 50%; transform: translateY(-50%); }

.mock-compass-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  opacity: 0.7;
}

.mock-tide-chips {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}

.mock-chip {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.5px;
}

.mock-chip.active {
  background: var(--surface-active);
  border: 1px solid var(--border);
  color: var(--text);
}

.mock-chip.inactive {
  background: transparent;
  border: 1px solid var(--border-faint);
  color: var(--text-muted);
}

/* ═══ DOWNLOAD ═══ */
.download {
  padding: 100px 0 60px;
  text-align: center;
}

.download h2 {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.download > .container > p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 32px;
}

.version {
  margin-top: 20px !important;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-faint);
}

/* ═══ FOOTER ═══ */
.footer {
  border-top: 1px solid var(--border-faint);
  padding: 40px 0 20px;
  margin-top: 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-content h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-ghost);
  margin-bottom: 12px;
}

.footer-content p {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
}

.footer-content ul {
  list-style: none;
}

.footer-content li {
  margin-bottom: 8px;
}

.footer-content a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 300;
  transition: color 0.2s;
}

.footer-content a:hover {
  color: var(--coral);
}

.footer-bottom {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-faint);
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-faint);
}

/* ═══ SUPPORT PAGE ═══ */
.support-hero {
  padding: 60px 0 40px;
  text-align: center;
}

.support-hero h1 {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.support-hero p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
}

.faq-section {
  max-width: 680px;
  margin: 48px auto;
}

.faq-section h2 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  text-align: center;
}

.faq-item {
  margin-bottom: 8px;
  border: 1px solid var(--border-faint);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--border);
}

.faq-question {
  padding: 16px 20px;
  background: var(--surface);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 400;
  font-size: 14px;
  user-select: none;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--surface-hover);
}

.faq-toggle {
  font-size: 14px;
  color: var(--text-faint);
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(14,14,40,0.5);
}

.faq-item.active .faq-answer {
  padding: 16px 20px;
  max-height: 500px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.contact-section {
  max-width: 520px;
  margin: 60px auto;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: 16px;
  text-align: center;
}

.contact-section h2 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.contact-section > p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 300;
}

.contact-section label {
  display: block;
  text-align: left;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.contact-section input:focus,
.contact-section textarea:focus {
  border-color: rgba(255,255,255,0.15);
}

.contact-section textarea {
  resize: vertical;
}

.contact-section .btn {
  width: 100%;
  margin-top: 8px;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .cta-buttons {
    flex-direction: column;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .features h2,
  .download h2 {
    font-size: 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .highlight-row {
    flex-direction: column;
    gap: 32px;
  }

  .highlight-row:nth-child(even) {
    flex-direction: column;
  }

  .nav-links {
    gap: 16px;
  }

  .beach-cards {
    margin-left: 0;
    margin-right: 0;
  }

  .contact-section {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .logo {
    font-size: 18px;
  }
}
