/* ════════════════════════════════════════════════════════════════
   LiquidaPRO — Design System
   Brand palette extracted from logo cloud:
     Light highlight  #72C8F5
     Primary sky blue #3AAEE0
     Deep sky blue    #1E85BC
     Shadow deep      #145A82
     Text gray        #6B7280  (logo wordmark)
   ════════════════════════════════════════════════════════════════ */

:root {
  /* ── Brand blues (logo-exact) */
  --sky-100:  #D6EFFA;
  --sky-200:  #AEDDF5;
  --sky-300:  #72C8F5;   /* logo light highlight  */
  --sky-400:  #4BB8ED;   /* mid sky               */
  --sky-500:  #3AAEE0;   /* PRIMARY — logo body   */
  --sky-600:  #2896C8;   /* hover / darker        */
  --sky-700:  #1E85BC;   /* logo deep shade       */
  --sky-800:  #145A82;   /* shadow dark           */

  /* ── Page background — very light sky blue, zero purple */
  --page-bg:  linear-gradient(150deg,
                #EBF7FD 0%,
                #DCF0FA 30%,
                #E8F5FD 60%,
                #F0F9FF 100%);

  /* ── Glass tokens */
  --glass-bg:        rgba(255,255,255,.62);
  --glass-bg-strong: rgba(255,255,255,.78);
  --glass-border:    rgba(255,255,255,.82);
  --glass-shadow:    0 8px 32px rgba(58,174,224,.12), 0 2px 8px rgba(30,133,188,.07);
  --glass-hover:     0 18px 52px rgba(58,174,224,.22), 0 4px 18px rgba(30,133,188,.12);

  /* ── Neutrals */
  --text-dark:  #0D2D3E;
  --text-mid:   #4A6572;
  --text-light: #8AADB8;
  --white:      #FFFFFF;
  --border:     rgba(255,255,255,.80);
  --success:    #10B981;
  --radius:     1.25rem;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--page-bg);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ─── Scroll animations ───────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: .10s; }
.delay-200 { transition-delay: .20s; }
.delay-300 { transition-delay: .30s; }
.delay-400 { transition-delay: .40s; }

/* ─── Navbar ─────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.60);
  transition: box-shadow .3s;
}
#navbar.scrolled {
  box-shadow: 0 4px 24px rgba(58,174,224,.14);
}

.nav-link {
  position: relative;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--sky-500), var(--sky-300));
  border-radius: 2px;
  transition: width .25s;
}
.nav-link:hover, .nav-link.active { color: var(--sky-600); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Language switcher */
.lang-btn {
  padding: .2rem .55rem;
  border-radius: .4rem;
  font-size: .7rem;
  font-weight: 700;
  color: var(--text-mid);
  background: transparent;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s;
}
.lang-btn:hover { color: var(--sky-600); border-color: var(--sky-400); }
.lang-btn.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(58,174,224,.35);
}

/* ─── Hero ───────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* Soft radial glows — sky blue only */
.hero-bg-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-glow-1 {
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(58,174,224,.16) 0%, transparent 68%);
  top: -200px; right: -100px;
}
.hero-glow-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(114,200,245,.14) 0%, transparent 68%);
  bottom: -80px; left: 0%;
}

/* Subtle grid — right half only */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58,174,224,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,174,224,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  left: 50%;
  opacity: .8;
}

/* Hero headline */
.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.85rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--text-dark);
  letter-spacing: -.025em;
}
.hero-underline-wrap {
  position: relative;
  display: inline-block;
}
.hero-brush {
  position: absolute;
  bottom: -6px; left: 0;
  width: 100%; height: 18px;
  pointer-events: none;
}

