/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-sky: #80D2E1;
  --color-blush: #F1DCD9;
  --color-mint: #5bb98c;
  --color-dark: #1B1B1B;
  --color-text: #333;
  --color-text-light: #666;
  --color-bg: #ffffff;
  --color-bg-soft: #f8f9fc;
  --color-bg-warm: #fdf8f5;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.highlight {
  background: linear-gradient(135deg, #2a9bb5, #3aaf7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 48px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-sky), #6EC6D6);
  color: #fff;
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ===== Badges ===== */
.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-bg-soft);
  border: 1px solid #e8ecf1;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-dark);
}

.nav-logo-img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-light);
  transition: color var(--transition);
}

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

.beta-badge {
  display: inline-block;
  padding: 3px 12px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 50px;
  line-height: 1.4;
}

.beta-badge-mobile {
  display: none;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--color-sky) 0%, var(--color-blush) 100%);
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-dark);
  margin: 20px 0 24px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-badges .badge {
  background: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.9);
  color: var(--color-dark);
  font-weight: 700;
}

.hero-image {
  flex: 0 0 340px;
  animation: float 4s ease-in-out infinite;
}

.hero-image img {
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12));
}

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

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

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

/* ===== Screenshots ===== */
.screenshots {
  padding: 80px 0 80px;
  background: var(--color-bg-soft);
  overflow: hidden;
}

.screenshots-header {
  margin-bottom: 48px;
}

/* Full-bleed horizontal scroll strip — no container constraint */
.screenshots-strip-wrap {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  /* Fade out at both edges to hint scrollability */
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 48px, black calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 48px, black calc(100% - 48px), transparent 100%);
}

.screenshots-strip-wrap::-webkit-scrollbar {
  display: none;
}

.screenshots-strip {
  display: flex;
  gap: 16px;
  padding: 20px 80px 40px;
  /* Let the strip be as wide as it needs to be */
  width: max-content;
}

/* When showing Mac screenshots: center the frames, remove scroll behaviour */
.screenshots-strip-wrap.show-mac,
.screenshots-strip-wrap.show-ipad {
  overflow-x: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

.screenshots-strip-wrap.show-mac .screenshots-strip,
.screenshots-strip-wrap.show-ipad .screenshots-strip {
  width: auto;
  justify-content: center;
  gap: 24px;
  padding: 20px 40px 40px;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Device is natively 428×868px — scale to ~300px wide (300/428 ≈ 0.701) */
.screenshot-item .device {
  transform: scale(0.701);
  transform-origin: top center;
  /* Pull content up to remove blank space from the unscaled footprint */
  margin-bottom: calc(868px * (0.701 - 1));
  /* Drop shadow on the whole device */
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.22));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.screenshot-item:hover .device {
  transform: scale(0.72);
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.30));
}

/* Fill the device screen correctly */
.screenshot-item .device-screen {
  width: 390px;
  height: 830px;
  object-fit: cover;
}

/* MacBook Pro device — scale to ~703px wide (703/740 ≈ 0.95) */
.screenshot-item-mac .device {
  transform: scale(0.95);
  transform-origin: top center;
  margin-bottom: 0;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.22));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.screenshot-item-mac:hover .device {
  transform: scale(0.97);
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.30));
}

/* iPad Pro landscape device — scale to ~680px wide (680/810 ≈ 0.84) */
.screenshot-item-ipad .device {
  transform: scale(0.84);
  transform-origin: top center;
  margin-bottom: calc(560px * (0.84 - 1));
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.22));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.screenshot-item-ipad:hover .device {
  transform: scale(0.86);
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.30));
}

/* iPad screen image fills the frame screen area */
.ipad-screen {
  width: 766px !important;
  height: 504px !important;
  object-fit: cover;
  object-position: top center;
}

/* MacBook screen image fills the frame screen area */
.mac-screen {
  width: 600px !important;
  height: auto !important;
  display: block;
}

.screenshot-caption {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-light);
  text-align: center;
  white-space: nowrap;
}

/* ===== Platform Strip ===== */
.platforms {
  padding: 40px 0;
  background: var(--color-bg);
}

.platforms-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.platforms-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.platforms-list {
  display: flex;
  gap: 20px;
}

.platform {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-bg-soft);
  border: 1px solid #e8ecf1;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-dark);
  font-family: inherit;
}

.platform svg {
  color: #2a9bb5;
}

