/* ============================================
   StitchDesk Website Styles
   African Fashion-Inspired Color Scheme
   ============================================ */

/* CSS Variables */
:root {
  /* Primary Colors - Rich Terracotta */
  --primary: #c65d4a;
  --primary-light: #e08b7a;
  --primary-dark: #9e4a3b;
  --primary-surface: #fdf5f3;

  /* Secondary Colors - Kente Gold */
  --secondary: #d4a84b;
  --secondary-light: #e8c97a;
  --secondary-dark: #b8912e;

  /* Accent Colors - Deep Teal */
  --accent: #1d6969;
  --accent-light: #3d9999;

  /* Neutral Colors */
  --background: #f9f5f0;
  --surface: #ffffff;
  --card: #ffffff;
  --divider: #e8e2db;

  /* Text Colors */
  --text-primary: #2c2420;
  --text-secondary: #6e6560;
  --text-tertiary: #9a948e;

  /* Status Colors */
  --success: #2e8b57;
  --success-light: #d4edda;
  --warning: #d4a84b;
  --warning-light: #fff3cd;
  --error: #c65d4a;
  --error-light: #f8d7da;
  --info: #1d6969;
  --info-light: #d1ecec;

  /* Order Stage Colors */
  --stage-new: #1d6969;
  --stage-sewing: #8b5a2b;
  --stage-fitting: #2e8b57;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(44, 36, 32, 0.05);
  --shadow-md: 0 4px 6px rgba(44, 36, 32, 0.07);
  --shadow-lg: 0 10px 25px rgba(44, 36, 32, 0.1);
  --shadow-xl: 0 20px 50px rgba(44, 36, 32, 0.15);

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

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

  /* Container */
  --container-width: 1200px;
  --container-padding: 20px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}
h4 {
  font-size: 1.125rem;
}

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

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

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

/* Section Styles */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--primary-surface);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.section-title {
  margin-bottom: 16px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

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

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

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

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
}

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

.btn-lg {
  padding: 18px 36px;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(249, 245, 240, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 12px 0;
  border-bottom-color: var(--divider);
  box-shadow: var(--shadow-sm);
}

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

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

.logo-img {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 120px;
  background: linear-gradient(
    180deg,
    var(--primary-surface) 0%,
    var(--background) 100%
  );
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(
    circle at center,
    rgba(198, 93, 74, 0.08) 0%,
    transparent 70%
  );
  animation: pulse 8s ease-in-out infinite;
}

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

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

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: white;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
}

.hero-badge i {
  color: var(--secondary);
}

.hero-title {
  margin-bottom: 24px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

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

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-top: 8px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--divider);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

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

.phone-frame {
  width: 320px;
  height: 640px;
  background: linear-gradient(145deg, #2c2420, #1a1612);
  border-radius: 45px;
  padding: 12px;
  box-shadow:
    var(--shadow-xl),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--background);
  border-radius: 35px;
  overflow: hidden;
}

.app-preview {
  padding: 20px;
  height: 100%;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.app-time {
  font-weight: 600;
  font-size: 0.9rem;
}

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

.app-header i {
  color: var(--primary);
}

.app-greeting {
  margin-bottom: 25px;
}

.app-greeting h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.app-greeting p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.app-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 25px;
}

.app-stat-card {
  padding: 18px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--divider);
  text-align: center;
}

.app-stat-card.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.app-stat-card i {
  font-size: 1.3rem;
  margin-bottom: 8px;
  display: block;
}

.app-stat-card span {
  font-size: 1.8rem;
  font-weight: 700;
  display: block;
}

.app-stat-card small {
  font-size: 0.75rem;
  opacity: 0.8;
}

.app-orders {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-order {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--divider);
}

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

.order-info {
  flex: 1;
}

.order-info span {
  font-weight: 600;
  display: block;
  font-size: 0.95rem;
}

.order-info small {
  color: var(--text-tertiary);
  font-size: 0.8rem;
}

.order-badge {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
}

.order-badge.fitting {
  background: var(--success-light);
  color: var(--success);
}

.order-badge.sewing {
  background: #f5e6d3;
  color: #8b5a2b;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  animation: float 3s ease-in-out infinite;
}

.floating-card i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
}

.floating-card span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.floating-card strong {
  font-size: 1rem;
  color: var(--text-primary);
}

.card-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.card-1 i {
  background: var(--success-light);
  color: var(--success);
}

.card-2 {
  bottom: 20%;
  left: -30px;
  animation-delay: 1.5s;
}

.card-2 i {
  background: var(--info-light);
  color: var(--info);
}

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

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
}

/* ============================================
   Trusted By Section
   ============================================ */
.trusted-by {
  padding: 60px 0;
  background: var(--background);
}

.trusted-label {
  text-align: center;
  color: var(--text-tertiary);
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.trusted-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-tertiary);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.6;
  transition: opacity var(--transition-normal);
}

.trusted-logo:hover {
  opacity: 1;
}

.trusted-logo i {
  color: var(--secondary);
}

/* ============================================
   Features Section
   ============================================ */
.features {
  background: var(--background);
}

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

.feature-card {
  padding: 40px;
  background: var(--card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--divider);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--icon-color),
    color-mix(in srgb, var(--icon-color) 80%, white)
  );
  border-radius: var(--radius-lg);
  color: white;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card > p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-list i {
  color: var(--success);
  font-size: 0.85rem;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
  background: var(--surface);
}

