/* ========================================
   Betly App Landing Page
   Belayo · 伴拓 Visual Identity — 火橙 / 瓷白 / Fraunces
   ======================================== */

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

/* CSS Variables */
:root {
  /* Primary Colors - 火橙 (Belayo) */
  --primary: #ea4d1c;
  --primary-hover: #b5432f; /* 赤陶 */
  --primary-light: #f0ece4; /* chalk-2 (soft tint surface) */
  --primary-rgb: 234, 77, 28;

  /* Text Colors */
  --text-primary: #211c18; /* 暖墨 basalt */
  --text-secondary: #4a453e;
  --text-muted: #8a8178; /* 暖灰 slate */
  --text-white: #f7f5f0; /* 瓷白 (on 火橙/dark) */

  /* Background Colors */
  --bg-white: #f7f5f0; /* 瓷白 chalk — page surface */
  --bg-light: #f0ece4; /* chalk-2 — cards */
  --bg-dark: #211c18; /* 暖墨 basalt */

  /* Border Colors */
  --border-light: rgba(33, 28, 24, 0.12);
  --border-medium: rgba(33, 28, 24, 0.22);

  /* Accent Colors */
  --accent-green: #2dc071;
  --accent-orange: #f2664a; /* 珊瑚 */
  --accent-blue: #2563eb;

  /* Typography */
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', 'Noto Serif SC', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 13px 19px rgba(0, 0, 0, 0.07);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Spacing */
  --section-padding: 72px;
  --container-padding: 24px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Serif display headings (Fraunces + Noto Serif SC) */
.hero-title,
.section-title,
.feature-title,
.cta-title,
.process-title,
.testimonial-text,
.logo-text {
  font-family: var(--font-serif);
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Section Styles */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  margin-bottom: 8px;
}

.section-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--primary);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title .highlight {
  color: var(--primary);
}

.section-desc {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 604px;
}

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

.section-header .section-desc {
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

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

.btn-dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
  border: 1px solid var(--bg-dark);
}

.btn-dark:hover {
  background-color: #1a1a1a;
}

.btn-large {
  padding: 18px 40px;
  font-size: 16px;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  height: 76px;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
}

.logo-text {
  font-size: 18px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 0.1px;
}

.logo-cn {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-actions .btn {
  padding: 12px 24px;
  border-radius: var(--radius-md);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
}

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

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

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

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  padding: 152px 0 80px;
  background-color: var(--bg-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 580px;
  height: 183px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  background-color: var(--primary);
  filter: blur(200px);
  opacity: 0.6;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text {
  max-width: 560px;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--primary);
  display: inline-block;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 48px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
}

.stat-suffix {
  color: var(--primary);
}

.stat-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  position: relative;
  width: 280px;
  height: 580px;
  background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.2),
    0 30px 60px -30px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

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

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--bg-white);
  border-radius: 7px;
  box-shadow: var(--shadow-lg);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-white);
  animation: float 3s ease-in-out infinite;
}

.floating-card .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-white);
}

.floating-card .card-icon.success {
  color: var(--accent-green);
}

.floating-card .card-icon.warning {
  color: var(--accent-orange);
}

.card-1 {
  top: 150px;
  left: -120px;
  background: var(--primary);
  color: var(--text-white);
  animation-delay: 0s;
}

.card-2 {
  bottom: 150px;
  right: -140px;
  background: var(--accent-orange);
  animation-delay: 1.5s;
}

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

/* ========================================
   About Section
   ======================================== */
