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

:root {
  --color-primary: #8b5cf6;
  --color-secondary: #ec4899;
  --color-dark: #0f172a;
  --color-gray: #64748b;
  --color-light: #f8fafc;
  --color-success: #10b981;
  --color-warning: #f97316;
  --color-danger: #ef4444;

  /* Light mode colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --border-color: #e2e8f0;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
}

body.dark-mode {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --border-color: #334155;
  --card-bg: #1e293b;
  --card-border: #334155;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

body {
  font-family:
    "Space Grotesk",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.section-snap {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Dark Mode Toggle */
.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1001;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.theme-toggle svg {
  position: absolute;
  transition: all 0.3s ease;
}

.light-mode .sun-icon {
  opacity: 1;
  transform: rotate(0deg);
}

.light-mode .moon-icon {
  opacity: 0;
  transform: rotate(90deg);
}

.dark-mode .sun-icon {
  opacity: 0;
  transform: rotate(-90deg);
}

.dark-mode .moon-icon {
  opacity: 1;
  transform: rotate(0deg);
}

.sun-icon {
  stroke: #f59e0b;
}

.moon-icon {
  stroke: #8b5cf6;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.dark-mode .nav {
  background: rgba(15, 23, 42, 0.95);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  font-size: 2rem;
}

.logo-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
  color: white !important;
}

