/* ==========================================================================
   SCRIBITIUM — 2026 White Minimalist High-Conversion Design System
   Website: https://scribitium.com/
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Color Tokens */
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfdfe;
  --border: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-focus: #cbd5e1;

  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-light: #eef2ff;
  --accent-border: #c7d2fe;

  --emerald: #059669;
  --emerald-light: #ecfdf5;
  --emerald-border: #a7f3d0;

  --amber: #d97706;
  --amber-light: #fffbeb;
  --amber-border: #fde68a;

  --rose: #e11d48;
  --rose-light: #fff1f2;

  /* Elevation Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 0 25px rgba(79, 70, 229, 0.15);

  /* Typography & Layout */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  line-height: 1.6;
  background-color: var(--bg);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, svg {
  display: block;
  max-width: 100%;
}

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

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

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #4338ca 0%, #4f46e5 50%, #6366f1 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 1rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.announcement-bar a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 700;
  margin-left: 0.25rem;
}

.announcement-bar a:hover {
  opacity: 0.9;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header .container {
  max-width: 1360px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.25rem;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.2);
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 0.35rem 0;
  position: relative;
  white-space: nowrap;
}

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

.nav-login-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-login-link:hover {
  color: var(--accent);
  background: var(--bg-subtle);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-actions .btn {
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
}

.lang-selector-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-main);
  transition: var(--transition);
  white-space: nowrap;
}

.lang-selector-btn:hover {
  border-color: var(--accent-border);
  background: var(--accent-light);
  color: var(--accent);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-main);
  flex-shrink: 0;
}

.mobile-menu-btn:hover {
  background: var(--bg-subtle);
  border-color: var(--border-subtle);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.mobile-nav.active {
  display: block;
  animation: slideDownNav 0.25s ease-out forwards;
}

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

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  gap: 0.25rem;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  display: block;
}

.mobile-nav-link:hover {
  color: var(--accent);
  padding-left: 0.25rem;
}

.mobile-nav-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.5rem;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--border-focus);
  color: var(--text-main);
  transform: translateY(-1px);
}

.btn-emerald {
  background: var(--emerald);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
  border: 1px solid transparent;
}

.btn-emerald:hover {
  background: #047857;
  transform: translateY(-1px);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-lg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.badge-indigo {
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.badge-emerald {
  background: var(--emerald-light);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
}

.badge-amber {
  background: var(--amber-light);
  color: var(--amber);
  border: 1px solid var(--amber-border);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 5rem 0 4rem;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, rgba(238, 242, 255, 0.7) 0%, rgba(255, 255, 255, 1) 65%);
  position: relative;
  overflow: hidden;
}

.hero-pill-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-main);
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* ==========================================================================
   Hero Visual Interactive Showcase / Demo
   ========================================================================== */
.hero-visual-container {
  margin-top: 3.5rem;
  padding: 0 1rem;
}

.app-mockup-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  text-align: left;
}