.steps-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.steps-container::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: translateX(-50%);
}

.step {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.step:last-child {
  margin-bottom: 0;
}

.step:nth-child(even) {
  direction: rtl;
}

.step:nth-child(even) > * {
  direction: ltr;
}

.step-number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
}

.step-content h3 {
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-secondary);
}

.step-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 3px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

/* ============================================
   Showcase Section
   ============================================ */
.showcase {
  background: linear-gradient(135deg, var(--text-primary) 0%, #3d3530 100%);
  padding: 120px 0;
  color: white;
}

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

.showcase-content .section-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary-light);
}

.showcase-content .section-title {
  color: white;
}

.showcase-content > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  margin-bottom: 40px;
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.showcase-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.showcase-feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md);
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.showcase-feature h4 {
  color: white;
  margin-bottom: 4px;
}

.showcase-feature p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.showcase-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.showcase-phone {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #3d3530, #2c2420);
  border-radius: 40px;
  padding: 10px;
  box-shadow: var(--shadow-xl);
}

.showcase-screen {
  width: 100%;
  height: 100%;
  background: var(--background);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.measurement-preview {
  width: 100%;
}

.measurement-header {
  padding: 16px;
  background: var(--primary);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  color: white;
}

.measurement-header h4 {
  color: white;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.measurement-body {
  background: white;
  padding: 20px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.measurement-item {
  padding: 12px;
  background: var(--background);
  border-radius: var(--radius-sm);
  text-align: center;
}

.measurement-item span {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 4px;
}

.measurement-item strong {
  font-size: 1.3rem;
  color: var(--primary);
}

.showcase-decoration {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.2;
  border-radius: 50%;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
  background: var(--background);
}

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

.testimonial-card {
  padding: 40px;
  background: var(--card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--divider);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: var(--secondary);
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}

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

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

.testimonial-info strong {
  display: block;
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
  background: var(--surface);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.toggle-label {
  font-weight: 500;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.toggle-label.active {
  color: var(--text-primary);
}

.toggle-switch {
  width: 56px;
  height: 32px;
  background: var(--divider);
  border-radius: var(--radius-full);
  padding: 4px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toggle-switch.active {
  background: var(--primary);
}

.toggle-handle {
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.toggle-switch.active .toggle-handle {
  transform: translateX(24px);
}

.save-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--success-light);
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-left: 8px;
}

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

.pricing-card {
  padding: 40px;
  background: var(--card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--divider);
  position: relative;
  transition: all var(--transition-normal);
}

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

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.pricing-header {
  text-align: center;
  margin-bottom: 30px;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-header p {
  color: var(--text-tertiary);
  font-size: 0.95rem;
}

.pricing-price {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--divider);
}

.pricing-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  vertical-align: top;
}

.pricing-price .amount {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}

.pricing-price .period {
  color: var(--text-tertiary);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.pricing-features li i {
  width: 20px;
  color: var(--success);
}

.pricing-features li.disabled {
  color: var(--text-tertiary);
}

.pricing-features li.disabled i {
  color: var(--text-tertiary);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
  background: var(--background);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--divider);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  color: var(--text-tertiary);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Download Section
   ============================================ */
.download {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  overflow: hidden;
}

.download-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.download-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.download-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.download-content h2 {
  color: white;
  margin-bottom: 20px;
}

.download-content > p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

.download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  color: white;
  transition: all var(--transition-normal);
}

.store-button:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

.store-button i {
  font-size: 2rem;
}

.store-button small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
}

.store-button span {
  font-size: 1.25rem;
  font-weight: 700;
}

.download-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-placeholder {
  width: 120px;
  height: 120px;
  background: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 3rem;
}

.download-qr span {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 60px;
}

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

.footer-brand .logo-text {
  color: white;
}

.footer-brand > p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-links h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer-newsletter h4 {
  color: white;
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-newsletter > p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: white;
  font-family: inherit;
  font-size: 1rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-form button {
  width: 52px;
  height: 52px;
  padding: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-bottom i {
  color: var(--primary);
}

/* ============================================
   Animations (AOS-like)
   ============================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

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

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

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

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

  .hero-visual {
    display: none;
  }

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

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .showcase-content {
    text-align: center;
  }

  .showcase-features {
    max-width: 400px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
  }

  section {
    padding: 80px 0;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-cta {
    flex-direction: column;
  }

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

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

  .stat-divider {
    width: 50px;
    height: 1px;
  }

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

  .steps-container::before {
    left: 40px;
  }

  .step {
    grid-template-columns: auto 1fr;
    gap: 20px;
  }

  .step-number {
    display: none;
  }

  .step:nth-child(even) {
    direction: ltr;
  }

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

  .store-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .feature-card,
  .testimonial-card,
  .pricing-card {
    padding: 30px 24px;
  }

  .trusted-logos {
    gap: 30px;
  }

  .trusted-logo {
    font-size: 0.85rem;
  }
}

/* Mobile Navigation */
.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  gap: 0;
}

.nav-links.active li {
  padding: 16px 0;
  border-bottom: 1px solid var(--divider);
}

.nav-links.active li:last-child {
  border-bottom: none;
}

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

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

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