/* Me.thod — Premium Visual Style System
   Brand-aligned with AppTheme:
   accent #F06342 · background #0A0A0C · card rgba(28,28,30,0.65) · Manrope */

:root {
  --bg: #0A0A0C;
  --bg-2: #050506;
  --surface: rgba(28, 28, 30, 0.65);
  --surface-solid: #1C1C1E;
  --accent: #F06342;
  --accent-rgb: 240, 99, 66;
  --accent-glow: rgba(240, 99, 66, 0.3);
  --text: #F3F4F6;
  --text-muted: #9CA3AF;
  --secondary: #D1D5DB;
  --border: rgba(255, 255, 255, 0.06);
  --border-focus: rgba(240, 99, 66, 0.5);
  --success: #10B981;
  --success-glow: rgba(16, 185, 129, 0.15);
  --danger: #EF4444;
  --danger-glow: rgba(239, 68, 68, 0.15);
  --warning: #F59E0B;
  --maxw: 1100px;
  --maxw-narrow: 800px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--bg);
  background-image: radial-gradient(circle at 50% -20%, rgba(240, 99, 66, 0.15) 0%, var(--bg) 60%),
    radial-gradient(circle at 0% 50%, rgba(240, 99, 66, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 100% 80%, rgba(16, 185, 129, 0.02) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: -0.2px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
}

p {
  color: var(--secondary);
}

.accent-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-title {
  background: linear-gradient(135deg, var(--accent) 0%, #ff8e75 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Layout Elements ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header.header-overlay {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(10, 10, 12, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand .logo-container {
  display: flex;
  align-items: center;
  position: relative;
}

.brand img {
  position: relative;
  z-index: 1;
}

.brand .logo-text {
  height: 21px;
  width: auto;
  opacity: 0.95;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.site-header nav a:hover {
  color: var(--text);
}

.site-header nav a.active {
  color: var(--accent);
}

/* ---------- Language Dropdown ---------- */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  transition: var(--transition);
}

.lang-dropdown-btn:hover {
  color: var(--text);
}

.lang-dropdown-btn .chevron-icon {
  transition: transform 0.3s ease;
}

.lang-dropdown:hover .lang-dropdown-btn .chevron-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 120px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lang-dropdown:hover .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.lang-dropdown-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--text-muted) !important;
  text-decoration: none;
  transition: var(--transition);
  text-align: left;
}

.lang-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text) !important;
}

.lang-dropdown-menu a.active {
  color: var(--accent) !important;
  background: rgba(240, 99, 66, 0.08);
}

/* ---------- Buttons & Badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #db4827 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(240, 99, 66, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(240, 99, 66, 0.5);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.badge:hover {
  border-color: rgba(240, 99, 66, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

.badge.soon {
  opacity: 0.65;
  cursor: not-allowed;
}

.badge .tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(240, 99, 66, 0.4);
}

.badge svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  padding: 120px 0 60px;
  text-align: left;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
}

.hero-bg-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(10, 10, 12, 0.92) 30%, rgba(10, 10, 12, 0.6) 70%, rgba(10, 10, 12, 0.25) 100%);
  pointer-events: none;
}

.hero-bg-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

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

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  text-align: left;
  max-width: 100%;
}

.hero p.lead {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--secondary);
  margin-bottom: 40px;
  text-align: left;
  max-width: 600px;
}

.hero .cta-row {
  justify-content: flex-start;
  width: 100%;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ---------- Smartphone Mockup Slider ---------- */
