﻿/* 
  KCG - Tax, Finance, AI | Design System CSS
  Visual Theme: Premium Fintech & AI Startup (Dark Glassmorphism)
*/

:root {
  /* Colors */
  --bg-primary: #0B132B;
  --bg-secondary: #1C2541;
  --bg-tertiary: #3A506B;
  --bg-card: rgba(28, 37, 65, 0.8);
  --border-color: rgba(99, 102, 241, 0.25);
  --border-hover: rgba(0, 240, 255, 0.8);
  
  --text-primary: #FFFFFF;
  --text-secondary: #A5B4FC;
  --text-muted: #6b7280;
  
  --accent-primary: #2D62FF; /* Emerald */
  --accent-primary-glow: rgba(45, 98, 255, 0.25);
  --accent-hover: #1A4BDB;
  
  --accent-secondary: #00F0FF; /* Cyan */
  
  --accent-success: #10b981;
  --accent-warning: #f59e0b;
  --accent-danger: #ef4444;
  
  /* Fonts */
  --font-serif: 'Outfit', sans-serif;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Layout */
  --sidebar-width: 260px;
  --header-height: 70px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: var(--accent-hover);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

.fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

/* Core App Layout */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navigation Bar (Landing Page & Global) */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 80px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-container {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  border-right: 3px solid var(--accent-primary);
  padding-right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-details {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.brand-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.15s;
  background: transparent;
  border: none;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-primary);
}

.btn-nav-action {
  background: var(--accent-primary);
  color: #000;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(45, 98, 255, 0.3);
  transition: all 0.2s ease-in-out;
}

.btn-nav-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 98, 255, 0.5);
}

/* LANDING PAGE */
.landing-hero {
  position: relative;
  width: 100%;
  background: #FFFFFF;
  padding-bottom: 60px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  position: relative;
}

.landing-hero .section-inner {
  padding: 100px 40px 90px;
}

.section-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.section-wave svg {
  display: block;
  width: 100%;
  height: 70px;
}

.hero-glow {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(circle, rgba(45, 98, 255, 0.12) 0%, rgba(0, 240, 255, 0.05) 50%, transparent 100%);
  z-index: -1;
  filter: blur(40px);
}

/* Hero Grid Layout */
.hero-grid-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.hero-text-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 98, 255, 0.08);
  border: 1px solid rgba(45, 98, 255, 0.25);
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #fff;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 30%, var(--accent-primary) 70%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 32px 0;
  line-height: 1.6;
  text-align: left;
}

/* Dashboard Mockup Card */
.hero-mockup-side {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  min-width: 0;
  width: 100%;
}

