/**
 * SimCrise - Modern Landing Page v3
 * Complete professional SaaS redesign
 * Palette preserved: --accent #1f6feb, --primary #1a3f6e, --danger #dc2626
 * Version: 3.0.0
 */

/* ========================================
   GLOBAL OVERRIDES
   ======================================== */

.index-page {
  background: #f8fafc;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.index-page .wrap {
  max-width: 100%;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0 auto;
}

.index-page #config {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
  border-radius: 0;
  margin-bottom: 0;
}

/* container constraint */
.lp-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ========================================
   STICKY NAVBAR
   ======================================== */

.lp-navbar {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.lp-navbar.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.lp-navbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.lp-navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.lp-navbar-logo {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

.lp-navbar-name {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.lp-navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp-navbar-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lp-navbar-links a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}

.lp-navbar-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.lp-navbar-cta:hover {
  background: #1858c4;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 111, 235, 0.3);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #050d1a 0%, #0b1e3d 30%, #122d5c 60%, #1a3f6e 100%);
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  border-radius: 0;
}

/* Animated mesh gradient */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 15% 20%, rgba(31, 111, 235, 0.20), transparent 70%),
    radial-gradient(ellipse 600px 600px at 85% 80%, rgba(99, 102, 241, 0.12), transparent 70%),
    radial-gradient(ellipse 400px 400px at 50% 50%, rgba(31, 111, 235, 0.08), transparent 60%);
  animation: meshFloat 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes meshFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 10px) scale(1.02); }
  100% { transform: translate(10px, -15px) scale(1); }
}

/* Grid pattern overlay */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.hero-logo {
  max-width: min(480px, 85%);
  height: auto;
  border-radius: 12px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.25));
}

.hero-tagline {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 clamp(1rem, 2vw, 1.25rem);
  letter-spacing: -0.03em;
}

.hero-tagline .hero-accent {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  line-height: 1.6;
  margin: 0 auto clamp(1.5rem, 3vw, 2rem);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-btn-primary:hover {
  background: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 111, 235, 0.4);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Label / partner */
.hero-label-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 10px 22px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  transition: all 0.3s ease;
}

.hero-label-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-partner-link {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-partner-link:hover {
  transform: scale(1.03);
}

.hero-partner-img {
  max-width: min(260px, 60%);
  height: auto;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ========================================
   TRUST STRIP
   ======================================== */

.lp-trust-strip {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-left: calc(-50vw + 50%);
  width: 100vw;
}

.lp-trust-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
}

.lp-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.lp-trust-icon {
  width: 40px;
  height: 40px;
  background: rgba(31, 111, 235, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.lp-trust-text {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.lp-trust-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 700;
}

/* ========================================
   SECTION HEADER
   ======================================== */

.lp-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 10px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-lead {
  font-size: var(--text-base);
  color: var(--muted);
  margin: 0 auto;
  max-width: 540px;
  line-height: 1.6;
}

/* ========================================
   ORIENTATION GUIDE
   ======================================== */

#orientation-guide {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(1rem, 3vw, 2rem);
  border: none;
  background: transparent;
  box-shadow: none;
  margin-bottom: 0;
}

.card-orientation {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.orientation-badge-title {
  display: none !important;
}

.orientation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.ori-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 2.5vw, 1.75rem);
  text-align: left;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ori-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  transition: height 0.25s ease;
}

.ori-card--citizen::before { background: var(--danger); }
.ori-card--rescuer::before { background: #059669; }
.ori-card--pro::before { background: var(--accent); }

.ori-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border-color: transparent;
}

.ori-card:hover::before {
  height: 4px;
}

.ori-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 12px;
  margin-bottom: 16px;
}

.ori-card--citizen .ori-card-icon { background: rgba(220, 38, 38, 0.08); }
.ori-card--rescuer .ori-card-icon { background: rgba(5, 150, 105, 0.08); }
.ori-card--pro .ori-card-icon { background: rgba(31, 111, 235, 0.08); }

.ori-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.ori-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 auto;
  padding-bottom: 16px;
  line-height: 1.5;
}

.ori-card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ori-card:hover .ori-card-cta {
  transform: translateX(4px);
}

.orientation-hint {
  text-align: center;
  margin-top: clamp(1.25rem, 3vw, 2rem);
  font-size: 0.85rem;
  color: var(--muted);
  padding: 14px 20px;
  background: rgba(31, 111, 235, 0.03);
  border-radius: 12px;
  border: 1px dashed rgba(31, 111, 235, 0.12);
}

