/* ======================================
   Acento — Global Styles
   ====================================== */

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

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

:root {
  --teal-50: #edfdf8;
  --teal-100: #d1fae9;
  --teal-200: #a7f3d5;
  --teal-300: #6ee7bf;
  --teal-400: #4dd9b4;
  --teal-500: #2ec4a5;
  --teal-600: #1fa88e;
  --teal-700: #1b8774;
  --teal-800: #1a6b5e;
  --teal-900: #19584e;

  --dark-900: #0f172a;
  --dark-800: #1e293b;
  --dark-700: #334155;
  --dark-600: #475569;
  --dark-500: #64748b;
  --dark-400: #94a3b8;
  --dark-300: #cbd5e1;
  --dark-200: #e2e8f0;
  --dark-100: #f1f5f9;
  --dark-50: #f8fafc;

  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #4dd9b4 0%, #2ec4a5 50%, #1fa88e 100%);
  --gradient-hero-bg: linear-gradient(180deg, #f8fafc 0%, #edfdf8 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px rgba(78, 217, 180, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--dark-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

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

/* ======================================
   Navigation
   ====================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

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

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

.navbar__logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.navbar__logo-icon svg {
  width: 24px;
  height: 24px;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar__links a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark-600);
  position: relative;
  padding: 4px 0;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.navbar__links a:hover {
  color: var(--teal-600);
}

.navbar__links a:hover::after {
  width: 100%;
}

/* Mobile menu toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-800);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ======================================
   Hero Section
   ====================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  padding-top: 40px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* --- Wave lines at top --- */
.hero__waves {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* --- Logo in hero --- */
.hero__logo {
  margin-bottom: 24px;
}

.navbar__logo-icon--large {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto;
}

.navbar__logo-icon--large svg {
  width: 40px;
  height: 40px;
}

.hero__waves svg {
  width: 100%;
  height: 100%;
}

.wave {
  animation: waveFlow 8s ease-in-out infinite alternate;
}

.wave--1 {
  animation-delay: 0s;
}

.wave--2 {
  animation-delay: -1.5s;
  animation-duration: 10s;
}

.wave--3 {
  animation-delay: -3s;
  animation-duration: 12s;
}

.wave--4 {
  animation-delay: -4.5s;
  animation-duration: 9s;
}

.wave--5 {
  animation-delay: -6s;
  animation-duration: 11s;
}

.hero__content {
  animation: fadeInUp 0.8s ease-out;
}

.hero__content--centered {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(78, 217, 180, 0.1);
  border: 1px solid rgba(78, 217, 180, 0.2);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-700);
  margin-bottom: 20px;
}

.hero__badge span {
  font-size: 1rem;
}

.hero__title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark-900);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--dark-500);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 40px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  text-decoration: none;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(78, 217, 180, 0.35);
}

.hero__cta:active {
  transform: translateY(0);
}

.hero__social-proof {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--dark-400);
  font-weight: 500;
}

.hero__social-proof strong {
  color: var(--teal-600);
  font-weight: 700;
}

/* ======================================
   Stats Bar
   ====================================== */
.stats {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid var(--dark-200);
  border-bottom: 1px solid var(--dark-200);
}

.stats .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stats__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
}

.stats__number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--teal-500);
  line-height: 1;
}

.stats__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark-500);
  line-height: 1.3;
}

.stats__divider {
  width: 1px;
  height: 40px;
  background: var(--dark-200);
}

/* ======================================
   Features Section
   ====================================== */
.features {
  padding: 100px 0;
  background: var(--dark-50);
}

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

.features__header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark-900);
  margin-bottom: 16px;
}

.features__header p {
  font-size: 1.1rem;
  color: var(--dark-500);
  max-width: 560px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--dark-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(78, 217, 180, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.feature-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 0.92rem;
  color: var(--dark-500);
  line-height: 1.6;
}

/* ======================================
   How It Works
   ====================================== */
.how-it-works {
  padding: 100px 0;
  background: var(--white);
}

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

.how-it-works__header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark-900);
  margin-bottom: 16px;
}

