/* ===========================
   LexIA Maroc – style.css
   =========================== */

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --gold-border: rgba(201, 168, 76, 0.2);
  --dark: #0A0A0B;
  --dark2: #111113;
  --dark3: #1A1A1E;
  --dark4: #242428;
  --text: #E8E6E0;
  --text-muted: #8A8880;
  --text-dim: #5A5856;
  --white: #FAF9F6;
  --radius: 4px;
  --transition: 0.3s ease;
  --shadow-gold: 0 12px 40px rgba(201, 168, 76, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* NOISE OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ===========================
   NAVIGATION
=========================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
  animation: fadeDown 0.8s ease both;
}

nav.scrolled {
  background: rgba(10, 10, 11, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--gold-border);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.logo span {
  color: var(--text);
  font-weight: 300;
}

.footer-logo { font-size: 1.6rem; }

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--gold) !important;
  color: var(--dark) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: var(--transition);
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.5); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(8px); opacity: 0.4; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gold-border);
  border-radius: 50px;
  padding: 7px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
  animation: fadeUp 1s 0.2s both;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  animation: fadeUp 1s 0.35s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero > .hero-content > p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  font-weight: 300;
  line-height: 1.75;
  animation: fadeUp 1s 0.5s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s 0.65s both;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-dim);
  animation: fadeUp 1s 0.8s both;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollBounce 2s infinite;
}

/* ===========================
   BUTTONS
=========================== */
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  padding: 15px 34px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  border: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 15px 34px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
}

.btn-secondary:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

/* ===========================
   STATS BAR
=========================== */
.stats-bar {
  background: var(--dark3);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 52px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat { text-align: center; }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===========================
   SHARED SECTION STYLES
=========================== */
.section-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}

.section-label {
  font-size: 0.73rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.12;
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-bottom: 24px;
}

.ornament-line {
  width: 56px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.ornament-line.right {
  background: linear-gradient(to left, transparent, var(--gold));
}

.ornament-diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ===========================
   MOCKUP SECTION
=========================== */
.mockup-section {
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
}

.mockup-container {
  max-width: 980px;
  margin: 0 auto;
}

.screen {
  background: var(--dark3);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 50px 120px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,168,76,0.04);
}

.screen-header {
  background: var(--dark4);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #FF5F57; }
.dot-y { background: #FEBC2E; }
.dot-g { background: #28C840; }

.screen-url {
  flex: 1;
  text-align: center;
  font-size: 0.73rem;
  color: var(--text-dim);
  font-family: 'DM Mono', 'Courier New', monospace;
  background: rgba(0,0,0,0.3);
  padding: 4px 16px;
  border-radius: 4px;
  margin: 0 10px;
}

.screen-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  height: 400px;
}

.screen-sidebar {
  background: var(--dark2);
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
  overflow: hidden;
}

.sidebar-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--gold);
  padding: 0 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 12px;
}

.sidebar-item {
  padding: 11px 20px;
  font-size: 0.77rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-item:hover { color: var(--text-muted); background: rgba(255,255,255,0.02); }

.sidebar-item.active {
  background: var(--gold-dim);
  color: var(--gold);
  border-right: 2px solid var(--gold);
}

.screen-main { padding: 24px; overflow: hidden; }

.screen-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.screen-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  color: var(--text);
}

.mini-btn {
  background: var(--gold);
  color: var(--dark);
  padding: 6px 14px;
  font-size: 0.7rem;
  border-radius: 2px;
  font-weight: 600;
  cursor: pointer;
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.mini-card {
  background: var(--dark4);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 14px;
}

.mini-card-label {
  font-size: 0.63rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.mini-card-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}

.mini-card-value.warning { color: #FEBC2E; }

.table-mock {
  background: var(--dark4);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 2.2fr 1.6fr 1.2fr 0.9fr;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  align-items: center;
}

.table-row:last-child { border-bottom: none; }

.table-row.header {
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.6rem;
  background: rgba(0,0,0,0.2);
}

.cell-main { color: var(--text); font-size: 0.71rem; }
.cell-muted { font-size: 0.71rem; color: var(--text-muted); }

.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 0.61rem;
  font-weight: 600;
}

.badge-green  { background: rgba(40,200,64,0.12); color: #28C840; }
.badge-yellow { background: rgba(254,188,46,0.12); color: #FEBC2E; }
.badge-red    { background: rgba(255,95,87,0.12); color: #FF5F57; }

/* ===========================
   FEATURES
=========================== */
.features {
  padding: 100px 60px;
  background: var(--dark2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.07);
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--dark2);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background var(--transition);
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.45s ease;
}

.feature-card:hover { background: var(--dark3); }
.feature-card:hover::after { width: 100%; }

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 22px;
  display: block;
}

.feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials {
  padding: 100px 60px;
  background: var(--dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--dark3);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border-color: rgba(201,168,76,0.2);
}

.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.star { color: var(--gold); font-size: 0.85rem; }

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.74;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.author-info strong { display: block; font-size: 0.85rem; color: var(--text); margin-bottom: 2px; }
.author-info span   { font-size: 0.75rem; color: var(--text-dim); }

/* ===========================
   PRICING
=========================== */
.pricing {
  padding: 100px 60px;
  background: var(--dark2);
}

/* Billing toggle */
.toggle-billing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.toggle-billing .active { color: var(--gold); font-weight: 500; }

.toggle-btn {
  width: 44px; height: 24px;
  background: var(--dark4);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
}

.toggle-btn.on { background: var(--gold); }

.toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: var(--text);
  border-radius: 50%;
  transition: transform var(--transition);
}

.toggle-btn.on .toggle-thumb { transform: translateX(20px); background: var(--dark); }

.save-badge {
  background: rgba(201,168,76,0.2);
  color: var(--gold);
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  background: var(--dark3);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius);
  padding: 48px 36px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.pricing-card.featured {
  background: var(--dark4);
  border-color: var(--gold);
  transform: translateY(-10px);
}

.pricing-card.featured:hover { transform: translateY(-14px); }

.popular-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.plan-name.gold { color: var(--gold); }
.plan-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 28px; }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 30px;
}

