/* SnapSlot Website — Global Styles
   Design tokens from Flutter app theme */

/* === CSS Variables === */
:root {
  /* Brand */
  --brand-primary: #4A6FA5;
  --ios-blue: #007AFF;

  /* Backgrounds */
  --bg-grouped: #F2F2F7;
  --bg-card: #FFFFFF;
  --bg-elevated: #FFFFFF;

  /* Text */
  --text-primary: #1C1C1E;
  --text-secondary: #8E8E93;
  --text-tertiary: #AEAEB2;
  --text-on-primary: #FFFFFF;

  /* Borders */
  --separator: #C6C6C8;
  --placeholder: #C7C7CC;

  /* Radius (from AppRadius) */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --radius-xxl: 20px;
  --radius-full: 999px;

  /* Spacing (from AppSpacing) */
  --spacing-xxs: 2px;
  --spacing-xs: 6px;
  --spacing-sm: 10px;
  --spacing-md: 16px;
  --spacing-lg: 20px;
  --spacing-xl: 28px;
  --spacing-xxl: 36px;
  --spacing-xxxl: 48px;
  --spacing-section: 35px;

  /* Glass */
  --glass-blur: 20px;
  --glass-opacity: 0.80;
  --glass-border-opacity: 0.08;
  --glass-highlight-opacity: 0.15;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display',
    'PingFang SC', 'Helvetica Neue', 'Roboto', 'Segoe UI', sans-serif;

  /* Shadows — zero elevation design (iOS style) */
  --shadow-none: none;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 52px;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-grouped: #000000;
    --bg-card: #1C1C1E;
    --bg-elevated: #2C2C2E;
    --text-primary: #FFFFFF;
    --text-secondary: #8E8E93;
    --text-tertiary: #636366;
    --text-on-primary: #FFFFFF;
    --separator: #38383A;
    --placeholder: #636366;
    --glass-opacity: 0.70;
  }
}

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

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

body {
  font-family: var(--font-family);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.41px;
  color: var(--text-primary);
  background-color: var(--bg-grouped);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--ios-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* === Typography === */
.text-large-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.37px;
  line-height: 1.2;
}

.text-title1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.36px;
  line-height: 1.2;
}

.text-title2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.35px;
  line-height: 1.3;
}

.text-title3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.38px;
  line-height: 1.3;
}

.text-body {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.41px;
  line-height: 1.47;
}

.text-footnote {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.08px;
  line-height: 1.38;
}

.text-section-header {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.08px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

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

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

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-xxxl) 0;
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  background-color: rgba(255, 255, 255, var(--glass-opacity));
  border-bottom: 0.5px solid var(--separator);
  transition: background-color 0.3s;
}

@media (prefers-color-scheme: dark) {
  .nav {
    background-color: rgba(28, 28, 30, var(--glass-opacity));
  }
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
}

.nav-logo svg {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav-links a {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ios-blue);
  text-decoration: none;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--separator);
  transition: all 0.2s;
  user-select: none;
}

.lang-switch:hover {
  border-color: var(--ios-blue);
  color: var(--ios-blue);
}

.lang-switch .active-lang {
  color: var(--ios-blue);
  font-weight: 600;
}

/* Hamburger menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 0.5px solid var(--separator);
  padding: var(--spacing-md);
  flex-direction: column;
  gap: var(--spacing-xs);
}

@media (prefers-color-scheme: dark) {
  .nav-mobile {
    background-color: rgba(28, 28, 30, 0.98);
  }
}

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

.nav-mobile a {
  display: block;
  padding: 12px var(--spacing-md);
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background-color 0.2s;
}

.nav-mobile a:hover {
  background-color: var(--bg-card);
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}

/* === Hero Section === */
.hero {
  padding-top: calc(var(--nav-height) + var(--spacing-xxxl));
  padding-bottom: var(--spacing-xxxl);
  background: linear-gradient(135deg,
    #4A6FA5 0%,
    #5B7FB5 30%,
    #6B8FC5 60%,
    #7B9FD5 100%
  );
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

/* Geometric decorations */
.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 10%;
  width: 200px;
  height: 200px;
  border-radius: 30%;
  background: rgba(255, 255, 255, 0.04);
  transform: rotate(45deg);
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxxl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--spacing-md);
}

