/* ==========================================================================
   HEIC to JPG Converter — Design System & Stylesheet
   Designed with clean, human-crafted aesthetics (Apple / Linear inspired)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* --- 1. CSS CUSTOM PROPERTIES (DESIGN TOKENS) --- */
:root {
  /* Brand Colors */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --primary-subtle: #eff6ff;
  --primary-border: #bfdbfe;

  /* Accent Colors */
  --accent-emerald: #059669;
  --accent-emerald-subtle: #ecfdf5;
  --accent-emerald-border: #a7f3d0;
  --accent-amber: #d97706;
  --accent-amber-subtle: #fffbeb;
  --accent-rose: #e11d48;
  --accent-rose-subtle: #fff1f2;

  /* Neutral & Base Colors */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  --bg-elevated: #ffffff;
  --bg-badge: #f1f5f9;
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-focus: #3b82f6;

  /* Typography */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation / Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.07), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-phone: 0 25px 60px -15px rgba(15, 23, 42, 0.22), 0 10px 20px -8px rgba(15, 23, 42, 0.12);

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width: 1200px;
  --max-width-text: 820px;
  --header-height: 72px;
}

/* --- 2. RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

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

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- 3. LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--max-width-text);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-alt {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header .badge {
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

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

/* --- 4. BADGES & CHIPS --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background-color: var(--bg-badge);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.badge-emerald {
  background-color: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
  border-color: var(--accent-emerald-border);
}

.badge-primary {
  background-color: var(--primary-subtle);
  color: var(--primary);
  border-color: var(--primary-border);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
}

/* --- 5. BUTTONS & CTAS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1.375rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2), 0 1px 2px rgba(37, 99, 235, 0.15);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--text-inverse);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.btn-outline {
  background-color: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-color);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  background-color: var(--bg-body);
  border-color: var(--text-muted);
  color: var(--text-main);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

/* Google Play Badge Button */
.btn-playstore {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.75rem 1.375rem;
  border-radius: var(--radius-lg);
  border: 1px solid #1e293b;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.btn-playstore:hover {
  background-color: #1e293b;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-playstore .playstore-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.btn-playstore .playstore-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn-playstore .playstore-sub {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 2px;
}

.btn-playstore .playstore-main {
  font-size: 1.0625rem;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1.1;
  color: #ffffff;
}

