/* CSS Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-purple: #413BB5;
  --primary-pink: #D06CCE;
  --dark-purple: #2B1D52;
  --dark-footer: #181625;
  --light-bg: #F7F8FC;
  --pink-bg: #FFEFF8;
  --purple-bg: #F3EFFF;
  --green-bg: #E8F5E3;
  --blue-bg: #E3F3FF;
  --violet-bg: #F3EFFF;
  --text-dark: #1a1a1a;
  --text-light: #EFEFFE;
  --text-muted: #ADA7CE;
  --accent-purple: #5B44B9;
}

@font-face {
  font-family: 'Meeten';
  src: url('https://ext.same-assets.com/2572828292/4004705749.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Meeten';
  src: url('https://ext.same-assets.com/2572828292/3230080543.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Meeten', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(90deg, var(--primary-purple), var(--primary-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 88px;
  padding: 0 24px;
  background: white;
  transition: box-shadow 0.3s ease;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo svg {
  width: 42px;
  height: 42px;
}

.logo span {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}

.nav-menu {
  display: none;
}

.nav-link {
  padding: 0 24px;
  font-size: 15px;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-purple);
}

.btn-contact {
  height: 44px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: #1a1a1a;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background: #333;
  transform: scale(1.02);
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 20px 80px;
  margin-top: 88px;
  background: var(--light-bg);
  text-align: center;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-subtitle {
  max-width: 600px;
  margin-top: 32px;
  font-size: 18px;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.6;
}

.btn-primary {
  height: 60px;
  padding: 0 50px;
  margin-top: 50px;
  font-size: 18px;
  font-weight: 600;
  color: white;
  background: #1a1a1a;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #333;
  transform: scale(1.02);
}

/* Hero Image Grid */
.hero-images {
  margin-top: 50px;
  width: 100%;
  /* max-width: 650px; */
}

.image-grid {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.image-grid img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  background: white;
}

.grid-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 500px;
}