.dashboard-mockup {
  width: 100%;
  max-width: 440px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  animation: floatMockup 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes floatMockup {
  0%, 100% { transform: translateY(0) rotateY(-2deg) rotateX(1deg); }
  50% { transform: translateY(-10px) rotateY(2deg) rotateX(-1deg); }
}

.mockup-header {
  background: rgba(15, 23, 42, 0.6);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-header .dot.red { background: #ef4444; }
.mockup-header .dot.yellow { background: #eab308; }
.mockup-header .dot.green { background: #22c55e; }

.mockup-title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.mockup-body {
  padding: 20px;
}

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

.stat-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.stat-val {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.stat-badge {
  font-size: 9px;
  font-weight: 600;
  align-self: flex-start;
  padding: 2px 6px;
  border-radius: 10px;
}
.stat-badge.success { background: rgba(34, 197, 94, 0.1); color: #4ade80; }
.stat-badge.warning { background: rgba(234, 179, 8, 0.1); color: #fde047; }

.mockup-chart-container {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.chart-legend {
  color: var(--accent-primary);
  font-weight: 600;
}

.mockup-chart {
  width: 100%;
  height: 90px;
  display: block;
}

.mockup-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list-item {
  display: flex;
  align-items: center;
  background: rgba(30, 41, 59, 0.2);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 11px;
}

.item-icon {
  color: #22c55e;
  font-weight: bold;
  margin-right: 10px;
}

.item-text {
  color: var(--text-secondary);
  flex-grow: 1;
}

/* Mockup Screen Switching Styles */
.mockup-header-nav {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  flex-grow: 1;
}

.mockup-nav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 9px;
  padding: 4px 0;
  width: 85px;
  text-align: center;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
}

.mockup-nav-btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #000;
  font-weight: 600;
}

/* FiÅŸ DÃ¶nÃ¼ÅŸÃ¼m Mockup */
.mockup-receipt-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.receipt-dropzone {
  border: 1px dashed rgba(45, 98, 255, 0.3);
  background: rgba(45, 98, 255, 0.03);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.receipt-dropzone .drop-title {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.receipt-dropzone .drop-sub {
  font-size: 9px;
  color: var(--text-muted);
}

.receipt-extracted-list {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.extracted-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 6px;
}

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

.extracted-row .lbl {
  color: var(--text-muted);
}

.extracted-row .val {
  color: #fff;
  font-weight: 500;
}

.extracted-row .val.highlight {
  color: var(--accent-secondary);
  font-weight: 600;
}

/* Åirket DeÄŸerleme Mockup */
.mockup-valuation-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.valuation-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.val-input-row {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: var(--text-muted);
  text-align: center;
}

.badge-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.valuation-result-box {
  background: linear-gradient(135deg, rgba(45, 98, 255, 0.1) 0%, rgba(0, 240, 255, 0.05) 100%);
  border: 1px solid rgba(45, 98, 255, 0.2);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.valuation-result-box .res-title {
  font-size: 9px;
  color: var(--accent-primary);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.valuation-result-box .res-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  text-shadow: 0 2px 10px rgba(45, 98, 255, 0.3);
}

.valuation-result-box .res-sub {
  font-size: 9px;
  color: var(--text-muted);
}

/* Advisory / Corporate Mockup */
.mockup-advisory-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.advisory-header-info {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(0, 240, 255, 0.02) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.advisory-header-info .adv-title {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.advisory-header-info .adv-status {
  font-size: 9px;
  color: var(--accent-secondary);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 600;
}


@media (max-width: 900px) {
  .hero-grid-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-text-side {
    align-items: center;
  }
  
  .hero-text-side .hero-description {
    text-align: center;
    margin: 0 auto 30px;
  }
  
  .hero-btns {
    justify-content: center;
  }
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #000;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(45, 98, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 98, 255, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Features Grid */
.landing-features {
  position: relative;
  width: 100%;
  background: #F5F6FA;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 15px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(45, 98, 255, 0.08);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(45, 98, 255, 0.08);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 20px;
}

.feature-card h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.feature-link {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.feature-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.feature-badge.pro {
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-secondary);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.feature-badge.free {
  background: rgba(45, 98, 255, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(45, 98, 255, 0.2);
}

/* ARTICLES / BLOG */
.blog-container {
  padding: 60px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.blog-header {
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 32px;
  cursor: pointer;
  transition: all 0.2s;
}

.article-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px rgba(45, 98, 255, 0.05);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.article-tag {
  color: var(--accent-primary);
  font-weight: 600;
}

.article-card h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 12px;
}

.article-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Full Article View */
.btn-back {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  transition: all 0.15s;
}

.btn-back:hover {
  color: #fff;
  border-color: var(--text-secondary);
}

.article-full {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 48px;
}

.article-title-full {
  font-size: 38px;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.article-content {
  font-size: 15.5px;
  line-height: 1.75;
  color: #e2e8f0;
  max-width: 820px;
  margin: 0 auto;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content h4 {
  font-size: 19px;
  color: #fff;
  margin-top: 28px;
  margin-bottom: 12px;
  border-left: 4px solid var(--accent-secondary);
  padding-left: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.article-content ul, .article-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 6px;
}

/* AUTHENTICATION PORTAL (LOGIN/REGISTER) */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  flex: 1;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 48px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header h2 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--text-secondary);
  font-size: 13px;
}

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}

.form-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(45, 98, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.auth-toggle {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-secondary);
}

.auth-toggle span {
  color: var(--accent-primary);
  cursor: pointer;
  font-weight: 600;
}

.btn-demo-bypass {
  width: 100%;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--accent-secondary);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.15s;
}

.btn-demo-bypass:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--accent-secondary);
}

/* MEMBER WORKSPACE PORTAL (DASHBOARD) */
.portal-layout {
  display: flex;
  height: calc(100vh - 80px);
  overflow: hidden;
  zoom: 0.9; /* Shrinks the entire dashboard globally to be compact and readable */
}

/* Sidebar Menu */
.portal-sidebar {
  width: 200px; /* Slimmer sidebar */
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  flex-shrink: 0;
  height: 100%;
  overflow-y: auto;
}

.sidebar-section-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  margin-top: 24px;
  padding-left: 12px;
}

.sidebar-section-title:first-of-type {
  margin-top: 0;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-menu-divider {
  height: 1px;
  background: var(--border-color);
  margin: 6px 4px 10px;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
}

.sidebar-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
}

.sidebar-btn.active {
  color: #000;
  background: var(--accent-primary);
  font-weight: 700;
}

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #000;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.user-role {
  font-size: 11px;
  color: var(--text-secondary);
}

.btn-logout {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: var(--accent-danger);
  padding: 8px;
  border-radius: 6px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--accent-danger);
}

/* Workspace Main Area */
.portal-content {
  flex: 1;
  padding: 28px 36px;
  overflow-y: auto;
  background-color: var(--bg-primary);
  height: 100%;
}

/* Header & Status Indicator */
.portal-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 32px;
  gap: 20px;
}

.portal-content-header h1 {
  font-size: 32px;
  color: #fff;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-success);
  box-shadow: 0 0 8px var(--accent-success);
  transition: all 0.3s;
}

/* TOOL 1: FÃ„Â°Ã…Â DÃƒâ€“NÃƒÅ“Ã…ÂÃƒÅ“M EXCEL AKTARICI */
.config-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.config-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.config-inputs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.dropzone-container {
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.01);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  margin-bottom: 20px;
}

.dropzone-container:hover, .dropzone-container.dragging {
  border-color: var(--accent-primary);
  background: rgba(45, 98, 255, 0.02);
}

.dropzone-container h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}

.dropzone-container p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.queue-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.queue-thumb {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  cursor: zoom-in;
}

.queue-status {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
}

.queue-status.pending { background: rgba(255, 255, 255, 0.05); color: var(--text-secondary); }
.queue-status.working { background: rgba(245, 158, 11, 0.1); color: var(--accent-warning); }
.queue-status.done { background: rgba(45, 98, 255, 0.1); color: var(--accent-primary); }
.queue-status.error { background: rgba(239, 68, 68, 0.1); color: var(--accent-danger); }

/* Table styles */
.grid-container {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-secondary);
}

table.grid-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  font-family: var(--font-mono);
}

table.grid-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

table.grid-table td {
  padding: 0;
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

table.grid-table td:last-child {
  border-right: none;
}

table.grid-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}

table.grid-table td input {
  width: 100%;
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #fff;
  padding: 7px 9px;
  outline: none;
}

table.grid-table td input:focus {
  background: rgba(45, 98, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--accent-primary);
}

.table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  margin-bottom: 16px;
}

.table-toolbar h3 {
  font-size: 20px;
  color: #fff;
}

.btn-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

.image-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.image-modal-content img {
  max-width: 100%;
  max-height: 85vh;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.btn-close-modal {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

/* TOOL 2: YURTDIÃ…ÂI YATIRIM GELÃ„Â°RLERÃ„Â° VERGÃ„Â° ROBOTU */
.filter-panel {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-select {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 14px;
  outline: none;
}

.robot-workspace {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.robot-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
}

.robot-card-title {
  font-size: 20px;
  color: #fff;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.horizontal-form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}

.horizontal-form .form-group {
  margin-bottom: 0;
  flex: 1;
  min-width: 150px;
}

.horizontal-form button {
  padding: 12px 20px;
}

.report-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.summary-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
}

.summary-card-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.summary-card-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.summary-card-value.income { color: var(--accent-primary); }
.summary-card-value.tax { color: var(--accent-danger); }

/* TAX REPORT MATRAH PRINT VIEW */
.tax-report-document {
  background: #fff;
  color: #0f172a;
  border-radius: 8px;
  padding: 48px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.tax-report-header {
  border-bottom: 2px solid #0f172a;
  padding-bottom: 18px;
  margin-bottom: 28px;
  text-align: center;
}

.tax-report-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
}

.tax-report-header h4 {
  font-size: 14px;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
}

.tax-report-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 13px;
  margin-bottom: 32px;
  gap: 12px;
  background: #f8fafc;
  padding: 16px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.tax-report-section {
  margin-bottom: 32px;
}

.tax-report-section-title {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 1.5px solid #cbd5e1;
  padding-bottom: 6px;
  margin-bottom: 16px;
  color: #0f172a;
}

.tax-report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.tax-report-table th, .tax-report-table td {
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  text-align: left;
}

.tax-report-table th {
  background: #f1f5f9;
  font-weight: 700;
  color: #334155;
  font-family: var(--font-serif);
}

.tax-report-table td {
  font-family: var(--font-mono);
}

.tax-report-table tr.total-row td {
  font-weight: 800;
  background: #f8fafc;
}

/* TOOL 3: BEYAN EXCEL SÃ„Â°HÃ„Â°RBAZI */
.beyan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px;
  margin-bottom: 32px;
}

.template-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.template-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.template-info h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 6px;
}

.template-info p {
  font-size: 12px;
  color: var(--text-secondary);
}

.btn-download-icon {
  background: rgba(45, 98, 255, 0.08);
  color: var(--accent-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.template-card:hover .btn-download-icon {
  background: var(--accent-primary);
  color: #000;
}

/* print overrides */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .navbar, .portal-sidebar, .portal-content-header, .filter-panel, .no-print, .btn, button, footer {
    display: none !important;
  }
  .portal-layout, .portal-content {
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
  }
  .tax-report-document {
    display: block !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* Sub-tab Navigation styles */
.sub-tab-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.sub-tab-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sub-tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-secondary);
  color: #fff;
}

.sub-tab-btn.active {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #000;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(45, 98, 255, 0.2);
}

/* Blog Split-Pane Workspace */
.blog-workspace {
  display: flex;
  flex-direction: column;
  max-width: 1520px;
  margin: 0 auto;
  padding: 20px 40px 60px;
  gap: 30px;
}

/* Premium Blog Banner */
.blog-banner {
  background: rgba(28, 37, 65, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: inset 0 0 30px rgba(99, 102, 241, 0.1);
  backdrop-filter: blur(10px);
}

.banner-blur-1 {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(45, 98, 255, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.banner-blur-2 {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.banner-subtitle {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-secondary);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.banner-title {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.banner-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.blog-split-pane {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 24px;
  align-items: start;
}

.blog-list-pane {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 800px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.blog-reader-pane {
  background: #FAF9F6; /* warm paper white by default! */
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 36px 44px;
  min-height: 600px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45);
}

.blog-reader-pane .article-title-full {
  color: #111827 !important;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 25px !important;
  line-height: 1.35 !important;
}

.blog-reader-pane .article-meta {
  color: #4B5563 !important;
  font-size: 12px !important;
  margin-bottom: 20px !important;
}

.blog-reader-pane .author-name {
  color: #1F2937 !important;
}

.blog-reader-pane .author-title {
  color: #4B5563 !important;
}

.blog-reader-pane .article-content {
  color: #2D3748 !important;
}

.blog-reader-pane .article-content p,
.blog-reader-pane .article-content li {
  color: #2D3748 !important;
}

.blog-reader-pane .article-content h4 {
  color: #111827 !important;
  border-left-color: var(--accent-primary) !important;
}

.blog-reader-pane .article-content blockquote {
  background: rgba(245, 158, 11, 0.06) !important;
  color: #4B5563 !important;
  border-left-color: var(--accent-warning) !important;
}

.blog-reader-pane .article-footer-notice {
  background: rgba(99, 102, 241, 0.06) !important;
  color: #4B5563 !important;
  border-left-color: var(--accent-primary) !important;
}

.blog-reader-pane .btn-print {
  border-color: rgba(0, 0, 0, 0.15) !important;
  color: #4B5563 !important;
}

.blog-reader-pane .btn-print:hover {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.3) !important;
  color: #111827 !important;
}

.blog-reader-pane .blog-reader-empty {
  color: #4B5563 !important;
}

/* Search Wrapper */
.blog-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.blog-search-input {
  width: 100%;
  padding: 12px 16px;
  padding-left: 42px;
  padding-right: 36px;
  background: rgba(9, 13, 22, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.blog-search-input:focus {
  border-color: var(--accent-secondary);
  background: rgba(9, 13, 22, 0.8);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
}

.blog-search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 16px;
  pointer-events: none;
}

.blog-search-clear {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  outline: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-search-clear:hover {
  color: #fff;
}

/* Category Tag Row */
.blog-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 550;
  padding: 6px 14px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-tag-btn:hover {
  border-color: var(--border-hover);
  color: #fff;
  transform: translateY(-1px);
}

.blog-tag-btn.active {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #000;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 240, 255, 0.25);
}

/* List Items */
.blog-list-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-list-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  position: relative;
}

.blog-list-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 3px;
  background: var(--accent-secondary);
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.blog-list-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-hover);
  transform: translateX(3px);
}

.blog-list-card.active {
  border-color: var(--accent-secondary);
  background: rgba(0, 240, 255, 0.04);
  box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.05);
}

.blog-list-card.active::after {
  opacity: 1;
}

.blog-list-card h4 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
  font-weight: 600;
}

.blog-list-card p {
  font-size: 13px;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.blog-list-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.blog-list-card-tag {
  color: var(--accent-secondary);
  font-weight: 700;
  text-transform: uppercase;
}

/* Premium Reader Panel */
.print-ready-article {
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.65;
  font-family: var(--font-sans);
}

.print-ready-article .article-meta {
  font-size: 12px;
  margin-bottom: 16px;
}

.print-ready-article h1.article-title-full {
  font-size: 26px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 24px;
}

/* Author Badge */
.article-author-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  margin-bottom: 30px;
}

.author-avatar-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #000;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-text {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.author-title {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Article HTML Contents Styling */
.article-content p {
  margin-bottom: 24px;
}

.article-content h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  color: #fff;
  margin-top: 28px;
  margin-bottom: 12px;
  border-left: 4px solid var(--accent-secondary);
  padding-left: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-content li {
  margin-bottom: 4px;
}

/* Highlight / Warning / Info Blocks */
.article-content blockquote, .article-footer-notice {
  background: rgba(245, 158, 11, 0.05);
  border-left: 4px solid var(--accent-warning);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 30px 0;
  font-size: 14.5px;
  color: #e2e8f0;
  line-height: 1.6;
}

.article-footer-notice {
  background: rgba(99, 102, 241, 0.05);
  border-left: 4px solid var(--accent-primary);
  margin-top: 50px;
  margin-bottom: 0;
}

/* Print / PDF Button */
.btn-print {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-print:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--accent-secondary);
  color: #fff;
}

.blog-reader-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  gap: 16px;
  padding: 80px 0;
}

.blog-reader-empty span {
  font-size: 48px;
}

/* PRINT CSS MEDIA QUERY */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt !important;
  }
  
  .navbar, footer, .no-print, .blog-list-pane, .blog-banner, aside, .btn-print, .portal-sidebar, .portal-content-header {
    display: none !important;
  }
  
  .app-container, .portal-layout, .portal-content, .blog-workspace, .blog-split-pane, .blog-reader-pane {
    display: block !important;
    background: #fff !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    overflow: visible !important;
    width: 100% !important;
  }

  .print-ready-article {
    color: #000 !important;
    background: #fff !important;
  }

  .print-ready-article h1.article-title-full {
    color: #000 !important;
    font-size: 24pt !important;
    border-bottom: 2px solid #000 !important;
    padding-bottom: 10px !important;
  }

  .article-content h4 {
    color: #000 !important;
    font-size: 14pt !important;
    border-left: 4px solid #000 !important;
    page-break-after: avoid;
  }

  .article-author-badge {
    border-top: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
    padding: 10px 0 !important;
  }

  .author-avatar-small {
    display: none !important; /* hide avatar in print */
  }

  .author-name, .author-title {
    color: #333 !important;
  }

  .article-content p, .article-content li {
    color: #111 !important;
  }

  .article-content blockquote {
    border-left: 4px solid #333 !important;
    background: #f9f9f9 !important;
    color: #222 !important;
  }
}

/* Ambient radial glow at top of body to reduce gloominess */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 600px;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.35) 0%, rgba(0, 240, 255, 0.15) 30%, #0B132B 70%);
  z-index: -2;
  pointer-events: none;
}