.btn-primary svg {
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 2rem;
  overflow: hidden;
  background: var(--bg-primary);
  transition: background 0.3s ease;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  top: -250px;
  left: -250px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--color-secondary);
  bottom: -200px;
  right: -200px;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--color-success);
  top: 50%;
  right: 10%;
  animation-delay: -10s;
}

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

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

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  display: block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.emoji-float {
  display: inline-block;
  font-size: 4rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.dark-mode .badge {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
  border-color: rgba(139, 92, 246, 0.5);
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-large {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-large::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.btn-large:hover::before {
  width: 300px;
  height: 300px;
}

.btn-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.btn-outline {
  background: white;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.hero-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.demo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.demo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.demo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.demo-link.vibe .demo-dot {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.demo-link.default .demo-dot {
  background: linear-gradient(135deg, #4f46e5, #0891b2);
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

/* Phone Mockup */
.phone-frame {
  position: relative;
  width: 320px;
  height: 640px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  animation: phoneFloat 6s infinite ease-in-out;
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 32px;
  overflow: hidden;
}

.mockup-app {
  padding: 2rem 1.5rem;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mockup-logo {
  font-size: 1.5rem;
}

.mockup-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.mockup-balance {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  padding: 1.5rem;
  border-radius: 1.5rem;
  margin-bottom: 1.5rem;
}

.balance-label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.balance-amount {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.balance-change {
  font-size: 0.85rem;
  opacity: 0.9;
}

.balance-change.positive::before {
  content: "↑ ";
}

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.quick-card {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 1rem;
  padding: 1rem;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quick-card.total {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.quick-card.daily {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.quick-card.categories {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.card-icon-circle {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.card-label {
  font-size: 0.7rem;
  opacity: 0.9;
}

.card-value {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background: var(--bg-secondary);
  transition: background 0.3s ease;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

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

.feature-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--card-border);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 40px rgba(139, 92, 246, 0.2),
    0 0 0 1px rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(5deg);
  animation: iconPulse 1s ease-in-out;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1.2) rotate(5deg);
  }
  50% {
    transform: scale(1.3) rotate(-5deg);
  }
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.feature-wireframe {
  background: var(--bg-secondary);
  border-radius: 1rem;
  padding: 1.5rem;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wireframe Components */
.wireframe-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 100px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 0.5rem;
  height: var(--height);
  animation: growBar 1s ease-out;
}

@keyframes growBar {
  from {
    height: 0;
  }
  to {
    height: var(--height);
  }
}

.wireframe-budgets {
  width: 100%;
}

.budget-item {
  margin-bottom: 1rem;
}

.budget-label {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.budget-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.budget-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  width: var(--progress);
  animation: fillProgress 1.5s ease-out;
}

@keyframes fillProgress {
  from {
    width: 0;
  }
  to {
    width: var(--progress);
  }
}

.wireframe-sync {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2rem;
}

.sync-device {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.wireframe-themes {
  display: flex;
  gap: 1rem;
}

.theme-preview {
  width: 60px;
  height: 80px;
  border-radius: 0.5rem;
  border: 2px solid #e2e8f0;
}

.theme-preview.vibe {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.theme-preview.default {
  background: linear-gradient(135deg, #4f46e5, #0891b2);
}

.theme-preview.custom {
  background: linear-gradient(135deg, #10b981, #06b6d4);
}

.wireframe-contacts {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.contact-item {
  text-align: center;
}

.contact-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-name {
  font-size: 0.85rem;
  color: var(--color-gray);
}

.wireframe-pwa {
  text-align: center;
}

.pwa-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.pwa-text {
  font-weight: 600;
  color: var(--color-primary);
}

/* Demo Section */
.demo {
  padding: 4rem 0;
  background: var(--bg-primary);
  transition: background 0.3s ease;
}

/* Benefits Section */
.benefits {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), rgba(236, 72, 153, 0.03));
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.benefit-card:hover::before {
  left: 100%;
}

.benefit-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}

.benefit-emoji {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-emoji {
  transform: scale(1.2) rotate(10deg);
  animation: wiggle 0.5s ease;
}

@keyframes wiggle {
  0%,
  100% {
    transform: scale(1.2) rotate(10deg);
  }
  25% {
    transform: scale(1.3) rotate(-10deg);
  }
  50% {
    transform: scale(1.2) rotate(10deg);
  }
  75% {
    transform: scale(1.3) rotate(-10deg);
  }
}

.benefit-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Demo Section */

.demo-container {
  max-width: 900px;
  margin: 0 auto;
}

.demo-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  background: var(--card-bg);
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
}

.tab-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  border-color: transparent;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.demo-screen {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.dark-mode .demo-screen {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.demo-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--card-bg);
  transition: all 0.3s ease;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
}

.logo-small {
  font-size: 1.5rem;
}

.back-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.add-btn {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-pic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-body {
  padding: 1.5rem;
  background: var(--bg-secondary);
  min-height: 500px;
  transition: background 0.3s ease;
}

.balance-card-large {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  padding: 2rem;
  border-radius: 1.5rem;
  margin-bottom: 1.5rem;
}

.balance-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.balance-main {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.balance-sub {
  opacity: 0.9;
}

.balance-sub.positive::before {
  content: "↑ ";
}

.quick-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-card.gradient-purple {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.stat-card.gradient-orange {
  background: linear-gradient(135deg, #f97316, #fb923c);
}

.stat-card.gradient-cyan {
  background: linear-gradient(135deg, #06b6d4, #22d3ee);
}

.stat-icon-bg {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-emoji {
  font-size: 1.25rem;
}

.stat-amount {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-name {
  font-size: 0.85rem;
  opacity: 0.9;
}

.section-title-small {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.transaction-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.transaction-item {
  background: linear-gradient(90deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 0.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.3s;
}

.transaction-item:hover {
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 100%);
  transform: scale(1.02);
}

.trans-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.trans-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.trans-icon-box.food-bg {
  background: rgba(249, 115, 22, 0.15);
}

.trans-icon-box.transport-bg {
  background: rgba(6, 182, 212, 0.15);
}

.trans-icon-box.shopping-bg {
  background: rgba(139, 92, 246, 0.15);
}

.trans-details {
  flex: 1;
  min-width: 0;
}

.trans-name {
  font-weight: 600;
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
}

.trans-date {
  font-size: 0.8rem;
  color: var(--color-gray);
}

.trans-amount {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-dark);
}

.filter-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.filter-select {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: white;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.expense-summary {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e2e8f0;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.summary-item span {
  color: var(--color-gray);
  font-size: 0.9rem;
}

.summary-item strong {
  font-size: 1.5rem;
}

.expense-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.expense-group {
  background: white;
  padding: 1rem;
  border-radius: 1rem;
}

.group-header {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-gray);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.expense-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.expense-item:last-child {
  border-bottom: none;
}

.expense-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.expense-icon {
  width: 45px;
  height: 45px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.expense-icon.food {
  background: rgba(249, 115, 22, 0.1);
}

.expense-icon.transport {
  background: rgba(6, 182, 212, 0.1);
}

.expense-icon.shopping {
  background: rgba(139, 92, 246, 0.1);
}

.expense-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.expense-category {
  font-size: 0.85rem;
  color: var(--color-gray);
}

.expense-amount {
  font-weight: 700;
  font-size: 1.1rem;
}

.chart-section {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.chart-header span {
  font-weight: 600;
}

.chart-period {
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: white;
  font-family: inherit;
  cursor: pointer;
}

.pie-chart {
  position: relative;
  max-width: 200px;
  margin: 2rem auto;
}

.chart-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.chart-total {
  font-size: 2rem;
  font-weight: 700;
}

.chart-label {
  color: var(--color-gray);
  font-size: 0.85rem;
}

.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.trend-section {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
}

.trend-header {
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.bar-chart {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 150px;
  gap: 1rem;
}

.bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.bar {
  width: 100%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 0.5rem 0.5rem 0 0;
  height: var(--bar-height);
  animation: growBar 1s ease-out;
}

.bar-label {
  font-size: 0.85rem;
  color: var(--color-gray);
}

.budget-overview {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.budget-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.budget-total span {
  color: var(--color-gray);
}

.budget-total strong {
  font-size: 1.25rem;
}

.overall-progress {
  height: 12px;
  background: #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 6px;
  animation: fillProgress 1.5s ease-out;
}

.budget-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.budget-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, rgba(139, 92, 246, 0.05) 100%);
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}

.budget-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.budget-card-header {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: center;
}

.budget-card-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.budget-card-icon-box.food-bg {
  background: rgba(249, 115, 22, 0.15);
}

.budget-card-icon-box.transport-bg {
  background: rgba(6, 182, 212, 0.15);
}

.budget-card-icon-box.shopping-bg {
  background: rgba(139, 92, 246, 0.15);
}

.budget-card-name {
  font-weight: 600;
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
}

.budget-card-amount {
  font-size: 0.8rem;
  color: var(--color-gray);
}

.budget-card-bar {
  height: 10px;
  background: #e2e8f0;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.budget-card-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 1s ease-out;
}

.budget-card-fill.safe {
  background: var(--color-success);
}

.budget-card-fill.warning {
  background: var(--color-warning);
}

.budget-card-fill.danger {
  background: var(--color-danger);
}

.budget-card-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.budget-percent {
  font-weight: 600;
}

.budget-percent.safe {
  color: var(--color-success);
}

.budget-percent.warning {
  color: var(--color-warning);
}

.budget-percent.danger {
  color: var(--color-danger);
}

.budget-remaining {
  color: var(--color-gray);
}

.budget-warning {
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-danger);
  font-weight: 500;
}

/* Themes Section */
.themes {
  padding: 4rem 0 3rem;
  background: var(--bg-secondary);
  transition: background 0.3s ease;
}

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

.theme-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--card-border);
  transition: all 0.3s;
}

.theme-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.theme-preview-large {
  width: 100%;
  height: 240px;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
}

.vibe-theme {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.default-theme {
  background: linear-gradient(135deg, #4f46e5, #0891b2);
}

.custom-theme {
  background: linear-gradient(135deg, #10b981, #06b6d4);
}

.theme-nav {
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.theme-logo {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.theme-content {
  padding: 2rem 1.5rem;
}

.theme-balance {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.theme-cards-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mini-card {
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  backdrop-filter: blur(10px);
}

.theme-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.theme-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.theme-colors {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.color-swatch {
  width: 50px;
  height: 50px;
  border-radius: 0.75rem;
  border: 2px solid #e2e8f0;
}

/* Tech Stack Section */
.tech-stack {
  padding: 4rem 0 3rem;
  background: var(--bg-primary);
  transition: background 0.3s ease;
}

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

.tech-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-secondary);
  border-radius: 1rem;
  transition: all 0.3s;
}

.tech-item:hover {
  transform: translateY(-5px);
  background: var(--card-bg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.tech-logo {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tech-name {
  font-weight: 600;
  color: var(--text-primary);
}

/* CTA Section */
.cta {
  position: relative;
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(236, 72, 153, 0.3) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.cta-content {
  position: relative;
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-subtitle {
  font-size: 1.5rem;
  opacity: 0.95;
  margin-bottom: 3rem;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta .btn-gradient {
  background: white;
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.cta .btn-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta .btn-gradient:hover::before {
  opacity: 1;
}

.cta .btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.cta .btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cta .btn-outline:hover {
  background: white;
  color: var(--color-primary);
  border-color: white;
  box-shadow: 0 15px 50px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 3rem 0 1.5rem;
  transition: all 0.3s ease;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-logo .logo-icon {
  font-size: 2rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
}

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

.footer-column h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-column a {
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

.footer-column a::before {
  content: "→";
  margin-right: 0.5rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-column a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-column a:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

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

.footer-bottom p {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.footer-bottom p:last-child {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-mockup {
    display: flex;
    justify-content: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }
}

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

  .mobile-menu-btn {
    display: flex;
  }

  .theme-toggle {
    width: 48px;
    height: 48px;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .phone-frame {
    width: 280px;
    height: 560px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta {
    padding: 4rem 0 3rem;
  }

  .cta-title {
    font-size: 2.5rem;
  }

  .cta-subtitle {
    font-size: 1.2rem;
  }

  .demo-tabs {
    gap: 0.5rem;
  }

  .tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

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

  .cta-title {
    font-size: 2rem;
  }

  .cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .cta {
    padding: 3rem 0 2.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta .btn-large {
    width: 100%;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    flex-direction: column;
  }
}
