/* ========================================
   EasyDocs Design System + Landing Page
   ======================================== */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* --- Variables --- */
:root {
  --bg: #fafaf9;
  --bg-raised: #f3f3f0;
  --bg-card: #ffffff;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.15);
  --text: #1c1917;
  --text-2: #57534e;
  --text-3: #a8a29e;
  --heading: #0c0a09;
  --accent: #3b82f6;
  --accent2: #2563eb;
  --accent3: #059669;
  --green: #10b981;
  --red: #ef4444;
  --yellow: #f59e0b;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.2;
}

/* --- Container --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Base --- */
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--heading);
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-desc {
  font-size: 17px;
  color: var(--text-2);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: ctaGlow 3s ease-in-out infinite;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.4);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  background: rgba(0,0,0,0.02);
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #fff;
  color: var(--heading);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 17px; }
.btn-full { width: 100%; justify-content: center; }

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes glowShift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); }
  50% { box-shadow: 0 0 20px 4px rgba(59,130,246,0.2); }
}
@keyframes ringPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.animate-in {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 1.0s; }

.card-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.card-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .card-reveal { opacity: 1; transform: none; }
  .animate-in { opacity: 1; }
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(250,250,249,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: padding 0.3s, background 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(250,250,249,0.95);
  border-bottom-color: var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--heading);
}
.nav-logo svg { width: 28px; height: 28px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--heading); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switch {
  display: flex;
  gap: 4px;
  background: var(--bg-raised);
  border-radius: 20px;
  padding: 3px;
}
.lang-btn {
  padding: 5px 12px;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  transition: background 0.2s, color 0.2s;
}
.lang-btn.active {
  background: var(--bg-card);
  color: var(--heading);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 18px; }
  .nav-right .btn-primary { display: none; }
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  animation: glowShift 12s ease-in-out infinite;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  animation: glowShift 12s ease-in-out infinite reverse;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent2);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 span { color: var(--accent); }
.hero-subtitle {
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-preview {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.hero-preview-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 14px;
}
.hero-float {
  position: absolute;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  animation: floatCard 5s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-float-1 { top: 20%; left: -40px; animation-delay: 0s; }
.hero-float-2 { bottom: 20%; right: -40px; animation-delay: 1.5s; }
.hero-float .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-blue { background: var(--accent); }
.dot-green { background: var(--green); }

@media (max-width: 768px) {
  .hero { padding: 120px 0 60px; }
  .hero-float { display: none; }
}

/* ========================================
   Social Proof
   ======================================== */
.social-proof {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.social-proof .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.proof-item svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ========================================
   Features (Bento Grid)
   ======================================== */
.features {
  padding: 100px 0;
}
.features .section-header {
  text-align: center;
  margin-bottom: 56px;
}
.features .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.03), transparent 60%);
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.09);
  border-color: var(--border-hover);
}
.bento-large { grid-column: span 2; }
.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: rgba(59,130,246,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.bento-icon svg { width: 22px; height: 22px; }
.bento-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.bento-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-large { grid-column: span 2; }
}
@media (max-width: 768px) {
  .features { padding: 80px 0; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large { grid-column: span 1; }
}

/* ========================================
   How It Works
   ======================================== */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-raised);
}
.how-it-works .section-header {
  text-align: center;
  margin-bottom: 64px;
}
.how-it-works .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: var(--border);
}
.step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--accent);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}
.step-visual {
  margin-top: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 13px;
}

@media (max-width: 768px) {
  .how-it-works { padding: 80px 0; }
  .steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .steps::before { display: none; }
}

/* ========================================
   Template Showcase
   ======================================== */