/* Premium article content image rendering */
.article-content img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin: 30px auto;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-content img:hover {
  transform: scale(1.02);
  border-color: var(--accent-secondary);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.15);
}

/* Lighten backdrops and add glows to cards */
.robot-card, .feature-card, .beyan-card, .auth-card {
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

/* Screen hidden helper for print/tab management */
@media screen {
  .screen-hidden {
    display: none !important;
  }
}

/* Contact Section Styles */
.contact-section {
  position: relative;
  width: 100%;
  background: #F5F6FA;
}

.contact-section .section-inner {
  max-width: 1100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  margin-top: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-info-text p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(10px);
  text-align: left;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form-group label {
  font-size: 12.5px;
  color: var(--text-secondary);
  font-weight: 550;
}

.contact-form-group input, .contact-form-group textarea {
  padding: 12px 14px;
  background: rgba(9, 13, 22, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: #fff;
  font-size: 13.5px;
  outline: none;
  transition: all 0.2s ease;
}

.contact-form-group input:focus, .contact-form-group textarea:focus {
  border-color: var(--accent-secondary);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
}

.contact-success-msg {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid #10b981;
  color: #10b981;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13.5px;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Pricing Section Styles */
.pricing-section {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
  margin-top: 60px;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 45px 30px 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.pricing-card.popular {
  border-color: var(--accent-secondary);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.08);
  background: rgba(28, 37, 65, 0.4);
}

.pricing-card.popular::before {
  content: 'â˜… En PopÃ¼ler';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 240, 255, 0.25);
}

.pricing-plan-name {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pricing-card.popular .pricing-plan-name {
  color: var(--accent-secondary);
}

.pricing-price {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.pricing-price span {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
  margin-left: 4px;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.pricing-features-list li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features-list li::before {
  content: 'âœ“';
  color: var(--accent-secondary);
  font-weight: bold;
}

.pricing-card.popular .pricing-features-list li::before {
  color: var(--accent-primary);
}

.pricing-btn {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
  background: transparent;
  color: #fff;
  outline: none;
}

.pricing-btn:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: #fff;
}

.pricing-card.popular .pricing-btn {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #000;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 240, 255, 0.2);
}

.pricing-card.popular .pricing-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 240, 255, 0.35);
}

/* Light Theme CSS Variables & Overrides */
body.light-theme {
  --bg-primary: #F3F4F6;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #E5E7EB;
  --bg-card: rgba(255, 255, 255, 0.9);
  --border-color: rgba(99, 102, 241, 0.15);
  --border-hover: rgba(45, 98, 255, 0.8);
  
  --text-primary: #1F2937;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  
  --accent-primary: #2D62FF;
  --accent-primary-glow: rgba(45, 98, 255, 0.1);
  --accent-hover: #1A4BDB;
  --accent-secondary: #0D9488;
  
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Light Theme Overrides */
body.light-theme::before {
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, rgba(13, 148, 136, 0.05) 30%, #F3F4F6 70%) !important;
}

body.light-theme .navbar {
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(12px) !important;
}

body.light-theme .logo-container {
  color: #1F2937 !important;
}

body.light-theme .brand-title {
  color: var(--accent-primary) !important;
}

body.light-theme .brand-subtitle {
  color: #1F2937 !important;
  font-weight: 700 !important;
}

body.light-theme .nav-item {
  color: #4B5563 !important;
}

body.light-theme .nav-item:hover,
body.light-theme .nav-item.active {
  color: var(--accent-primary) !important;
}

body.light-theme .hero-title,
body.light-theme .hero-description,
body.light-theme .section-header h2,
body.light-theme .section-header p,
body.light-theme .feature-card h3,
body.light-theme .feature-card p,
body.light-theme .article-card h3,
body.light-theme .article-card p,
body.light-theme .banner-title,
body.light-theme .banner-desc,
body.light-theme .blog-list-card h4,
body.light-theme .blog-list-card p,
body.light-theme .print-ready-article h1.article-title-full,
body.light-theme .article-content h4,
body.light-theme .article-content p,
body.light-theme .article-content li,
body.light-theme .author-name,
body.light-theme .pricing-price,
body.light-theme .pricing-plan-name,
body.light-theme .contact-info-text h4,
body.light-theme .contact-form-group label,
body.light-theme .contact-form-group input,
body.light-theme .contact-form-group textarea,
body.light-theme .portal-sidebar .sidebar-section-title,
body.light-theme .portal-sidebar .sidebar-btn,
body.light-theme .portal-content-header h1,
body.light-theme .user-name {
  color: var(--text-primary) !important;
}

body.light-theme .contact-form-group input,
body.light-theme .contact-form-group textarea {
  background: #FFFFFF !important;
  border-color: #D1D5DB !important;
  color: #1F2937 !important;
}

body.light-theme .contact-form-group input:focus,
body.light-theme .contact-form-group textarea:focus {
  border-color: var(--accent-primary) !important;
}

body.light-theme .pricing-card {
  background: #FFFFFF !important;
  border-color: #E5E7EB !important;
}

body.light-theme .pricing-card.popular {
  background: #F0FDFA !important;
  border-color: var(--accent-primary) !important;
}

body.light-theme .pricing-card.popular .pricing-btn {
  color: #FFFFFF !important;
}

body.light-theme .feature-card,
body.light-theme .article-card,
body.light-theme .blog-list-pane,
body.light-theme .blog-banner {
  background: #FFFFFF !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .blog-reader-pane {
  background: #FAF9F6 !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .blog-banner {
  background: linear-gradient(135deg, #EFF6FF, #F0FDFA) !important;
}

body.light-theme .blog-list-card {
  border-color: #E5E7EB !important;
}

body.light-theme .blog-list-card.active {
  background: rgba(45, 98, 255, 0.08) !important;
}

body.light-theme .blog-list-card::after {
  background: var(--accent-primary) !important;
}

body.light-theme .blog-search-input {
  background: #FFFFFF !important;
  color: #1F2937 !important;
  border-color: #D1D5DB !important;
}

body.light-theme .blog-tag-btn {
  background: #E5E7EB !important;
  color: #374151 !important;
  border-color: #D1D5DB !important;
}

body.light-theme .blog-tag-btn.active {
  background: var(--accent-primary) !important;
  color: #FFFFFF !important;
}

body.light-theme .portal-sidebar {
  background: #FFFFFF !important;
  border-right: 1px solid #E5E7EB !important;
}

body.light-theme .portal-sidebar .sidebar-btn:hover,
body.light-theme .portal-sidebar .sidebar-btn.active {
  background: rgba(45, 98, 255, 0.08) !important;
  color: var(--accent-primary) !important;
}

body.light-theme .robot-card,
body.light-theme .feature-card,
body.light-theme .beyan-card,
body.light-theme .auth-card {
  background: #FFFFFF !important;
  border-color: #E5E7EB !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .auth-card input {
  background: #FFFFFF !important;
  color: #1F2937 !important;
  border-color: #D1D5DB !important;
}

body.light-theme .brand-subtitle {
  color: #1F2937 !important;
  font-weight: 700 !important;
}

/* AI Solutions Intro Grid and Cards */
.ai-intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto 50px auto;
  text-align: left;
  padding: 0 20px;
}

.ai-intro-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ai-intro-card:hover {
  border-color: var(--accent-secondary);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.ai-intro-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-intro-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.ai-intro-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

body.light-theme .ai-intro-card {
  background: #FFFFFF !important;
  border-color: #E5E7EB !important;
}

body.light-theme .ai-intro-card:hover {
  border-color: var(--accent-primary) !important;
}

body.light-theme .ai-intro-card h3 {
  color: #1F2937 !important;
}

body.light-theme .ai-intro-card p {
  color: #4B5563 !important;
}

/* Light Theme: Hero gradient headline (beyaz uÃ§lu gradient aÃ§Ä±k zeminde gÃ¶rÃ¼nmÃ¼yordu) */
body.light-theme .gradient-text {
  background: linear-gradient(135deg, var(--accent-primary) 20%, var(--accent-secondary) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Light Theme: Hizmetlerimiz bento kartlarÄ± (baÅŸlÄ±klar #fff sabitti, aÃ§Ä±k zeminde okunmuyordu) */
body.light-theme .services-tile {
  background: #FFFFFF !important;
  border-color: #E5E7EB !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}
body.light-theme .services-tile h4 {
  color: #1F2937 !important;
}
body.light-theme .services-tile:hover p {
  color: #1F2937 !important;
}
body.light-theme .services-heritage-banner {
  background: linear-gradient(135deg, rgba(45, 98, 255, 0.06) 0%, rgba(13, 148, 136, 0.04) 100%) !important;
  border-color: rgba(45, 98, 255, 0.2) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}
body.light-theme .services-heritage-info h3 {
  color: #1F2937 !important;
}
body.light-theme .services-heritage-divider {
  background: rgba(0, 0, 0, 0.1) !important;
}

/* Light Theme: Hero'daki dashboard mockup kartÄ± (koyu renklerde sabitti) */
body.light-theme .dashboard-mockup {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}
body.light-theme .mockup-header {
  background: rgba(243, 244, 246, 0.9) !important;
  border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}
body.light-theme .mockup-title {
  color: #6B7280 !important;
}
body.light-theme .stat-card,
body.light-theme .mockup-chart-container,
body.light-theme .receipt-extracted-list,
body.light-theme .val-input-row,
body.light-theme .list-item {
  background: #F9FAFB !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
}
body.light-theme .stat-val,
body.light-theme .badge-input,
body.light-theme .extracted-row .val,
body.light-theme .valuation-result-box .res-value,
body.light-theme .advisory-header-info .adv-title,
body.light-theme .receipt-dropzone .drop-title {
  color: #1F2937 !important;
}
body.light-theme .badge-input {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}
body.light-theme .mockup-nav-btn {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: #6B7280 !important;
}
body.light-theme .item-text {
  color: #4B5563 !important;
}
body.light-theme .extracted-row {
  border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}
body.light-theme .extracted-row .lbl,
body.light-theme .chart-header,
body.light-theme .val-input-row {
  color: #6B7280 !important;
}
body.light-theme .valuation-result-box {
  background: linear-gradient(135deg, rgba(45, 98, 255, 0.06) 0%, rgba(13, 148, 136, 0.04) 100%) !important;
  border-color: rgba(45, 98, 255, 0.15) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
}
body.light-theme .advisory-header-info {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(13, 148, 136, 0.03) 100%) !important;
  border-color: rgba(99, 102, 241, 0.15) !important;
}

/* Light Theme: GiriÅŸ formu ve panel araÃ§larÄ± (form-input beyaz zeminde beyaz yazÄ± = gÃ¶rÃ¼nmÃ¼yordu) */
body.light-theme .auth-header h2,
body.light-theme .dropzone-container h3,
body.light-theme .table-toolbar h3,
body.light-theme .article-title-full,
body.light-theme .filter-select,
body.light-theme .robot-card-title,
body.light-theme .summary-card-value,
body.light-theme .template-info h4 {
  color: #1F2937 !important;
}
body.light-theme .form-input,
body.light-theme table.grid-table td input {
  background: #FFFFFF !important;
  color: #1F2937 !important;
}
body.light-theme .btn-back:hover {
  color: var(--accent-primary) !important;
}
body.light-theme .summary-card,
body.light-theme .template-card {
  background: #FFFFFF !important;
  border-color: #E5E7EB !important;
}
body.light-theme .filter-select {
  background: #FFFFFF !important;
  border-color: #D1D5DB !important;
}

/* Mobile Responsive Design (max-width: 768px) */
@media (max-width: 768px) {
  /* Navbar adjustments */
  .navbar {
    position: relative !important; /* Don't stick on mobile to save screen space */
    flex-direction: column !important;
    padding: 16px !important;
    gap: 12px !important;
    text-align: center !important;
    height: auto !important; /* Grow vertically to wrap elements */
  }
  .nav-brand {
    justify-content: center !important;
    margin-bottom: 4px !important;
  }
  .nav-links {
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px 14px !important;
  }
  .nav-item {
    font-size: 13px !important;
    padding: 6px 10px !important;
  }
  .btn-nav-action {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 10px !important;
    margin-top: 4px !important;
  }

  /* Hero / Landing Section */
  .hero-section {
    padding: 40px 16px 30px !important;
    text-align: center !important;
  }
  .hero-title {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
  .hero-description {
    font-size: 13.5px !important;
  }
  .hero-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .hero-buttons button {
    width: 100% !important;
  }

  /* Features Grid */
  .feature-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 0 !important;
  }
  .feature-card {
    padding: 24px !important;
  }

  /* AI Intro Grid */
  .ai-intro-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin: 24px auto !important;
    padding: 0 !important;
  }
  .ai-intro-card {
    padding: 20px !important;
  }

  /* Pricing Grid */
  .pricing-section {
    padding: 30px 16px !important;
    margin-top: 40px !important;
  }
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: 30px !important;
  }
  .pricing-card {
    padding: 30px 20px 24px !important;
  }

  /* Blog Workspace */
  .blog-workspace {
    padding: 10px 12px 30px !important;
    gap: 16px !important;
  }
  .blog-banner {
    padding: 24px 16px !important;
    border-radius: 12px !important;
  }
  .blog-banner h1 {
    font-size: 20px !important;
  }
  .blog-banner p {
    font-size: 13px !important;
  }
  
  .blog-split-pane {
    grid-template-columns: 1fr !important; /* Stack left & right columns */
    gap: 24px !important;
  }
  .blog-list-pane {
    max-height: none !important; /* Let list items flow naturally, no nested scrollbar */
    overflow: visible !important;
    padding: 20px 16px !important;
  }
  .blog-reader-pane {
    padding: 24px 16px !important; /* Smaller margins for mobile screen */
    border-radius: 12px !important;
  }
  .blog-reader-pane .article-title-full {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  /* Contact Section */
  .contact-section {
    padding: 30px 16px !important;
  }
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .contact-info, .contact-form-card {
    padding: 20px !important;
    border-radius: 12px !important;
  }

  /* Portal Layout (.portal-layout is display:flex, not grid â€” must override flex props here) */
  .portal-layout {
    flex-direction: column !important; /* Stack sidebar above content */
    height: auto !important;
    min-height: calc(100vh - 80px) !important;
    overflow: visible !important;
    zoom: 1 !important;
  }
  .portal-sidebar {
    width: 100% !important;
    height: auto !important;
    padding: 12px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    max-height: none !important;
    overflow-y: visible !important;
  }
  .portal-sidebar .sidebar-section-title {
    text-align: center !important;
    margin-bottom: 8px !important;
  }
  .portal-sidebar .sidebar-menu {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .portal-sidebar .sidebar-btn {
    flex: 1 1 calc(50% - 6px) !important;
    justify-content: center !important;
    font-size: 12px !important;
    padding: 8px !important;
    border-radius: 6px !important;
  }
  .portal-content {
    padding: 16px !important;
    height: auto !important;
    overflow-y: visible !important;
  }

  /* Portal Tools Grids */
  .grid-container {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .dropzone-container {
    padding: 20px 12px !important;
  }
  
  /* Tables scrolling on mobile */
  .table-responsive {
    overflow-x: auto !important;
    display: block !important;
    width: 100% !important;
    margin-bottom: 16px !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .table-responsive table {
    width: 100% !important;
    min-width: 600px !important; /* Forces scroll bar if table is wide */
  }
  
  /* Hide reader pane on mobile if no article is selected */
  .reader-hidden-mobile {
    display: none !important;
  }
}

/* ========================================================================= */
/* PREMIUM CHROME-STYLE GLOWING CARDS */
/* ========================================================================= */

.features-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 22px !important;
  perspective: 1000px;
}

.features-group-label {
  flex-basis: 100%;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin: 8px 0 -4px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.features-group-label:first-child {
  margin-top: 0;
}

/* Masaustunde bu sarmalayicilar goze gorunmez (display:contents): kartlar
   dogrudan .features-grid'in grid duzenine katilmaya devam eder. Mobilde
   (asagidaki media query) her biri kendi Instagram-tarzi carousel'ine doner. */
.features-carousel-wrap,
.features-carousel {
  display: contents;
}
.features-carousel-badge,
.features-carousel-dots {
  display: none;
}

/* KaydÄ±rdikca yumusak belirme animasyonu (mevcut hover/glow efektlerine dokunmadan) */
.feature-card {
  opacity: 0;
  transform: translateY(24px);
}
.feature-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .feature-card {
    opacity: 1;
    transform: none;
  }
}

.feature-card {
  background: rgba(17, 24, 39, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 16px !important;
  padding: 26px 24px !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(12px) !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 340px !important;
  max-width: 400px !important;
}

/* Glass card reflection highlight */
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04), transparent 70%);
  pointer-events: none;
}

/* Glowing top borders on cards */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px !important;
  opacity: 0.8 !important;
  transition: all 0.4s ease !important;
}

/* Glowing icon wrappers */
.feature-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 16px !important;
  font-size: 19px !important;
  transition: all 0.4s ease !important;
}

.feature-card h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 8px !important;
  letter-spacing: -0.02em;
}

.feature-card p {
  color: rgba(156, 163, 175, 0.9) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  margin-bottom: 16px !important;
}

.feature-link {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  margin-top: auto !important;
}

/* Variant 1: Yurt DÄ±ÅŸÄ± YatÄ±rÄ±m Vergi Robotu (Neon Blue/Purple) */
.feature-card.variant-blue::before {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6) !important;
}
.feature-card.variant-blue .feature-icon {
  background: rgba(59, 130, 246, 0.1) !important;
  color: #60a5fa !important;
  border: 1px solid rgba(59, 130, 246, 0.2) !important;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1) !important;
}
.feature-card.variant-blue:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15), 0 0 2px rgba(59, 130, 246, 0.3) !important;
}
.feature-card.variant-blue .feature-link {
  color: #60a5fa !important;
}
.feature-card.variant-blue:hover .feature-link {
  gap: 12px !important;
  text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

/* Variant 2: FiÅŸ â†’ Excel AktarÄ±cÄ± (Neon Cyan/Teal) */
.feature-card.variant-cyan::before {
  background: linear-gradient(90deg, #06b6d4, #10b981) !important;
}
.feature-card.variant-cyan .feature-icon {
  background: rgba(6, 182, 212, 0.1) !important;
  color: #22d3ee !important;
  border: 1px solid rgba(6, 182, 212, 0.2) !important;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.1) !important;
}
.feature-card.variant-cyan:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: rgba(6, 182, 212, 0.3) !important;
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15), 0 0 2px rgba(6, 182, 212, 0.3) !important;
}
.feature-card.variant-cyan .feature-link {
  color: #22d3ee !important;
}
.feature-card.variant-cyan:hover .feature-link {
  gap: 12px !important;
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

/* Variant 3: Åirket DeÄŸerleme AracÄ± (Neon Gold/Orange) */
.feature-card.variant-gold::before {
  background: linear-gradient(90deg, #f59e0b, #eab308) !important;
}
.feature-card.variant-gold .feature-icon {
  background: rgba(245, 158, 11, 0.1) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.1) !important;
}
.feature-card.variant-gold:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15), 0 0 2px rgba(245, 158, 11, 0.3) !important;
}
.feature-card.variant-gold .feature-link {
  color: #fbbf24 !important;
}
.feature-card.variant-gold:hover .feature-link {
  gap: 12px !important;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}
