/* ==========================================================================
   ShortDramaAPI Landing Page Stylesheet
   Theme: Aligned 1:1 with Client Panel Design System (#0f766e Teal & Emerald)
   ========================================================================== */

:root {
  /* Color Palette - Matching client/src/index.css */
  --bg: #f3f5f4;
  --bg-primary: #f3f5f4;
  --bg-secondary: #e9eceb;
  --bg-white: #ffffff;
  --bg-dark: #0f172a;
  --bg-dark-card: #131d31;
  --bg-dark-elevated: #1e293b;
  
  --brand: #0f766e;               /* Deep Teal */
  --brand-strong: #0d5c56;        /* Strong Teal */
  --brand-hover: #115e59;         /* Dark Teal Hover */
  --brand-soft: #ccfbf1;          /* Soft Mint */
  --brand-light: #ccfbf1;         /* Light Mint */
  --brand-glow: rgba(15, 118, 110, 0.22);
  --brand-gradient: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
  
  --accent: #15803d;              /* Forest Green */
  --accent-strong: #166534;
  --accent-mint: #34d399;         /* Vibrant Mint Highlight */
  --accent-teal: #0f766e;
  --accent-purple: #6366f1;
  --accent-amber: #b54708;
  
  --danger: #b42318;
  --danger-soft: #fee4e2;
  --warning: #b54708;
  --warning-soft: #ffefd6;
  --success: #067647;
  --success-soft: #dcfae6;
  --surface: #ffffff;
  --sidebar: #0f172a;             /* Dark Slate Navy */
  --sidebar-elevated: #1e293b;
  
  --ink: #111827;
  --ink-primary: #111827;
  --ink-secondary: #4b5563;
  --ink-muted: #6b7280;
  --ink-inverse: #f8fafc;
  
  --line: #e5e7eb;
  --border-light: #e5e7eb;
  --border-subtle: #edf0ee;
  --border-dark: #334155;
  
  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Elevation & Shadows */
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 30px rgba(15, 118, 110, 0.28);
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  /* Layout */
  --container-max: 1200px;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--ink-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--brand-strong);
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Typography Helpers */
h1, h2, h3, h4, h5, h6, strong {
  font-family: var(--font-heading);
  color: var(--ink-primary);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-strong);
  background: var(--brand-soft);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
  border: 1px solid rgba(15, 118, 110, 0.24);
}

.tag-badge-dark {
  background: rgba(15, 118, 110, 0.28);
  color: #5eead4;
  border-color: rgba(45, 212, 191, 0.4);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
}

.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.45);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--ink-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border-light);
  color: var(--ink-secondary);
}

.btn-outline:hover {
  background: var(--bg-secondary);
  color: var(--ink-primary);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 245, 244, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink-primary);
  letter-spacing: -0.03em;
}

.brand-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35);
}

.brand-name {
  color: var(--ink-primary);
}

.brand-name span {
  color: var(--brand);
}

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

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-login-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.header-login-link:hover {
  color: var(--brand);
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--ink-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f3f5f4 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: var(--ink-primary);
}

.hero-title span {
  color: var(--brand);
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-subtext {
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* Hero Real Client Dashboard Presentation */
.hero-image-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 65px -15px rgba(15, 23, 42, 0.18), 0 0 35px rgba(15, 118, 110, 0.1);
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-image-card:hover {
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 30px 75px -15px rgba(15, 23, 42, 0.24), 0 0 45px rgba(15, 118, 110, 0.18);
}

.hero-image-view {
  background: #f8fafc;
  overflow: hidden;
  position: relative;
}

.hero-image-view > picture,
.integration-image-view > picture,
.workspace-image-view > picture,
.proof-platform-logo-wrap > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-real-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-image-card:hover .hero-real-img {
  transform: scale(1.015);
}

/* ==========================================================================
   Category Social Proof Bar
   ========================================================================== */
.proof-bar {
  padding: 2.5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.proof-bar-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}

.proof-header {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.proof-header span {
  display: block;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ink-secondary);
  margin-top: 0.2rem;
}

.proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.proof-platform-card {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.2rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  min-width: 210px;
}

.proof-platform-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  background: #ffffff;
  box-shadow: 0 10px 24px -4px rgba(15, 118, 110, 0.18), 0 2px 6px rgba(15, 23, 42, 0.06);
}

.proof-platform-logo-wrap {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.platform-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proof-platform-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}

.proof-platform-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-primary);
  transition: color var(--transition-fast);
}

.proof-platform-card:hover .proof-platform-name {
  color: var(--brand);
}

.proof-platform-url {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--brand);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.15rem;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.proof-platform-card:hover .proof-platform-url {
  opacity: 1;
  text-decoration: underline;
}