.templates {
  padding: 100px 0;
}
.templates .section-header {
  text-align: center;
  margin-bottom: 56px;
}
.templates .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.template-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.template-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.09);
}
.template-preview {
  aspect-ratio: 3/4;
  background: var(--bg-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.template-info {
  padding: 20px;
}
.template-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.template-info p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 16px;
  line-height: 1.5;
}
.template-info .btn-primary {
  padding: 10px 20px;
  font-size: 13px;
  width: 100%;
  justify-content: center;
}

@media (max-width: 1024px) {
  .template-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .templates { padding: 80px 0; }
  .template-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ========================================
   Pricing
   ======================================== */
.pricing {
  padding: 100px 0;
  background: var(--bg-raised);
}
.pricing .section-header {
  text-align: center;
  margin-bottom: 56px;
}
.pricing .section-desc {
  margin-left: auto;
  margin-right: auto;
}
/* Billing toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.billing-option {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
  transition: color 0.2s;
}
.billing-toggle[data-billing="monthly"] .billing-option:first-child,
.billing-toggle[data-billing="annual"] .billing-option:nth-child(3) {
  color: var(--heading);
  font-weight: 600;
}
.billing-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--border);
  border: none;
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}
.billing-switch[aria-checked="true"] {
  background: var(--accent);
}
.billing-switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.billing-switch[aria-checked="true"] .billing-switch-knob {
  transform: translateX(22px);
}
.billing-save {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: rgba(34,197,94,0.1);
  padding: 3px 10px;
  border-radius: 10px;
}
.pricing-cards {
  display: flex;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}
.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 40px rgba(59,130,246,0.12);
}
.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 12px;
}
.pricing-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-card .price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--heading);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-card .price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.pricing-card .price-note {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 24px;
}
.pricing-features {
  margin-bottom: 28px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.check-icon { color: var(--green); }
.x-icon { color: var(--text-3); }

/* Plan comparison table */
.plan-comparison-wrap {
  max-width: 960px;
  margin: 56px auto 0;
}
.plan-comparison-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: var(--heading);
}
.plan-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.plan-comparison-table thead th {
  padding: 14px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 2px solid var(--border);
  color: var(--heading);
  background: var(--bg-card);
}
.plan-comparison-table thead th:first-child {
  text-align: left;
}
.plan-comparison-table thead th.highlight {
  color: var(--accent);
}
.plan-comparison-table tbody td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.plan-comparison-table tbody tr:last-child td {
  border-bottom: none;
}
.plan-comparison-table tbody tr:nth-child(even) td {
  background: rgba(0,0,0,0.015);
}
.plan-comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--heading);
}
.plan-comparison-table tbody td.highlight {
  background: rgba(59,130,246,0.05);
}
.plan-comparison-table tbody tr:nth-child(even) td.highlight {
  background: rgba(59,130,246,0.08);
}
.plan-comparison-table .plan-note {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 400;
}
.plan-comparison-table .check { color: var(--green); font-weight: 700; }
.plan-comparison-table .cross { color: var(--text-3); }
.plan-comparison-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 16px;
}

@media (max-width: 768px) {
  .pricing { padding: 80px 0; }
  .pricing-cards { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pricing-card { min-width: 200px; padding: 20px 16px; }
  .pricing-card .price { font-size: 28px; }
  .plan-comparison-table { font-size: 12px; }
  .plan-comparison-table thead th,
  .plan-comparison-table tbody td { padding: 6px 8px; }
  .plan-comparison-wrap { overflow-x: auto; }
}

/* ========================================
   Competitor Comparison
   ======================================== */
.comparison {
  padding: 100px 0;
}
.comparison .section-header {
  text-align: center;
  margin-bottom: 56px;
}
.comparison .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--heading);
  background: var(--bg-raised);
}
.comparison-table td { color: var(--text-2); }
.comparison-table .highlight {
  background: rgba(59,130,246,0.04);
}
.comparison-table th.highlight {
  background: rgba(59,130,246,0.08);
  color: var(--accent2);
}
.comparison-table .check {
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
}
.comparison-table .cross {
  color: var(--text-3);
  font-size: 16px;
}
.comparison-footnote {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
}

@media (max-width: 768px) {
  .comparison { padding: 80px 0; }
}

/* ========================================
   FAQ
   ======================================== */
.faq {
  padding: 100px 0;
  background: var(--bg-raised);
}
.faq .section-header {
  text-align: center;
  margin-bottom: 56px;
}
.faq .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent2); }
.faq-q svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-3);
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .faq { padding: 80px 0; }
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  padding: 100px 0;
  background: var(--heading);
  text-align: center;
}
.cta-section h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255,255,255,0.6);
  font-size: 17px;
  margin-bottom: 36px;
}

/* ========================================
   Contact
   ======================================== */
.contact {
  padding: 100px 0;
}
.contact .section-header {
  text-align: center;
  margin-bottom: 48px;
}
.contact .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
}
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-card);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-sm);
  color: var(--accent3);
  font-weight: 600;
}
.contact-success.show { display: block; }

@media (max-width: 768px) {
  .contact { padding: 80px 0; }
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: #0c0a09;
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.35);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 12px; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 260px;
}
.footer-col h4 {
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255,255,255,1); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: span 2; }
}