.hero-text p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: var(--spacing-xl);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 14px 28px;
  background-color: #FFFFFF;
  color: var(--brand-primary);
  font-size: 17px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* Phone mockup */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 260px;
  height: 520px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  width: 80px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}

.phone-screen-icon {
  width: 48px;
  height: 48px;
  opacity: 0.7;
}

.phone-screen-text {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
}

.phone-screen-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.phone-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.phone-bar:nth-child(1) { width: 80%; }
.phone-bar:nth-child(2) { width: 60%; }
.phone-bar:nth-child(3) { width: 70%; }
.phone-bar:nth-child(4) { width: 50%; }

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 32px;
  }
  .hero-mockup {
    display: none;
  }
}

/* === Advantage Cards === */
.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: calc(-1 * var(--spacing-xxxl));
  position: relative;
  z-index: 2;
}

.advantage-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl) var(--spacing-lg);
  border: 0.5px solid var(--separator);
  text-align: center;
  transition: transform 0.2s;
}

.advantage-card:hover {
  transform: translateY(-4px);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--spacing-md);
  color: var(--brand-primary);
}

.advantage-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.advantage-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .advantages {
    grid-template-columns: 1fr;
    margin-top: var(--spacing-lg);
  }
}

/* === Features Grid === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  border: 0.5px solid var(--separator);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--spacing-sm);
  color: var(--brand-primary);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* === Workflow === */
.workflow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: var(--spacing-md);
  -webkit-overflow-scrolling: touch;
}

.workflow-step {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.workflow-step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 100px;
  max-width: 120px;
}

.workflow-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  flex-shrink: 0;
}

.workflow-step-content span {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.workflow-arrow {
  color: var(--text-tertiary);
  font-size: 20px;
  padding: 0 4px;
  margin-top: 8px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .workflow {
    flex-direction: column;
    align-items: stretch;
    overflow-x: visible;
  }
  .workflow-step {
    flex-direction: column;
  }
  .workflow-step-content {
    flex-direction: row;
    max-width: none;
    gap: var(--spacing-md);
    text-align: left;
  }
  .workflow-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
    margin-top: 0;
  }
}

/* === Selection Highlights === */
.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.highlight-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl) var(--spacing-lg);
  border: 0.5px solid var(--separator);
  text-align: center;
  transition: transform 0.2s;
}

.highlight-card:hover {
  transform: translateY(-2px);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto var(--spacing-md);
  color: var(--ios-blue);
}

.highlight-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.highlight-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .highlights {
    grid-template-columns: 1fr;
  }
}

/* === Download CTA Section === */
.cta-section {
  text-align: center;
  padding: var(--spacing-xxxl) 0;
}

.cta-section h2 {
  margin-bottom: var(--spacing-md);
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 14px 28px;
  background: var(--text-primary);
  color: var(--bg-grouped);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: opacity 0.2s;
}

.cta-btn:hover {
  opacity: 0.85;
  text-decoration: none;
}

.cta-btn svg {
  width: 22px;
  height: 22px;
}

.cta-coming-soon {
  display: inline-block;
  margin-top: var(--spacing-sm);
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* === Footer === */
.footer {
  border-top: 0.5px solid var(--separator);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-brand .nav-logo {
  font-size: 18px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: var(--spacing-xxl);
}

.footer-links-group h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
}

.footer-links-group a {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
  padding: 4px 0;
  text-decoration: none;
}

.footer-links-group a:hover {
  color: var(--ios-blue);
}

.footer-bottom {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-md);
  border-top: 0.5px solid var(--separator);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

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

.footer-bottom a {
  font-size: 13px;
  color: var(--text-tertiary);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }
  .footer-links {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* === Legal Pages (Privacy, Terms) === */
.legal-page {
  padding-top: calc(var(--nav-height) + var(--spacing-xxl));
  padding-bottom: var(--spacing-xxxl);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--spacing-xxl);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--nav-height) + var(--spacing-lg));
}

