/* ============================================================
   FinzyBudget — Premium Landing Page Styles
   ============================================================ */

/* ---------- Design System Tokens ---------- */
:root {
  --bg-dark: #0a0b10;
  --bg-main: #0f1115;
  --bg-card: #161820;
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-main: #e2e8f0;
  --text-muted: #64748b;
  --text-heading: #f8fafc;
  --primary: #6366f1;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --success: #10b981;
  --danger: #ef4444;
  --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
  --gradient-accent: linear-gradient(135deg, #6366f1, #06b6d4);
  --gradient-hero: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-med: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

ul {
  list-style: none;
}

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

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

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

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

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

section {
  padding: 100px 0;
  position: relative;
}

/* ---------- Scroll Animations ---------- */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-med);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar-logo .logo-finzy {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-logo .logo-budget {
  color: #fff;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width var(--transition-med);
}

.navbar-links a:hover {
  color: var(--text-heading);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-cta {
  padding: 10px 24px;
  background: var(--gradient-primary);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.navbar-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.45);
}

.navbar-cta::after {
  display: none !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* Animated gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  background-size: 400% 400%;
  animation: heroGradientShift 16s ease infinite;
  z-index: 0;
}

@keyframes heroGradientShift {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 50% 0%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 50% 100%; }
  100% { background-position: 0% 50%; }
}

/* Floating decorative shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.12;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -10%;
  right: -5%;
  animation: floatShape1 20s ease-in-out infinite alternate;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  bottom: 10%;
  left: -8%;
  animation: floatShape2 25s ease-in-out infinite alternate;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--accent);
  top: 40%;
  right: 15%;
  border-radius: 30%;
  animation: floatShape3 18s ease-in-out infinite alternate;
}

.shape-4 {
  width: 150px;
  height: 150px;
  background: var(--primary);
  bottom: 25%;
  right: 40%;
  border-radius: 40%;
  opacity: 0.08;
  animation: floatShape4 22s ease-in-out infinite alternate;
}

.shape-5 {
  width: 250px;
  height: 250px;
  background: var(--secondary);
  top: 15%;
  left: 20%;
  opacity: 0.06;
  animation: floatShape5 30s ease-in-out infinite alternate;
}

@keyframes floatShape1 {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-60px, 80px) rotate(30deg); }
}

@keyframes floatShape2 {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(50px, -70px) rotate(-20deg); }
}

@keyframes floatShape3 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { transform: translate(-40px, 60px) rotate(45deg) scale(1.15); }
}

@keyframes floatShape4 {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(70px, -50px) rotate(60deg); }
}

@keyframes floatShape5 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 40px) scale(1.2); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-heading);
}

.hero-content h1 .gradient-text {
  display: inline;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 35px rgba(99, 102, 241, 0.5);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-ghost {
  background: transparent;
  color: var(--text-heading);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--bg-glass);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px) scale(1.05);
}

.btn-ghost:active {
  transform: translateY(0) scale(0.98);
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px 0;
  max-width: 680px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: var(--border-glass);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
  display: block;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
  background: var(--bg-dark);
}

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

.feature-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3),
              0 0 40px rgba(99, 102, 241, 0.08);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(139, 92, 246, 0.1);
  color: var(--secondary);
  border-color: rgba(139, 92, 246, 0.15);
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
  border-color: rgba(6, 182, 212, 0.15);
}

.feature-card:nth-child(4) .feature-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.15);
}

.feature-card:nth-child(5) .feature-icon {
  background: rgba(139, 92, 246, 0.1);
  color: var(--secondary);
  border-color: rgba(139, 92, 246, 0.15);
}

.feature-card:nth-child(6) .feature-icon {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
  border-color: rgba(6, 182, 212, 0.15);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

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

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  background: var(--bg-main);
}

.steps-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
  position: relative;
  z-index: 2;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Connecting line between step circles */
.steps-container::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 32px);
  right: calc(16.66% + 32px);
  height: 2px;
  background: var(--gradient-accent);
  z-index: 0;
  opacity: 0.4;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing {
  background: var(--bg-dark);
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition-med);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Popular card styling */
.pricing-card.popular {
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              var(--gradient-primary) border-box;
  border: 2px solid transparent;
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.12),
              0 8px 32px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-6px);
  box-shadow: 0 0 60px rgba(99, 102, 241, 0.2),
              0 12px 48px rgba(0, 0, 0, 0.35);
}

