/* Folli Website Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Brand Palette */
  --color-brand-primary: #2C5E54;
  --color-brand-primary-light: #3D7D70;
  --color-brand-accent: #E2A682;
  --color-brand-accent-soft: #F6E6DC;
  
  /* Neutral Palette */
  --color-bg: #F8FAF9;
  --color-surface: #FFFFFF;
  --color-surface-subtle: #F0F4F2;
  --color-text-main: #1C2D27;
  --color-text-muted: #5C7068;
  --color-border: #E1E8E5;
  --color-border-hover: #CBD6D1;

  /* Status / Highlights */
  --color-success-bg: #E8F5ECE;
  --color-warning-bg: #FFF5EB;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(28, 45, 39, 0.04);
  --shadow-md: 0 8px 24px rgba(28, 45, 39, 0.08);
  --shadow-lg: 0 16px 40px rgba(28, 45, 39, 0.12);

  /* Border Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Layout Elements */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.narrow-container {
  max-width: 800px;
}

/* Navigation Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 250, 249, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(225, 232, 229, 0.6);
  padding: 1.25rem 0;
  transition: var(--transition-smooth);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-brand-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--color-brand-primary), var(--color-brand-primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(44, 94, 84, 0.25);
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-brand-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(44, 94, 84, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-brand-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 94, 84, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-brand-primary);
  border: 1.5px solid var(--color-brand-primary);
}

.btn-outline:hover {
  background-color: var(--color-surface-subtle);
  transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 9rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(226, 166, 130, 0.25) 0%, rgba(44, 94, 84, 0.08) 50%, rgba(248, 250, 249, 0) 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--color-brand-accent-soft);
  color: var(--color-brand-primary);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
}

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

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #111;
  color: #FFF;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.app-store-badge svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.app-store-badge .text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.app-store-badge .sub-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.app-store-badge .main-text {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-display);
  line-height: 1;
}

/* Feature Grid */
.features {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

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

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
}

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

/* Privacy Callout Section */
.privacy-highlight {
  padding: 4rem 0;
}

.privacy-banner {
  background: linear-gradient(135deg, var(--color-brand-primary), var(--color-brand-primary-light));
  color: white;
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.privacy-banner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.privacy-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 650px;
  line-height: 1.6;
}

.privacy-banner .btn {
  background-color: white;
  color: var(--color-brand-primary);
  white-space: nowrap;
}

.privacy-banner .btn:hover {
  background-color: var(--color-surface-subtle);
}

/* Policy Content Pages (Privacy & Terms) */
.page-header {
  padding: 8rem 0 3rem;
  background: var(--color-surface-subtle);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.page-header p {
  color: var(--color-text-muted);
  font-size: 1rem;
}

.policy-content {
  padding: 4rem 0 6rem;
}

.policy-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.policy-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: var(--color-brand-primary);
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p, .policy-card ul {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.policy-card ul {
  padding-left: 1.5rem;
}

.policy-card li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-brand-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* Responsive Rules */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .privacy-banner {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
    text-align: center;
  }

  .privacy-banner p {
    margin: 0 auto;
  }

  .policy-card {
    padding: 1.75rem;
  }

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