/* ==========================================================================
   FSOFT YAZILIM — EXECUTIVE MINIMALIST DESIGN SYSTEM
   Inspired by Linear, Attio CRM, Stripe Enterprise & Palantir
   Monochrome-First, Single Refined Accent, Zero Visual Clutter
   ========================================================================== */

:root {
  /* Refined Obsidian & Graphite Palette (Dark Default) */
  --bg-primary: #090b10;
  --bg-secondary: #0d1017;
  --bg-elevated: #121620;
  --bg-card: #121620;
  --bg-card-hover: #171c28;
  --bg-glass: rgba(9, 11, 16, 0.85);
  --bg-subtle: rgba(255, 255, 255, 0.03);
  --bg-input: #0d1017;

  /* Crisp Typography Hierarchy */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8b95a5;
  --text-subtle: #5e6778;

  /* Single Refined Executive Accent (Sapphire Steel - No Rainbow Clutter) */
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-soft: rgba(59, 130, 246, 0.1);
  --accent-border: rgba(59, 130, 246, 0.32);

  /* Precision Hairline Borders & Subtle Depth */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.65);

  /* Editorial & Technical Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --container-max: 1280px;
  --header-height: 76px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Clean Architectural Light Theme */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --bg-subtle: #f1f5f9;
  --bg-input: #ffffff;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  --accent: #2563eb;
  --accent-light: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.07);
  --accent-border: rgba(37, 99, 235, 0.28);

  --border-subtle: rgba(15, 23, 42, 0.09);
  --border-hover: rgba(15, 23, 42, 0.18);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.1);
}

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

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

/* ==========================================================================
   2. TYPOGRAPHY & SECTION HEADERS
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}

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

.section-header {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.028em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.text-subtle-highlight {
  color: var(--accent-light);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ==========================================================================
   3. HEADER & NAVIGATION (CLEAN, UNCLUTTERED)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  padding: 4px 0;
}

.brand-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
  white-space: nowrap;
}

.brand-wordmark em {
  font-style: normal;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-muted);
  letter-spacing: -0.015em;
  margin-left: 2px;
}

.brand-logo img.logo-dark-theme { display: block !important; }
.brand-logo img.logo-light-theme { display: none !important; }
html[data-theme="light"] .brand-logo img.logo-dark-theme { display: none !important; }
html[data-theme="light"] .brand-logo img.logo-light-theme { display: block !important; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-subtle);
}

.nav-link svg {
  width: 13px;
  height: 13px;
  opacity: 0.65;
  transition: transform var(--transition);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--transition);
  z-index: 200;
}

.dropdown-panel.mega-panel {
  min-width: 560px;
  left: -40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 18px 20px;
}

.dropdown-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-group + .dropdown-group {
  border-left: 1px solid var(--border-subtle);
  padding-left: 20px;
}

.dropdown-group-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  padding: 4px 10px 8px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 4px;
}

.nav-item:hover .dropdown-panel,
.nav-item:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.dropdown-link:hover {
  background: var(--bg-subtle);
}

.dropdown-text strong,
.dropdown-link strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dropdown-text span,
.dropdown-link span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.38;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2px;
  background: var(--bg-input);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.theme-toggle-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-cta {
  display: none;
}

/* ==========================================================================
   4. BUTTONS (HIGH-CONTRAST MONOCHROME + REFINED OUTLINE)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: var(--bg-primary);
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

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

/* ==========================================================================
   5. HERO SECTION (CALM, ARCHITECTURAL, EXECUTIVE)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 100%);
}

.hero-top {
  max-width: 880px;
  margin: 0 auto 56px;
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.4vw, 3.65rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.032em;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 740px;
  margin: 0 auto 32px;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   6. END-TO-END ERP & CRM LIFECYCLE EXPLORER (THE "CIMBIZLA SEÇİLMİŞ" CORE)
   ========================================================================== */
.lifecycle-frame {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.lifecycle-nav {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.lc-step-btn {
  padding: 15px 12px;
  border: none;
  border-right: 1px solid var(--border-subtle);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}

.lc-step-btn:last-child {
  border-right: none;
}

.lc-step-btn:hover {
  background: var(--bg-subtle);
}

.lc-step-btn.active {
  background: var(--bg-elevated);
}

.lc-step-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-light);
}