.legal-toc h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
}

.legal-toc a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: var(--spacing-sm);
  transition: all 0.2s;
}

.legal-toc a:hover,
.legal-toc a.active {
  color: var(--ios-blue);
  border-left-color: var(--ios-blue);
}

.legal-toc-mobile {
  display: none;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--separator);
  margin-bottom: var(--spacing-lg);
}

.legal-toc-mobile-header {
  padding: var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}

.legal-toc-mobile-header svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.legal-toc-mobile.open .legal-toc-mobile-header svg {
  transform: rotate(180deg);
}

.legal-toc-mobile-content {
  display: none;
  padding: 0 var(--spacing-md) var(--spacing-md);
}

.legal-toc-mobile.open .legal-toc-mobile-content {
  display: block;
}

.legal-toc-mobile-content a {
  display: block;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-secondary);
  text-decoration: none;
}

.legal-content {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--separator);
  padding: var(--spacing-xxl);
}

.legal-content .last-updated {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
}

.legal-content h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: var(--spacing-xxl);
  margin-bottom: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 0.5px solid var(--separator);
}

.legal-content h2:first-of-type {
  border-top: none;
  margin-top: var(--spacing-xl);
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.legal-content p {
  margin-bottom: var(--spacing-md);
  line-height: 1.65;
}

.legal-content ul {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

.legal-content ul li {
  list-style: disc;
  margin-bottom: var(--spacing-xs);
  line-height: 1.6;
}

.legal-content a {
  color: var(--ios-blue);
}

@media (max-width: 1024px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    display: none;
  }
  .legal-toc-mobile {
    display: block;
  }
}

@media (max-width: 480px) {
  .legal-content {
    padding: var(--spacing-lg);
  }
}

/* === Support Page === */
.support-page {
  padding-top: calc(var(--nav-height) + var(--spacing-xxl));
  padding-bottom: var(--spacing-xxxl);
}

.support-header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

.support-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.support-header p {
  color: var(--text-secondary);
  font-size: 17px;
}

/* Contact card */
.contact-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--separator);
  padding: var(--spacing-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xxl);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-primary), var(--ios-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: #FFFFFF;
}

.contact-info h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-info p {
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-action {
  margin-left: auto;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 10px 20px;
  background: var(--ios-blue);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-btn:hover {
  opacity: 0.85;
  text-decoration: none;
}

@media (max-width: 768px) {
  .contact-card {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
  .contact-action {
    margin-left: 0;
  }
}

/* FAQ Accordion */
.faq-section {
  margin-bottom: var(--spacing-xxl);
}

.faq-group-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
  margin-top: var(--spacing-xl);
  padding-left: var(--spacing-md);
}

.faq-group-title:first-child {
  margin-top: 0;
}

.faq-list {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--separator);
  overflow: hidden;
}

.faq-item {
  border-bottom: 0.5px solid var(--separator);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  background: none;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: var(--bg-grouped);
}

.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: var(--spacing-md);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 var(--spacing-lg) var(--spacing-md);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* Quick links */
.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.quick-link {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--separator);
  padding: var(--spacing-lg);
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  transition: transform 0.2s;
}

.quick-link:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.quick-link-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-grouped);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-link-icon svg {
  width: 20px;
  height: 20px;
  color: var(--ios-blue);
}

.quick-link h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.quick-link p {
  font-size: 13px;
  color: var(--text-secondary);
}

@media (max-width: 480px) {
  .quick-links {
    grid-template-columns: 1fr;
  }
}

/* === Section Title === */
.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

.section-title h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.section-title p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* === Utility === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Smooth scroll offset for anchors */
[id] {
  scroll-margin-top: calc(var(--nav-height) + var(--spacing-lg));
}
