/* ============================================================
   TaxCentral.ae — Global Stylesheet
   Color: Blue #2563EB → Purple #7C3AED gradient
   ============================================================ */

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

:root {
  --blue: #2563EB;
  --purple: #7C3AED;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-600: #2563EB;
  --purple-50: #F5F3FF;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--blue), var(--purple));
  --gradient-soft: linear-gradient(135deg, #EFF6FF, #F5F3FF);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --radius: 1rem;
  --radius-sm: 0.5rem;
  --radius-full: 9999px;
  --transition: all .3s ease;
  --max-w: 80rem;
  --section-py: 5rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── Layout ─────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: var(--section-py) 0; }

/* ── Typography ─────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--gray-700); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--blue-50);
  color: var(--blue);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .35rem .85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-header { text-align: center; max-width: 42rem; margin: 0 auto 3.5rem; }
.section-header p { margin-top: .75rem; font-size: 1.1rem; color: var(--gray-500); }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37,99,235,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,.45); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-50); transform: translateY(-1px); }

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

.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }

.header-ctas .btn,
.mobile-ctas .btn { border-radius: 0.375rem; }

/* ── Logo ─────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gray-900);
}
.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--gradient);
  border-radius: .5rem;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -.03em;
  flex-shrink: 0;
}
.logo .logo-name { color: var(--gray-900); }
.logo .logo-tld { color: var(--blue); }

/* ── Header ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-lg); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 4rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.nav-links a {
  padding: .45rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--blue-50); }

.header-ctas {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: .35rem;
  background: none;
  border: none;
  padding: .35rem;
  margin-left: auto;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--gray-900);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  background: white;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: .65rem .75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--blue); background: var(--blue-50); }
.mobile-nav .mobile-ctas {
  display: flex;
  gap: .5rem;
  margin-top: .5rem;
  padding-top: .75rem;
  border-top: 1px solid var(--gray-100);
}
.mobile-nav .mobile-ctas .btn { flex: 1; justify-content: center; }

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { color: white; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 22rem; margin-bottom: 1.25rem; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  margin-bottom: .5rem;
}
.footer-contact-item svg { color: var(--blue); flex-shrink: 0; }
.footer-col h4 { color: white; font-size: .95rem; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { font-size: .875rem; transition: color .3s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  font-size: .85rem;
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  background: var(--gradient-soft);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(37,99,235,.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: white;
  border: 1px solid var(--blue-100);
  padding: .4rem 1rem;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.hero h1 { margin-bottom: 1.25rem; }
.hero p { font-size: 1.1rem; color: var(--gray-500); margin-bottom: 2rem; max-width: 32rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.trust-badge {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--gray-500);
}
.trust-badge svg { color: var(--blue); }

/* Chat mockup */
.chat-mockup-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  width: 100%;
}
.chat-mockup-wrap .chat-badge-avail { align-self: flex-end; }
.chat-mockup-wrap .chat-footer-tag  { align-self: flex-start; }
.chat-mockup {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  max-width: 22rem;
  width: 100%;
}
.chat-header {
  background: white;
  padding: .9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-900);
}
.chat-avatar {
  width: 2.2rem;
  height: 2.2rem;
  background: var(--gradient);
  border-radius: .5rem;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.chat-header-info { flex: 1; }
.chat-header-info .name { font-weight: 700; font-size: .9rem; color: var(--gray-900); }
.chat-header-info .status { font-size: .72rem; color: var(--gray-500); display: flex; align-items: center; gap: .3rem; }
.chat-status-dot { width: .45rem; height: .45rem; background: #4ade80; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.chat-badge-avail {
  font-size: .7rem;
  font-weight: 600;
  color: #16a34a;
  background: #dcfce7;
  padding: .25rem .6rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.chat-messages { padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .85rem; }
.chat-msg { max-width: 90%; }
.chat-msg.user { margin-left: auto; }
.chat-bubble {
  padding: .65rem .9rem;
  border-radius: .9rem;
  font-size: .84rem;
  line-height: 1.5;
}
.chat-msg.user .chat-bubble { background: var(--gray-100); color: var(--gray-900); border-bottom-right-radius: .2rem; }
.chat-msg.bot .chat-bubble { background: var(--gradient); color: white; border-bottom-left-radius: .2rem; }
.chat-time {
  font-size: .68rem;
  color: var(--gray-400);
  margin-top: .35rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: .25rem;
}
.chat-footer-tag {
  font-size: .7rem;
  font-weight: 500;
  color: var(--gray-400);
}

/* ── Cards ─────────────────────────────────────────── */
.card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }

.card-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-soft);
  border-radius: .75rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.card-icon svg { color: var(--blue); }