/* ─── Phone mockup ───────────────────────────────────────────── */
.phone-frame {
  width: 260px; height: 520px;
  background: #0D2030;
  border-radius: 40px;
  padding: 10px;
  box-shadow:
    0 0 0 2px #1A3448,
    0 40px 90px rgba(13,32,48,.32),
    0 10px 30px rgba(58,174,224,.20);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.phone-notch {
  width: 80px; height: 22px;
  background: #0D2030;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.phone-screenshot {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 32px;
}

/* ─── Doodles ────────────────────────────────────────────────── */
.doodle { position: absolute; pointer-events: none; }
.doodle-tl  { width: 130px; height: 90px;  top: 2%;   left: 2%; }
.doodle-tr  { width: 90px;  height: 70px;  top: 5%;   right: 1%; }
.doodle-br  { width: 110px; height: 110px; bottom: 8%; right: 0%; }
.doodle-mascot {
  position: absolute;
  width: 90px; height: 90px;
  object-fit: contain;
  top: -10px; right: 12px;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

/* Floating notification cards */
.hero-float-card {
  position: absolute;
  bottom: 8%; left: -5%;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  box-shadow: var(--glass-shadow);
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  z-index: 10;
  white-space: nowrap;
}
.hero-float-card--top {
  bottom: auto;
  top: 15%; left: -8%;
}

.mascot-float { animation: float 4s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.dashboard-bar {
  height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, var(--sky-500), var(--sky-300));
}

/* ─── Section labels ─────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sky-700);
  background: rgba(58,174,224,.10);
  padding: .3rem .9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  border: 1px solid rgba(58,174,224,.20);
}

/* ─── Stats bar ──────────────────────────────────────────────── */
#stats {
  background: linear-gradient(135deg, var(--sky-800) 0%, var(--sky-600) 100%);
  position: relative;
  overflow: hidden;
}
#stats::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255,255,255,.07)'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.stat-number { font-size: 2.25rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-label  { color: rgba(255,255,255,.65); font-size: .875rem; }
.stat-divider { display: none; }
.stat-col { padding: 1rem 0; }
@media (min-width: 768px) {
  .stat-col { border-right: 1px solid rgba(255,255,255,.15); }
  .stat-col--last { border-right: none; }
}

/* ─── Glass cards ────────────────────────────────────────────── */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--glass-hover); }

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  transition: transform .3s, box-shadow .3s;
}
.glass-card:hover { transform: translateY(-5px); box-shadow: var(--glass-hover); }

.icon-box {
  width: 48px; height: 48px;
  border-radius: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(58,174,224,.15), rgba(114,200,245,.10));
  flex-shrink: 0;
}
.icon-box svg { color: var(--sky-600); }

/* ─── Section backgrounds ────────────────────────────────────── */
#benefits, #testimonials, #faq {
  background: rgba(255,255,255,.30);
  backdrop-filter: blur(4px);
}

/* ─── How it works ───────────────────────────────────────────── */
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  color: var(--white);
  font-size: 1.2rem; font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(58,174,224,.38);
}
.step-connector { display: none; }

/* ─── Features ───────────────────────────────────────────────── */
#features { background: transparent; }

/* ─── Testimonials ───────────────────────────────────────────── */
.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--glass-shadow);
  transition: transform .3s, box-shadow .3s;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--glass-hover); }
.star { color: #F59E0B; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem;
  color: var(--white); flex-shrink: 0;
}
.logo-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
  opacity: .4; filter: grayscale(1);
}

/* ─── Pricing ────────────────────────────────────────────────── */
.pricing-toggle {
  display: inline-flex;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: .25rem; gap: .25rem;
}
.toggle-btn {
  padding: .45rem 1.25rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: .875rem; font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all .25s;
  position: relative;
}
.toggle-btn.active {
  background: var(--white);
  color: var(--sky-700);
  box-shadow: 0 2px 10px rgba(58,174,224,.18);
}
.save-badge {
  position: absolute;
  top: -10px; right: -10px;
  background: var(--success);
  color: white;
  font-size: .58rem; font-weight: 700;
  padding: .15rem .4rem;
  border-radius: 999px;
}
.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  transition: transform .3s, box-shadow .3s;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--glass-hover); }
.pricing-card.featured {
  background: linear-gradient(145deg, rgba(58,174,224,.13), rgba(255,255,255,.72));
  border-color: rgba(58,174,224,.45);
  box-shadow: 0 8px 40px rgba(58,174,224,.22);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.popular-badge {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  color: var(--white);
  font-size: .68rem; font-weight: 700;
  padding: .2rem .75rem;
  border-radius: 999px;
  letter-spacing: .04em;
}
.price-amount { font-size: 2.5rem; font-weight: 900; color: var(--text-dark); line-height: 1; }
.check-icon { color: var(--sky-600); flex-shrink: 0; }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--glass-shadow); }
.faq-question {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.5rem;
  background: transparent; border: none;
  text-align: left;
  font-size: .93rem; font-weight: 600;
  color: var(--text-dark);
  cursor: pointer; gap: 1rem;
  transition: background .2s;
}
.faq-question:hover { background: rgba(255,255,255,.40); }
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(58,174,224,.10);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s, background .2s;
  color: var(--sky-600);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--sky-500);
  color: var(--white);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  padding: 0 1.5rem;
  font-size: .9rem; color: var(--text-mid); line-height: 1.7;
}
.faq-answer.open { max-height: 300px; padding: 0 1.5rem 1.25rem; }