/* Toggle buttons */
.platform-toggle {
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.platform-toggle:hover {
  background: #e8f4f8;
  border-color: #b8dde8;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.platform-toggle.active {
  background: linear-gradient(135deg, #2a9bb5, #3aaf7a);
  border-color: transparent;
  color: #fff;
}

.platform-toggle.active svg {
  color: rgba(255,255,255,0.9);
}




.platforms-note {
  font-size: 0.82rem;
  color: var(--color-text-light);
  opacity: 0.7;
}

/* ===== Features ===== */
.features {
  padding: 100px 0;
  background: var(--color-bg);
}

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

.feature-card {
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-sky), #a8e6cf);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #fff;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Personas ===== */
.personas {
  padding: 100px 0;
  background: var(--color-bg-soft);
}

.personas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.persona-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 28px 20px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.persona-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--color-sky), var(--color-blush));
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.persona-image img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.persona-card h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.persona-card p {
  color: var(--color-text-light);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ===== Privacy ===== */
.privacy {
  padding: 100px 0;
  background: var(--color-bg);
}

.privacy-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.privacy-image {
  flex: 0 0 320px;
}

.privacy-image img {
  width: 100%;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.1));
}

.privacy-text {
  flex: 1;
}

.privacy-lead {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin: 16px 0 28px;
  line-height: 1.7;
}

.privacy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.privacy-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.privacy-list li strong {
  color: var(--color-dark);
}

/* ===== Premium ===== */
.premium {
  padding: 80px 0 100px;
  background: linear-gradient(160deg, #2b3a5c 0%, #1e2d4a 100%);
  color: rgba(255,255,255,0.85);
  overflow: hidden;
}

.premium-badge-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.premium-badge {
  display: inline-block;
  padding: 6px 20px;
  background: linear-gradient(135deg, #d4a017, #f0c040);
  color: #1e2d4a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 50px;
}

.premium-title {
  color: #fff;
}

.highlight-gold {
  background: linear-gradient(135deg, #d4a017, #f0c040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-subtitle {
  color: rgba(255,255,255,0.65);
}

/* Strip inside Premium — same mechanics, just override background-sensitive bits */
.premium-strip-wrap {
  margin: 0 0 64px;
}

.premium-caption {
  color: rgba(255,255,255,0.6) !important;
}

/* Platform picker inside the premium (dark) section */
.premium-platforms {
  justify-content: center;
  margin-bottom: 32px;
}

.premium .platform {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
}

.premium .platform svg {
  color: rgba(255,255,255,0.6);
}

.premium .platform-toggle:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.25);
}

.premium .platform-toggle.active {
  background: linear-gradient(135deg, #2a9bb5, #3aaf7a);
  border-color: transparent;
  color: #fff;
}

.premium .platform-toggle.active svg {
  color: rgba(255,255,255,0.9);
}



.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.premium-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), background var(--transition);
}

.premium-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.13);
}

.premium-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #c49010, #e8b830);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #1e2d4a;
}

.premium-card h3 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.premium-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  line-height: 1.6;
}

.premium-cta {
  text-align: center;
}

.premium-value {
  display: inline-block;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius);
  padding: 32px 48px;
  text-align: left;
}

.premium-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}

.premium-price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  background: linear-gradient(135deg, #d4a017, #f0c040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-price-period {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
}

.premium-value-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.premium-value-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.premium-value-list li svg {
  flex-shrink: 0;
  color: #f0c040;
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--color-sky), var(--color-blush));
}

.cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-image {
  width: 140px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.1));
}

.cta-inner h2 {
  margin-bottom: 12px;
}

.cta-inner p {
  color: var(--color-dark);
  font-size: 1.1rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.cta-note {
  font-size: 0.85rem !important;
  color: rgba(27,27,27,0.6) !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

/* ===== App Store Badge ===== */
.app-store-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.app-store-badge {
  height: 54px;
  width: auto;
  transition: transform var(--transition), opacity var(--transition);
  cursor: pointer;
}

.app-store-badge:hover {
  transform: scale(1.04);
}

.coming-soon-label {
  display: inline-block;
  padding: 4px 14px;
  background: var(--color-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 50px;
}

.cta .app-store-badge {
  height: 62px;
}

/* ===== Footer ===== */
.footer {
  padding: 48px 0 32px;
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
}

.footer-name {
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
}

.footer-tagline {
  margin-left: 8px;
  font-size: 0.9rem;
  opacity: 0.6;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-image {
    flex: 0 0 auto;
    max-width: 260px;
  }

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

  .privacy-inner {
    flex-direction: column;
    text-align: center;
  }

  .privacy-image {
    flex: 0 0 auto;
    max-width: 240px;
  }

  .premium-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
  }

  .footer-tagline {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .beta-badge-mobile {
    display: inline-block;
  }

  .hero {
    padding: 120px 0 80px;
  }

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

  .personas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features,
  .personas,
  .privacy,
  .premium,
  .cta {
    padding: 64px 0;
  }

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