/* --- 6. NAVIGATION BAR --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: var(--border-color);
  box-shadow: var(--shadow-xs);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-xs);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
}

.brand-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--transition-fast);
  padding: 0.375rem 0;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
}

.hamburger svg {
  width: 24px;
  height: 24px;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
}

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

/* --- 7. HERO SECTION --- */
.hero-section {
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.25rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

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

.hero-sub {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-proof-chips {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.proof-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.proof-chip svg {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* --- 8. REALISTIC CSS PHONE MOCKUP --- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 290px;
  height: 590px;
  background-color: #0b0f19;
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  border: 4px solid #1e293b;
  box-sizing: border-box;
}

/* Speaker slit / Camera notch */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 18px;
  background-color: #000000;
  border-radius: 20px;
  z-index: 10;
}

/* Inner Screen Container */
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background-color: #ffffff;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Floating callout badges on hero */
.floating-chip {
  position: absolute;
  background-color: var(--bg-card);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 5;
  animation: float 4s ease-in-out infinite alternate;
}

.floating-chip-1 {
  bottom: 60px;
  left: -24px;
  animation-delay: 0s;
}

.floating-chip-2 {
  top: 70px;
  right: -24px;
  animation-delay: 1.5s;
}

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

.chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-subtle);
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.chip-icon.emerald {
  background-color: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
}

.chip-info {
  display: flex;
  flex-direction: column;
}

.chip-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.chip-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- 9. TRUST STRIP --- */
.trust-strip {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon-box.emerald {
  background-color: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
}

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

.trust-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.trust-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- 10. PAIN VS SOLUTION SECTION --- */
.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.comparison-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.comparison-card.pain {
  border-top: 4px solid var(--accent-rose);
}

.comparison-card.solution {
  border-top: 4px solid var(--accent-emerald);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.comparison-header .tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
}

.comparison-card.pain .tag {
  background-color: var(--accent-rose-subtle);
  color: var(--accent-rose);
}

.comparison-card.solution .tag {
  background-color: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
}

.comparison-title {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin-top: 1rem;
}

.comparison-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.comparison-list-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-card.pain .comparison-list-item svg {
  color: var(--accent-rose);
}

.comparison-card.solution .comparison-list-item svg {
  color: var(--accent-emerald);
}

/* --- 11. FEATURES GRID --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform var(--transition-fast);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.05);
}

.feature-card.emerald .feature-icon-wrapper {
  background-color: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
}

.feature-title {
  font-size: 1.1875rem;
  margin-bottom: 0.625rem;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- 12. INTERACTIVE SCREENSHOT GALLERY --- */
.screenshots-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.gallery-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-tab {
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.gallery-tab:hover {
  background-color: #ffffff;
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.gallery-tab.active {
  background-color: #ffffff;
  border-color: var(--primary);
  border-left-width: 4px;
  box-shadow: var(--shadow-md);
}

.gallery-tab-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gallery-tab.active .gallery-tab-icon {
  background-color: var(--primary);
  color: #ffffff;
}

.gallery-tab-text {
  display: flex;
  flex-direction: column;
}

.gallery-tab-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.gallery-tab-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

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

.gallery-phone-mockup {
  position: relative;
  width: 300px;
  height: 610px;
  background-color: #0b0f19;
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  border: 4px solid #1e293b;
}

.gallery-phone-mockup::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 18px;
  background-color: #000000;
  border-radius: 20px;
  z-index: 10;
}

.gallery-screen-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background-color: #ffffff;
}

.gallery-screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-screen-frame img.active {
  display: block;
  opacity: 1;
}

/* --- 13. HOW IT WORKS (3 STEPS) --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- 14. FAQ ACCORDION --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.faq-item.active {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  gap: 1rem;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --- 15. BOTTOM CTA BANNER --- */
.cta-banner-section {
  padding-bottom: 5rem;
}

.cta-banner-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0) 70%);
  pointer-events: none;
}

.cta-banner-title {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner-desc {
  color: #94a3b8;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2.25rem;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --- 16. FOOTER --- */
.site-footer {
  margin-top: auto;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
  padding-bottom: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- 17. LEGAL & DOCUMENTATION PAGES (Privacy Policy, Terms, About) --- */
.doc-page-header {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.doc-meta-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.doc-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.doc-content-wrap {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.doc-body {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
}

.doc-body h2 {
  font-size: 1.625rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.doc-body h3 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.doc-body p {
  margin-bottom: 1.25rem;
}

.doc-body ul, .doc-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.doc-body li {
  margin-bottom: 0.5rem;
}

.doc-body hr {
  border: none;
  height: 1px;
  background-color: var(--border-color);
  margin: 2.5rem 0;
}

.doc-callout {
  background-color: var(--primary-subtle);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-main);
}

.doc-callout.emerald {
  background-color: var(--accent-emerald-subtle);
  border-left-color: var(--accent-emerald);
}

.doc-callout-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Data Safety / Permissions Tables */
.doc-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: #ffffff;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.doc-table th {
  background-color: var(--bg-card-alt);
  padding: 0.875rem 1rem;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
}

.doc-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.doc-table tr:last-child td {
  border-bottom: none;
}

/* --- 18. ABOUT PAGE VALUE CARDS --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.value-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

.value-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* --- 19. CONTACT PAGE & FORM --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--text-main);
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-feedback {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: none;
  font-size: 0.875rem;
}

.form-feedback.success {
  background-color: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald-border);
  display: block;
}

.form-feedback.error {
  background-color: var(--accent-rose-subtle);
  color: var(--accent-rose);
  border: 1px solid #fecdd3;
  display: block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-icon {
  animation: spin 1s linear infinite;
}

/* --- 20. RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    align-items: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-proof-chips {
    justify-content: center;
  }

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

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

  .gallery-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .gallery-tabs {
    order: 2;
  }

  .gallery-visual {
    order: 1;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

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

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

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

  .hamburger {
    display: block;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

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

  .problem-solution-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .floating-chip {
    display: none;
  }

  .cta-banner-card {
    padding: 2.5rem 1.5rem;
  }

  .cta-banner-title {
    font-size: 1.875rem;
  }

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

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