.feature-card.variant-emerald::before {
  background: linear-gradient(90deg, #10b981, #34d399) !important;
}
.feature-card.variant-emerald .feature-icon {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1) !important;
}
.feature-card.variant-emerald:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15), 0 0 2px rgba(16, 185, 129, 0.3) !important;
}
.feature-card.variant-emerald .feature-link {
  color: #34d399 !important;
}
.feature-card.variant-emerald:hover .feature-link {
  gap: 12px !important;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
}


/* Glowing PREMIUM badges */
.feature-badge.pro {
  position: absolute !important;
  top: 24px !important;
  right: 24px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 6px 12px !important;
  border-radius: 99px !important;
  letter-spacing: 0.08em !important;
  transition: all 0.4s ease !important;
}

/* Default state styling per card variant */
.feature-card.variant-blue .feature-badge.pro {
  border: 1px solid rgba(59, 130, 246, 0.25) !important;
  color: #60a5fa !important;
  background: rgba(59, 130, 246, 0.05) !important;
}

.feature-card.variant-cyan .feature-badge.pro {
  border: 1px solid rgba(6, 182, 212, 0.25) !important;
  color: #22d3ee !important;
  background: rgba(6, 182, 212, 0.05) !important;
}

.feature-card.variant-gold .feature-badge.pro {
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  color: #fbbf24 !important;
  background: rgba(245, 158, 11, 0.05) !important;
}