.grid-item {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.grid-item:hover {
  transform: scale(1.05);
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Why Section */
.why-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.section-title.horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cards-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 50px;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 50px 40px;
  border-radius: 40px;
  overflow: hidden;
}

.dark-card {
  background: var(--dark-purple);
  color: var(--text-light);
}

.dark-card p {
  color: var(--text-muted);
}

.pink-card {
  background: var(--pink-bg);
  color: var(--text-dark);
}

.purple-card {
  background: var(--purple-bg);
  color: var(--text-dark);
}

.card-content h3 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.card-content p {
  font-size: 16px;
  line-height: 1.7;
}

.card-image {
  margin-top: 32px;
  border-radius: 20px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  border-radius: 16px;
}

/* Phone Mockup */
.phone-mockup {
  position: relative;
  margin-top: 40px;
}

.phone-screens {
  display: flex;
  justify-content: center;
  gap: -20px;
  position: relative;
}

.phone-screen {
  width: 160px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.phone-back {
  transform: translateX(20px) scale(0.9);
  z-index: 1;
}

.phone-front {
  transform: translateX(-20px);
  z-index: 2;
}

.phone-screen img {
  width: 100%;
  height: auto;
}

.stats-badge {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  padding: 12px 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-label {
  font-size: 9px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Who Section */
.who-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
  background: var(--light-bg);
}

.criteria-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 50px;
}

.criteria-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 800px;
}

.criteria-card {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 28px 32px;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.criteria-card:hover {
  transform: translateY(-4px);
}

.green-bg {
  background: linear-gradient(to top, #E6F3E1, #E8F5E3);
}

.pink-bg {
  background: linear-gradient(to top, #F6EBF9, var(--pink-bg));
}

.blue-bg {
  background: linear-gradient(to top, #E0F0FC, var(--blue-bg));
}

.violet-bg {
  background: linear-gradient(to top, #E3DEF8, var(--purple-bg));
}

.check-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.check-icon svg {
  width: 100%;
  height: 100%;
}

.criteria-card p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-dark);
}

/* How Section */
.how-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px 120px;
  background: linear-gradient(to bottom, #F3E9FF, #FFFFFF);
}

.how-subtitle {
  max-width: 600px;
  margin-top: 32px;
  font-size: 18px;
  text-align: center;
  color: var(--text-dark);
  line-height: 1.6;
}

.how-highlight {
  margin-top: 12px;
  font-size: 18px;
  color: var(--accent-purple);
  text-align: center;
}

/* Income Dashboard */
.income-dashboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  width: 100%;
  max-width: 900px;
  position: relative;
}

.dashboard-card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 500px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.dashboard-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-label {
  font-size: 12px;
  color: #888;
  letter-spacing: 0.5px;
}

.dashboard-amount {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
}

.dashboard-change {
  font-size: 13px;
  color: #22c55e;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dashboard-change::before {
  content: '▲';
  font-size: 10px;
}

.dashboard-tabs {
  display: flex;
  gap: 8px;
}

.dashboard-tabs .tab {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

.dashboard-tabs .tab.active {
  background: var(--text-dark);
  color: white;
}

.dashboard-chart {
  height: 80px;
  margin: 20px 0;
}

.chart-line {
  width: 100%;
  height: 100%;
}

.dashboard-period {
  display: flex;
  gap: 16px;
}

.dashboard-period span {
  font-size: 12px;
  color: #888;
  cursor: pointer;
  padding: 4px 8px;
}

.dashboard-period span.active {
  color: var(--text-dark);
  font-weight: 600;
}

.dashboard-person {
  position: absolute;
  right: 0;
  bottom: -40px;
  width: 280px;
  display: none;
}

.dashboard-person img {
  width: 100%;
  border-radius: 20px;
}

/* CTA Section */
.cta-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  background: var(--dark-purple);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43, 29, 82, 0.95), rgba(65, 59, 181, 0.85));
  /* background-image: url('https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?w=1920&h=600&fit=crop'); */
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-content h2 {
  max-width: 600px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: white;
}

.btn-gradient {
  height: 60px;
  padding: 0 50px;
  margin-top: 50px;
  font-size: 18px;
  font-weight: 600;
  color: white;
  background: linear-gradient(90deg, #FF46FB, #B982FF);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 70, 251, 0.3);
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 50px 20px;
  background: var(--dark-footer);
  color: #F4F4F2;
  text-align: center;
  font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

/* Responsive Design */
@media (min-width: 640px) {
  .header {
    padding: 0 40px;
  }

  .hero-title {
    font-size: 44px;
  }

  .section-title {
    font-size: 44px;
  }

  .grid-mosaic {
    max-width: 550px;
    gap: 16px;
  }

  .phone-screen {
    width: 200px;
  }
}

@media (min-width: 768px) {
  .header {
    padding: 0 60px;
  }

  .hero-title {
    font-size: 50px;
  }

  .section-title {
    font-size: 50px;
  }

  .card-content h3 {
    font-size: 36px;
  }

  .cta-content h2 {
    font-size: 36px;
    max-width: 700px;
  }

  .dashboard-person {
    display: block;
    right: -100px;
  }
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    align-items: center;
  }

  .header {
    padding: 0 80px;
  }

  .hero {
    padding: 140px 60px 100px;
  }

  .hero-title {
    font-size: 55px;
  }

  /* .hero-images {
    max-width: 700px;
  } */

  .grid-mosaic {
    max-width: 600px;
  }

  .section-title {
    font-size: 55px;
  }

  .feature-card {
    flex-direction: row;
    align-items: center;
    max-width: 1100px;
    padding: 70px 80px;
    gap: 60px;
  }

  .feature-card .card-content {
    flex: 1;
  }

  .feature-card .card-image {
    flex: 1;
    margin-top: 0;
  }

  .dark-card .card-image {
    order: 2;
  }

  .pink-card .card-content {
    order: 1;
  }

  .pink-card .card-image {
    order: 2;
  }

  .purple-card .card-image {
    order: -1;
  }

  .card-content h3 {
    font-size: 44px;
  }

  .criteria-cards {
    max-width: 900px;
  }

  .cta-content h2 {
    font-size: 48px;
    max-width: 900px;
  }

  .cta-section {
    padding: 140px 60px;
  }

  .phone-screen {
    width: 220px;
  }

  .stats-badge {
    top: 5%;
    left: 10%;
    transform: none;
  }
}

@media (min-width: 1280px) {
  .header {
    padding: 0 120px;
  }

  .dashboard-person {
    right: 0;
  }
}

/* Scroll Animation Classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
