/* ==========================================================================
   TraveLux — Sapphire Tech & Executive Travel Stylesheet
   ========================================================================== */

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

:root {
  --bg-main: #0B0F19;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-nav: rgba(11, 15, 25, 0.85);

  --accent-primary: #2563EB;      /* Azul Zafiro */
  --accent-secondary: #1D4ED8;    /* Azul Noche Profundo */
  --accent-cyan: #38BDF8;         /* Resplandor Cielo */
  --accent-emerald: #10B981;      /* Esmeralda para finanzas y ahorro */
  --accent-gold: #F59E0B;         /* Oro ejecutivo para Premium */
  --accent-danger: #EF4444;

  --text-primary: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(37, 99, 235, 0.35);
  --border-gold: rgba(245, 158, 11, 0.35);

  --shadow-glow: 0 0 45px rgba(37, 99, 235, 0.18);
  --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.55);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
}

/* Background Gradients */
.bg-glow-1 {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 850px;
  height: 520px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(56, 189, 248, 0.06) 45%, transparent 70%);
  filter: blur(85px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-2 {
  position: absolute;
  top: 1300px;
  right: -100px;
  width: 100%;
  max-width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.15) 0%, rgba(16, 185, 129, 0.05) 50%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-3 {
  position: absolute;
  top: 3000px;
  left: -120px;
  width: 100%;
  max-width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, transparent 70%);
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #60A5FA 0%, #2563EB 50%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #93C5FD;
  backdrop-filter: blur(8px);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #6EE7B7;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--border-gold);
  color: #FCD34D;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-emerald {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.3);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(11, 15, 25, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(37, 99, 235, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: #60A5FA;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-selector {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  cursor: pointer;
  outline: none;
}

.lang-selector option {
  background: #111827;
  color: #ffffff;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 24px;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
  color: var(--text-dim);
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-badges i {
  color: var(--accent-cyan);
}

/* App Showcase Mockup */
.hero-mockup-wrapper {
  margin-top: 60px;
  position: relative;
}

.hero-mockup {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  backdrop-filter: blur(12px);
  max-width: 960px;
  margin: 0 auto;
}

.mockup-inner {
  background: #0B0F19;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px;
}

/* Sections Global */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 14px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Workspaces Tabs */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
}

.tab-btn.active {
  background: rgba(37, 99, 235, 0.15);
  border-color: var(--accent-primary);
  color: #60A5FA;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.25);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.35s ease;
}

.tab-pane.active {
  display: block;
}

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

.workspace-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.workspace-info h3 {
  font-size: 1.85rem;
  margin-bottom: 14px;
}

.workspace-info p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.feature-checklist li i {
  color: var(--accent-emerald);
  font-size: 1.1rem;
}

.workspace-preview-box {
  background: #070A10;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* Interactive Currency Converter Demo */
.converter-box {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-glow), var(--shadow-card);
  backdrop-filter: blur(16px);
}

.converter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.input-control {
  background: rgba(11, 15, 25, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition-fast);
}

.input-control:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.25);
}

.converter-result-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.result-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.result-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.result-val {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #ffffff;
}

.result-split {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.split-badge {
  background: rgba(16, 185, 129, 0.18);
  color: #34D399;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all var(--transition-smooth);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60A5FA;
  font-size: 1.4rem;
  margin-bottom: 20px;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pricing Section */
.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 40px;
  padding: 8px 18px;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  width: fit-content;
  backdrop-filter: blur(12px);
}

.pricing-toggle-card-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  width: 100%;
}

.pricing-toggle-card-wrapper .pricing-toggle-label {
  font-size: 0.85rem;
  gap: 6px;
}

.pricing-toggle-card-wrapper .pricing-toggle-switch {
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.pricing-toggle-card-wrapper .pricing-toggle-thumb {
  width: 18px;
  height: 18px;
}

.pricing-toggle-card-wrapper .pricing-toggle-switch.active .pricing-toggle-thumb {
  transform: translateX(20px);
}

.pricing-toggle-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.pricing-toggle-label.active {
  color: #ffffff;
}

.pricing-toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  cursor: pointer;
  padding: 2px;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  outline: none;
}

.pricing-toggle-switch:hover {
  border-color: var(--accent-cyan);
}

.pricing-toggle-switch.active {
  background: var(--accent-primary);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.45);
}

.pricing-toggle-thumb {
  display: block;
  width: 22px;
  height: 22px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-normal);
  transform: translateX(0);
}

.pricing-toggle-switch.active .pricing-toggle-thumb {
  transform: translateX(24px);
}

.pricing-discount-badge {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.trip-pass {
  background: linear-gradient(180deg, rgba(8, 47, 73, 0.45) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1.5px solid var(--accent-cyan);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.15), var(--shadow-card);
}

.pricing-card.premium {
  background: linear-gradient(180deg, rgba(23, 37, 84, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1.5px solid var(--accent-primary);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.trip-pass-selector {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  gap: 4px;
  border: 1px solid var(--border-light);
}

.trip-pass-btn {
  flex: 1;
  padding: 8px 6px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  text-align: center;
}

.trip-pass-btn.active {
  background: var(--accent-cyan);
  color: #0B0F19;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  right: 28px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-header h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
}

.pricing-val {
  font-size: 3.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.pricing-period {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.pricing-features li i.fa-check {
  color: var(--accent-emerald);
  margin-top: 4px;
}

.pricing-features li i.fa-xmark {
  color: var(--text-dim);
  margin-top: 4px;
}

.pricing-features li.disabled {
  color: var(--text-dim);
  text-decoration: line-through;
}

/* Comparison Table */
.comparison-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow-x: auto;
}

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

.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.94rem;
}

.comparison-table th {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-primary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stars {
  color: #FBBF24;
  font-size: 0.9rem;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB 0%, #10B981 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
}

.author-meta h4 {
  font-size: 0.95rem;
}

.author-meta p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.3);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question i {
  color: var(--accent-primary);
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.45) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.cta-banner h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 36px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 70px 0 30px;
  background: #070A10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Modals Global */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #111827;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: #ffffff;
}

/* Legal Modal */
.modal-content-legal {
  max-width: 800px;
}

.legal-body {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.legal-body h1, .legal-body h2 {
  color: var(--text-primary);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-body ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-body a {
  color: var(--accent-primary);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 860px;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  z-index: 1500;
  backdrop-filter: blur(12px);
}

.cookie-banner.active {
  display: flex;
}

.cookie-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .workspace-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #0B0F19;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    gap: 18px;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .converter-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
}