.proof-disclaimer {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Product Pillars
   ========================================================================== */
.product-pillars {
  padding: 5.5rem 0;
  background: var(--bg-primary);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--ink-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

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

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(15, 118, 110, 0.4);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Comparison Table Section
   ========================================================================== */
.comparison-section {
  padding: 5.5rem 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
  align-items: center;
}

.comparison-intro h2 {
  font-size: 2.35rem;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.comparison-intro p {
  font-size: 1.05rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.comparison-table-wrapper {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.comp-table th, .comp-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.comp-table th {
  background: #f8fafc;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.comp-table th.highlight-col {
  background: var(--brand-soft);
  color: var(--brand-strong);
  border-left: 1px solid #99f6e4;
}

.comp-table td.dim {
  color: var(--ink-secondary);
}

.comp-table td.highlight-col {
  background: #f0fdfa;
  font-weight: 600;
  color: var(--brand-strong);
  border-left: 1px solid #ccfbf1;
}

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

.comp-footnote {
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--border-light);
  background: #ffffff;
}

/* ==========================================================================
   Integration Walkthrough (Dark Card & Console)
   ========================================================================== */
.integration-section {
  padding: 6rem 0;
  background: var(--sidebar);
  color: #f8fafc;
}

.integration-section .section-title,
.integration-section h2,
.integration-section h3 {
  color: #ffffff;
}

.integration-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
  align-items: center;
}

.integration-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.integration-intro p {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.28);
  color: #5eead4;
  border: 1px solid rgba(45, 212, 191, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.step-body h4 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.step-body p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 0;
}

/* Real Client Documentation Screenshot Presentation */
.integration-image-card {
  position: relative;
  background: #0f172a;
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 65px -15px rgba(0, 0, 0, 0.65), 0 0 40px rgba(15, 118, 110, 0.22);
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.integration-image-card:hover {
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow: 0 30px 75px -15px rgba(0, 0, 0, 0.75), 0 0 50px rgba(15, 118, 110, 0.32);
}

.integration-image-view {
  background: #090d16;
  overflow: hidden;
  position: relative;
}

.integration-real-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.integration-image-card:hover .integration-real-img {
  transform: scale(1.015);
}

/* ==========================================================================
   Workspace Preview Section
   ========================================================================== */
.workspace-section {
  padding: 6rem 0;
  background: #ffffff;
}

.workspace-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: center;
}

.workspace-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.workspace-intro p {
  color: var(--ink-secondary);
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.feature-content p {
  font-size: 0.875rem;
  color: var(--ink-secondary);
  margin-bottom: 0;
}

/* Real Client Workspace Screenshot Presentation */
.workspace-image-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 65px -15px rgba(15, 23, 42, 0.16), 0 0 35px rgba(15, 118, 110, 0.08);
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.workspace-image-card:hover {
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 30px 75px -15px rgba(15, 23, 42, 0.22), 0 0 45px rgba(15, 118, 110, 0.15);
}

.workspace-image-browser-bar {
  background: var(--sidebar);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1e293b;
}

.browser-bar-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.browser-bar-address {
  font-size: 0.76rem;
  color: #94a3b8;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.75rem;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-bar-address svg {
  color: #34d399;
  flex-shrink: 0;
}

.live-dot-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseGlow 2s infinite;
  margin-right: 0.25rem;
}

.browser-bar-badge {
  font-size: 0.68rem;
  background: rgba(45, 212, 191, 0.2);
  color: #5eead4;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.workspace-image-view {
  background: #f8fafc;
  overflow: hidden;
  position: relative;
}

.workspace-real-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.workspace-image-card:hover .workspace-real-img {
  transform: scale(1.015);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 980px;
  margin: 0 auto;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand);
}

.pricing-card.featured {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--brand);
}

.plan-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  width: fit-content;
}

.badge-monthly {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.badge-usage {
  background: #dcfae6;
  color: var(--success);
}

.plan-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.plan-features li svg {
  color: #10b981;
  flex-shrink: 0;
}

.pricing-note {
  text-align: center;
  font-size: 0.825rem;
  color: var(--ink-muted);
  margin-top: 2rem;
}

/* ==========================================================================
   Resources / Guides
   ========================================================================== */
.resources-section {
  padding: 5.5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
  align-items: center;
}

.guide-links-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-primary);
  transition: all var(--transition-fast);
}

.guide-link-card:hover {
  background: #ffffff;
  border-color: var(--brand);
  transform: translateX(6px);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
}

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

.faq-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.faq-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.faq-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
  color: var(--ink-primary);
}

