/*
 * Esasyn Marketing & App Stylesheet
 * Enthält Marketingseiten, Auth, Dashboard, News und TSI Styles
 */

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

:root {
  --brand-1: #0a2d86;
  --brand-2: #0b3eaa;
  --brand-3: #0e53d3;
  --brand-4: #0f3fa8;
  --brand-dark: #0b1120;
  --brand-darker: #050816;
  --brand-accent: #38bdf8;
  --brand-green: #10b981;
  --brand-green-soft: rgba(16, 185, 129, 0.2);
  --brand-card: #111a2a;
  --brand-muted: #1e293b;
  --brand-gradient: linear-gradient(180deg, var(--brand-1), #0a328e 40%, #e0f2f1 100%);
  --text-strong: #0f172a;
  --text-muted: #94a3b8;
  --text-soft: #cbd5f5;
  --text-light: #e2e8f0;
  --text-inverse: #ffffff;
  --surface: #f8fafc;
  --surface-dark: #0f172a;
  --surface-glass: rgba(255, 255, 255, 0.08);
  --ring: rgba(56, 189, 248, 0.45);
  --shadow-xl: 0 30px 60px rgba(7, 16, 45, 0.4);
  --shadow-lg: 0 18px 40px rgba(8, 22, 46, 0.35);
  --shadow-soft: 0 12px 24px rgba(15, 23, 42, 0.18);
  --shadow-strong: 0 35px 65px rgba(5, 12, 33, 0.42);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --transition-fast: 150ms ease;
  --transition-medium: 240ms ease;
  --max-width: min(1180px, 92vw);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--brand-dark);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.marketing-page {
  background: #f3f5fb;
  color: var(--text-strong);
}

body.light-theme {
  background: #eef2ff;
  color: var(--text-strong);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  flex-shrink: 0;
}

a {
  color: var(--brand-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main {
  display: block;
  flex: 1 0 auto;
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section.light {
  background: #ffffff;
}

.section.dark {
  background: var(--brand-dark);
  color: var(--text-light);
}

.section.gradient {
  background: var(--brand-gradient);
  color: var(--text-inverse);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.flex {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn-primary {
  color: var(--brand-1);
  background: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(14, 83, 211, 0.22);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text-inverse);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-accent {
  background: var(--brand-accent);
  color: #031026;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.35);
}

.btn-accent:hover {
  transform: translateY(-1px);
}

.btn-outline-secondary {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--text-strong);
}

.btn-outline-secondary:hover {
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.btn-gradient {
  background: linear-gradient(120deg, var(--brand-2), var(--brand-3));
  color: #ffffff;
  border: none;
  box-shadow: 0 18px 35px rgba(14, 83, 211, 0.28);
}

.btn-gradient:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  color: inherit;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(56, 189, 248, 0.16);
  color: var(--brand-accent);
}

.card {
  padding: clamp(24px, 3vw, 32px);
  border-radius: 20px;
  background: #ffffff;
  color: var(--text-strong);
  box-shadow: var(--shadow-soft);
}

.card.dark {
  background: rgba(13, 23, 42, 0.78);
  backdrop-filter: blur(14px);
  color: var(--text-light);
  box-shadow: 0 18px 40px rgba(8, 16, 32, 0.45);
}

.card.transparent {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-light);
}

.shadow-ring {
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.32);
}

.space-grotesk {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.text-muted {
  color: var(--text-muted);
}

.text-accent {
  color: var(--brand-accent);
}

.text-green {
  color: var(--brand-green);
}

.heading-xl {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  font-weight: 800;
}

.heading-lg {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  font-weight: 700;
}

.heading-md {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

p.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: inherit;
  margin-bottom: 1.4rem;
  max-width: 620px;
}

/* ------------------- Header / Navigation ------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(8, 16, 34, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

body.marketing-page .site-header {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 23, 42, 0.08);
  color: var(--text-strong);
}

.site-header .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 0;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: inherit;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.32);
}

.brand-mark img {
  width: 70%;
  height: auto;
}

.brand-name {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  color: inherit;
  opacity: 0.85;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--brand-accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: transparent;
  color: inherit;
}

/* ------------------- Hero ------------------- */
.hero {
  background: var(--brand-gradient);
  color: var(--text-inverse);
  padding: clamp(24px, 6vw, 72px) 0 clamp(36px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.3), transparent 50%);
  pointer-events: none;
}

.hero .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.5vw, 32px);
  padding: clamp(16px, 4vw, 32px) 0;
}

.hero .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(12px, 3vw, 20px);
}

