/* Theme tokens */
:root {
  --bg-0: #0b0c11;
  --bg-1: #11131a;
  --surface: #0f1117;
  --text: #e9e9f3;
  --muted: #b2b5c6;
  --line: rgba(255,255,255,0.08);

  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --focus: #f7e40b;

  --radius-xl: 30px;
  --shadow-soft: 0 10px 40px rgba(0,0,0,0.45);
  --shadow-ring: 0 0 0 1px rgba(139,92,246,0.25);

  --screen-pad: 18px;
  --header-h: 64px;     /* set via JS */
  --app-vh: 100vh;      /* set via JS to avoid mobile 100vh quirks */

  /* --- New Marketing Tokens (Merged) --- */
  --marketing-primary: #8b5cf6;       /* Vibrant Purple */
  --marketing-primary-hover: #7c3aed; /* Darker Purple */
  --marketing-bg-card: rgba(255, 255, 255, 0.03);
  --sun-yellow: #fbbf24;
}

@media (min-width: 1200px) {
  :root { --screen-pad: 26px; }
}

/* Base */
html {
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 12% 10%, #1b1440 0%, transparent 60%),
    radial-gradient(1000px 900px at 85% 10%, #0b3b4a 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  display: flex;
  flex-direction: column;
  min-height: var(--app-vh, 100vh);
}

/* Theme Override for LinkAutocorrect Page */
body.theme-linkautocorrect {
  /* Dark Theme Colors Specific to LP */
  --bg-1: #0b0a10;                    /* Deep purple-black */
  --surface: #13111a;                 /* Slightly lighter card bg */
  --line: #2d2b3b;                    /* Purple-tinted borders */
  --text: #e2e8f0;
  --muted: #94a3b8;
  
  /* Mapping variables */
  --accent: var(--marketing-primary); 
  --accent-2: var(--sun-yellow);

  /* Override global background gradient with flat color */
  background: var(--bg-1);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }

/* Accents */
.bg-accents { position: fixed; inset: -10vh -10vw auto -10vw; pointer-events: none; z-index: -1; }
.bg-accents .glow {
  position: absolute; filter: blur(80px); opacity: 0.18;
  background: radial-gradient(closest-side, var(--accent), transparent);
  width: 40vw; height: 40vw; border-radius: 9999px;
  animation: float 1s ease-in-out;
}
.bg-accents .glow-a { top: 8vh; left: -10vw; }
.bg-accents .glow-b { top: 18vh; right: -12vw; background: radial-gradient(closest-side, var(--accent-2), transparent); animation-delay: -6s; }
@keyframes float {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(2vw,1.5vh) scale(1.03); }
  100% { transform: translate(0,0) scale(1); }
}
.reduced-motion .bg-accents .glow { animation: none; }

/* Containers */
.container {
  max-width: 1432px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Skip link */
.skip-link { position: absolute; left: 12px; top: -40px; padding: 8px 12px; background: var(--surface); border-radius: 10px; color: var(--text); transition: top .2s ease; }
.skip-link:focus { top: 12px; outline: 2px solid var(--focus); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(15,17,23,0.5) 0%, rgba(15,17,23,0.3) 20%, rgba(15,17,23,0.3) 80%);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.scrolled { box-shadow: var(--shadow-soft); }
.header-inner { padding-top: 14px; padding-bottom: 10px; }

/* Desktop Header Layout */
.header-row-desktop {
  display: none; /* Hidden by default, shown in media query */
  align-items: center; /* Changed from baseline to center for better vertical alignment with the cube */
  gap: 24px;
  position: relative;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: 0.2px; padding: 5px;}
.brand-mark { width: 22px; height: 22px; border-radius: 6px; background: conic-gradient(from 210deg, var(--accent), var(--accent-2), var(--accent)); box-shadow: 0 0 0 2px rgba(255,255,255,0.06), 0 6px 20px rgba(139,92,246,0.35); }
.brand-word { font-size: 16px; color: #f2f3ff; opacity: .95; transform: scaleY(1); text-shadow: 0 0 0px #fff; font-family: 'Fira Code', monospace;}
.brand-word:hover { transition: text-shadow 0.3s ease-in-out, transform 0.3s ease; text-shadow: 0 0 20px #fff; }
.primary-nav {
  display: inline-flex;
  gap: 18px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-link {
  position: relative;
  color: #fff;
  padding: 8px 10px;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease;
  margin-bottom: 3px;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 100%;
  height: 2px;
  background-color: white;
  opacity: 0;
  transform: scaleX(0) scaleY(0.5);
  transform-origin: center;
  transition: transform 0.2s ease-out, opacity 0.2s ease-in;
}

.link-pill { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); color: var(--text); box-shadow: 0 0 0 1px rgba(255,255,255,0.02); transition: border-color .2s ease, background .2s ease; }
.link-pill:hover { background: rgba(139,92,246,0.12); border-color: rgba(139,92,246,0.45);}

/* Mobile header row layout */
.header-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Hamburger button visuals */
.hamburger {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .02);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.hamburger:hover {
  border-color: rgba(139, 92, 246, .45);
  background: rgba(139, 92, 246, .12);
}

/* The three bars */
.hamburger span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: #dadae8;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
}

/* Default state (three bars) */
.hamburger span:nth-child(1) { transform: translateY(-7px); }
.hamburger span:nth-child(3) { transform: translateY(7px); }

/* Animated "X" state */
.hamburger.is-active span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(0) rotate(-45deg); }

/* Mobile menu panel */
.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding: 0 2px;
  transition: max-height .3s ease, opacity .3s ease;
}

