/* ===== CSS Variables ===== */
:root {
  --color-primary: #2e7d32;
  --color-primary-light: #43a047;
  --color-primary-dark: #1b5e20;
  --color-secondary: #ffc107;
  --color-secondary-light: #ffd54f;
  --color-bg: #f5f7fa;
  --color-bg-dark: #0d1b0f;
  --color-text: #333333;
  --color-text-sub: #999999;
  --color-text-light: #ffffff;
  --color-border: #e0e0e0;
  --color-success: #4caf50;
  --color-error: #f44336;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-float: 0 12px 40px rgba(46, 125, 50, 0.25);
  --shadow-glow: 0 0 60px rgba(46, 125, 50, 0.15);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 64px;
  font-size: 1.125rem;
  color: var(--color-text-sub);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--color-text-light);
  transition: var(--transition);
}

.navbar.scrolled .navbar-brand {
  color: var(--color-primary);
}

.navbar-brand .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-float);
}

.navbar.scrolled .navbar-brand .logo-icon {
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--color-text);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-text-light);
}

.navbar.scrolled .nav-links a:hover {
  background: rgba(46, 125, 50, 0.08);
  color: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary) !important;
  color: var(--color-text-light) !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  box-shadow: var(--shadow-float);
}

.nav-cta:hover {
  background: var(--color-primary-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(46, 125, 50, 0.35) !important;
}

.navbar.scrolled .nav-cta {
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.3);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--color-text-light);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .menu-toggle span {
  background: var(--color-text);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    #0d2818 0%,
    #1b5e20 40%,
    #2e7d32 70%,
    #43a047 100%
  );
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(255, 193, 7, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(76, 175, 80, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(ellipse at 50% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 60%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--color-secondary-light);
  margin-bottom: 32px;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--color-text-light);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--color-secondary), #ff9800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 48px;
  line-height: 1.8;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-family);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary), #ffb300);
  color: #1a1a1a;
  box-shadow: 0 8px 30px rgba(255, 193, 7, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 193, 7, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: var(--color-text-light);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

.btn-green {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-light)
  );
  color: var(--color-text-light);
  box-shadow: var(--shadow-float);
}

.btn-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(46, 125, 50, 0.4);
}

/* Floating decorations */
.hero-decor {
  position: absolute;
  z-index: 2;
  font-size: 3rem;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-decor:nth-child(1) {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
  font-size: 4rem;
}
.hero-decor:nth-child(2) {
  top: 25%;
  right: 10%;
  animation-delay: 1.5s;
  font-size: 3.5rem;
}
.hero-decor:nth-child(3) {
  bottom: 20%;
  left: 12%;
  animation-delay: 3s;
  font-size: 3rem;
}
.hero-decor:nth-child(4) {
  bottom: 30%;
  right: 8%;
  animation-delay: 4.5s;
  font-size: 2.5rem;
}
.hero-decor:nth-child(5) {
  top: 50%;
  left: 4%;
  animation-delay: 2s;
  font-size: 2rem;
}
.hero-decor:nth-child(6) {
  top: 10%;
  right: 25%;
  animation-delay: 3.5s;
  font-size: 2.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator .arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
}

/* ===== Features Section ===== */
.features {
  padding: 120px 0;
  background: var(--color-bg);
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-border),
    transparent
  );
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-primary-light)
  );
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: rgba(46, 125, 50, 0.1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 24px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
}

.feature-icon.green {
  background: #e8f5e9;
}
.feature-icon.blue {
  background: #e3f2fd;
}
.feature-icon.orange {
  background: #fff3e0;
}
.feature-icon.purple {
  background: #f3e5f5;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-text);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  line-height: 1.7;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-light)
  );
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-float);
  transition: var(--transition);
}

.step:hover .step-number {
  transform: scale(1.15);
  box-shadow: 0 8px 30px rgba(46, 125, 50, 0.4);
}

/* Connecting line */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    rgba(46, 125, 50, 0.2)
  );
  z-index: 1;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--color-text);
}