.hero #hero-title {
  font-size: clamp(2.8rem, 5.8vw, 4.8rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-shadow: 0 16px 36px rgba(3, 7, 18, 0.5);
}

.hero .lead {
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}


/* ------------------- Demo Gallery ------------------- */
.demo-gallery {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.2rem);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: clamp(24px, 4vw, 48px);
}

.demo-shot {
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.12);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.demo-shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px rgba(15, 23, 42, 0.18);
}

.demo-shot-media {
  position: relative;
  min-height: 260px;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.25), rgba(15, 23, 42, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.demo-shot-media:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 4px;
}

.demo-shot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.demo-shot-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(5, 12, 28, 0.45);
  text-align: center;
  padding: 1rem;
}

.demo-shot-zoom {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.demo-shot.has-image .demo-shot-placeholder {
  display: none;
}

.demo-shot-text {
  padding: clamp(1.5rem, 3vw, 1.9rem);
}

.demo-shot-text h3 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
}

.demo-shot-text p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.demo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 24, 0.85);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
}

.demo-lightbox.open {
  display: flex;
}

.demo-lightbox-figure {
  position: relative;
  width: min(1100px, 94vw);
  background: #0b1224;
  border-radius: 24px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.demo-lightbox-figure img {
  width: 100%;
  border-radius: 18px;
  display: block;
  margin-bottom: 1rem;
}

.demo-lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

.demo-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(3, 8, 20, 0.8);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
}

.demo-lightbox-close:hover {
  background: rgba(56, 189, 248, 0.2);
}

.demo-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.demo-checklist li {
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-weight: 500;
}

/* ------------------- Feature Grid ------------------- */
.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border-radius: 20px;
  background: #ffffff;
  color: var(--text-strong);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px;
  height: 160px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2), transparent 60%);
  z-index: 0;
}

.feature-card.dark {
  background: rgba(10, 19, 38, 0.9);
  color: var(--text-light);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(56, 189, 248, 0.18);
  color: var(--brand-accent);
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
}

/* ------------------- Showcase ------------------- */
.showcase-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

.showcase-card {
  background: var(--brand-card);
  color: var(--text-light);
  padding: clamp(28px, 4vw, 36px);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: var(--shadow-lg);
}

.showcase-media {
  margin-top: 1.5rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.92));
}

.showcase-media img {
  display: block;
  width: 100%;
}

/* ------------------- Testimonials ------------------- */
.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial-card {
  padding: clamp(24px, 3vw, 32px);
  border-radius: 20px;
  background: rgba(10, 19, 38, 0.86);
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow: var(--shadow-lg);
}

.testimonial-card p {
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.2);
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* ------------------- Pricing ------------------- */
.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pricing-card {
  position: relative;
  border-radius: 24px;
  padding: clamp(28px, 4vw, 38px);
  background: rgba(14, 24, 42, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: var(--text-light);
  box-shadow: var(--shadow-lg);
}

.pricing-card.recommended {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 28px 50px rgba(10, 83, 155, 0.45);
}

.pricing-card .price {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  margin: 1rem 0;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.pricing-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-soft);
}

.pricing-card li::before {
  content: '✔';
  margin-top: 0.15rem;
  color: var(--brand-green);
}

/* ------------------- FAQ ------------------- */
.faq-accordion {
  display: grid;
  gap: 1rem;
}

.faq-accordion details {
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-strong);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.faq-accordion details[open] summary {
  color: var(--brand-3);
}

.faq-accordion summary {
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  outline: none;
}