/* ========================================
   SIMULATION SECTIONS
   ======================================== */

.lp-simulations {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 1.5rem);
}

.sim-section {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 0;
  margin-bottom: 0;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}

.sim-section:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
  transform: translateY(-2px);
}

/* Accent top bar instead of left */
.sim-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  width: 100%;
}

.sim-section--risk::before { background: linear-gradient(90deg, var(--danger), #f87171); }
.sim-section--normal::before { background: linear-gradient(90deg, var(--accent), #60a5fa); }
.sim-section--access::before { background: linear-gradient(90deg, var(--primary), #3b82f6); }
.sim-section--psc::before { background: linear-gradient(90deg, #bf2424, #f87171); }
.sim-section--pse::before { background: linear-gradient(90deg, #059669, #34d399); }

.sim-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0 0 10px 0;
  color: #fff;
}

.badge--risk { background: var(--danger); }
.badge--normal { background: var(--accent); }
.badge--access { background: var(--primary); }
.badge--psc { background: #bf2424; }
.badge--pse { background: #059669; }

.sim-section-body {
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
}

.sim-section-title {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.sim-section-icon {
  font-size: 1.2em;
}

.sim-section-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
  max-width: 680px;
}

.sim-section-desc strong {
  color: var(--text);
  font-weight: 600;
}

/* Form row */
.sim-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.sim-form input[type="text"] {
  flex: 1;
  min-width: 180px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: 'Inter', system-ui, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #f8fafc;
  color: var(--text);
}

.sim-form input[type="text"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.08);
  outline: none;
  background: #fff;
}

.sim-form input[type="text"]::placeholder {
  color: #94a3b8;
}

.sim-form button {
  white-space: nowrap;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'Inter', system-ui, sans-serif;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 48px;
  letter-spacing: -0.01em;
}

.sim-form button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Per-section button colors */
.sim-section--risk .sim-form button {
  background: var(--danger);
  color: #fff;
}
.sim-section--risk .sim-form button:hover:not(:disabled) {
  background: #ef4444;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

.sim-section--normal .sim-form button,
.sim-section--normal button#startBtn {
  background: var(--accent);
  color: #fff;
}
.sim-section--normal .sim-form button:hover:not(:disabled),
.sim-section--normal button#startBtn:hover:not(:disabled) {
  background: #3b82f6;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(31, 111, 235, 0.3);
}

.sim-section--access .sim-form button {
  background: var(--primary);
  color: #fff;
}
.sim-section--access .sim-form button:hover:not(:disabled) {
  background: #1f5596;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 63, 110, 0.3);
}

.sim-section--psc .sim-form button {
  background: #bf2424;
  color: #fff;
}
.sim-section--psc .sim-form button:hover:not(:disabled) {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(191, 36, 36, 0.3);
}

.sim-section--pse .sim-form button {
  background: #059669;
  color: #fff;
}
.sim-section--pse .sim-form button:hover:not(:disabled) {
  background: #10b981;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
}

/* ========================================
   CONSENT (RGPD)
   ======================================== */

.sim-consent {
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  margin-bottom: 12px;
}

.sim-consent .consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.sim-consent .consent-checkbox {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.sim-consent .consent-error {
  display: none;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--danger);
  font-weight: 500;
}

.sim-consent a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.sim-consent a:hover {
  text-decoration: underline;
}

/* ========================================
   TAGS
   ======================================== */

.sim-section-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: clamp(0.75rem, 2vw, 1rem);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.sim-section-tags span {
  font-size: 0.75rem;
  color: var(--muted);
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
  font-weight: 500;
}

/* ========================================
   CONFIG FORM (Custom sim)
   ======================================== */

.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.config-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.config-field input,
.config-field select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: 'Inter', system-ui, sans-serif;
  background: #f8fafc;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}

.config-field input:focus,
.config-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.08);
  outline: none;
  background: #fff;
}

.sim-button-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.sim-button-group button {
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Inter', system-ui, sans-serif;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 48px;
  letter-spacing: -0.01em;
}

/* ========================================
   NEW FEATURE BANNER
   ======================================== */

.new-feature-banner {
  background: rgba(5, 150, 105, 0.05);
  border: 1px solid rgba(5, 150, 105, 0.15);
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 14px;
  text-align: center;
}

.new-feature-banner strong {
  color: #059669;
  font-size: 0.85rem;
  font-weight: 700;
}

.new-feature-banner small {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ========================================
   ACCESS CODE EXTRAS
   ======================================== */

.sim-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  margin: 12px 0;
}

.sim-cta-link:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 111, 235, 0.2);
}

.sim-contact-footer {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.6;
}

.sim-contact-footer a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.sim-contact-footer a:hover {
  text-decoration: underline;
}

/* ========================================
   CTA BANNER
   ======================================== */

.lp-cta-banner {
  background: linear-gradient(135deg, #0b1e3d, var(--primary), #1f6feb);
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  margin-top: clamp(2rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
}

.lp-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(96, 165, 250, 0.15), transparent 60%);
  pointer-events: none;
}

.lp-cta-banner h2 {
  position: relative;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.lp-cta-banner p {
  position: relative;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto 24px;
  max-width: 500px;
}

.lp-cta-banner a {
  position: relative;
}

.lp-cta-banner .hero-btn-primary {
  display: inline-flex;
  font-size: 1rem;
  padding: 14px 32px;
}

/* ========================================
   BOTTOM TOOLS
   ======================================== */

.bottom-tools {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2rem) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.bottom-tools h3 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bottom-tools-grid {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'Inter', system-ui, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-tool:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(31, 111, 235, 0.08);
  transform: translateY(-1px);
}

/* ========================================
   FOOTER
   ======================================== */

.modern-footer {
  background: #050d1a;
  color: rgba(255, 255, 255, 0.6);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem);
  margin-left: calc(-50vw + 50%);
  width: 100vw;
  margin-top: clamp(3rem, 6vw, 4rem);
}

.modern-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}

.modern-footer .footer-contact {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
}

.modern-footer .footer-contact a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.modern-footer .footer-contact a:hover {
  color: #93c5fd;
}

.modern-footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.modern-footer .footer-nav a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.modern-footer .footer-nav a:hover {
  color: #60a5fa;
}

.modern-footer .footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 6px;
}

.modern-footer .footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
  margin: 0;
}

/* ========================================
   TOOLTIPS
   ======================================== */

.sim-section .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  cursor: help;
  position: relative;
  transition: all 0.2s ease;
}

.sim-section .info-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(31, 111, 235, 0.05);
}