.price-currency { font-size: 1.1rem; color: var(--gold); font-weight: 500; }
.price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.price-period { font-size: 0.82rem; color: var(--text-muted); align-self: flex-end; padding-bottom: 6px; }

.price-amount-custom {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--text-muted);
  font-style: italic;
}

.plan-features {
  list-style: none;
  margin-bottom: 36px;
}

.plan-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.btn-plan {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-plan-outline {
  border: 1px solid var(--gold-border);
  color: var(--gold);
}
.btn-plan-outline:hover { background: var(--gold-dim); border-color: var(--gold); }

.btn-plan-filled { background: var(--gold); color: var(--dark); font-weight: 600; }
.btn-plan-filled:hover { background: var(--gold-light); }

/* ===========================
   FAQ
=========================== */
.faq-section {
  padding: 100px 60px;
  background: var(--dark);
}

.faq-inner {
  max-width: 780px;
  margin: 0 auto;
}

.faq-header { text-align: center; margin-bottom: 56px; }

.faq-item { border-bottom: 1px solid rgba(201,168,76,0.1); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--gold); }

.faq-toggle {
  width: 26px; height: 26px;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0,1,0,1);
}

.faq-answer.open {
  max-height: 300px;
  transition: max-height 0.4s cubic-bezier(1,0,1,0);
}

.faq-answer p {
  padding-bottom: 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.76;
}

/* ===========================
   CITIES
=========================== */
.cities {
  padding: 60px;
  text-align: center;
  border-top: 1px solid rgba(201,168,76,0.08);
  background: var(--dark2);
}

.cities > p {
  font-size: 0.73rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}

.cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.city-tag {
  background: var(--dark3);
  border: 1px solid rgba(201,168,76,0.1);
  padding: 6px 18px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: all 0.2s;
  cursor: default;
}

.city-tag:hover {
  border-color: rgba(201,168,76,0.3);
  color: var(--gold);
}

/* ===========================
   CTA SECTION
=========================== */
.cta-section {
  padding: 120px 60px;
  background: var(--dark3);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 24px;
}

.cta-section h2 em { font-style: italic; color: var(--gold); }

.cta-section p {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 44px;
  line-height: 1.74;
}

.cta-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 22px !important;
  margin-bottom: 0 !important;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--dark2);
  padding: 80px 60px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}

.footer-brand .footer-logo { display: inline-block; margin-bottom: 18px; }

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 22px;
  max-width: 300px;
}

.footer-contact {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 2;
}

.footer-contact a { color: var(--text-dim); transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold); }

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  width: 34px; height: 34px;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  transition: all 0.2s;
  font-weight: 600;
}

.social-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.footer-heading {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 0.77rem; color: var(--text-dim); }

.footer-legal { display: flex; gap: 24px; }

.footer-legal a {
  font-size: 0.77rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--gold); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  nav { padding: 16px 24px; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10,10,11,0.98);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--gold-border);
  }

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

  .stats-bar { grid-template-columns: repeat(2,1fr); padding: 40px 24px; }

  .mockup-section, .features, .testimonials, .pricing, .faq-section, .cta-section, footer {
    padding: 60px 24px;
  }

  .screen-body { grid-template-columns: 1fr; }
  .screen-sidebar { display: none; }

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

  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .cities { padding: 50px 24px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.6rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-trust { flex-direction: column; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 2rem; }
  .cards-row { grid-template-columns: 1fr; }
}