/* ── Grid Utilities ──────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Features Section (Home) ──────────────────────── */
.features-strip { background: var(--gray-50); }

/* ── Stat Numbers ─────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: .875rem; color: var(--gray-500); margin-top: .25rem; }

/* ── How It Works ─────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.step-connector {
  position: absolute;
  top: 2.5rem;
  left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  z-index: 0;
  margin: 0 calc(100% / 6);
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 4rem;
  height: 4rem;
  background: var(--gradient);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 15px rgba(37,99,235,.35);
}
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .9rem; color: var(--gray-500); }

/* ── Testimonials ─────────────────────────────────── */
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.stars { color: #F59E0B; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: .1em; }
.testimonial-card p { color: var(--gray-700); font-size: .9rem; line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: .9rem; }
.author-role { font-size: .8rem; color: var(--gray-500); }

/* ── Blog Cards ───────────────────────────────────── */
.blog-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.blog-card-img {
  height: 12rem;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-card-body { padding: 1.5rem; }
.blog-meta { display: flex; gap: 1rem; font-size: .78rem; color: var(--gray-500); margin-bottom: .75rem; }
.blog-tag {
  display: inline-flex;
  background: var(--blue-50);
  color: var(--blue);
  padding: .2rem .6rem;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
.blog-card-body h3 { margin-bottom: .6rem; font-size: 1.05rem; }
.blog-card-body p { font-size: .875rem; color: var(--gray-500); margin-bottom: 1rem; }
.read-more { color: var(--blue); font-weight: 600; font-size: .875rem; display: inline-flex; align-items: center; gap: .25rem; transition: gap .2s; }
.read-more:hover { gap: .5rem; }

/* ── CTA Banner ───────────────────────────────────── */
.cta-banner {
  background: var(--blue-600);
  padding: 4rem 0;
  text-align: center;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 20px 20px;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: white; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 2rem; font-size: 1.05rem; }

/* ── Features Page ────────────────────────────────── */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.feature-detail:last-child { border-bottom: none; }
.feature-detail.reverse { direction: rtl; }
.feature-detail.reverse > * { direction: ltr; }
.feature-visual {
  background: var(--gradient-soft);
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18rem;
  font-size: 5rem;
}
.feature-check-list { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.25rem; }
.feature-check {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  color: var(--gray-700);
}
.feature-check svg { color: var(--blue); flex-shrink: 0; margin-top: .15rem; }

/* ── Features Page — New Layout ─────────────────── */
.features-hero {
  background: var(--gradient-soft);
  padding: 5rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.features-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(37,99,235,.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.features-hero-inner {
  position: relative;
  max-width: 52rem;
  margin: 0 auto;
}
.features-hero-inner h1 { margin-bottom: 1.25rem; }
.features-hero-inner p {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.feat-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.feat-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-3px); }
.feat-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .75rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--blue-100);
}
.feat-desc {
  font-size: .9rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.feat-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.feat-bullets li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .875rem;
  color: var(--gray-700);
}
.feat-bullets li::before {
  content: '';
  width: .9rem;
  height: .9rem;
  background: var(--gradient);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .22rem;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.topic-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.topic-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .75rem;
}
.topic-card > p {
  font-size: .875rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.topic-key-label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-900);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .65rem;
}

/* Comparison Table */
.comparison-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.comparison-table th, .comparison-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--gray-200); font-size: .9rem; }
.comparison-table th { background: var(--gradient); color: white; font-weight: 600; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--gray-50); }
.comparison-table td:first-child { font-weight: 500; }
.check-yes { color: #16a34a; font-weight: 700; }
.check-no { color: #dc2626; font-weight: 700; }
.check-partial { color: #d97706; font-weight: 700; }

/* ── Pricing Page ─────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 52rem; margin: 0 auto; }
.pricing-card {
  background: white;
  border-radius: var(--radius);
  border: 2px solid var(--gray-200);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-xl); }
.pricing-card.popular { border-color: var(--blue); }
.popular-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.price-amount { font-size: 3rem; font-weight: 800; line-height: 1; }
.price-currency { font-size: 1.5rem; font-weight: 700; vertical-align: top; margin-top: .5rem; display: inline-block; }
.price-period { font-size: .9rem; color: var(--gray-500); }
.price-features { display: flex; flex-direction: column; gap: .75rem; margin: 1.75rem 0; }
.price-feature {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--gray-700);
}
.price-feature svg { color: var(--blue); flex-shrink: 0; }
.price-feature span { line-height: 1.4; }
.price-feature-group-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-400); margin-bottom: .25rem; }
.addons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 56rem; margin: 3rem auto 0; }
.addon-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.addon-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.addon-price { font-size: 1.5rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin: .5rem 0; }

/* ── FAQ Page ─────────────────────────────────────── */
.faq-categories { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.faq-cat-btn {
  padding: .5rem 1.1rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--gray-300);
  background: white;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
}
.faq-cat-btn.active, .faq-cat-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-50); }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: color .2s;
}
.faq-q:hover { color: var(--blue); }
.faq-icon { flex-shrink: 0; transition: transform .3s; width: 1.25rem; height: 1.25rem; color: var(--gray-500); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--blue); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s; }
.faq-item.open .faq-a { max-height: 20rem; padding-bottom: 1.25rem; }
.faq-a p { color: var(--gray-600, #4B5563); font-size: .95rem; line-height: 1.7; }

/* ── About Page ───────────────────────────────────── */
.team-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.team-avatar {
  width: 5rem;
  height: 5rem;
  background: var(--gradient);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 1.25rem;
}
.team-name { font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; }
.team-title { color: var(--blue); font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.team-creds { font-size: .78rem; color: var(--gray-500); margin-bottom: .75rem; }
.team-bio { font-size: .875rem; color: var(--gray-700); }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: .5rem; top: 0; bottom: 0; width: 2px; background: var(--gradient); }
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-dot {
  position: absolute;
  left: -2rem;
  top: .2rem;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--gradient);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--blue-100);
}
.timeline-year { font-size: .8rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; }
.timeline-title { font-weight: 700; font-size: 1.05rem; margin: .25rem 0; }
.timeline-desc { font-size: .875rem; color: var(--gray-500); }