.sim-section .tooltip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  padding: 16px;
  background: #1e293b;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.6;
  z-index: 200;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.sim-section .info-icon:hover .tooltip {
  display: block;
}

.sim-section .tooltip strong { color: #fff; }
.sim-section .tooltip em { color: rgba(255, 255, 255, 0.5); }

/* ========================================
   UTILITY & OVERRIDES
   ======================================== */

.hide { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

html { scroll-behavior: smooth; }

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .lp-navbar-links { display: none; }

  .hero-section {
    padding: clamp(3rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem);
  }

  .hero-tagline {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .hero-logo {
    max-width: 90%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .lp-trust-inner {
    gap: 16px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .lp-trust-item {
    flex-shrink: 0;
  }

  .orientation-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ori-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px;
  }

  .ori-card-icon {
    margin-bottom: 0;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .ori-card p {
    padding-bottom: 4px;
    margin-bottom: 4px;
  }

  .sim-section-body {
    padding: 16px;
  }

  .sim-form {
    flex-direction: column;
  }

  .sim-form input[type="text"] {
    min-width: 0;
  }

  .config-grid {
    grid-template-columns: 1fr;
  }

  .bottom-tools-grid {
    flex-direction: column;
    align-items: center;
  }

  .btn-tool {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  .modern-footer .footer-nav {
    flex-direction: column;
    gap: 8px;
  }

  .lp-cta-banner {
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .lp-navbar-inner { height: 56px; }
  .lp-navbar-logo { height: 28px; }
  .lp-navbar-name { font-size: 1rem; }
  .lp-navbar-cta { font-size: 0.8rem; padding: 7px 14px; }

  .hero-subtitle { font-size: 0.9rem; }
  .hero-partner-img { max-width: 180px; }

  .sim-section-title { font-size: 1.05rem; }
  .section-header h2 { font-size: 1.35rem; }
}

/* ========================================
   PRINT
   ======================================== */

@media print {
  .lp-navbar, .hero-section, .lp-trust-strip, .bottom-tools, .modern-footer, .lp-cta-banner { display: none; }
}
