/* ======================================
   Vanilla iOS — Marketing Website Styles
   Sandy, calm, premium aesthetic
   ====================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- Design Tokens ---- */
:root {
  --sand-50: #fdf8f0;
  --sand-100: #f9efdc;
  --sand-200: #f3e0bb;
  --sand-300: #eccf97;
  --sand-400: #e2b56e;
  --sand-500: #d99e4e;
  --sand-600: #c78536;
  --sand-700: #a66a2c;
  --sand-800: #7d5026;
  --sand-900: #5b3b1e;

  --earth-50: #faf7f2;
  --earth-100: #f0ebe0;
  --earth-200: #ddd4c0;
  --earth-300: #c7b899;
  --earth-400: #b09c73;
  --earth-600: #6b5b41;
  --earth-800: #3d3427;
  --earth-900: #2a231a;

  --green-400: #6bb077;
  --green-500: #4d9d5c;
  --green-600: #3d8049;

  --white: #ffffff;
  --black: #1a1a1a;
  --text-primary: #2a231a;
  --text-secondary: #7d6e5b;
  --text-muted: #a89b88;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 3px rgba(42, 35, 26, 0.06);
  --shadow-md: 0 4px 16px rgba(42, 35, 26, 0.08);
  --shadow-lg: 0 8px 32px rgba(42, 35, 26, 0.10);
  --shadow-xl: 0 16px 48px rgba(42, 35, 26, 0.12);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--sand-50);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

.section-padding {
  padding: 100px 0;
}

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

/* ---- Typography ---- */
h1,
h2,
h3,
h4 {
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--text-secondary);
}

.badge-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sand-600);
  background: var(--sand-200);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition-smooth);
  background: transparent;
}

.nav.scrolled {
  background: rgba(253, 248, 240, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(236, 207, 151, 0.3);
  padding: 10px 0;
}

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

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

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(77, 157, 92, 0.25);
}

.badge-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  vertical-align: middle;
}

.footer-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sand-500);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--sand-600), var(--sand-500));
  padding: 9px 22px;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  box-shadow: 0 2px 10px rgba(199, 133, 54, 0.2);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(199, 133, 54, 0.3);
}

.nav-cta::after {
  display: none !important;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ---- Hero Section ---- */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sand-50) 0%, var(--sand-100) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--sand-200) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--green-400) 0%, transparent 70%);
  opacity: 0.08;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--sand-600), var(--sand-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--sand-600), var(--sand-500));
  padding: 14px 32px;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(199, 133, 54, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--sand-200);
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--sand-100);
  border-color: var(--sand-300);
  transform: translateY(-1px);
}

.hero-phone {
  margin: 60px auto 0;
  max-width: 300px;
  position: relative;
}

.phone-mockup {
  background: var(--earth-900);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.05);
  position: relative;
}

.phone-screenshot {
  width: 100%;
  border-radius: 30px;
  display: block;
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse, var(--sand-300) 0%, transparent 60%);
  opacity: 0.2;
  z-index: -1;
  filter: blur(40px);
}

/* ---- Features Section ---- */
.features {
  background: var(--white);
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-header h2 {
  margin-bottom: 16px;
}

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

.feature-card {
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sand-400), var(--sand-500));
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sand-300);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-icon.green {
  background: rgba(77, 157, 92, 0.1);
}

.feature-icon.orange {
  background: rgba(230, 160, 60, 0.1);
}

.feature-icon.purple {
  background: rgba(140, 100, 200, 0.1);
}

.feature-icon.blue {
  background: rgba(80, 140, 220, 0.1);
}

.feature-icon.pink {
  background: rgba(220, 100, 140, 0.1);
}

.feature-icon.gold {
  background: rgba(200, 160, 60, 0.1);
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--text-primary);
}

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

/* ---- How It Works ---- */
.how-it-works {
  background: linear-gradient(180deg, var(--sand-50) 0%, var(--sand-100) 100%);
}

.how-header {
  text-align: center;
  margin-bottom: 64px;
}

.how-header h2 {
  margin-bottom: 16px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sand-300), transparent);
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--sand-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--sand-600);
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.step-card h3 {
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 260px;
  margin: 0 auto;
}

/* ---- Plus Section ---- */
.plus-section {
  background: var(--earth-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.plus-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(217, 158, 78, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.plus-header {
  text-align: center;
  margin-bottom: 48px;
}

.plus-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand-400);
  margin-bottom: 16px;
}

.plus-header h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.plus-header p {
  color: rgba(255, 255, 255, 0.5);
  max-width: 480px;
  margin: 0 auto;
}

.plus-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 48px;
}

.plus-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-fast);
}

.plus-feature:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(217, 158, 78, 0.2);
}

.plus-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(217, 158, 78, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.plus-feature-text h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.plus-feature-text p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.plus-price {
  text-align: center;
}

.plus-price .price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
}

.plus-price .price-period {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.plus-price .price-note {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 6px;
}

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(180deg, var(--sand-100) 0%, var(--sand-50) 100%);
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section .subtitle {
  margin-bottom: 36px;
}

/* ---- Footer ---- */
.footer {
  background: var(--earth-900);
  color: rgba(255, 255, 255, 0.5);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--sand-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

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

.footer-legal a {
  color: rgba(255, 255, 255, 0.35);
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--sand-400);
}

/* ---- Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.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;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.float-anim {
  animation: float 5s ease-in-out infinite;
}

@keyframes pulse-soft {

  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 0.4;
  }
}

/* ---- Legal Pages ---- */
.legal-page {
  padding: 140px 0 80px;
  background: var(--sand-50);
  min-height: 100vh;
}

.legal-content {
  max-width: 740px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--sand-200);
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-content .legal-date {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

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

.legal-content a {
  color: var(--sand-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--sand-700);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .steps-grid::before {
    display: none;
  }

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

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

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

  .mobile-menu-btn {
    display: flex;
  }

  .section-padding {
    padding: 64px 0;
  }

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

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

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .legal-content {
    padding: 32px 24px;
  }
}

/* ---- Mobile Menu ---- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(253, 248, 240, 0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 8px 0;
  transition: var(--transition-fast);
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2rem;
  color: var(--text-primary);
}