.mobile-links[data-open="false"] {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.mobile-links[data-open="true"] {
  max-height: 400px; /* tall enough for all links */
  opacity: 1;
}

/* Mobile menu links */
.mobile-links .nav-link {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  padding: 10px 14px;
}

.mobile-links .nav-link:hover {
  background: rgba(139, 92, 246, .12);
  border-color: rgba(139, 92, 246, .45);
}

/* Main content area (Default) */
main#content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: var(--screen-pad);
  padding-right: var(--screen-pad);
}

/* Main content area (Landing Page Override) */
main#content.lp-main {
  display: block;
  padding-top: 40px;
  padding-bottom: 80px;
  height: auto;
}

/* Cards section */
.cards.container {
  min-width: 50vw;
  max-height: max-content;
  max-width: 2650px;
  padding-left: 0;
  padding-right: 0;
  padding-top: var(--screen-pad);
  padding-bottom: var(--screen-pad);
}

.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--screen-pad);
}

/* Product card dimensions */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-xl) + 6px);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transform: translateY(14px);
  opacity: 0;
  transition:
    transform .35s cubic-bezier(.2,.7,.2,1),
    opacity .35s ease,
    box-shadow .35s ease,
    border-color .2s ease;
  flex: 1 1 100%;
}

.product-card.in-view { transform: translateY(0); opacity: 1; }
.product-card:hover { border-color: rgba(139,92,246,0.35); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.product-card:focus-within { outline: none; box-shadow: var(--shadow-soft), var(--shadow-ring); }

/* Video wrapper */
.media-wrapper { position: absolute; left: 16px; right: 16px; top: 16px; bottom: 16px; border-radius: var(--radius-xl); overflow: hidden; }
.media { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.media-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 80% 10%, rgba(15,17,23,0.0) 0%, rgba(15,17,23,0.45) 45%, rgba(15,17,23,0.65) 70%),
    linear-gradient(180deg, rgba(15,17,23,0.15) 0%, rgba(15,17,23,0.75) 100%);
}

/* Card content */
.card-content {
  position: relative;
  z-index: 1;
  flex-grow: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.6;
}

@supports (padding-bottom: max(1px, 1px)) {
  .card-content {
    padding-bottom: max(72px, calc(env(safe-area-inset-bottom) + 24px));
  }
}

.card-top { width: 100%; max-width: 960px; }
.card-title {
  margin: 0 0 10px 0;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.01em;
  text-shadow: 0 1px 0 rgba(0,0,0,0.6);
}
.card-sub { margin: 0; color: #d1d3e0; line-height: 1.55; }
.card-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
  /*margin-bottom: -30px;*/
}

