:root {
  /* Color Palette */
  --color-primary: #1F5F5B;
  --color-primary-light: #398580;
  --color-primary-dark: #123D3A;
  
  --color-accent: #E8A87C; /* Soft warm accent */
  --color-accent-light: #F7D1BA;
  
  --color-bg-main: #FAFAF8;
  --color-bg-card: #FFFFFF;
  --color-bg-dark: #1A2524;
  --color-bg-dark-card: #283635;
  
  --color-text-main: #1C2B2A;
  --color-text-muted: #647B79;
  --color-text-light: #F0F4F4;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 95, 91, 0.05);

  /* Shadows */
  --shadow-soft: 0 10px 40px -10px rgba(31, 95, 91, 0.12);
  --shadow-hover: 0 20px 50px -10px rgba(31, 95, 91, 0.2);
  
  /* Tyopgraphy */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Merriweather', 'Georgia', serif;
  
  /* Transitions */
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease-in-out;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-text-main);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

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

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

/* Layout classes */
.grid { display: grid; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: justify-center;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  box-shadow: 0 4px 14px 0 rgba(31, 95, 91, 0.39);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 95, 91, 0.4);
}

/* Badge links */
.store-badge {
  display: inline-block;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}
.store-badge:hover {
  transform: translateY(-4px) scale(1.02);
  filter: brightness(1.05);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  transition: all var(--transition-smooth);
}

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

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

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.logo:hover img {
  transform: scale(1.08) rotate(-4deg);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 6rem 0 8rem;
  overflow: hidden;
}

.hero-bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: blobFlow 15s infinite alternate ease-in-out;
}

.blob-1 {
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: #E8A87C;
  opacity: 0.3;
}

.blob-2 {
  bottom: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: #398580;
  opacity: 0.2;
  animation-delay: -5s;
}

.blob-3 {
  top: 40%;
  left: 40%;
  width: 300px;
  height: 300px;
  background: #D8BDC3;
  opacity: 0.25;
  animation-delay: -10s;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255,255,255,0.9);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--color-primary);
  display: block;
}

.hero-desc {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Phone Mockup */
.mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 300px;
  background: var(--color-bg-dark);
  border-radius: 48px;
  padding: 12px;
  box-shadow: 
    0 25px 50px -12px rgba(31, 95, 91, 0.25),
    inset 0 0 0 2px #445958;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 25px;
  background: var(--color-bg-dark);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.phone-screen {
  overflow: hidden;
  border-radius: 36px;
  background: var(--color-bg-main);
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(57,133,128,0.2) 0%, rgba(255,255,255,0) 70%);
  z-index: 1;
}

/* Stats Section */
.stats {
  background: var(--color-bg-card);
  padding: 4rem 0;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
  text-align: center;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Features Section (Bento Grid) */
.features {
  padding: 6rem 0;
  background: var(--color-bg-main);
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.bento-card {
  background: var(--color-bg-card);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-smooth);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(31, 95, 91, 0.1);
}

.bento-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-smooth);
}

.bento-card:hover .bento-icon {
  transform: scale(1.1) rotate(5deg);
}

.bento-icon svg {
  width: 32px;
  height: 32px;
}

.bg-teal-light { background: #E8F3F2; color: var(--color-primary); }
.bg-accent-light { background: #FCF1EA; color: #D57B40; }
.bg-purple-light { background: #F1EBF9; color: #7B52C3; }

.bento-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.bento-desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  padding: 6rem 0;
  background: var(--color-bg-card);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--color-bg-main);
  padding: 2.5rem;
  border-radius: 24px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.quote-mark {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 4rem;
  font-family: var(--font-serif);
  color: rgba(232, 168, 124, 0.3);
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.125rem;
  color: var(--color-text-main);
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  margin-top: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.avatar-1 { background: var(--color-primary); }
.avatar-2 { background: var(--color-accent); }

.author-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-main);
}

.author-role {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* FAQ */
.faq {
  padding: 6rem 0;
  background: var(--color-bg-main);
}

.faq-list {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: var(--color-bg-card);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-hover);
}

.faq-q {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
}

.faq-a {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  background: var(--color-primary);
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/pattern.png') repeat; /* Might not exist, but keeps original style logic */
  opacity: 0.05;
  mix-blend-mode: overlay;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: white;
  margin-bottom: 1.5rem;
}

.cta-desc {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
}

/* Footer */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes blobFlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -50px) scale(1.1); }
  100% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Fade in scroll utilities */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-actions {
    justify-content: center;
  }

  .tagline {
    margin: 0 auto 1.5rem;
  }
  
  .hero-desc {
    margin: 0 auto 2.5rem;
  }

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

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

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    gap: 2.5rem;
  }

  .nav .btn-primary {
    display: none;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
  }
}