/* Hover state glow effects */
.feature-card.variant-blue:hover .feature-badge.pro {
  border-color: rgba(59, 130, 246, 0.6) !important;
  color: #93c5fd !important;
  background: rgba(59, 130, 246, 0.1) !important;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3) !important;
}

.feature-card.variant-cyan:hover .feature-badge.pro {
  border-color: rgba(6, 182, 212, 0.6) !important;
  color: #67e8f9 !important;
  background: rgba(6, 182, 212, 0.1) !important;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3) !important;
}

.feature-card.variant-gold:hover .feature-badge.pro {
  border-color: rgba(245, 158, 11, 0.6) !important;
  color: #fde047 !important;
  background: rgba(245, 158, 11, 0.1) !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3) !important;
}

.feature-card.variant-emerald .feature-badge.pro {
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.05) !important;
}
.feature-card.variant-emerald:hover .feature-badge.pro {
  border-color: rgba(16, 185, 129, 0.6) !important;
  color: #a7f3d0 !important;
  background: rgba(16, 185, 129, 0.1) !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3) !important;
}

/* Variant 5: Ä°ndirimli Kurumlar Vergisi HesaplayÄ±cÄ± (Neon Rose) */
.feature-card.variant-rose::before {
  background: linear-gradient(90deg, #f43f5e, #fb7185) !important;
}
.feature-card.variant-rose .feature-icon {
  background: rgba(244, 63, 94, 0.1) !important;
  color: #fb7185 !important;
  border: 1px solid rgba(244, 63, 94, 0.2) !important;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.1) !important;
}
.feature-card.variant-rose:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: rgba(244, 63, 94, 0.3) !important;
  box-shadow: 0 20px 40px rgba(244, 63, 94, 0.15), 0 0 2px rgba(244, 63, 94, 0.3) !important;
}
.feature-card.variant-rose .feature-link {
  color: #fb7185 !important;
}
.feature-card.variant-rose:hover .feature-link {
  gap: 12px !important;
  text-shadow: 0 0 10px rgba(251, 113, 133, 0.5);
}
.feature-card.variant-rose .feature-badge.pro {
  border: 1px solid rgba(244, 63, 94, 0.25) !important;
  color: #fb7185 !important;
  background: rgba(244, 63, 94, 0.05) !important;
}
.feature-card.variant-rose:hover .feature-badge.pro {
  border-color: rgba(244, 63, 94, 0.6) !important;
  color: #fda4af !important;
  background: rgba(244, 63, 94, 0.1) !important;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.3) !important;
}

/* Variant 6: Nakit AkÄ±ÅŸÄ± & FCFF DeÄŸerleme Modeli (Neon Violet) */
.feature-card.variant-violet::before {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa) !important;
}
.feature-card.variant-violet .feature-icon {
  background: rgba(139, 92, 246, 0.1) !important;
  color: #a78bfa !important;
  border: 1px solid rgba(139, 92, 246, 0.2) !important;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1) !important;
}
.feature-card.variant-violet:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: rgba(139, 92, 246, 0.3) !important;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15), 0 0 2px rgba(139, 92, 246, 0.3) !important;
}
.feature-card.variant-violet .feature-link {
  color: #a78bfa !important;
}
.feature-card.variant-violet:hover .feature-link {
  gap: 12px !important;
  text-shadow: 0 0 10px rgba(167, 139, 250, 0.5);
}
.feature-card.variant-violet .feature-badge.pro {
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
  color: #a78bfa !important;
  background: rgba(139, 92, 246, 0.05) !important;
}
.feature-card.variant-violet:hover .feature-badge.pro {
  border-color: rgba(139, 92, 246, 0.6) !important;
  color: #c4b5fd !important;
  background: rgba(139, 92, 246, 0.1) !important;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.3) !important;
}

/* Variant 7: Binek Oto Gider KÄ±sÄ±tlamasÄ± MuhasebeleÅŸtirme (Neon Amber) */
.feature-card.variant-amber::before {
  background: linear-gradient(90deg, #f59e0b, #fbbf24) !important;
}
.feature-card.variant-amber .feature-icon {
  background: rgba(245, 158, 11, 0.1) !important;
  color: #f59e0b !important;
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.1) !important;
}
.feature-card.variant-amber:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15), 0 0 2px rgba(245, 158, 11, 0.3) !important;
}
.feature-card.variant-amber .feature-link {
  color: #f59e0b !important;
}
.feature-card.variant-amber:hover .feature-link {
  gap: 12px !important;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}
