:root {
  --bg-color: #0b0b0f;
  --bg-secondary: #121318;
  --panel-bg: rgba(18, 19, 24, 0.75);
  --panel-border: rgba(255, 255, 255, 0.08);
  --panel-border-hover: rgba(6, 182, 212, 0.35);
  --glass-bg: rgba(18, 19, 24, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --accent-teal: #06B6D4;
  --accent-teal-bright: #22d3ee;
  --accent-teal-glow: rgba(6, 182, 212, 0.45);
  --accent-teal-subtle: rgba(6, 182, 212, 0.12);
  --accent-purple: #8b5cf6;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Background Atmospheric Glow */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow-1 {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 550px;
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.18) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(11, 11, 15, 0) 75%);
  filter: blur(80px);
  opacity: 0.85;
}

.ambient-glow-2 {
  position: absolute;
  top: 45%;
  left: 15%;
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(11, 11, 15, 0) 70%);
  filter: blur(100px);
  opacity: 0.6;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.8) 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.8) 0%, transparent 80%);
}

/* Page Container */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

/* Glassy Header */
.main-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 19, 41, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
  box-shadow: none;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.brand-icon-gem {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-teal), #38BDF8);
  border-radius: 5px;
  box-shadow: 0 0 12px var(--accent-teal-glow);
}

.brand-icon-gem svg {
  width: 12px;
  height: 12px;
  color: #0b0b0f;
}

.brand-logo span {
  color: var(--accent-teal);
  font-weight: 800;
}

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

.nav-plain-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

.nav-plain-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-teal);
  transition: width 0.3s ease;
}

.nav-plain-link:hover {
  color: var(--accent-teal);
}

.nav-plain-link:hover::after {
  width: 100%;
}

/* Nav App Link */
.nav-app-link {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-teal-bright);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: var(--accent-teal-subtle);
  border: 1px solid rgba(6, 182, 212, 0.25);
  transition: var(--transition);
}

.nav-app-link:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 16px var(--accent-teal-glow);
  transform: translateY(-1px);
}

/* Main Content */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
  width: 100%;
}

/* Hallmark Atmospheric Split Hero Section */
section.hero.split-hero {
  max-width: 1180px;
  width: 100%;
  min-height: calc(100vh - 75px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  text-align: left;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  background: var(--accent-teal-subtle);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-teal-bright);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.15);
}

.eyebrow-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 8px var(--accent-teal);
  animation: pulse-dot 2s infinite ease-in-out;
}

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

.hero-headline {
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 1.35rem;
}

/* Distinctive serif font for "True." */
.font-serif-accent {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.15em;
  color: var(--accent-teal-bright);
  background: linear-gradient(135deg, #a5f3fc 0%, #22d3ee 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-right: 0.05em;
}

.hero-subtext {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Proof Chips */
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.785rem;
  font-weight: 500;
  color: var(--text-muted);
}

.metric-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-teal);
}

/* Right Side: Terminal & Atmospheric Glow */
.hero-right {
  position: relative;
  width: 100%;
}

.terminal-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.24) 0%, rgba(59, 130, 246, 0.16) 40%, rgba(11, 11, 15, 0) 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
}

.terminal-container {
  position: relative;
  z-index: 1;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: visible;
  padding: 0.85rem;
}

/* Landing Search Bar */
.landing-search-form {
  position: relative;
  width: 100%;
}

.landing-search-bar {
  display: flex;
  align-items: center;
  background: rgba(11, 15, 25, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  gap: 0.75rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-search-bar:focus-within {
  border-color: var(--accent-teal-bright);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25), 0 0 20px rgba(6, 182, 212, 0.2);
}

.landing-search-bar.shake-error {
  animation: shakeInput 0.4s ease-in-out;
  border-color: #ef4444;
}

@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.landing-search-bar .search-icon {
  width: 22px;
  height: 22px;
  color: #64748b;
  flex-shrink: 0;
}

.landing-search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-family: 'Inter', sans-serif;
}

.landing-search-bar input::placeholder {
  color: #64748b;
}