/* ── Contact Page ─────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--gradient-soft);
  border-radius: .75rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-icon svg { color: var(--blue); }
.contact-label { font-size: .75rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.contact-value { font-weight: 600; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: .45rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: .625rem;
  font-family: inherit;
  font-size: .9rem;
  color: var(--gray-900);
  background: white;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-group textarea { resize: vertical; min-height: 9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Page Hero (inner pages) ──────────────────────── */
.page-hero {
  background: var(--gradient-soft);
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}
.page-hero h1 { margin-bottom: .75rem; }
.page-hero p { font-size: 1.1rem; color: var(--gray-500); max-width: 36rem; margin: 0 auto; }

/* ── Legal Pages ──────────────────────────────────── */
.legal-content { max-width: 48rem; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; }
.legal-content h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; color: var(--blue); }
.legal-content p { margin-bottom: 1rem; font-size: .95rem; line-height: 1.75; }
.legal-content ul { padding-left: 1.5rem; list-style: disc; margin-bottom: 1rem; }
.legal-content ul li { margin-bottom: .4rem; font-size: .95rem; line-height: 1.75; color: var(--gray-700); }

/* ── Misc Utilities ───────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.bg-gray-50 { background: var(--gray-50); }
.bg-blue-50 { background: var(--blue-50); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-detail { grid-template-columns: 1fr; gap: 2rem; }
  .feature-detail.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .topics-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 3rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .nav-links, .header-ctas { display: none; }
  .hamburger { display: flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .step-connector { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .comparison-table { display: block; overflow-x: auto; }
  .form-row { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr; }
}