.mockup-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.mockup-glow {
  position: absolute;
  width: 340px;
  height: 520px;
  background: radial-gradient(circle, rgba(240, 99, 66, 0.12) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.phone-mockup {
  position: relative;
  width: 280px;
  aspect-ratio: 2619 / 5436;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(240, 99, 66, 0.1);
  overflow: hidden;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.slider-wrapper {
  display: flex;
  width: 800%;
  /* 8 slides */
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide {
  width: 12.5%;
  /* 1/8 */
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slider Controls */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  max-width: 100%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  pointer-events: none;
  z-index: 10;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(28, 28, 30, 0.75);
  border: 1px solid var(--border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
}

/* Responsive adjustments for Hero section */
@media (max-width: 900px) {
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
    text-align: center;
  }

  .hero-bg-slide::after {
    background: linear-gradient(to bottom, rgba(10, 10, 12, 0.92) 20%, rgba(10, 10, 12, 0.85) 100%);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

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

  .hero h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 16px;
  }

  .hero p.lead {
    text-align: center;
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 100%;
  }

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

  .slider-nav {
    display: none;
    /* Hide edge-to-edge arrows on mobile */
  }
}


.slider-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  position: relative;
  z-index: 5;
}

.dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.dot-btn.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* Slide Caption */
.slide-caption-container {
  text-align: center;
  margin-top: 16px;
  min-height: 48px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

.slide-caption {
  font-size: 15px;
  color: var(--secondary);
  font-weight: 600;
  transition: var(--transition);
}

/* ---------- Grid and Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

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

/* ---------- Comparison Section ---------- */
.comparison-container {
  overflow-x: auto;
  margin-top: 40px;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 22px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.comparison-table th {
  font-weight: 800;
  color: #ffffff;
  font-size: 16px;
  background: var(--bg);
  position: sticky;
  top: 0;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  width: 25%;
  font-weight: 700;
  color: #ffffff;
  border-left: none;
}

/* Highlight Column (Me.thod) */
.col-highlight {
  width: 28%;
  background: linear-gradient(180deg, rgba(240, 99, 66, 0.08) 0%, rgba(240, 99, 66, 0.02) 100%);
  border-left: 1px solid rgba(240, 99, 66, 0.25) !important;
  border-right: 1px solid rgba(240, 99, 66, 0.25) !important;
}

th.col-highlight {
  border-top: 1px solid rgba(240, 99, 66, 0.25) !important;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--accent);
}

td.col-highlight {
  text-align: left;
  font-weight: 500;
}

tr:last-child td.col-highlight {
  border-bottom: 1px solid rgba(240, 99, 66, 0.25) !important;
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

/* Rest of columns */
.col-muted {
  width: 23%;
  color: var(--text-muted);
  opacity: 0.65;
  transition: var(--transition);
}

.comparison-table tr:hover .col-muted {
  opacity: 0.85;
}

.comparison-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.01);
}

.comparison-table tr:hover td.col-highlight {
  background-color: rgba(240, 99, 66, 0.06);
}

/* Feature detail typography inside cells */
.cell-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.cell-desc {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.col-highlight .cell-title {
  color: var(--accent);
}

.col-highlight .cell-desc {
  color: var(--secondary);
}

/* Status Icons */
.status-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.status-icon.yes {
  color: var(--success);
}

.status-icon.no {
  color: var(--danger);
}

.status-icon.partial {
  color: var(--warning);
}

/* Mobile Comparison Toggles (Hidden on Desktop) */
.mobile-comparison-nav {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.mobile-tab-btn {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-tab-btn.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 2px 10px rgba(240, 99, 66, 0.3);
}

.mobile-comparison-cards {
  display: none;
}

.comparison-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
}

.comparison-card.highlight {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(240, 99, 66, 0.08);
  background: linear-gradient(180deg, rgba(28, 28, 30, 0.8) 0%, rgba(240, 99, 66, 0.03) 100%);
}

.comparison-card-header {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--accent);
  text-align: center;
}

.comparison-card-row {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.comparison-card-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.comparison-card-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

/* ---------- The Science Section ---------- */
.audience-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.aud-tab-btn {
  padding: 12px 28px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.aud-tab-btn:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.aud-tab-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.audience-panel {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
  margin-bottom: 80px;
}

.audience-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.audience-content h3 {
  font-size: 26px;
  margin-bottom: 16px;
}

.audience-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.audience-quote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  font-style: italic;
  color: var(--secondary);
}

.audience-visual {
  display: flex;
  justify-content: center;
}

.audience-visual img {
  max-width: 100%;
  max-height: 380px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
}

/* Pillar Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 99, 66, 0.25);
  box-shadow: 0 12px 30px rgba(240, 99, 66, 0.05);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(240, 99, 66, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.pillar-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

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

/* ---------- Utility / Feature Section ---------- */
.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.utility-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.utility-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(28, 28, 30, 0.8);
}

.utility-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.utility-card h3 svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  fill: currentColor;
}

.utility-card p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--secondary);
}

/* ---------- Interactive FAQ Section ---------- */
.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.faq-tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.faq-tab-btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-tab-btn.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(240, 99, 66, 0.2);
}

.faq-panel {
  display: none;
}

.faq-panel.active {
  display: block;
}

.accordion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s ease;
  color: var(--accent);
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: var(--transition);
}

/* Horizontal line */
.accordion-icon::before {
  top: 9px;
  left: 3px;
  width: 14px;
  height: 2px;
}

/* Vertical line */
.accordion-icon::after {
  top: 3px;
  left: 9px;
  width: 2px;
  height: 14px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(135deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  /* arbitrary large value for smooth auto-height */
  transition: max-height 0.3s cubic-bezier(0.85, 0, 0.15, 1);
  padding-bottom: 20px;
}

.accordion-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--secondary);
}

/* ---------- CTA Footer Callout ---------- */
.footer-cta {
  background: linear-gradient(135deg, rgba(240, 99, 66, 0.15) 0%, rgba(28, 28, 30, 0.4) 100%);
  border: 1px solid rgba(240, 99, 66, 0.2);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  margin-top: 60px;
  backdrop-filter: blur(10px);
}

.footer-cta h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.footer-cta p {
  font-size: 16.5px;
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 80px;
  color: var(--text-muted);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer .links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer .links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

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

/* ---------- Legal Document View ---------- */
.doc {
  padding: 60px 0 100px;
}

.doc h1 {
  font-size: clamp(28px, 5vw, 40px);
  margin-bottom: 12px;
}

.doc .meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 30px;
}

.doc h2 {
  font-size: 22px;
  margin: 36px 0 16px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.doc h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.doc p,
.doc li {
  color: var(--secondary);
  margin-bottom: 16px;
}

.doc ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.doc li {
  margin-bottom: 8px;
}

.doc a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.doc a:hover {
  text-decoration: underline;
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Media Queries ---------- */
@media (max-width: 900px) {
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .audience-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .site-header nav {
    gap: 16px;
  }

  .site-header nav a {
    font-size: 14px;
  }

  .section-padding {
    padding: 60px 0;
  }

  /* Comparison table transformation */
  .comparison-container {
    overflow-x: visible;
  }

  .comparison-table {
    display: none;
    /* Hide default table */
  }

  .mobile-comparison-nav,
  .mobile-comparison-cards {
    display: flex;
    /* Show card switcher */
  }

  .mobile-comparison-cards {
    flex-direction: column;
  }

  .comparison-card {
    display: none;
  }

  .comparison-card.active {
    display: block;
    animation: fadeIn 0.4s ease;
  }
}

@media (max-width: 480px) {
  .site-header .wrap {
    height: auto;
    padding: 16px 24px;
    flex-direction: column;
    gap: 12px;
  }

  .site-header nav {
    margin-left: 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .phone-mockup {
    width: 280px;
    height: 560px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .slider-nav {
    max-width: 400px;
  }

  .site-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}