.landing-analyze-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #22d3ee 0%, #06B6D4 100%);
  color: #0b0b0f;
  border: none;
  outline: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.landing-analyze-btn:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #22d3ee 100%);
  box-shadow: 0 0 16px var(--accent-teal-glow);
  transform: translateY(-1px);
}

.kbd-shortcut {
  background: rgba(0, 0, 0, 0.25);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: inherit;
  opacity: 0.85;
}

/* Cache Dropdown */
.cache-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(6, 182, 212, 0.1);
  z-index: 100;
  overflow: hidden;
  animation: dropdownFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-header {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dim);
}

.cache-list {
  list-style: none;
  max-height: 250px;
  overflow-y: auto;
  padding: 0.35rem;
}

.cache-item {
  display: flex;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cache-item:hover,
.cache-item:focus {
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.cache-claim-text {
  font-size: 0.875rem;
  color: var(--text-main);
  line-height: 1.45;
  width: 100%;
}

.dropdown-match {
  background: rgba(6, 182, 212, 0.3);
  color: #ffffff;
  border-radius: 2px;
  padding: 0 2px;
}

.cache-item-empty {
  padding: 1.25rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.dropdown-footer {
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

/* Guest Quota Limit Notice */
.guest-limit-notice {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  animation: dropdownFadeIn 0.2s ease;
}

.notice-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.notice-content {
  flex: 1;
}

.notice-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 0.25rem;
}

.notice-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.notice-actions {
  display: flex;
  gap: 0.65rem;
}

.notice-btn-signup {
  text-decoration: none;
  font-size: 0.785rem;
  font-weight: 600;
  color: #0b0b0f;
  background: #f59e0b;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: opacity 0.2s;
}

.notice-btn-signup:hover {
  opacity: 0.9;
}

.notice-btn-dismiss {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  font-size: 0.785rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
}


/* Interactive Scroll Story Section */
.scroll-story {
  width: 100%;
  height: 300vh;
  position: relative;
}

.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.story-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.story-content-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: padding 0.1s ease-out;
}

.story-card {
  width: 48%;
  max-width: 560px;
  min-height: 220px;
  padding: 2.5rem 2.25rem;
  background: rgba(18, 19, 24, 0.85);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(6, 182, 212, 0.08);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.story-title,
.story-card .story-title {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.story-text,
.story-card .story-text {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
  min-height: 5em;
}

.typing-cursor::after {
  content: '|';
  animation: blink 1s infinite;
  color: var(--accent-teal-bright);
  font-weight: 700;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Features Grid & Cards */
section.features {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto 5.5rem;
}

.features-header {
  text-align: center;
  margin-bottom: 3rem;
}

.features-title {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.features-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--panel-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--panel-border-hover);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6), 0 0 24px rgba(6, 182, 212, 0.1);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-teal-subtle);
  border: 1px solid rgba(6, 182, 212, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal-bright);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
  background: rgba(6, 182, 212, 0.2);
  box-shadow: 0 0 16px var(--accent-teal-glow);
}

.feature-icon-box svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

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

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-section {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 6rem 1.5rem 8rem;
}

.pricing-container {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.785rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-teal-bright);
  background: var(--accent-teal-subtle);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.15rem;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.12);
  text-transform: uppercase;
}

.pricing-headline {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.15;
}

.pricing-subtext {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.6;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 2.25rem;
  width: 100%;
  max-width: 960px;
  align-items: stretch;
}

.pricing-card {
  flex: 1 1 0;
  min-width: 0;
  background: var(--panel-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.card-plan-header {
  margin-bottom: 0.75rem;
}

.plan-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.plan-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.plan-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: normal;
}

.plan-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  min-height: 2.85rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.9375rem;
  color: var(--text-main);
  line-height: 1.5;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-teal-bright);
  flex-shrink: 0;
  margin-top: 0.2rem;
  filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.4));
}

/* Free Tier (Highlighted) */
.free-tier {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(6, 182, 212, 0.1);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.05) 0%, rgba(18, 19, 24, 0.75) 45%);
}