.pricing-badge {
  display: inline-block;
  padding: 6px 20px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: pulseBadge 2.5s ease-in-out infinite;
}

@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
  50%      { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.pricing-price {
  margin-bottom: 32px;
}

.pricing-price .amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: -0.03em;
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  text-align: left;
  margin-bottom: 36px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-main);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features .check {
  color: var(--success);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.pricing-features .cross {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  opacity: 0.5;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  opacity: 0.5;
}

.btn-pricing {
  width: 100%;
  justify-content: center;
  padding: 14px 28px;
}

.btn-pricing-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-pricing-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

.btn-pricing-outline {
  background: transparent;
  color: var(--text-heading);
  border: 1px solid var(--border-glass);
}

.btn-pricing-outline:hover {
  background: var(--bg-glass);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px) scale(1.03);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--bg-main);
}

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

.testimonial-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-left: 3px solid;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-med);
  position: relative;
}

.testimonial-card:nth-child(1) { border-left-color: var(--primary); }
.testimonial-card:nth-child(2) { border-left-color: var(--accent); }
.testimonial-card:nth-child(3) { border-left-color: var(--secondary); }

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-text::before {
  content: '"';
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 0;
  position: relative;
  top: 8px;
  margin-right: 4px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-card:nth-child(1) .testimonial-avatar {
  background: var(--gradient-primary);
}

.testimonial-card:nth-child(2) .testimonial-avatar {
  background: var(--gradient-accent);
}

.testimonial-card:nth-child(3) .testimonial-avatar {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-heading);
}

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

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta-content h2 {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-heading);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.btn-cta-big {
  padding: 18px 42px;
  font-size: 1.1rem;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

.btn-cta-big:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 45px rgba(99, 102, 241, 0.5);
}

.btn-cta-big:active {
  transform: translateY(0) scale(0.98);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-glass);
  padding: 40px 0;
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-logo .logo-finzy {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-logo .logo-budget {
  color: #fff;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-heading);
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 16, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-med);
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-heading);
  transition: color var(--transition-fast);
}

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

.mobile-nav .navbar-cta {
  font-size: 1.1rem;
  padding: 14px 36px;
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .section-header h2 {
    font-size: 2.1rem;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

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

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

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }

  .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    justify-self: center;
    width: 100%;
  }

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    justify-self: center;
    width: 100%;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 100px;
    min-height: calc(100vh - 20px);
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 48px;
  }

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

  .stats-bar {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 20px 24px;
    max-width: 300px;
  }

  .stat-item {
    padding: 12px 0;
  }

  .stat-item:not(:last-child)::after {
    width: 40px;
    height: 1px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 1rem;
  }

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

  .steps-container {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .steps-container::before {
    top: 32px;
    bottom: 32px;
    left: 50%;
    right: auto;
    width: 2px;
    height: calc(100% - 64px);
    transform: translateX(-50%);
  }

  .step {
    padding: 0 16px;
    max-width: 340px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 420px;
    margin: 0 auto;
  }

  .pricing-card:last-child {
    max-width: none;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }

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

  .testimonials-grid .testimonial-card:last-child {
    max-width: none;
  }

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

  .cta-content p {
    font-size: 1rem;
  }

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

  .footer-left {
    flex-direction: column;
    gap: 8px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤ 400px)
   ============================================================ */
@media (max-width: 400px) {
  .container {
    padding: 0 16px;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .pricing-price .amount {
    font-size: 2.4rem;
  }
}