.lc-step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-subtle);
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-subtle);
}

.lc-step-btn.active .lc-step-num {
  color: var(--accent-light);
  background: var(--accent-soft);
}

.lc-step-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

.lc-step-btn.active .lc-step-title {
  color: var(--text-primary);
}

.lifecycle-body {
  padding: 36px 40px;
}

.lc-pane {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.lc-pane.active {
  display: grid;
  animation: subtleFade 0.22s ease;
}

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

.lc-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 10px;
}

.lc-pane h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.lc-insight-quote {
  padding: 16px 20px;
  border-left: 2px solid var(--accent-light);
  background: var(--bg-subtle);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.lc-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lc-check-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.lc-check-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.lc-spec-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.lc-spec-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.lc-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.84rem;
}

.lc-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lc-spec-row span {
  color: var(--text-muted);
}

.lc-spec-row strong {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-primary);
}

/* ==========================================================================
   7. METRICS STRIP & CLIENT LOGOS
   ========================================================================== */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.metric-box {
  padding: 32px 28px;
  border-right: 1px solid var(--border-subtle);
}

.metric-box:last-child {
  border-right: none;
}

.metric-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-box span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.trust-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.trust-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  margin-bottom: 24px;
}

.featured-ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.featured-ref-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition), transform var(--transition);
}

.featured-ref-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.featured-ref-card .client-logo-card {
  width: 100%;
  height: 76px;
  margin: 0;
}

.featured-ref-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.featured-ref-info span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.client-logo-card {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: transform var(--transition), border-color var(--transition);
}

.client-logo-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.client-logo-card img {
  max-height: 54px;
  max-width: 145px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   8. BENTO GRID & ARCHITECTURAL CARDS
   ========================================================================== */
.section-padding {
  padding: 96px 0;
}

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

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition), background var(--transition);
}

.solution-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.solution-card.featured {
  grid-column: span 2;
}

.sol-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sol-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.sol-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.sol-tag.new {
  background: var(--accent-soft);
  color: var(--accent-light);
  border-color: var(--accent-border);
}

.solution-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.solution-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.65;
}

.sol-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.sol-chip {
  font-size: 0.74rem;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.sol-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

/* ==========================================================================
   9. TAILOR-MADE vs STANDARD ERP COMPARISON TABLE
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px;
}

.comp-card.fsoft-side {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg-card) 100%);
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.comp-list li:last-child {
  border-bottom: none;
}

/* ==========================================================================
   10. SCREENSHOT GALLERY & LIGHTBOX
   ========================================================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.screen-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.screen-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.screen-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0d1017;
  border-bottom: 1px solid var(--border-subtle);
}

.screen-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.screen-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 11, 16, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  cursor: pointer;
}

.screen-overlay * {
  pointer-events: none;
}

.screen-card:hover .screen-overlay {
  opacity: 1;
}

.screen-info {
  padding: 18px 20px;
}

.screen-info span.cat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.screen-info h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.screen-info p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(9, 11, 16, 0.92);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.open,
.lightbox-modal.active {
  display: flex !important;
}

.lightbox-content {
  max-width: 1160px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  animation: lbFadeIn 0.2s ease-out;
}

@keyframes lbFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-header,
.lightbox-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.lightbox-title,
#lightboxTitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.lightbox-close {
  background: var(--bg-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: all var(--transition);
}

.lightbox-close:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.lightbox-body {
  padding: 20px;
  max-height: 82vh;
  overflow: auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
}

.lightbox-body img {
  margin: 0 auto;
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   11. STEPS, FAQ & CONTACT
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-icon {
  font-family: var(--font-mono);
  color: var(--text-muted);
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.contact-info-card,
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-light);
}

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.88rem;
  display: none;
}

.form-status.success {
  display: block;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--text-primary);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Footer */
.site-footer {
  background: #06080c;
  color: #cbd5e1;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #8b95a5;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: #5e6778;
}

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
}

