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

/* ═══════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════ */
:root {
  /* Brand */
  --primary: #008060;
  --primary-hover: #005e46;
  --primary-glow: rgba(0, 128, 96, 0.35);
  --accent: #f97316;
  --accent-hover: #ea580c;

  /* Surfaces — Light */
  --bg-base: #e8ecf4;
  --bg-gradient-start: #dfe5f0;
  --bg-gradient-end: #f0eef5;
  --surface-glass: rgba(255, 255, 255, 0.18);
  --surface-glass-border: rgba(255, 255, 255, 0.25);
  --surface-glass-shadow: rgba(0, 0, 0, 0.08);
  --surface-solid: #ffffff;

  /* Text — Light */
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-on-primary: #ffffff;

  /* Misc */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --blur: 10px;
  --transition: all 0.25s ease;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-base: #0b1120;
    --bg-gradient-start: #0f172a;
    --bg-gradient-end: #1a1033;
    --surface-glass: rgba(15, 23, 42, 0.75);
    --surface-glass-border: rgba(255, 255, 255, 0.12);
    --surface-glass-shadow: rgba(0, 0, 0, 0.25);
    --surface-solid: #1e293b;
    --text-heading: #f1f5f9;
    --text-body: #cbd5e1;
    --text-muted: #94a3b8;
  }
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-heading);
  line-height: 1.2;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-hover); }

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

/* ═══════════════════════════════════════════
   GLASS COMPONENTS
   ═══════════════════════════════════════════ */
.glass-card {
  background: var(--surface-glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px var(--surface-glass-shadow);
  padding: 24px;
  color: var(--text-body);
  transition: var(--transition);
}

.glass-card:hover {
  box-shadow: 0 12px 40px var(--surface-glass-shadow);
  transform: translateY(-2px);
}

.glass-interactive {
  transform: translateZ(0);
}

/* ═══════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════ */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-glass-border);
  transition: var(--transition);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-heading);
}

.nav-brand .icon-logo {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 800;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--text-heading); }

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

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-on-primary);
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--primary-glow);
  color: var(--text-on-primary);
}

.btn-secondary {
  background: var(--surface-glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--surface-glass-border);
  color: var(--text-heading);
}
.btn-secondary:hover {
  background: var(--surface-solid);
  transform: translateY(-1px);
  color: var(--text-heading);
}

.btn-bmc {
  background: #ffdd00;
  color: #000;
  border: 1px solid #e5c600;
  font-weight: 700;
}
.btn-bmc:hover {
  background: #ffea00;
  transform: translateY(-1px);
  color: #000;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '🎉';
  position: absolute;
  top: 100px;
  left: 8%;
  font-size: 48px;
  animation: float 6s ease-in-out infinite;
  opacity: 0.6;
}
.hero::after {
  content: '🛍️';
  position: absolute;
  top: 140px;
  right: 10%;
  font-size: 42px;
  animation: float 5s ease-in-out infinite 1s;
  opacity: 0.5;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--surface-glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--surface-glass-border);
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), #00b386);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

/* ═══════════════════════════════════════════
   FEATURES GRID
   ═══════════════════════════════════════════ */
.features {
  padding: 60px 0 80px;
}

.section-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-desc {
  text-align: center;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
}

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

.feature-card {
  padding: 28px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #00b386);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: steps;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  counter-increment: steps;
}

.step-card::before {
  content: counter(steps);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-card {
  padding: 48px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 128, 96, 0.08), rgba(0, 179, 134, 0.05));
  border: 1px solid rgba(0, 128, 96, 0.2);
}

.cta-card h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 12px;
}

.cta-card p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--surface-glass-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--text-heading); }

/* ═══════════════════════════════════════════
   PRIVACY PAGE
   ═══════════════════════════════════════════ */
.privacy-page {
  padding: 140px 0 80px;
}

.privacy-content {
  max-width: 720px;
  margin: 0 auto;
}

.privacy-content h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.privacy-content .last-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.privacy-content h2 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 12px;
}

.privacy-content p,
.privacy-content li {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 12px;
}

.privacy-content ul {
  padding-left: 24px;
  margin-bottom: 12px;
}

.privacy-content .highlight-box {
  background: var(--surface-glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--surface-glass-border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15px;
}

.privacy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.privacy-content th,
.privacy-content td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--surface-glass-border);
}

.privacy-content th {
  font-weight: 600;
  color: var(--text-heading);
  background: var(--surface-glass);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .hero { padding: 120px 0 60px; }
  .hero::before, .hero::after { display: none; }
  .cta-card { padding: 32px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