.how-it-works__header p {
  font-size: 1.1rem;
  color: var(--dark-500);
  max-width: 560px;
  margin: 0 auto;
}

.how-it-works__steps {
  display: flex;
  gap: 32px;
  position: relative;
}

.how-it-works__steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 80px;
  right: 80px;
  height: 2px;
  background: var(--dark-200);
  z-index: 0;
}

.step-card {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-card__number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.step-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 10px;
}

.step-card__desc {
  font-size: 0.9rem;
  color: var(--dark-500);
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

/* ======================================
   Accent Ribbon (scrolling)
   ====================================== */
.accent-ribbon {
  padding: 40px 0;
  background: var(--dark-50);
  border-top: 1px solid var(--dark-200);
  border-bottom: 1px solid var(--dark-200);
  overflow: hidden;
}

.accent-ribbon__label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark-400);
  margin-bottom: 20px;
}

.accent-ribbon__track {
  display: flex;
  gap: 16px;
  animation: scrollRibbon 30s linear infinite;
  width: max-content;
}

.accent-ribbon__track:hover {
  animation-play-state: paused;
}

.accent-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--dark-200);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-700);
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: default;
}

.accent-tag:hover {
  border-color: var(--teal-400);
  background: var(--teal-50);
  color: var(--teal-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.accent-tag .flag {
  font-size: 1.2rem;
}

/* ======================================
   CTA Section
   ====================================== */
.cta-section {
  padding: 100px 0;
  background: var(--gradient-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 217, 180, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--dark-400);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-section .hero__cta {
  position: relative;
  z-index: 1;
}

/* ======================================
   Footer
   ====================================== */
.footer {
  padding: 48px 0 32px;
  background: var(--dark-900);
  color: var(--dark-400);
}

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

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}

.footer__brand .navbar__logo-icon {
  width: 32px;
  height: 32px;
}

.footer__brand .navbar__logo-icon svg {
  width: 18px;
  height: 18px;
}

.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--dark-400);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--teal-400);
}

.footer__copyright {
  width: 100%;
  text-align: center;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--dark-600);
}

/* ======================================
   Legal Pages (Privacy & Terms)
   ====================================== */
.legal-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.legal-page h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark-900);
  margin-bottom: 8px;
}

.legal-page .last-updated {
  font-size: 0.9rem;
  color: var(--dark-400);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-800);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  color: var(--dark-600);
  line-height: 1.8;
  margin-bottom: 12px;
}

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

.legal-page a {
  color: var(--teal-600);
  font-weight: 500;
}

.legal-page a:hover {
  color: var(--teal-700);
  text-decoration: underline;
}

/* ======================================
   Animations
   ====================================== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes waveFlow {
  0% {
    d: path("M-100,200 C100,100 300,300 500,200 C700,100 900,300 1100,200 C1300,100 1500,300 1700,200");
    transform: translateX(0) translateY(0);
  }

  50% {
    transform: translateX(-30px) translateY(8px);
  }

  100% {
    transform: translateX(30px) translateY(-8px);
  }
}

@keyframes scrollRibbon {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ======================================
   Responsive
   ====================================== */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 2.6rem;
  }

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

@media (max-width: 768px) {
  .navbar__links {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
    border-top: 1px solid var(--dark-200);
  }

  .hero .container {
    padding-top: 40px;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .stats .container {
    flex-direction: column;
    gap: 24px;
  }

  .stats__divider {
    width: 60px;
    height: 1px;
  }

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

  .how-it-works__steps {
    flex-direction: column;
    gap: 40px;
  }

  .how-it-works__steps::before {
    display: none;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

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

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.8rem;
  }

  .hero__cta {
    width: 100%;
    justify-content: center;
  }

  .legal-page h1 {
    font-size: 1.8rem;
  }
}