.floating-whatsapp:hover {
  border-color: var(--accent-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   12. RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .lifecycle-nav {
    grid-template-columns: repeat(4, 1fr);
  }
  .lc-pane,
  .comparison-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .solutions-grid,
  .screens-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solution-card.featured {
    grid-column: span 2;
  }
  .metrics-strip,
  .steps-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-ref-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .header-actions a[href*="fsoftdesk"],
  .header-actions .header-remote-btn {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
  }

  .site-header.menu-open {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--bg-elevated) !important;
  }

  body.mobile-nav-open {
    overflow: hidden !important;
  }

  .mobile-menu-btn { 
    display: inline-flex; 
  }

  .main-nav {
    position: fixed !important;
    top: var(--header-height) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100vh - var(--header-height)) !important;
    height: calc(100dvh - var(--header-height)) !important;
    background: var(--bg-elevated) !important;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 36px;
    gap: 8px;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    z-index: 999999 !important;
  }

  .main-nav.open { 
    display: flex !important; 
  }

  .main-nav .nav-item {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .main-nav .nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 0.98rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    background: transparent;
    transition: all var(--transition);
  }

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

  .main-nav .nav-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
  }

  /* Akordeon açıldığında ok döner */
  .main-nav .nav-item.has-dropdown.dropdown-open > .nav-link svg {
    transform: rotate(180deg);
  }

  .main-nav .nav-item.has-dropdown.dropdown-open > .nav-link {
    color: var(--accent);
    background: var(--bg-subtle);
  }

  /* Mobilde ve tablette açılır paneller varsayılanda GİZLİ (kapalı akordeon) */
  .main-nav .dropdown-panel,
  .main-nav .dropdown-panel.mega-panel {
    display: none;
    position: static;
    min-width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--accent);
    background: var(--bg-subtle);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    padding: 12px 14px 14px;
    margin: 4px 0 8px 10px;
    flex-direction: column;
    gap: 8px;
    animation: accordionFade 0.2s ease-out;
  }

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

  /* Akordeon tıklandığında açılır */
  .main-nav .nav-item.has-dropdown.dropdown-open > .dropdown-panel {
    display: flex !important;
  }

  .main-nav .dropdown-panel.mega-panel {
    grid-template-columns: 1fr;
  }

  .main-nav .dropdown-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .main-nav .dropdown-group + .dropdown-group {
    border-left: none;
    padding-left: 0;
    border-top: 1px dashed var(--border-subtle);
    padding-top: 10px;
    margin-top: 4px;
  }

  .main-nav .dropdown-group-title {
    font-size: 0.68rem;
    padding: 2px 6px 6px;
  }

  .main-nav .dropdown-link {
    padding: 8px 10px;
    border-radius: 6px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
  }

  .main-nav .dropdown-link:hover {
    background: var(--bg-primary);
    border-color: var(--accent);
  }

  /* Mobilde menünün en altındaki Fsoft Uzak Masaüstü butonu */
  .mobile-nav-cta {
    display: block;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
  }

  .mobile-nav-cta .btn {
    width: 100%;
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, #0284c7 0%, #00b4ff 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 12px;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(0, 180, 255, 0.25);
  }

  .lifecycle-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .lifecycle-body {
    padding: 24px;
  }
  .lc-checklist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .solutions-grid,
  .screens-grid,
  .steps-grid,
  .footer-grid,
  .form-grid,
  .metrics-strip,
  .lifecycle-nav {
    grid-template-columns: 1fr;
  }
  .solution-card.featured {
    grid-column: span 1;
  }
  .featured-ref-grid,
  .logo-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ===== KVKK consent, legal pages & bilingual blocks ===== */
.form-consent { margin: 4px 0 18px; }
.consent-label { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; line-height: 1.55; color: var(--text-muted); cursor: pointer; }
.consent-label input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: #0ea5e9; }
.consent-label a { color: #38bdf8; text-decoration: underline; }
.footer-kvkk { color: #8b95a5; text-decoration: underline; }
.footer-kvkk:hover { color: #38bdf8; }
.footer-sep { color: #4b5563; margin: 0 6px; }
.legal-text { max-width: 860px; }
.legal-text h2 { font-size: 1.15rem; margin: 28px 0 10px; color: var(--text-primary); }
.legal-text p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.legal-text a { color: #38bdf8; }
.legal-meta { font-size: 0.85rem; opacity: 0.8; margin-top: 28px; }
html[lang="en"] [data-lang-block="tr"], html:not([lang="en"]) [data-lang-block="en"] { display: none !important; }