.faq-card p {
  font-size: 0.925rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Bottom CTA Banner
   ========================================================================== */
.bottom-cta-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.bottom-cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #132438 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3.5rem;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4), 0 0 35px rgba(15, 118, 110, 0.2);
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.cta-left h2 {
  font-size: 2.75rem;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.cta-left p {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.6;
}

.cta-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-end;
}

.cta-key-preview {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #5eead4;
}

.cta-key-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--sidebar);
  border-top: 1px solid #1f2937;
  padding: 3.5rem 0;
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.footer-nav a:hover {
  color: #5eead4;
}

.footer-tagline {
  color: #64748b;
  font-size: 0.8rem;
}



/* ==========================================================================
   Parallax, 3D Dynamic Tilt & Ambient Motion System
   ========================================================================== */

/* Perspective Container for 3D Panels */
.tilt-panel-wrapper {
  perspective: 1200px;
  transform-style: preserve-3d;
}

[data-tilt-panel] {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.25s ease;
}

[data-tilt-panel]:hover {
  box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.18), 0 0 40px rgba(15, 118, 110, 0.2);
}

/* Multi-layer 3D Depth Separations */
.hero-visual-card {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-visual-card .diagram-col:nth-child(1) {
  transform: translateZ(15px);
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.hero-visual-card .access-layer-card {
  transform: translateZ(42px);
  transform-style: preserve-3d;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(45, 212, 191, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-visual-card:hover .access-layer-card {
  transform: translateZ(52px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45), 0 0 45px rgba(45, 212, 191, 0.35);
}

.hero-visual-card .mock-phone {
  transform: translateZ(32px) rotateY(-4deg);
  transition: transform 0.3s ease;
}

.hero-visual-card:hover .mock-phone {
  transform: translateZ(42px) rotateY(-6deg) scale(1.03);
}

.hero-visual-card .api-key-pill {
  transform: translateZ(24px);
}

.hero-visual-card .drama-mini-card {
  transform-style: preserve-3d;
}

.hero-visual-card .drama-mini-card:nth-child(odd) {
  animation: floatOrganic 6s ease-in-out infinite alternate;
}

.hero-visual-card .drama-mini-card:nth-child(even) {
  animation: floatOrganic 6s ease-in-out infinite alternate-reverse;
}

/* Dev Console 3D Layers */
.dev-console-card {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.dev-console-card .api-interactive-box {
  transform: translateZ(28px);
  transition: transform 0.25s ease;
}

.dev-console-card .flow-chart-horizontal {
  transform: translateZ(20px);
}

.dev-console-card #api-response-output {
  transform: translateZ(32px);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Workspace Portal 3D Layers */
.portal-card {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.portal-card .portal-chart-box {
  transform: translateZ(28px);
  transition: transform 0.3s ease;
}

.portal-card .api-key-pill {
  transform: translateZ(34px);
}

/* Dynamic Glare Light Overlay */
.panel-glare-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.18), transparent 80%);
  transition: opacity 0.25s ease;
  z-index: 10;
}

.dev-console-card .panel-glare-overlay {
  background: radial-gradient(circle 380px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(45, 212, 191, 0.16), transparent 80%);
}

[data-tilt-panel]:hover .panel-glare-overlay {
  opacity: 1;
}

/* Ambient Floating Parallax Orbs & Shapes */
.parallax-orb-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.parallax-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  will-change: transform;
  pointer-events: none;
}

.orb-teal {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.45) 0%, rgba(20, 184, 166, 0.1) 70%, transparent 100%);
}

.orb-mint {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.4) 0%, rgba(52, 211, 153, 0.08) 70%, transparent 100%);
}

.orb-slate {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.35) 0%, rgba(30, 41, 59, 0.05) 70%, transparent 100%);
}

/* Floating Parallax Metric Chips */
.floating-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-primary);
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.12);
  z-index: 5;
  pointer-events: none;
  will-change: transform;
  animation: floatOrganic 5s ease-in-out infinite alternate;
}

.floating-chip-dark {
  background: rgba(19, 29, 49, 0.92);
  border-color: rgba(45, 212, 191, 0.3);
  color: #5eead4;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* Animations */
@keyframes floatOrganic {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.8deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.08);
  }
}

/* Parallax Grid Subtle Pattern */
.parallax-grid-mesh {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 118, 110, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .comparison-grid,
  .integration-grid,
  .workspace-grid,
  .resources-grid,
  .bottom-cta-banner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    max-width: 100%;
  }

  .cta-right {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .header-actions .header-login-link {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .pillars-grid,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .portal-layout {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    display: none;
  }

  .hero-diagram {
    grid-template-columns: 1fr;
  }
}
