/* ============================================================
   NAUTA LOG — Landing Page (coming soon)
   ============================================================ */

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

:root {
  --bg:           #1F2121;
  --bg-alt:       #1a1c1c;
  --surface:      #262828;
  --surface-2:    #2E3030;
  --surface-3:    #343737;
  --primary:      #32B8C6;
  --primary-mid:  #2DA6B2;
  --primary-dark: #21808D;
  --text:         #F5F5F5;
  --text-muted:   #A7A9A9;
  --text-dim:     #777C7C;
  --cream:        #FCFCF9;
  --border:       rgba(119,124,124,0.30);
  --card-border:  rgba(119,124,124,0.18);
  --green:        #4ade80;
  --red:          #FF5459;
  --radius:       14px;
  --radius-sm:    8px;
  --radius-lg:    22px;
  --shadow:       0 24px 64px rgba(0,0,0,0.55);
  --shadow-sm:    0 8px 24px rgba(0,0,0,0.35);
  --transition:   0.28s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--primary); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(31,33,33,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.nav-logo-icon { width: 30px; height: 30px; border-radius: 7px; }

.nav-right { display: flex; align-items: center; gap: 12px; }

/* Language selector */
.lang-selector { position: relative; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  letter-spacing: 0.03em;
}
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); }

.lang-flag-current {
  width: 18px; height: 13px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.lang-flag {
  width: 18px; height: 13px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 140px;
  display: none;
  z-index: 300;
}
.lang-dropdown.open { display: block; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 9px 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
}
.lang-btn:hover { background: var(--surface-2); color: var(--text); }
.lang-btn.active { color: var(--primary); background: rgba(50,184,198,0.08); }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 14px 24px 20px;
  border-top: 1px solid var(--card-border);
  background: rgba(31,33,33,0.97);
  backdrop-filter: blur(18px);
}
.nav-mobile.open { display: flex; }

.mobile-lang {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mobile-lang .lang-btn {
  display: inline-flex;
  width: auto;
  padding: 5px 12px;
  background: var(--surface-2);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  font-size: 0.78rem;
  gap: 6px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

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

.hero-radial {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 65% 35%, rgba(33,128,141,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 15% 75%, rgba(50,184,198,0.07) 0%, transparent 60%);
}

.hero-wave {
  position: absolute;
  bottom: 0; left: -10%;
  width: 120%; height: 180px;
  border-radius: 50% 50% 0 0;
  animation: waveFloat 9s ease-in-out infinite;
}
.wave1 { background: var(--primary-dark); opacity: 0.07; animation-delay: 0s; }
.wave2 { background: var(--primary); height: 150px; opacity: 0.04; animation-delay: -3s; animation-duration: 12s; }

@keyframes waveFloat {
  0%, 100% { transform: translateY(0) scaleX(1); }
  50% { transform: translateY(-18px) scaleX(1.02); }
}

.hero-particles { position: absolute; inset: 0; pointer-events: none; }

.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes particleFloat {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  20% { opacity: 0.55; }
  80% { opacity: 0.15; }
  100% { transform: translateY(-100px) scale(0.3); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.hero-badge {
  display: inline-block;
  background: rgba(50,184,198,0.09);
  border: 1px solid rgba(50,184,198,0.22);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-title-accent {
  background: linear-gradient(125deg, var(--primary) 0%, var(--primary-mid) 60%, #5fd4dc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 490px;
}

/* PWA link */
.pwa-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(50,184,198,0.08);
  border: 1px solid rgba(50,184,198,0.25);
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 50px;
  transition: all var(--transition);
  width: fit-content;
  margin-bottom: 8px;
}
.pwa-link:hover {
  background: rgba(50,184,198,0.14);
  border-color: rgba(50,184,198,0.45);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(50,184,198,0.2);
}

/* Coming soon block */
.coming-soon-block { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }

.coming-soon-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-dim);
}

.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  padding: 12px 18px;
  min-width: 158px;
  position: relative;
  overflow: hidden;
  cursor: default;
  user-select: none;
}

.store-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(50,184,198,0.03);
  opacity: 0;
  transition: opacity var(--transition);
}

.badge-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--text-muted); }
.store-badge--apple .badge-icon { color: var(--text-muted); }
.store-badge--google .badge-icon { color: var(--text-muted); }

.badge-text { display: flex; flex-direction: column; }
.badge-sub {
  font-size: 0.62rem;
  color: var(--text-dim);
  line-height: 1;
  font-weight: 500;
  margin-bottom: 2px;
}
.badge-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

/* ============================================================
   PHONE MOCKUP
   ============================================================ */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  animation: phoneBob 7s ease-in-out infinite;
}

@keyframes phoneBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.phone-frame {
  width: 270px; height: 560px;
  background: linear-gradient(160deg, #262828 0%, #1F2121 100%);
  border-radius: 38px;
  border: 1.5px solid rgba(119,124,124,0.25);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.65),
    0 0 0 1px rgba(50,184,198,0.06) inset,
    0 1px 0 rgba(252,252,249,0.06) inset;
}

.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 22px;
  background: var(--bg);
  border-radius: 0 0 14px 14px;
  z-index: 5;
}

.phone-button {
  position: absolute;
  right: -3px; top: 96px;
  width: 3px; height: 56px;
  background: rgba(119,124,124,0.3);
  border-radius: 2px;
}

.phone-screen {
  position: absolute;
  inset: 0;
  background: #1a1c1c;
  border-radius: 38px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.phone-notch { z-index: 6; }

.phone-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(50,184,198,0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.12); }
}

.phone-shadow {
  position: absolute;
  bottom: -36px; left: 50%;
  transform: translateX(-50%);
  width: 180px; height: 36px;
  background: rgba(50,184,198,0.12);
  filter: blur(18px);
  border-radius: 50%;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: var(--text-dim);
  animation: scrollHint 2.2s ease-in-out infinite;
  z-index: 1;
}

@keyframes scrollHint {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.7; transform: translateX(-50%) translateY(5px); }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 112px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #1a1c1c 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  background: rgba(50,184,198,0.1);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(50,184,198,0.2);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.72;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(50,184,198,0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: rgba(50,184,198,0.22);
  background: #2a2c2c;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.feature-card:hover::after { opacity: 1; }

.feature-icon { width: 52px; height: 52px; margin-bottom: 18px; }
.feature-icon svg { width: 52px; height: 52px; }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #1a1c1c;
  border-top: 1px solid var(--card-border);
  padding: 44px 0 28px;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-logo { font-size: 0.95rem; }
.footer-tagline { color: var(--text-dim); font-size: 0.82rem; flex: 1; }

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.82rem;
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--text-muted); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-platforms { color: var(--primary); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-visual { order: -1; }
  .hero-sub { margin: 0 auto 40px; }
  .store-badges { justify-content: center; }
  .coming-soon-label { text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 640px) {
  .nav-burger { display: flex; }
  .lang-selector { display: none; }
  .store-badges { flex-direction: column; align-items: center; }
  .store-badge { width: 200px; justify-content: center; }
}