.step p {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* ===== App Showcase ===== */
.app-showcase {
  padding: 120px 0;
  background: linear-gradient(160deg, #0d2818 0%, #1b5e20 50%, #2e7d32 100%);
  position: relative;
  overflow: hidden;
}

.app-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 50%,
    rgba(255, 193, 7, 0.05) 0%,
    transparent 60%
  );
}

.app-showcase .section-title {
  color: var(--color-text-light);
}

.app-showcase .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.app-showcase-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  position: relative;
  z-index: 2;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  position: relative;
  flex-shrink: 0;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #2e7d32 0%, #e8f5e9 30%, #f5f7fa 50%);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.phone-screen-content {
  padding: 40px 20px 20px;
  text-align: center;
}

.phone-screen-content .app-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.phone-screen-content .app-tagline {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.7rem;
  margin-bottom: 24px;
}

.phone-screen-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 8px;
}

.phone-card {
  background: white;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.phone-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.phone-card-info {
  text-align: left;
}

.phone-card-info h4 {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.phone-card-info p {
  font-size: 0.55rem;
  color: var(--color-text-sub);
}

.phone-card-price {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-primary);
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.app-info {
  max-width: 420px;
}

.app-info h3 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.3;
}

.app-features-list {
  margin-bottom: 36px;
}

.app-features-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.app-features-list li .check {
  width: 28px;
  height: 28px;
  background: rgba(76, 175, 80, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.download-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  color: var(--color-text-light);
  transition: var(--transition);
  cursor: pointer;
}

.download-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.download-btn .icon {
  font-size: 1.5rem;
}

.download-btn .text {
  text-align: left;
}

.download-btn .text small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.7;
}

.download-btn .text strong {
  font-size: 0.9rem;
}

/* ===== Stats Section ===== */
.stats {
  padding: 80px 0;
  background: var(--color-bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat-card {
  text-align: center;
  padding: 40px 24px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 1rem;
  color: var(--color-text-sub);
  font-weight: 500;
}

/* ===== Categories Section ===== */
.categories {
  padding: 120px 0;
  background: #ffffff;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.category-card .card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.category-card:hover .card-bg {
  transform: scale(1.08);
}

.category-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.1) 60%,
    transparent 100%
  );
  z-index: 1;
}

.category-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 2;
  color: var(--color-text-light);
}

.category-card .card-emoji {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.category-card .card-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.category-card .card-content p {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ===== CTA Section ===== */
.cta {
  padding: 100px 0;
  background: var(--color-bg);
  text-align: center;
}

.cta-box {
  background: linear-gradient(
    135deg,
    var(--color-primary-dark) 0%,
    var(--color-primary) 50%,
    var(--color-primary-light) 100%
  );
  border-radius: 32px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 193, 7, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 40%
    );
}

.cta-box h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-text-light);
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  position: relative;
}

.cta-box .btn {
  position: relative;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-text-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: var(--color-text-light);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-secondary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== Animations ===== */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 {
  transition-delay: 0.1s;
}
.animate-on-scroll.delay-2 {
  transition-delay: 0.2s;
}
.animate-on-scroll.delay-3 {
  transition-delay: 0.3s;
}
.animate-on-scroll.delay-4 {
  transition-delay: 0.4s;
}

/* Hero animations */
.hero-content .hero-badge {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.2s;
}

.hero-content .hero-title {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.4s;
}

.hero-content .hero-subtitle {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.6s;
}

.hero-content .hero-actions {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.8s;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-showcase-content {
    flex-direction: column;
    gap: 48px;
  }

  .app-info {
    text-align: center;
    max-width: 100%;
  }

  .download-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 48px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: var(--color-text) !important;
    font-size: 1.2rem;
    padding: 12px 32px;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .categories-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .category-card {
    aspect-ratio: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-box {
    padding: 48px 24px;
    border-radius: var(--radius-lg);
  }

  .cta-box h2 {
    font-size: 1.75rem;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .download-btn {
    width: 100%;
    justify-content: center;
  }
}