.feature-card.variant-amber .feature-badge.pro {
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.05) !important;
}
.feature-card.variant-amber:hover .feature-badge.pro {
  border-color: rgba(245, 158, 11, 0.6) !important;
  color: #b45309 !important;
  background: rgba(245, 158, 11, 0.1) !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3) !important;
}

/* Variant 8: Veraset ve Ä°ntikal Vergisi Beyannamesi AracÄ± (Neon Sky) */
.feature-card.variant-sky::before {
  background: linear-gradient(90deg, #0ea5e9, #38bdf8) !important;
}
.feature-card.variant-sky .feature-icon {
  background: rgba(14, 165, 233, 0.1) !important;
  color: #0ea5e9 !important;
  border: 1px solid rgba(14, 165, 233, 0.2) !important;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.1) !important;
}
.feature-card.variant-sky:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: rgba(14, 165, 233, 0.3) !important;
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15), 0 0 2px rgba(14, 165, 233, 0.3) !important;
}
.feature-card.variant-sky .feature-link {
  color: #0ea5e9 !important;
}
.feature-card.variant-sky:hover .feature-link {
  gap: 12px !important;
  text-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

/* Variant 9: Soru & Cevap (Neon Indigo) */
.feature-card.variant-indigo::before {
  background: linear-gradient(90deg, #6366f1, #818cf8) !important;
}
.feature-card.variant-indigo .feature-icon {
  background: rgba(99, 102, 241, 0.1) !important;
  color: #818cf8 !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1) !important;
}
.feature-card.variant-indigo:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15), 0 0 2px rgba(99, 102, 241, 0.3) !important;
}
.feature-card.variant-indigo .feature-link {
  color: #818cf8 !important;
}
.feature-card.variant-indigo:hover .feature-link {
  gap: 12px !important;
  text-shadow: 0 0 10px rgba(129, 140, 248, 0.5);
}

/* ========================================================================= */
/* SERVICES SECTION (HÄ°ZMETLERÄ°MÄ°Z) */
/* ========================================================================= */
.landing-services {
  position: relative;
  width: 100%;
  background: #FFFFFF;
}

.landing-services .section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.landing-services .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--accent-secondary);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.landing-services .eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent-secondary);
}

.landing-services .section-header h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.landing-services .section-header p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

/* Heritage Banner - Premium Glassmorphic Card */
.services-heritage-banner {
  display: flex;
  align-items: center;
  gap: 40px;
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 16px;
  padding: 36px 48px;
  margin-bottom: 36px;
  background: linear-gradient(135deg, rgba(45, 98, 255, 0.08) 0%, rgba(0, 240, 255, 0.02) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.services-heritage-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.services-heritage-num {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 72px;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
  letter-spacing: -0.04em;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.25));
}

.services-heritage-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.services-heritage-info h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
  letter-spacing: -0.01em;
}

.services-heritage-info p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Bento Services Grid */
.services-bento {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.services-tile {
  flex: 1 1 340px;
  max-width: 400px;
  --tile-color: #00f0ff;
  --tile-glow: rgba(0, 240, 255, 0.04);
  --tile-bg: rgba(0, 240, 255, 0.04);
  --tile-border: rgba(0, 240, 255, 0.12);
  --tile-hover-bg: rgba(0, 240, 255, 0.12);
  --tile-hover-border: rgba(0, 240, 255, 0.35);

  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.015);
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.services-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--tile-color) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.services-tile:hover {
  border-color: var(--tile-hover-border);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), 0 0 20px var(--tile-glow);
}

.services-tile:hover::before {
  opacity: 0.04;
}

.services-tile-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--tile-bg);
  border: 1px solid var(--tile-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--tile-color);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.services-tile:hover .services-tile-icon {
  background: var(--tile-hover-bg);
  border-color: var(--tile-hover-border);
  transform: scale(1.05);
  box-shadow: 0 0 15px var(--tile-hover-bg);
}

.services-tile-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--tile-color);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

/* Color Variants for Bento Tiles */
.services-tile.variant-cyan {
  --tile-color: #00f0ff;
  --tile-glow: rgba(0, 240, 255, 0.05);
  --tile-bg: rgba(0, 240, 255, 0.04);
  --tile-border: rgba(0, 240, 255, 0.12);
  --tile-hover-bg: rgba(0, 240, 255, 0.12);
  --tile-hover-border: rgba(0, 240, 255, 0.35);
}

.services-tile.variant-gold {
  --tile-color: #ffb800;
  --tile-glow: rgba(255, 184, 0, 0.05);
  --tile-bg: rgba(255, 184, 0, 0.04);
  --tile-border: rgba(255, 184, 0, 0.12);
  --tile-hover-bg: rgba(255, 184, 0, 0.12);
  --tile-hover-border: rgba(255, 184, 0, 0.35);
}

.services-tile.variant-blue {
  --tile-color: #3b82f6;
  --tile-glow: rgba(59, 130, 246, 0.05);
  --tile-bg: rgba(59, 130, 246, 0.04);
  --tile-border: rgba(59, 130, 246, 0.12);
  --tile-hover-bg: rgba(59, 130, 246, 0.12);
  --tile-hover-border: rgba(59, 130, 246, 0.35);
}

.services-tile.variant-emerald {
  --tile-color: #10b981;
  --tile-glow: rgba(16, 185, 129, 0.05);
  --tile-bg: rgba(16, 185, 129, 0.04);
  --tile-border: rgba(16, 185, 129, 0.12);
  --tile-hover-bg: rgba(16, 185, 129, 0.12);
  --tile-hover-border: rgba(16, 185, 129, 0.35);
}

.services-tile.variant-violet {
  --tile-color: #a78bfa;
  --tile-glow: rgba(167, 139, 250, 0.05);
  --tile-bg: rgba(167, 139, 250, 0.04);
  --tile-border: rgba(167, 139, 250, 0.12);
  --tile-hover-bg: rgba(167, 139, 250, 0.12);
  --tile-hover-border: rgba(167, 139, 250, 0.35);
}

.services-tile.variant-ruby {
  --tile-color: #f43f5e;
  --tile-glow: rgba(244, 63, 94, 0.05);
  --tile-bg: rgba(244, 63, 94, 0.04);
  --tile-border: rgba(244, 63, 94, 0.12);
  --tile-hover-bg: rgba(244, 63, 94, 0.12);
  --tile-hover-border: rgba(244, 63, 94, 0.35);
}

.services-tile.variant-amber {
  --tile-color: #f97316;
  --tile-glow: rgba(249, 115, 22, 0.05);
  --tile-bg: rgba(249, 115, 22, 0.04);
  --tile-border: rgba(249, 115, 22, 0.12);
  --tile-hover-bg: rgba(249, 115, 22, 0.12);
  --tile-hover-border: rgba(249, 115, 22, 0.35);
}

.services-tile h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: -0.01em;
}

.services-tile p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.services-tile-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-secondary);
  text-decoration: none;
}

.services-tile-link:hover {
  text-decoration: underline;
}

.services-tile:hover p {
  color: #cbd5e1;
}


@media (max-width: 768px) {
  .landing-services {
    padding: 60px 20px;
  }
  .services-heritage-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    gap: 20px;
  }
  .services-heritage-divider {
    display: none;
  }
  .services-heritage-num {
    font-size: 60px;
  }

  /* Instagram gonderisi gibi: tek bir kutu, icerigi kaydirarak degisir (yan kart gorunmez). */
  .services-bento {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .services-bento::-webkit-scrollbar {
    display: none;
  }
  .services-bento .services-tile {
    flex: 0 0 100%;
    max-width: none;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .services-bento-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
  }
  .services-bento-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(31, 41, 55, 0.25);
    transition: all 0.25s ease;
  }
  .services-bento-dot.active {
    width: 18px;
    border-radius: 3px;
    background: var(--accent-secondary);
  }

  .services-bento-wrap {
    position: relative;
  }
  .services-bento-badge {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    padding: 3px 9px;
    border-radius: 999px;
    pointer-events: none;
  }

  /* "Yapay Zeka Ã‡Ã¶zÃ¼mleri" kartlarÄ± da (Profesyonel / Ãœcretsiz) Instagram-tarzÄ± carousel'e dÃ¶ner */
  .features-carousel-wrap {
    display: block;
    position: relative;
    width: 100%;
    flex-basis: 100%;
  }
  .features-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .features-carousel::-webkit-scrollbar {
    display: none;
  }
  .features-carousel .feature-card {
    flex: 0 0 100% !important;
    max-width: none !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .features-carousel-badge {
    display: block;
    position: absolute;
    top: 46px;
    right: 10px;
    z-index: 3;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    padding: 3px 9px;
    border-radius: 999px;
    pointer-events: none;
  }
  .features-carousel-dots {
    display: flex;
    width: 100%;
    flex-basis: 100%;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 6px;
  }
  .features-carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(31, 41, 55, 0.25);
    transition: all 0.25s ease;
  }
  .features-carousel-dot.active {
    width: 18px;
    border-radius: 3px;
    background: var(--accent-secondary);
  }
}

@media (min-width: 769px) {
  .services-bento-dots {
    display: none;
  }
  .services-bento-badge {
    display: none;
  }
}