.cta, .cta-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 999px; font-weight: 600; letter-spacing: 0.2px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.cta {
  background: rgba(0, 0, 0, 0.0);
  color: #FFF;
  border: 3px solid white;
}
.cta:hover { text-decoration: underline; transform: scale(1.1); }
.cta-ghost {
  color: var(--text); border: 1px solid var(--line); background: rgba(255,255,255,0.02);
}
.cta-ghost:hover { border-color: rgba(139,92,246,0.45); background: rgba(139,92,246,0.12); transform: translateY(-2px); }
.cta-small { font-size: 87%; }
.cta-small:hover { transform: scale(1.07); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(15,17,23,0.35), rgba(15,17,23,0.6)); }
.footer-grid { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 18px; grid-template-columns: 1fr 1fr; }
.footer-h { margin: 0 0 10px 0; font-size: 17px; color: #cdd0e0; font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 6px 0; }
.footer-links a { color: var(--muted); padding: 6px 0; display: inline-block; transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }

.legal-line { border-top: 1px solid var(--line); padding-top: 14px; padding-bottom: 26px; color: var(--muted); display: grid; gap: 8px; justify-items: center; }
.legal-line .sep { display: none; }


/* =============================================== */
/* == Language Switcher                         == */
/* =============================================== */

.lang-cube {
  display: inline-flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  vertical-align: middle; /* Aligns cube with text next to it */
}

.lang-option {
  padding: 1px 0px 2px;
  width: 50px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: background-color .2s ease, color .2s ease;
}

/* Add a separator line between the options */
.lang-option:not(:first-child) {
  border-top: 1px solid var(--line);
}

/* Style for the link to the other language */
a.lang-option {
  color: var(--muted);
}
a.lang-option:hover {
  background-color: rgba(139, 92, 246, .12);
  color: var(--text);
}

/* Style for the currently active language */
.lang-option.is-active {
  color: var(--text);
  background-color: rgba(255, 255, 255, 0.05);
  cursor: default;
}

/* Hide/show based on screen size */
.mobile-lang-cube { display: inline-flex; }
.desktop-lang-cube { display: none; }


/* ================================================= */
/* == RESPONSIVE & UTILITY STYLES                 == */
/* ================================================= */

/* Mobile-specific styles */
@media (max-width: 959px) {
  .product-card {
    aspect-ratio: 4 / 7;
  }
  .nav-link {
	  text-shadow: 0 0 0px #fff;
  }
  .nav-link:hover {
	  text-shadow: 0 0 20px #fff;
	  transition: text-shadow 0.4s ease-in-out;
  }
  .header-inner {
	  padding-top: 12px;
	  padding-bottom: 0px;
  }
  .site-header.menu-is-open .header-inner {
	  padding-bottom: 15px;
  }
  /* Center the language switcher in the mobile header */
  .mobile-lang-cube {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Desktop styles */
@media (min-width: 960px) {
  /* Hide mobile header elements */
  .header-row-top, .mobile-links, .mobile-lang-cube {
    display: none;
  }
  /* Show desktop header */
  .header-row-desktop {
    display: flex;
  }
  .desktop-lang-cube {
    display: inline-flex; /* Use inline-flex to make it visible */
  }
  .header-row-desktop .fill {
    flex: 1 1 auto;
  }
  .nav-link:hover::before {
	  opacity: 0.9;
	  transform: scaleX(0.87);
	}
  .product-card {
    aspect-ratio: 1 / 0.65;
    min-width: 678px;
  }
  .card-content {
    padding: 18px 40px;
  }
}

@media (min-width: 1200px) {
	.site-header {
	  top: -1px;
	  left: 10%;
	  width: 80%;
	  border-radius: 20px;
	}
}

@media (min-width: 1400px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 860px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); padding-left: 190px; }
  .legal-line { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
  .legal-line .sep { display: inline; opacity: 0.6; }
}

/* Revert to block layout on shorter screens */
@media (max-height: 860px){
  main#content { display: block; }
  .cards.container { display: block; min-height: auto; max-height: none; }
}

/* Accessibility & Utilities */
a:focus-visible, button:focus-visible, .checkbox:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.fill { width: 100%; }
.reduced-motion * { animation: none !important; transition: none !important; }

/* Color Scheme & Print */
@print { html { color-scheme: dark; } }
@media (prefers-color-scheme: dark) { html { color-scheme: dark; } }

/* Other sites */
.noselect, .noselect * { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.legal * p { margin-top: 0px; }
.legal * h2, .legal * h3, .legal * h4, .legal * h5, .legal * h6 { margin-bottom: 0px; }
.terms h2 { margin-top: 2rem; margin-bottom: 1rem; }
.terms h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.terms p { margin-bottom: 1rem; }
.terms ol { margin-bottom: 1rem; }

input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  padding: 2px;
  width: 16px !important;
  height: 16px !important;
  background-color: #333 !important;
  border: 1px solid #888 !important;
  border-radius: 3px;
  cursor: pointer;
  
  /* Layout alignment */
  vertical-align: middle;
  position: relative;
  transition: border-color 0.1s ease;
  background-color: #eaeaea;
  border-color: var(--accent);
  user-select: none;
}

input[type="checkbox"]:checked {
  background-color: #63d !important;
  border: 0px !important;
  border-color: var(--accent);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

/* ========================================================= */
/* == MARKETING / LANDING PAGE EXTENSIONS                 == */
/* ========================================================= */

.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-section {
    margin-bottom: 100px; /* --section-spacing */
}

.text-center { text-align: center; }

/* Usage of Sun Yellow for highlights */
.text-highlight { 
    color: var(--accent-2); 
    font-weight: 600;
}

h2.section-title {
    font-size: clamp(28px, 3vw, 42px);
    margin-bottom: 16px;
    font-weight: 700;
    color: #fafafa;
}

p.section-sub {
    font-size: 18px;
    color: var(--muted);
    max-width: 1200px;
    margin: 0 auto 48px auto;
    line-height: 1.6;
}

/* --- Hero Section --- */
.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

@media (min-width: 960px) {
    .hero-grid {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
    .hero-content { flex: 1; padding-right: 40px; }
    .hero-media { flex: 1.2; }
}

.hero-headline {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-sub {
    font-size: 20px;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.5;
}

.rating-stars {
    color: var(--sun-yellow); /* Star yellow */
    font-size: 18px;
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rating-text {
    color: var(--muted);
    font-size: 14px;
}

.hero-video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--marketing-primary); /* Now Purple */
    border-radius: 24px; /* --radius-xl */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.play-icon {
    width: 64px;
    height: 64px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.8);
}

/* --- Social Proof (Hidden) --- */
.social-proof-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.5;
    margin-top: -40px; /* Pull closer to hero */
    margin-bottom: 80px;
}
.logo-placeholder {
    width: 60px;
    height: 60px;
    background: var(--muted);
    border-radius: 50%;
}

.pain-card {
    flex: 1 1 250px;
    background: linear-gradient(145deg, #5b21b6, #4c1d95);
    padding: 32px 24px 8px;
    border-radius: 16px;
    min-height: 225px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.pain-card h3 { margin: 0; font-size: 20px; color: white; }
.pain-card p { margin-top: 8px; font-size: 15px; color: rgba(255,255,255,0.8); }

/* --- Soft Sell (Features) --- */
.grid-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.feature-card {
    flex: 1 1 300px;
    background: var(--marketing-bg-card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 16px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--muted);
    word-break: keep-all; 
    overflow-wrap: break-word;
}

.check-icon { color: var(--accent-2); /* Yellow checks */ }

/* --- Demo Section --- */
.demo-section {
    /* Purple/Cyan subtle gradient */
    background: linear-gradient(90deg, rgba(139,92,246,0.1), rgba(34,211,238,0.05));
    border-radius: 24px; /* --radius-xl */
    padding: 60px 24px;
    text-align: center;
    border: 1px solid rgba(139,92,246,0.3);
}

/* --- Testimonials (Hidden) --- */
.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial-card {
    flex: 1 1 400px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--line);
}

.t-stars { color: var(--sun-yellow); margin-bottom: 16px; }
.t-text { font-size: 18px; font-style: italic; margin-bottom: 20px; color: #e9e9f3; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 40px; height: 40px; background: var(--muted); border-radius: 50%; }

/* --- Passive Features (Comparison) --- */
.comparison-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
}

.comp-box {
    flex: 1 1 400px;
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    position: relative;
}

.comp-img-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom, #1a1d26, #0f1117);
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.status-bad { color: #ef4444; border: 2px solid #ef4444; }
.status-good { color: #22c55e; border: 2px solid #22c55e; }

.comp-content { padding: 24px; }

/* --- Case Study (Hidden) --- */
.case-card {
    flex: 1 1 300px;
    background: var(--marketing-bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.case-img {
    height: 180px;
    background: linear-gradient(135deg, var(--marketing-primary), var(--bg-1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-content { padding: 24px; }
.case-stat { font-size: 32px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.case-desc { color: var(--muted); font-size: 14px; }

/* --- Closing / Variants --- */
.variants-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.variant-card {
    flex: 1 1 400px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: border-color 0.2s;
}

.variant-card:hover {
    border-color: var(--accent);
}

.variant-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #fafafa;
}

.variant-sub {
    font-size: 16px;
    color: var(--accent); /* Yellow highlight */
    margin: 0 0 24px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.variant-details {
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.variant-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Utilities --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--marketing-primary);
    color: white;
    font-weight: 600;
    border-radius: 99px;
    transition: all 0.2s ease;
    /* Purple Glow */
    box-shadow: 0 4px 14px rgba(139,92,246,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139,92,246,0.6);
    background: var(--marketing-primary-hover);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text);
    font-weight: 600;
    border-radius: 99px;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: #fafafa;
    background: rgba(139,92,246,0.1);
}

/* Helper to hide sections as requested */
.future-proof-hide {
    display: none !important;
}

/* --- Section 3 Specifics --- */
.problem-narrative {
    max-width: 800px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.problem-headline-2 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 32px;
    line-height: 1.5;
}

.narrative-text {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 16px;
}

.error-preview-box {
    background: #000;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 40px 20px;
    max-width: 500px;
    height: 140px;
    margin: 24px auto;
    font-family: 'Courier New', monospace;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
}

/* Mac-style window dots for effect */
.error-preview-box::before {
    content: '•••';
    position: absolute;
    top: 10px;
    left: 10px;
    color: #999;
    font-size: 24px;
    line-height: 0;
    letter-spacing: -2px;
}

.error-code {
    color: var(--sun-yellow);
    font-size: 48px;
    font-weight: bold;
    margin: 3px 0px 8px;
}

.error-msg {
    margin: 10px 0 30px;
    color: #fafafa;
    font-size: 16px;
}

.pain-callout {
    margin-top: 32px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    padding: 16px 24px;
    border-radius: 12px;
    color: var(--text);
}

.pain-label {
    color: #ef4444; /* Red for pain */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    margin-right: 8px;
}

.circle-icon{
    display:inline-block;
    width:10px;
    height:10px;
    border-radius:50%;
    background:#42a55e;
    flex-shrink:0;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px; /* Limits width on large screens */
    margin: 2.5rem auto 0; /* Centers the video and adds top spacing */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background-color: #000; /* Background while loading */
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    outline: none;
}

/* --- Section 8: Agentic Web / Dynamic Links --- */
/* Left Column Content */
.agentic-content {
    text-align: left;
}

.agentic-content h2 {
    /* Changed from dark #111827 to white for dark mode readability */
    color: #fafafa; 
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.agentic-content p {
    /* Changed from dark gray to a lighter gray for contrast */
    color: var(--muted); 
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Benefit Items (Icon + Title alignment fixes) */
.benefit-item {
    margin-bottom: 1.5rem;
}

.benefit-item h3 {
    /* Added Flexbox to align Icon and Text */
    display: flex;
    align-items: center;
    gap: 12px; 
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
    color: #fafafa;
}

.benefit-item h3 svg {
    flex-shrink: 0;
}

/* Visual Flow Container */
.agentic-visual {
    background:     radial-gradient(1200px 800px at 85% 0%, #1b1440 0%, transparent 60%),
    radial-gradient(1000px 900px at 50% 50%, #0b3b4a 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-1) 100%, var(--bg-0) 0%);
    border: none;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
}

/* Browser Mockups - UPDATED: Dark Theme Base */
.browser-mockup {
    background: #1e293b; /* Dark Slate */
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.browser-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8; /* Lightened for dark bg */
    margin-bottom: 0.5rem;
    font-weight: 700;
    display: block;
}

/* URL Bar - UPDATED: Darker inner container */
.url-bar {
    background: #0f172a; /* Very dark slate/black */
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    font-family: 'Courier New', Courier, monospace;
    color: #e2e8f0; /* Light text */
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
}

.url-bar .domain {
    color: #64748b; /* Muted text */
}

.url-bar .path {
    color: #f8fafc; /* White text */
    font-weight: 600;
}

/* Flow Connector (Arrow) */
.flow-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
    color: #af62f6; /* Bright blue for visibility on dark bg */
    font-size: 0.9rem;
    font-weight: 600;
}

.flow-connector svg {
    margin-bottom: 0.25rem;
    width: 28px;
    height: 28px;
}

.agentic-heading {
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.agentic-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 1rem;
}

/* Mobile Responsiveness for LP Components */
@media (max-width: 768px) {
    .agentic-content {
        text-align: center;
    }
    
    .benefit-item h3 {
        justify-content: center;
    }
	
	.pain-callout {
		margin-top: 15px;
	}
	
	.problem-headline-2 {
		word-break: break-word;
	}
}

@media (min-width: 960px) {
    .agentic-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
		max-width: 1150px;
    }
}