.free-tier::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-teal-bright), transparent);
}

.free-tier:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(6, 182, 212, 0.22);
}

/* Paid Tier (Coming Soon / Faded) */
.paid-tier {
  opacity: 0.7;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(18, 19, 24, 0.45);
}

.paid-tier:hover {
  opacity: 0.85;
  border-color: rgba(255, 255, 255, 0.25);
}

.coming-soon-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.faded-feature {
  color: var(--text-dim) !important;
  font-style: italic;
}

.feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
  margin-top: 0.55rem;
  margin-left: 6px;
  margin-right: 6px;
}

/* CTA Buttons */
.pricing-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  background: linear-gradient(135deg, #22d3ee 0%, #06B6D4 100%);
  color: #0b0b0f;
  border: none;
  outline: none;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.25);
}

.pricing-cta-btn:hover:not(.disabled-btn) {
  background: linear-gradient(135deg, #38bdf8 0%, #22d3ee 100%);
  box-shadow: 0 0 24px var(--accent-teal-glow);
  transform: translateY(-2px);
}

.pricing-cta-btn.disabled-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

/* Footer */
footer.footer {
  width: 100%;
  border-top: 1px solid var(--panel-border);
  padding: 2.25rem 1.25rem;
  text-align: center;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.footer-text {
  font-size: 0.875rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  section.hero.split-hero {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    margin: 2.5rem auto 4rem;
  }
  
  .hero-left {
    align-items: center;
    text-align: center;
  }

  .hero-metrics {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .story-card {
    width: 65%;
  }
}

@media (max-width: 768px) {
  .pricing-cards {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .pricing-card {
    width: 100%;
    max-width: 480px;
  }
}

@media (max-width: 640px) {
  .pricing-section {
    padding: 4.5rem 1rem 5.5rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .plan-price {
    font-size: 2.25rem;
  }

  .plan-desc {
    min-height: auto;
    margin-bottom: 1.5rem;
  }

  .header-inner {
    padding: 0.75rem 1rem;
  }

  .brand-logo {
    font-size: 1rem;
  }

  .nav-actions {
    gap: 1rem;
  }

  .nav-plain-link {
    font-size: 0.8125rem;
  }

  .nav-app-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.8125rem;
  }

  .terminal-container {
    padding: 0.65rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.5rem 1.25rem;
  }

  .story-content-container {
    padding: 0 1rem;
  }

  .story-card {
    width: 100%;
    max-width: 100%;
    padding: 1.75rem 1.25rem;
  }

  footer.footer {
    padding: 1.75rem 1rem;
  }
}

@media (max-width: 360px) {
  .hero-headline {
    font-size: 2rem;
  }
}

/* Contact Modal */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-modal.hidden {
  display: none; /* Prevents flash on load */
}

/* Card Container */
.contact-card {
  position: relative;
  width: 440px;
  max-width: 90%;
  border-radius: 14px;
  z-index: 1111;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(6, 182, 212, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Animated Border Blob */
.contact-blob {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: var(--accent-teal);
  opacity: 1;
  filter: blur(12px);
  animation: blob-bounce 8s infinite ease-in-out;
}

@keyframes blob-bounce {
  0% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }
  25% {
    transform: translate(-100%, -100%) translate3d(100%, 0, 0);
  }
  50% {
    transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
  }
  75% {
    transform: translate(-100%, -100%) translate3d(0, 100%, 0);
  }
  100% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }
}

/* Background overlay inside card */
.contact-bg {
  position: relative;
  z-index: 2;
  margin: 2px; /* Defines the 2px glowing border width */
  width: calc(100% - 4px); /* 100% minus margin */
  background: var(--panel-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
}

.close-modal-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s ease;
}

.close-modal-btn:hover {
  color: var(--text-main);
}

.contact-bg h3 {
  font-size: 1.6rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.contact-bg p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.contact-email-link {
  display: inline-block;
  color: var(--accent-teal-bright);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  transition: var(--transition);
}

.contact-email-link:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--accent-teal);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