/* ─── Contact ────────────────────────────────────────────────── */
#contact { background: transparent; }

.form-field {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid rgba(255,255,255,.72);
  border-radius: .875rem;
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(12px);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-field:focus {
  border-color: var(--sky-500);
  box-shadow: 0 0 0 3px rgba(58,174,224,.18);
  background: rgba(255,255,255,.88);
}
.form-field.error { border-color: #EF4444; }
.field-error { font-size: .75rem; color: #EF4444; margin-top: .25rem; display: none; }
.field-error.visible { display: block; }

.success-state { display: none; text-align: center; padding: 3rem 2rem; }
.success-state.visible { display: block; }
.success-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #10B981, #34D399);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  animation: pop-in .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes pop-in {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.75rem;
  background: linear-gradient(135deg, var(--sky-500) 0%, var(--sky-700) 100%);
  color: var(--white);
  font-weight: 700; font-size: .9rem;
  border-radius: 999px; border: none;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 20px rgba(58,174,224,.40);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(58,174,224,.50);
  filter: brightness(1.06);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.75rem;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  color: var(--text-dark);
  font-weight: 600; font-size: .9rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.88);
  cursor: pointer; text-decoration: none;
  box-shadow: 0 2px 12px rgba(13,45,62,.08);
  transition: all .2s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,.92);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,45,62,.12);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.5rem;
  background: transparent;
  color: var(--sky-600);
  font-weight: 600; font-size: .875rem;
  border-radius: 999px;
  border: 1.5px solid var(--sky-500);
  cursor: pointer; text-decoration: none;
  transition: all .2s;
}
.btn-outline:hover {
  background: var(--sky-500);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(58,174,224,.32);
}

/* ─── Footer ─────────────────────────────────────────────────── */
#footer {
  background: linear-gradient(160deg, var(--sky-800) 0%, #0A1E2C 100%);
  color: rgba(255,255,255,.6);
}
.footer-link {
  display: block; font-size: .875rem;
  color: rgba(255,255,255,.50);
  text-decoration: none; margin-bottom: .5rem;
  transition: color .2s;
}
.footer-link:hover { color: var(--white); }
.footer-heading {
  font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.30); margin-bottom: 1rem;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 600;
  color: rgba(255,255,255,.48);
  border: 1px solid rgba(255,255,255,.12);
  padding: .3rem .75rem; border-radius: .5rem;
}
.social-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.50);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.social-icon:hover {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  color: var(--white);
}

/* ─── Mobile menu ────────────────────────────────────────────── */
#mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,.62);
  z-index: 99;
  padding: 1.5rem;
  animation: slide-down .25s ease;
}
#mobile-menu.open { display: block; }
@keyframes slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .pricing-card.featured { transform: scale(1); }
  .phone-frame { width: 220px; height: 440px; }
  .doodle-tl, .doodle-tr { display: none; }
  .hero-float-card { left: 0; font-size: .75rem; }
  .hero-float-card--top { display: none; }
  .doodle-mascot { width: 70px; height: 70px; right: 4px; }
  .hero-headline { font-size: clamp(2rem, 8vw, 2.8rem); }
}

/* ─── Utilities ──────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; line-height: 1.2;
  color: var(--text-dark);
}
.section-subtitle {
  font-size: 1.05rem; color: var(--text-mid);
  max-width: 580px; margin: 0 auto;
}