/* Hero Slider Styles */
.landing-hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  background-color: #000;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  padding-left: 10%;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-slide-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.1) 60%, transparent 100%);
  z-index: 2;
}
.hero-slide-content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 600px;
}
.hero-slide-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.7), 0 2px 4px rgba(0,0,0,0.5);
}
.hero-slide-desc {
  font-size: 1.2rem;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Hero Sidebar Nav - Isuzu Style */
.hero-sidebar-nav {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 250px;
}
.hero-sidebar-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-sidebar-item:hover, .hero-sidebar-item.active {
  color: #fff;
}
.hero-sidebar-progress {
  height: 2px;
  width: 30px;
  background: rgba(255,255,255,0.3);
  transition: width 0.3s ease, background 0.3s ease;
}
.hero-sidebar-item.active .hero-sidebar-progress {
  width: 50px;
  background: var(--accent-primary, #e60000);
}

@media (max-width: 768px) {
  .hero-slide { padding: 0 15px; justify-content: center; text-align: center; }
  .hero-slide-overlay { background: linear-gradient(to bottom, rgba(15,23,42,0.6) 0%, rgba(15,23,42,0.3) 100%); }
  .hero-sidebar-nav {
    top: auto;
    bottom: 20px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    width: auto;
    gap: 10px;
  }
  .hero-sidebar-item span { display: none; }
  .hero-sidebar-progress { width: 10px; height: 10px; border-radius: 50%; }
  .hero-sidebar-item.active .hero-sidebar-progress { width: 10px; }
}
/* --- Enhancements for bottom sections to fix dullness --- */
body.light-theme .landing-features {
  background: linear-gradient(to bottom, #f8fafc, #e2e8f0) !important;
  padding-top: 80px;
  padding-bottom: 80px;
}
body.light-theme .landing-services {
  background: #ffffff !important;
  padding-top: 80px;
  padding-bottom: 80px;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.02);
}
body.light-theme .feature-card {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
body.light-theme .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12) !important;
}
body.light-theme .contact-section {
  background: #0f172a !important; /* Premium dark background for contact */
  color: #f1f5f9 !important;
}
body.light-theme .contact-section h2,
body.light-theme .contact-section p,
body.light-theme .contact-section h4 {
  color: #f8fafc !important;
}
body.light-theme .contact-section .contact-info-text p a { color: #f97316 !important; }
body.light-theme .contact-section .contact-form-group label {
  color: #cbd5e1 !important;
}
body.light-theme .contact-section input,
body.light-theme .contact-section textarea {
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #fff !important;
}
body.light-theme .contact-section input:focus,
body.light-theme .contact-section textarea:focus {
  background: rgba(255,255,255,0.1) !important;
}
/* --- Hero Slider New Nav (Isuzu style dots & arrows) --- */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 24px;
  cursor: pointer;
  z-index: 5;
  padding: 20px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.hero-arrow:hover {
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.hero-arrow-left {
  left: 20px;
}
.hero-arrow-right {
  right: 20px;
}
.hero-dots-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.hero-dot.active {
  background: #fff;
  transform: scale(1.2);
}
.hero-sidebar-nav {
  display: none !important; /* Hide old sidebar nav if it still exists in CSS */
}
/* --- Contact Form Fix --- */
body.light-theme .contact-section .contact-form {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}
body.light-theme .contact-section input::placeholder,
body.light-theme .contact-section textarea::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}
/* --- Premium Navbar Styling --- */
body.light-theme .navbar {
  border-bottom: none !important;
  box-shadow: 0 4px 25px rgba(0,0,0,0.06) !important;
  position: relative;
}
body.light-theme .navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #f97316, #8b5cf6);
}
body.light-theme .nav-item {
  position: relative;
  font-weight: 600 !important;
  padding-bottom: 2px;
}
body.light-theme .nav-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #f97316, #8b5cf6);
  transition: width 0.3s ease;
  border-radius: 2px;
}
body.light-theme .nav-item:hover::after,
body.light-theme .nav-item.active::after {
  width: 70%;
}
body.light-theme .btn-nav-action {
  background: linear-gradient(135deg, #2563eb, #4f46e5) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 10px 26px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
body.light-theme .btn-nav-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
}
/* --- ULTIMATE PREMIUM UPGRADE FOR MIDDLE SECTIONS --- */

/* 1. Background Enhancements */
body.light-theme .landing-services {
  background: radial-gradient(circle at top center, #ffffff 0%, #f8fafc 100%) !important;
}
body.light-theme .landing-features {
  background: radial-gradient(circle at bottom center, #f1f5f9 0%, #f8fafc 100%) !important;
}

/* 2. Heritage Banner Upgrade (Dark & Premium) */
body.light-theme .services-heritage-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25) !important;
  border-radius: 20px !important;
  position: relative;
  overflow: hidden;
}
body.light-theme .services-heritage-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.25), transparent 60%);
}
body.light-theme .services-heritage-num {
  color: #fff !important;
  text-shadow: 0 2px 15px rgba(0,0,0,0.5) !important;
}
body.light-theme .services-heritage-info h3,
body.light-theme .services-heritage-info p {
  color: #f8fafc !important;
}

/* 3. Cards Upgrade (Glassy & Deep Shadows) */
body.light-theme .services-tile,
body.light-theme .feature-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.03), 0 2px 5px rgba(0,0,0,0.02) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.light-theme .services-tile:hover,
body.light-theme .feature-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15), 0 10px 20px rgba(0,0,0,0.05) !important;
  z-index: 2;
}

/* Enhance Headings */
body.light-theme .section-header h2 {
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  color: #0f172a !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}

body.light-theme .services-tile h4,
body.light-theme .feature-card h3 {
  color: #1e293b !important;
  font-weight: 700 !important;
}

/* Make icons bolder */
body.light-theme .services-tile-icon svg,
body.light-theme .feature-icon svg {
  stroke-width: 2.5 !important;
}

/* --- AI Section Split Layout Redesign --- */
body.light-theme .landing-features { /* old bg removed */ /* Deep dark blue/black */
  position: relative;
  overflow: hidden;
  padding: 100px 20px !important;
  color: #f8fafc;
}

/* Animated Glowing Wave Background */
body.light-theme body.light-theme .landing-features::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 60%);
  top: -200px;
  left: -200px;
  border-radius: 50%;
  animation: waveMove 15s infinite alternate ease-in-out;
  pointer-events: none;
  z-index: 0;
}
body.light-theme body.light-theme .landing-features::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
  bottom: -100px;
  right: -100px;
  border-radius: 50%;
  animation: waveMove2 12s infinite alternate ease-in-out;
  pointer-events: none;
  z-index: 0;
}

@keyframes waveMove {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(200px, 150px) scale(1.2); }
}
@keyframes waveMove2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-150px, -200px) scale(1.3); }
}

/* Split Layout */
body.light-theme .landing-features .section-inner.split-layout {
  display: flex !important;
  align-items: center;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
body.light-theme .split-left {
  flex: 0 0 calc(35% - 30px);
  width: calc(35% - 30px);
  text-align: left;
}
body.light-theme .split-left h2 {
  font-size: 3.5rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 24px !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  line-height: 1.2;
}
body.light-theme .split-left p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #94a3b8;
}

body.light-theme .split-right {
  flex: 0 0 calc(65% - 30px);
  width: calc(65% - 30px);
  overflow: hidden;
}

/* Update AI Feature Cards to Dark Glassmorphism */
body.light-theme .landing-features .feature-card {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex: 1; /* allow it to grow in flex container */
}
body.light-theme .landing-features .feature-card h3 {
  color: #f1f5f9 !important;
}
body.light-theme .landing-features .feature-card p {
  color: #94a3b8 !important;
}
body.light-theme .landing-features .feature-icon {
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(255,255,255,0.1) !important;
}

/* Make features-grid a horizontal slider inside split-right */
body.light-theme .landing-features .features-grid {
  display: flex !important;
  flex-direction: column;
  gap: 30px;
  padding: 10px 0;
}
body.light-theme .landing-features .features-carousel-wrap {
  width: 100%;
}
body.light-theme .landing-features .features-carousel {
  display: flex !important;
  overflow-x: auto;
  gap: 24px;
  padding: 10px 10px 40px 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}
body.light-theme .landing-features .features-carousel::-webkit-scrollbar {
  height: 6px;
}
body.light-theme .landing-features .features-carousel::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
}

body.light-theme .landing-features .features-carousel-dots,
body.light-theme .landing-features .features-carousel-badge {
  display: none !important; /* Hide dots as we use scrollbar */
}

body.light-theme .features-group-label {
  text-align: left !important;
  color: #cbd5e1 !important;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 8px;
}

/* Fix SVG transition waves for new dark background */
body.light-theme .landing-services .section-wave svg path {
  fill: #020617 !important; /* Transition into the new dark AI section */
}

/* Media Query for mobile */
@media (max-width: 992px) {
  body.light-theme .landing-features .section-inner.split-layout {
    flex-direction: column !important;
    gap: 40px;
  }
  body.light-theme .split-left, body.light-theme .split-right {
    flex: 0 0 100%;
    width: 100%;
  }
}


/* --- YAPAY ZEKA SLIDER & HAREKETLİ ARKA PLAN --- */
body.light-theme .landing-features {
  position: relative;
  background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat !important;
  overflow: hidden;
}

body.light-theme .landing-features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2,6,23,0.98) 0%, rgba(2,6,23,0.92) 45%, rgba(2,6,23,0.7) 100%);
  z-index: 0;
}

