/* ============================================================
   GRIDIA — Kurumsal Planlama ve Modelleme Platformu
   Landing Page Stylesheet (Slate Grey Design System)
   ============================================================ */

:root {
  /* Slate Grey Palette (SaaS Standard) */
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-850: #172033;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  /* Brand Accents */
  --accent-primary: #334155;
  --accent-hover:   #1e293b;
  --accent-light:   #f1f5f9;
  --accent-border:  #cbd5e1;
  --accent-blue:    #2563eb;
  --accent-blue-soft: #eff6ff;
  --accent-green:   #16a34a;
  --accent-green-soft: #f0fdf4;
  --accent-amber:   #d97706;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-brand: 'Great Vibes', 'Alex Brush', cursive;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Layout & Spacing */
  --container-max: 1200px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 40px -10px rgba(51, 65, 85, 0.18);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Blueprint Grid */
.bg-grid-pattern {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(203, 213, 225, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(203, 213, 225, 0.35) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -2;
  mask-image: radial-gradient(circle at 50% 20%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, black 40%, transparent 85%);
}

.bg-radial-glow {
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(148, 163, 184, 0.22) 0%, rgba(248, 250, 252, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

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

/* Typography Helpers */
h1, h2, h3, h4, h5 {
  color: var(--slate-900);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--slate-600);
}

.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--slate-800);
  color: var(--white);
  border-color: var(--slate-800);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  background-color: var(--slate-900);
  border-color: var(--slate-900);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--slate-700);
  border-color: var(--slate-300);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--slate-100);
  color: var(--slate-900);
  border-color: var(--slate-400);
}

.btn-outline {
  background-color: transparent;
  color: var(--slate-700);
  border-color: var(--slate-300);
}

.btn-outline:hover {
  background-color: var(--white);
  border-color: var(--slate-700);
  color: var(--slate-900);
}

.btn-large {
  padding: 0.875rem 1.625rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
}

/* ============================================================
   Header & Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  z-index: 100;
  transition: all var(--transition-fast);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--slate-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-emblem {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1;
}

.brand-title {
  font-family: var(--font-brand);
  font-size: 2.35rem;
  color: var(--slate-900);
  font-weight: 400;
  line-height: 1;
}

.brand-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--slate-500);
  margin-top: 0;
  padding-left: 28px;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.75rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.badge-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-700);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--slate-900) 30%, var(--slate-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--slate-600);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-600);
}

.trust-divider {
  width: 4px;
  height: 4px;
  background: var(--slate-300);
  border-radius: 50%;
}

/* ============================================================
   Interactive Mockup Frame
   ============================================================ */
.mockup-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
}

.mockup-frame {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18), var(--shadow-glow);
  overflow: hidden;
  text-align: left;
}

/* Window Header / Tabs */
.mockup-window-header {
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  gap: 1rem;
}

.window-controls {
  display: flex;
  gap: 6px;
  padding-left: 0.25rem;
}

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

.mockup-tabs {
  display: flex;
  gap: 4px;
  flex: 1;
}

.mockup-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate-500);
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mockup-tab.active {
  background: var(--white);
  color: var(--slate-800);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--slate-200);
}

.tab-close {
  color: var(--slate-400);
  margin-left: 2px;
  font-size: 0.85rem;
}

.mockup-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-200);
}

.mockup-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
}

/* Toolbar & Formula Bar */
.mockup-toolbar {
  padding: 0.75rem 1rem;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.toolbar-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-right: 0.25rem;
}

.dimension-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.formula-box {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.fx-label {
  font-weight: 700;
  color: var(--accent-blue);
  font-style: italic;
}

.fx-code {
  color: var(--slate-700);
}

.fx-valid {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-green);
  background: var(--accent-green-soft);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
}

.btn-mockup-export {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-700);
  background: var(--slate-100);
  border: 1px solid var(--slate-300);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Grid Table */
.mockup-grid {
  overflow-x: auto;
}

.mockup-grid table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.mockup-grid th {
  background: var(--slate-100);
  color: var(--slate-700);
  font-weight: 600;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--slate-200);
  border-right: 1px solid var(--slate-200);
  text-align: left;
  white-space: nowrap;
}

.mockup-grid td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--slate-200);
  border-right: 1px solid var(--slate-200);
  color: var(--slate-700);
  white-space: nowrap;
}

.mockup-grid .col-num {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.mockup-grid .col-status {
  text-align: center;
}

.mockup-grid .row-highlight {
  background: rgba(248, 250, 252, 0.6);
}

.mockup-grid .row-total {
  background: var(--slate-100);
  font-weight: 700;
  border-top: 2px solid var(--slate-300);
}

.text-positive { color: var(--accent-green); }
.text-neutral { color: var(--slate-500); }
.font-bold { font-weight: 700; }
.cell-calc {
  background-color: rgba(241, 245, 249, 0.7);
  font-weight: 600;
}

.status-pill {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.status-success {
  background: var(--accent-green-soft);
  color: var(--accent-green);
}

.status-info {
  background: var(--slate-200);
  color: var(--slate-700);
}

/* Floating Micro Widgets */
.mockup-floating-kpi {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.kpi-left {
  bottom: -20px;
  left: -20px;
}

.kpi-right {
  top: 35px;
  right: -25px;
  animation-delay: -2s;
}

@keyframes floatAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.kpi-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--accent-green-soft);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kpi-icon-wrap.kpi-shield {
  background: var(--accent-blue-soft);
  color: var(--accent-blue);
}

.kpi-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate-500);
}