.about {
  padding: var(--section-padding) 0;
  background-color: var(--bg-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text {
  max-width: 555px;
}

.about-desc {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text-secondary);
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ========================================
   Features Section
   ======================================== */
.features {
  padding: var(--section-padding) 0;
  background-color: var(--bg-white);
}

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

.feature-card {
  position: relative;
  padding: 32px;
  background-color: var(--bg-light);
  border-radius: 0;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card-primary {
  background-color: var(--primary);
  grid-row: span 2;
}

.feature-card-primary .feature-title,
.feature-card-primary .feature-icon {
  color: var(--text-white);
}

.feature-card-primary .feature-desc {
  color: rgba(247, 245, 240, 0.85);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.feature-arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.feature-card-primary .feature-arrow {
  opacity: 1;
}

.feature-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.feature-desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ========================================
   Process Section
   ======================================== */
.process {
  padding: var(--section-padding) 0;
  background-color: var(--bg-white);
}

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

.process-card {
  padding: 32px;
  background-color: var(--primary-light);
  transition: all var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.process-number {
  font-size: 80px;
  font-weight: 500;
  line-height: 1.08;
  color: var(--primary);
  letter-spacing: -3.2px;
  margin-bottom: 20px;
}

.process-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.96px;
  margin-bottom: 20px;
}

.process-desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-secondary);
  letter-spacing: -0.5px;
}

/* ========================================
   Showcase Section
   ======================================== */
.showcase {
  padding: var(--section-padding) 0;
  background-color: var(--bg-white);
}

.showcase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase-visual {
  position: relative;
}

.showcase-phone {
  position: relative;
  z-index: 2;
}

.showcase-phone .phone-frame {
  width: 250px;
  height: 520px;
}

.showcase-images {
  position: absolute;
  top: 100px;
  left: 160px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.showcase-image-item {
  width: 180px;
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px dashed var(--primary);
  padding: 8px;
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.showcase-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.showcase-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.showcase-tab {
  padding: 8px 0 8px 48px;
  border-left: 3px solid var(--border-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.showcase-tab.active {
  border-left-color: var(--accent-blue);
}

.showcase-tab-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.showcase-tab-desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  display: none;
}

.showcase-tab.active .showcase-tab-desc {
  display: block;
}

/* ========================================
   Download CTA Section
   ======================================== */
.download-cta {
  padding: var(--section-padding) 0;
  background-color: var(--primary);
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.cta-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 16px;
}

.cta-title .highlight {
  color: var(--text-white);
}

.cta-desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(247, 245, 240, 0.88);
  max-width: 500px;
  margin-bottom: 32px;
}

.download-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background-color: var(--bg-dark);
  color: var(--text-white);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.download-icon {
  width: 28px;
  height: 28px;
}

.download-text {
  display: flex;
  flex-direction: column;
}

.download-label {
  font-size: 10px;
  opacity: 0.8;
}

.download-store {
  font-size: 16px;
  font-weight: 600;
}

.cta-features {
  display: flex;
  gap: 16px;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--text-white);
}

.cta-qr {
  display: flex;
  justify-content: center;
}

.qr-card {
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.qr-image {
  width: 160px;
  height: 160px;
  margin-bottom: 12px;
}

.qr-hint {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
  padding: var(--section-padding) 0;
  background-color: var(--bg-white);
}

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

.testimonial-card {
  position: relative;
  padding: 48px 32px;
  background-color: var(--bg-light);
  border-radius: 0;
}

.testimonial-quote {
  position: absolute;
  top: -24px;
  right: 32px;
}

.testimonial-text {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  letter-spacing: 1px;
  margin-bottom: 32px;
}

.testimonial-divider {
  height: 1px;
  background-color: var(--border-medium);
  margin-bottom: 24px;
}

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

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.author-title {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 56px 0 24px;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--text-white);
}

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

.footer-group h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-group a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.footer-group a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.footer-bottom p {
  font-size: 14px;
  color: var(--text-muted);
}

.beian {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.beian:hover {
  color: var(--text-secondary);
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Tablet - 1024px and below */
@media (max-width: 1024px) {
  :root {
    --section-padding: 56px;
  }

  .section-title {
    font-size: 28px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-content {
    gap: 48px;
  }

  .hero-stats {
    gap: 32px;
  }

  .stat-number {
    font-size: 36px;
  }

  .features-grid {
    gap: 24px;
  }

  .feature-title {
    font-size: 24px;
  }

  .process-number {
    font-size: 60px;
  }

  .process-title {
    font-size: 24px;
  }

  .cta-title {
    font-size: 36px;
  }

  .testimonial-text {
    font-size: 20px;
  }
}

/* Tablet Portrait - 768px and below */
@media (max-width: 768px) {
  :root {
    --section-padding: 48px;
    --container-padding: 20px;
  }

  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--bg-white);
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-actions .btn {
    display: none;
  }

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

  /* Hero */
  .hero {
    padding: 120px 0 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

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

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

  .hero-visual {
    min-height: 500px;
  }

  .phone-frame {
    width: 240px;
    height: 500px;
  }

  .floating-card {
    display: none;
  }

  /* About */
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text {
    max-width: 100%;
    text-align: center;
  }

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

  .feature-card-primary {
    grid-row: auto;
  }

  /* Process */
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-number {
    font-size: 48px;
  }

  .process-title {
    font-size: 20px;
  }

  /* Showcase */
  .showcase-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .showcase-visual {
    order: 2;
  }

  .showcase-images {
    display: none;
  }

  /* Download CTA */
  .cta-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-title {
    font-size: 32px;
  }

  .cta-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .download-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

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

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

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
  :root {
    --section-padding: 40px;
    --container-padding: 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-desc {
    font-size: 16px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 14px;
  }

  .btn-large {
    padding: 16px 32px;
  }

  /* Hero */
  .hero-title {
    font-size: 32px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-number {
    font-size: 32px;
  }

  .hero-visual {
    min-height: 400px;
  }

  .phone-frame {
    width: 200px;
    height: 420px;
  }

  /* Features */
  .feature-card {
    padding: 24px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .feature-title {
    font-size: 20px;
  }

  /* Process */
  .process-card {
    padding: 24px;
  }

  .process-number {
    font-size: 40px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 32px 24px;
  }

  .testimonial-text {
    font-size: 18px;
  }

  /* Download CTA */
  .cta-title {
    font-size: 28px;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .download-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Footer */
  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
}

/* Very Small Devices - 320px */
@media (max-width: 320px) {
  .hero-title {
    font-size: 28px;
  }

  .phone-frame {
    width: 180px;
    height: 380px;
  }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary: #b5432f;
    --text-secondary: #333333;
    --border-light: #333333;
  }
}