body.light-theme .landing-features::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 70% 50%, rgba(56, 189, 248, 0.15), transparent 60%);
  animation: pulse-glow 8s infinite alternate;
  z-index: 0;
  pointer-events: none;
}

@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 1; }
}

.landing-features .section-inner, .landing-features .section-wave {
  position: relative;
  z-index: 1;
}

.ai-slider-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  padding: 10px 0;
}

.ai-slider-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.ai-slide-page {
  min-width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px;
}

.ai-slide-page .feature-card {
  min-height: 320px;
  height: auto;
  display: flex;
  padding: 30px;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: inset 0 0 30px rgba(56, 189, 248, 0.05), 0 15px 35px rgba(0,0,0,0.5) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 30px 24px !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 20px;
}

.ai-slide-page .feature-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.15), transparent 50%);
  pointer-events: none;
  transform: rotate(15deg);
}

.ai-slide-page .feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(30, 41, 59, 0.6) !important;
  box-shadow: inset 0 0 40px rgba(56, 189, 248, 0.1), 0 20px 40px rgba(0,0,0,0.6) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}

.ai-slide-page .feature-card .feature-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  backdrop-filter: blur(5px);
}

.ai-slide-page .feature-card .feature-badge.pro {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.ai-slide-page .feature-card .feature-badge.free {
  background: linear-gradient(135deg, #10b981, #059669);
}

.ai-slide-page .feature-card h3 {
  font-size: 1.5rem !important;
  margin-bottom: 12px !important;
  line-height: 1.3 !important;
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  font-weight: 700;
}

.ai-slide-page .feature-card p {
    font-size: 1rem !important;
    color: #e2e8f0 !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

.ai-slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.ai-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.ai-dot.active {
  background: #38bdf8;
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
}

@media (max-width: 768px) {
  .ai-slide-page {
    grid-template-columns: 1fr;
  }
  .ai-slide-page .feature-card {
    height: 280px;
  }
}

.ai-split-title {
  color: #ffffff !important;
  text-shadow: 0 4px 20px rgba(0,0,0,0.9);
}

.ai-split-desc {
  color: #e2e8f0 !important;
  text-shadow: 0 4px 15px rgba(0,0,0,0.9);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- Contact Section Vibrant Theme Integration --- */
body.light-theme .contact-section {
  position: relative;
  overflow: hidden;
}

body.light-theme .contact-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body.light-theme .contact-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body.light-theme .contact-section .section-inner {
  position: relative;
  z-index: 1;
}

body.light-theme .contact-section .btn-primary {
  background: linear-gradient(to right, #f97316, #8b5cf6) !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.25) !important;
  color: white !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

body.light-theme .contact-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4) !important;
}

body.light-theme .contact-section input:focus,
body.light-theme .contact-section textarea:focus {
  border-color: #8b5cf6 !important;
  background: rgba(139, 92, 246, 0.05) !important;
}

body.light-theme .contact-icon {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(139, 92, 246, 0.15)) !important;
  color: #f97316 !important;
}

/* --- Mobile Optimizations for AI Split Layout --- */
@media (max-width: 768px) {
  body.light-theme .landing-features {
    padding: 60px 15px !important;
  }
  
  /* Change gradient direction from left-to-right to top-to-bottom for column layout */
  body.light-theme .landing-features::before {
    background: linear-gradient(to bottom, rgba(2,6,23,0.98) 0%, rgba(2,6,23,0.92) 40%, rgba(2,6,23,0.6) 100%) !important;
  }

  /* Center the text and reduce font sizes slightly */
  body.light-theme .split-left {
    text-align: center;
    padding: 0 10px;
  }
  body.light-theme .ai-split-title {
    font-size: 2.2rem !important;
    margin-bottom: 15px;
  }
  body.light-theme .ai-split-desc {
    font-size: 1rem !important;
    line-height: 1.6;
  }

  /* Make feature cards fit nicely on any mobile screen width */
  body.light-theme .landing-features .feature-card {
    width: 85vw !important;
    max-width: 320px;
  }
  
  /* Hide the scrollbar visually but keep functionality on mobile for a cleaner look */
  body.light-theme .landing-features .features-carousel::-webkit-scrollbar {
    display: none;
  }
  body.light-theme .landing-features .features-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 15px !important; /* Less bottom padding needed without scrollbar */
  }
}

/* AI Card Icon Styling */
.ai-card-icon {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 20px;
}
.ai-card-icon i {
  font-size: 3.5rem;
  background: -webkit-linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 15px rgba(56, 189, 248, 0.4));
  transition: transform 0.4s ease, filter 0.4s ease;
}
.ai-slide-page .feature-card:hover .ai-card-icon i {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 10px 25px rgba(56, 189, 248, 0.7));
}

/* Adjust card layout to utilize space-between */
.ai-slide-page .feature-card {
  justify-content: flex-end;
}



  /* --- Ultimate Mobile Navbar Fix (Horizontal Scroll, No Wrap) --- */
@media (max-width: 768px) {
  .navbar {
    padding: 15px !important;
  }
  .nav-brand {
    margin-bottom: 12px !important;
  }
  .nav-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    overflow-x: visible !important;
    width: 100% !important;
    gap: 8px 12px !important;
    padding-bottom: 0 !important;
  }
  .nav-item {
    flex: 0 1 auto !important;
    white-space: normal !important;
    font-size: 13.5px !important;
    padding: 6px 8px !important;
  }
  .btn-nav-action {
    flex: 1 1 100% !important;
    white-space: normal !important;
    margin-top: 8px !important;
    padding: 12px !important;
    text-align: center;
    justify-content: center;
  }
  
  .hero-slide-title {
      font-size: 1.8rem !important; /* Smaller size to prevent 've' hitting the wall */
      padding: 0 15px; /* Smaller size to fit mobile nicely */
    line-height: 1.2 !important;
  }
  .hero-slide-desc {
    font-size: 1.05rem !important;
  }
}







@media (min-width: 769px) {
  .ai-mobile-badge, .ai-mobile-dots {
    display: none !important;
  }
}


/* --- Ultimate Mobile AI Slider Overhaul (Final) --- */
@media (max-width: 768px) {
  .ai-slide-page {
    display: contents !important;
  }
  
  .ai-slider-viewport {
      overflow: visible !important;
      position: relative;
      margin-top: 45px !important; /* Create space for the badge */
    }

  .ai-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 20px !important;
    padding: 0 !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    transform: none !important;
    transition: none !important;
    width: 100% !important;
    margin: 0 !important;
  }
  
  .ai-slider-track::-webkit-scrollbar {
    display: none !important;
  }
  
  .ai-desktop-dots {
    display: none !important;
  }

  body.light-theme .landing-features .feature-card {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 380px !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    margin: 0 !important;
    padding: 30px !important;
    justify-content: flex-end !important;
  }
  
  body.light-theme .split-right {
    overflow: visible !important;
  }

  .ai-mobile-badge {
      display: block !important;
      position: absolute;
      top: -35px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
  }
  
  .ai-mobile-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-top: -10px;
    padding-bottom: 20px;
  }
  
  .ai-mobile-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
  }
  
  .ai-mobile-dot.active {
    background: #38bdf8;
    transform: scale(1.3);
  }
}

@media (min-width: 769px) {
  .ai-mobile-badge, .ai-mobile-dots {
    display: none !important;
  }
}


/* Make free tools clickable */
.ai-slide-page .feature-card.free-tool {
  cursor: pointer;
}


/* Fix Contact Section Header Color overriding issue */
body.light-theme .contact-section .section-header h2 {
  color: #f8fafc !important;
}


/* --- Ultimate Services Tiles Enhancement --- */
body.light-theme .landing-services {
  background: #e2e8f0 !important; /* Slightly darker off-white to make pure white cards pop */
}

body.light-theme .services-tile {
  border: none !important;
  border-top: 4px solid var(--tile-color, transparent) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0,0,0,0.04) !important;
}

body.light-theme .services-tile:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.12), 0 10px 20px rgba(0,0,0,0.06) !important;
}

/* --- Ultimate Bento Icons & Watermarks --- */
@media (min-width: 769px) {
  body.light-theme .services-tile {
    flex: 0 1 340px !important;
    width: 340px !important;
    max-width: 340px !important;
  }
}

body.light-theme .services-tile {
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
}

body.light-theme .services-tile-icon {
  width: 64px !important;
  height: 64px !important;
  border-radius: 16px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px !important;
  font-size: 28px !important; /* For FontAwesome */
  background: color-mix(in srgb, var(--tile-color) 12%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--tile-color) 30%, transparent) !important;
  color: var(--tile-color) !important;
}

body.light-theme .services-tile-icon svg {
  width: 32px !important;
  height: 32px !important;
  stroke: var(--tile-color) !important;
  stroke-width: 2.5 !important;
}

body.light-theme .watermark-icon {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 160px;
  width: 180px;
  height: 180px;
  color: var(--tile-color);
  opacity: 0.04;
  transform: rotate(-15deg);
  pointer-events: none;
  z-index: 0;
  transition: all 0.4s ease;
}

body.light-theme .services-tile:hover .watermark-icon {
  transform: rotate(0deg) scale(1.1);
  opacity: 0.08;
}

body.light-theme .services-tile > * {
  z-index: 1;
}
