/* Caribbean palette */
:root {
  --ocean: #00b4d8;
  --ocean-deep: #0077b6;
  --ocean-light: #90e0ef;
  --coral: #ff6b6b;
  --coral-bright: #ff4757;
  --mango: #ffb627;
  --mango-bright: #ffd60a;
  --hibiscus: #e6399b;
  --hibiscus-deep: #c9184a;
  --palm: #2d6a4f;
  --palm-light: #52b788;
  --lime: #95d600;
  --sand: #fff8f0;
  --sand-dark: #f4e4bc;
  --ink: #1a1a2e;
  --ink-muted: #4a4a6a;
  --white: #ffffff;
  --shadow: 0 8px 32px rgba(0, 119, 182, 0.12);
  --shadow-lg: 0 16px 48px rgba(230, 57, 155, 0.15);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral) 0%, var(--hibiscus) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(230, 57, 155, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--ocean-deep);
  color: var(--ocean-deep);
}

.btn-outline:hover {
  background: var(--ocean-deep);
  color: var(--white);
}

.btn-nav {
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  background: linear-gradient(135deg, var(--mango) 0%, var(--coral) 100%);
  color: var(--ink);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--ink);
}

.site-header:not(.scrolled) .logo {
  color: var(--white);
}

.logo-icon {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn) {
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.site-header:not(.scrolled) .nav-links a:not(.btn) {
  color: rgba(255, 255, 255, 0.9);
}

.site-header:not(.scrolled) .nav-links a:not(.btn):hover {
  color: var(--mango-bright);
}

.site-header.scrolled .nav-links a:not(.btn):hover {
  color: var(--hibiscus);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background 0.3s;
}

.site-header.scrolled .nav-toggle span {
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 119, 182, 0.75) 0%,
    rgba(230, 57, 155, 0.55) 45%,
    rgba(255, 182, 39, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.375rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(90deg, var(--mango-bright), var(--lime), var(--ocean-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--mango-bright);
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.85;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* Marquee */
.marquee-section {
  background: linear-gradient(90deg, var(--ocean-deep), var(--hibiscus-deep));
  padding: 1rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 2rem;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Section headers */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hibiscus);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--ink-muted);
  font-size: 1.125rem;
}

/* Apps */
.apps {
  padding: 6rem 0;
  background: var(--sand);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.app-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid rgba(0, 180, 216, 0.12);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.app-card--upcoming {
  border-color: rgba(230, 57, 155, 0.2);
}

.app-card-visual {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.app-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.app-card:hover .app-card-visual img {
  transform: scale(1.04);
}

.app-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.875rem;
  border-radius: 999px;
}

.app-badge--live {
  background: linear-gradient(135deg, var(--palm-light), var(--lime));
  color: var(--ink);
}

.app-badge--soon {
  background: linear-gradient(135deg, var(--hibiscus), var(--coral));
  color: var(--white);
}

.app-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.app-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.app-icon {
  font-size: 2.25rem;
  line-height: 1;
}

.app-card-meta h3 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--ocean-deep);
  line-height: 1.2;
}

.app-domain {
  font-size: 0.875rem;
  color: var(--hibiscus);
  font-weight: 600;
}

.app-desc {
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.app-highlights {
  margin-bottom: 1.75rem;
}

.app-highlights li {
  padding: 0.375rem 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  padding-left: 1.5rem;
  position: relative;
}

.app-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--palm-light);
  font-weight: 700;
}

.app-card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.app-status-note {
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* Showcase */
.showcase {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.showcase-bg {
  position: absolute;
  inset: 0;
}

.showcase-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(45, 106, 79, 0.88) 0%,
    rgba(0, 119, 182, 0.75) 100%
  );
}

.showcase-content {
  position: relative;
  z-index: 1;
}

.section-eyebrow--light {
  color: var(--mango-bright);
}

.about-block {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}

.about-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.about-block p {
  font-size: 1.125rem;
  opacity: 0.92;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-block p:last-child {
  margin-bottom: 0;
}

/* Timeline */
.timeline {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--sand) 0%, var(--sand-dark) 100%);
}

.timeline-list {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--palm-light), var(--ocean), var(--hibiscus));
  border-radius: 3px;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--ocean);
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.timeline-item--done .timeline-marker {
  background: var(--palm-light);
  border-color: var(--palm);
}

.timeline-item--next .timeline-marker {
  background: var(--mango-bright);
  border-color: var(--mango);
}

.timeline-item--future .timeline-marker {
  background: var(--hibiscus);
  border-color: var(--hibiscus-deep);
}

.timeline-date {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hibiscus);
  margin-bottom: 0.375rem;
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ocean-deep);
  margin-bottom: 0.375rem;
}

.timeline-content p {
  color: var(--ink-muted);
  font-size: 0.9875rem;
}

.timeline-content a {
  color: var(--ocean-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.timeline-content a:hover {
  color: var(--hibiscus);
}

/* Waitlist */
.waitlist {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--hibiscus-deep) 50%, var(--mango) 100%);
}

.waitlist-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.waitlist-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  transform: rotate(-2deg);
}

.waitlist-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.waitlist-form-wrap {
  color: var(--white);
}

.waitlist-form-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.waitlist-form-wrap > p {
  opacity: 0.92;
  margin-bottom: 1.75rem;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.waitlist-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.875rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  backdrop-filter: blur(8px);
}

.waitlist-form input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--mango-bright);
  background: rgba(255, 255, 255, 0.22);
}

.waitlist-form .btn-primary {
  background: var(--white);
  color: var(--hibiscus-deep);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.waitlist-form .btn-primary:hover {
  background: var(--mango-bright);
  color: var(--ink);
}

.waitlist-note {
  margin-top: 1rem;
  font-size: 0.9375rem;
  min-height: 1.5em;
}

.waitlist-note.success {
  color: var(--lime);
  font-weight: 600;
}

.waitlist-note.error {
  color: #ffb4b4;
  font-weight: 600;
}

.waitlist-form .btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  max-width: 260px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--mango-bright);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 960px) {
  .apps-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .waitlist-inner {
    grid-template-columns: 1fr;
  }

  .waitlist-visual {
    transform: none;
    max-width: 480px;
    margin-inline: auto;
  }

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

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    background: var(--sand);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    transition: right 0.3s;
    gap: 1.5rem;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a:not(.btn) {
    color: var(--ink) !important;
    font-size: 1.125rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

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