.mockup-window-header {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  gap: 0.4rem;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.window-title-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.showcase-tabs-bar {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.showcase-tabs-bar::-webkit-scrollbar {
  display: none;
}

.showcase-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.showcase-tab-btn:hover {
  color: var(--text-main);
  background: var(--bg-subtle);
}

.showcase-tab-btn.active {
  color: var(--accent);
  background: var(--accent-light);
  border-color: var(--accent-border);
}

.showcase-content-pane {
  padding: 2.5rem;
  min-height: 420px;
  background: var(--bg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.showcase-text-col h3 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.showcase-text-col p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.showcase-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.showcase-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
}

.showcase-bullet-item svg {
  flex-shrink: 0;
  color: var(--emerald);
  margin-top: 3px;
}

.showcase-interactive-preview {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

/* ==========================================================================
   Section Standard Layouts
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

/* ==========================================================================
   Grid Features Cards (Pillars)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-lg);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* ==========================================================================
   Deep Dive Alternating Rows
   ========================================================================== */
.deep-dive-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.deep-dive-row:last-child {
  margin-bottom: 0;
}

.deep-dive-row.reversed {
  direction: rtl;
}

.deep-dive-row.reversed > * {
  direction: ltr;
}

.deep-dive-text h3 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.deep-dive-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.deep-dive-card-graphic {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Security Whitepaper / Architecture Visual
   ========================================================================== */
.security-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.flow-step-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  box-shadow: var(--shadow-xs);
}

.flow-step-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.flow-step-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.flow-step-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.table-scroll-hint {
  display: none;
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  margin-top: 0.75rem;
  animation: pulseHint 2s infinite ease-in-out;
}

@keyframes pulseHint {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.comparison-table th, 
.comparison-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  background: var(--bg-subtle);
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.9rem;
}

.comparison-table th.highlight-col,
.comparison-table td.highlight-col {
  background: rgba(79, 70, 229, 0.05);
  font-weight: 700;
  color: var(--accent);
}

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

/* ==========================================================================
   Pricing Cards
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
  align-items: center;
}

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

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.18), 0 0 0 2px var(--accent);
  background: radial-gradient(circle at top right, rgba(238, 242, 255, 0.6), #ffffff 70%);
}

.pricing-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.pricing-plan-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.pricing-plan-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  min-height: 44px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

.price-number {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

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

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--text-main);
}

.pricing-feature-item svg {
  flex-shrink: 0;
  color: var(--emerald);
  margin-top: 2px;
}

.pricing-guarantee-note {
  font-size: 0.825rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-focus);
}

.faq-question-btn {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.faq-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 350px;
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  margin: 2rem auto;
  text-align: center;
}

.cta-banner-section h2 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-banner-section p {
  font-size: 1.15rem;
  color: #e0e7ff;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   Footer & Legal Pages
   ========================================================================== */
.footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h6 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1.25rem;
  width: 100%;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Legal Documents Template Styling */
.legal-page-container {
  max-width: 820px;
  margin: 3rem auto 6rem;
  padding: 0 1.5rem;
}

.legal-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 2rem 0 0.75rem;
}

.legal-content p {
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-highlight-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.75rem 0;
}

.legal-highlight-box p {
  margin-bottom: 0;
  color: var(--text-main);
  font-weight: 500;
}

/* ==========================================================================
   Responsive Breakpoints & Header Polish
   ========================================================================== */

/* Intermediate Laptops & Desktops (1081px - 1260px: e.g. 1222px, 1150px) */
@media (max-width: 1260px) {
  .header-version-badge {
    display: none;
  }
  .nav-menu {
    gap: 1rem;
  }
  .nav-link {
    font-size: 0.85rem;
  }
  .header-btn-free {
    display: none;
  }
  .header-actions {
    gap: 0.5rem;
  }
}

/* Tablets & Smaller Laptops (<= 1080px: e.g. 1074px, 951px, 769px) */
@media (max-width: 1080px) {
  nav[role="navigation"],
  .nav-links,
  .nav-clean-links,
  .nav-menu {
    display: none !important;
  }
  .header-version-badge {
    display: none;
  }
  .header-actions .nav-login-link,
  .header-actions .btn,
  .header-btn-free,
  .header-btn-pro {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex !important;
  }
  .hero-heading {
    font-size: 2.75rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-content-pane {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.5rem;
    gap: 1.5rem;
  }
  .deep-dive-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .deep-dive-row.reversed {
    direction: ltr;
  }
  .security-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Devices (<= 768px: e.g. 412px Galaxy, iPhones) */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-section {
    padding: 3.5rem 0 2.5rem;
  }
  .hero-heading {
    font-size: 2rem;
    line-height: 1.2;
  }
  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }
  .hero-visual-container {
    padding: 0;
    margin-top: 2rem;
  }
  .app-mockup-wrapper {
    border-radius: var(--radius-lg);
  }
  .showcase-tabs-bar {
    padding: 0.5rem 0.75rem;
    gap: 0.35rem;
  }
  .showcase-tab-btn {
    padding: 0.4rem 0.65rem;
    font-size: 0.775rem;
  }
  .showcase-content-pane {
    padding: 1.25rem 0.85rem;
    gap: 1.25rem;
  }
  .showcase-text-col h3 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
  }
  .showcase-text-col p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
  .showcase-bullet-item {
    font-size: 0.85rem;
  }
  .showcase-interactive-preview {
    padding: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .security-flow-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    width: 100%;
  }
  .section {
    padding: 3rem 0;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
  .hero-guarantees {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
  .mobile-nav-actions {
    flex-direction: column;
  }
  .table-scroll-hint {
    display: inline-block;
  }
  .comparison-table th, 
  .comparison-table td {
    padding: 0.85rem 0.9rem;
    font-size: 0.825rem;
    white-space: nowrap;
  }
  .comparison-table th:first-child,
  .comparison-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #ffffff;
    border-right: 2px solid var(--border-subtle);
    white-space: normal;
    min-width: 145px;
    max-width: 165px;
    font-weight: 600;
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
    line-height: 1.35;
  }
  .comparison-table th:first-child {
    background: var(--bg-subtle);
  }
  .comparison-table th.highlight-col,
  .comparison-table td.highlight-col {
    background: #eff6ff;
    min-width: 125px;
  }
}

/* Sub-pages mobile polish (<= 640px) */
@media (max-width: 640px) {
  .header-actions .btn-secondary {
    display: none;
  }
}

/* Very Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
  .brand-title {
    font-size: 1.1rem;
  }
  .lang-selector-btn {
    padding: 0.35rem 0.55rem;
    font-size: 0.775rem;
  }
  .announcement-bar {
    font-size: 0.775rem;
    padding: 0.45rem 0.65rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