.kpi-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
}

.kpi-trend {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-green);
  margin-left: 0.25rem;
}

/* ============================================================
   Sections Common
   ============================================================ */
.section {
  padding: 6rem 0;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

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

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--slate-600);
}

/* ============================================================
   Features Grid
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--slate-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--slate-100);
  color: var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--slate-200);
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.feature-text {
  font-size: 0.925rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex: 1;
}

.feature-footer {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}

.feature-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--slate-100);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* ============================================================
   Studio Tabs Showcase
   ============================================================ */
.studio-section {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.studio-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.studio-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--slate-100);
  color: var(--slate-600);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.studio-tab-btn:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.studio-tab-btn.active {
  background: var(--slate-800);
  color: var(--white);
  border-color: var(--slate-800);
  box-shadow: var(--shadow-sm);
}

.studio-content-card {
  display: none;
  background: var(--slate-50);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.studio-content-card.active {
  display: block;
  animation: fadeIn 300ms ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.studio-grid-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.studio-info .pill-mini {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-500);
  background: var(--slate-200);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.studio-info h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.studio-info p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.studio-feature-list {
  list-style: none;
  margin-bottom: 1.75rem;
}

.studio-feature-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  font-size: 0.875rem;
  color: var(--slate-700);
}

.studio-feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-size: 1.2rem;
  line-height: 1;
}

.studio-preview-box {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.code-preview-header {
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
  padding: 0.6rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-600);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.preview-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 50%;
}

.code-preview-body {
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.dim-row {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dim-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
}

.badge-blue { background: var(--accent-blue-soft); color: var(--accent-blue); }
.badge-purple { background: #f5f3ff; color: #7c3aed; }
.badge-green { background: var(--accent-green-soft); color: var(--accent-green); }
.badge-orange { background: #fff7ed; color: #ea580c; }

.layout-matrix {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.matrix-box {
  background: var(--slate-50);
  border: 1px dashed var(--slate-300);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

.matrix-box strong {
  display: block;
  color: var(--slate-500);
  font-size: 0.65rem;
  margin-bottom: 0.2rem;
}

.matrix-box.highlight {
  background: var(--accent-blue-soft);
  border-color: var(--accent-blue);
}

/* ============================================================
   Formula Engine Spotlight
   ============================================================ */
.formula-spotlight {
  background: var(--slate-900);
  color: var(--white);
}

.formula-box-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.formula-heading {
  font-size: 2.25rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.formula-info p {
  color: var(--slate-300);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.formula-syntax-demo {
  background: var(--slate-950);
  border: 1px solid var(--slate-700);
  border-left: 4px solid var(--accent-blue);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #38bdf8;
  margin-bottom: 1.25rem;
  overflow-x: auto;
}

.formula-subnote {
  font-size: 0.85rem !important;
  color: var(--slate-400) !important;
}

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

.formula-item {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.f-num {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate-400);
}

.formula-item h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.formula-item p {
  color: var(--slate-300);
  font-size: 0.875rem;
  line-height: 1.45;
}

/* ============================================================
   Architecture & Enterprise Security
   ============================================================ */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.arch-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.arch-card:hover {
  border-color: var(--slate-400);
  transform: translateY(-2px);
}

.arch-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  color: var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.arch-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.arch-card p {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* ============================================================
   FAQ Accordion
   ============================================================ */
.faq-container {
  max-width: 800px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition-fast);
}

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

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-chevron {
  transition: transform var(--transition-normal);
  color: var(--slate-400);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem;
}

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

.faq-answer p {
  font-size: 0.925rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ============================================================
   Final CTA Banner
   ============================================================ */
.final-cta-section {
  padding: 4rem 0 6rem;
}

.cta-banner-card {
  background: linear-gradient(135deg, var(--slate-850) 0%, var(--slate-900) 100%);
  border-radius: var(--radius-xl);
  padding: 4.5rem 2rem;
  text-align: center;
  color: var(--white);
  border: 1px solid var(--slate-700);
  box-shadow: var(--shadow-xl);
}

.cta-title {
  font-size: 2.75rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.15rem;
  color: var(--slate-300);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cta-domain-hint {
  font-size: 0.85rem;
  color: var(--slate-400);
}

.cta-domain-hint strong {
  color: #38bdf8;
  font-family: var(--font-mono);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  padding: 3.5rem 0 2.5rem;
}

.footer-centered-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.footer-centered-wrap .brand-link {
  justify-content: center;
}

.footer-brand-desc {
  font-size: 0.925rem;
  color: var(--slate-500);
  margin: 1.1rem 0 1.25rem;
  line-height: 1.6;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.2rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-700);
  text-decoration: none;
  transition: all var(--transition-fast);
  margin-bottom: 1.5rem;
}

.footer-contact-link:hover {
  background: var(--white);
  border-color: var(--slate-300);
  color: var(--accent-blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.footer-copyright {
  font-size: 0.825rem;
  color: var(--slate-400);
}

/* ============================================================
   Mobile & Tablet Responsiveness
   ============================================================ */
@media (max-width: 992px) {
  .hero-title { font-size: 2.75rem; }
  .formula-box-card { grid-template-columns: 1fr; }
  .studio-grid-layout { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .kpi-left, .kpi-right { display: none; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hero-title { font-size: 2.25rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .btn { width: 100%; }
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .cta-title { font-size: 2rem; }
}