/* ------------------- Contact ------------------- */
.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-card {
  padding: clamp(28px, 4vw, 36px);
  border-radius: 24px;
  background: rgba(12, 22, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow: var(--shadow-lg);
  color: var(--text-light);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  color: var(--text-light);
}

.contact-form input,
.contact-form textarea,
.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(9, 16, 32, 0.8);
  color: var(--text-light);
  font-size: 1rem;
  transition: border var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus,
.form-control:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* ------------------- Footer ------------------- */
.site-footer {
  background: var(--brand-darker);
  color: var(--text-soft);
  padding: 48px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.site-footer .footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.12);
  display: grid;
  place-items: center;
  color: var(--text-light);
}

/* ------------------- Auth Pages ------------------- */
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--brand-gradient);
  padding: clamp(32px, 8vw, 64px) 16px;
  color: var(--text-inverse);
}

.auth-card {
  width: min(460px, 92vw);
  padding: clamp(32px, 5vw, 44px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  color: var(--text-inverse);
}

.auth-card h1 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  text-align: center;
  margin-bottom: 0.5rem;
}

.auth-card p {
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
}

.auth-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.auth-form label {
  font-weight: 600;
}

.auth-form .form-control {
  background: rgba(3, 9, 26, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.invalid-feedback,
.form-error {
  color: #fda4af;
  font-size: 0.85rem;
}

.divider {
  position: relative;
  text-align: center;
  margin: 1.4rem 0;
  color: rgba(255, 255, 255, 0.6);
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(4, 16, 46, 0.6);
  color: var(--text-inverse);
  font-weight: 600;
}


.toast-stack {
  position: fixed;
  top: 24px;
  right: 24px;
  display: grid;
  gap: 0.75rem;
  z-index: 1100;
}

.toast {
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  background: rgba(3, 9, 24, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--text-soft);
  box-shadow: var(--shadow-soft);
}

.cookie-banner {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 100%;
  max-width: 460px;
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  color: var(--text-strong);
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(15, 23, 42, 0.08);
  z-index: 1500;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner__text h2 {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
}

.cookie-banner__text p {
  margin: 0 0 0.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--brand-2);
  font-weight: 600;
}

.cookie-banner__toggle {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  background: rgba(10, 45, 134, 0.04);
  color: var(--text-strong);
  padding: 0.85rem 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.cookie-banner__toggle i {
  width: 0.75rem;
  height: 0.75rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.cookie-banner__toggle[aria-expanded="true"] i {
  transform: rotate(-135deg);
}

.cookie-preferences {
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-md);
  background: #f8fafc;
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.cookie-option:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cookie-option__title {
  margin: 0;
  font-weight: 600;
  color: var(--text-strong);
}

.cookie-option__info {
  flex: 1;
}

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

.cookie-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.5);
  transition: background var(--transition-fast);
}

.cookie-switch__track::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  top: 3px;
  left: 3px;
  transition: transform var(--transition-fast);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.cookie-switch input:checked + .cookie-switch__track {
  background: var(--brand-3);
}

.cookie-switch input:checked + .cookie-switch__track::after {
  transform: translateX(22px);
}

.cookie-switch input:disabled + .cookie-switch__track {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-banner__buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-banner__buttons .btn {
  flex: 1 1 0;
  min-width: 150px;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
  .cookie-banner__buttons .btn {
    flex: 1 0 100%;
  }
}

/* ------------------- Utility ------------------- */
.list-inline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.75rem;
}

.d-none {
  display: none !important;
}

.muted {
  color: var(--text-muted);
}

.highlight {
  color: var(--brand-accent);
}

/* ------------------- Media Queries ------------------- */
@media (max-width: 1199px) {
  .nav-links {
    gap: 1.2rem;
  }
}

@media (max-width: 991px) {
  .site-header .nav-inner {
    flex-wrap: wrap;
  }
  .nav-links {
    position: fixed;
    inset: 70px 18px auto;
    flex-direction: column;
    background: rgba(5, 12, 28, 0.95);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-medium);
  }
  body.marketing-page .nav-links {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-strong);
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  .hero .hero-inner {
    text-align: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 1.5rem 0;
  }
  .contact-card {
    padding: 1.8rem;
  }
  .pricing-card {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .nav-actions {
    width: 100%;
    justify-content: center;
  }
  .toast-stack {
    right: 12px;
    left: 12px;
  }
}
