/* CSS DESIGN SYSTEM - CafePlato */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F5F2;
  --text-primary: #171817;
  --text-secondary: #585A56;
  /* Enhanced contrast from #686B66 for better readability */
  --border-color: #E5E6E1;
  --accent-color: #A64B34;
  /* Terracotta/kiremit */
  --accent-hover: #843825;
  --accent-soft: #F2E3DD;
  --accent-beige: #EDE3D8;

  /* Typography */
  --font-family: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.2rem;
  /* Refined spacing block */
  --space-xl: 4rem;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-subtle: 0 4px 18px rgba(23, 24, 23, 0.02);
  --shadow-md: 0 6px 20px rgba(23, 24, 23, 0.03);
  --shadow-lg: 0 12px 30px rgba(23, 24, 23, 0.04);
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  scroll-behavior: smooth;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scroll Padding for Sticky Nav */
section {
  scroll-margin-top: 125px;
}

/* Typography elements */
h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  max-width: 68ch;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  /* Ensured wide resolution support */
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-padding {
  padding: 85px 0;
  /* Consistent tighter spacing block */
}

.bg-sec {
  background-color: var(--bg-secondary);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .grid-2 {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  /* Section rhythm variation: visual left, text right */
  .section-rhythm-reverse {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    /* 70-90px gap balance */
  }

  .section-rhythm-reverse .panel-intro-visual {
    grid-column: 1;
  }

  .section-rhythm-reverse .panel-intro-text {
    grid-column: 2;
  }
}

.flex-align {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: var(--space-xs);
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
}

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

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

/* Accent Labels */
.accent-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-color);
  background-color: var(--accent-soft);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* CafePlato Nedir: Simple uppercase text label (no capsule) */
.accent-text-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Nasıl Çalışır: Simple uppercase label */
.uppercase-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Kafeler İçin: Subtitle with left border line */
.left-border-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-left: 2px solid var(--accent-color);
  padding-left: 8px;
}

/* Yönetim Paneli: Simple text label */
.simple-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section Header Style */
.section-header {
  max-width: 650px;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  font-size: 2.1rem;
  margin-bottom: var(--space-sm);
}

.section-header p {
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.75rem;
  }
}

/* --- FIXED NAVBAR --- */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-menu {
  display: none;
  list-style: none;
}

.nav-menu-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0.5rem 0.1rem;
  position: relative;
}

.nav-menu-link:hover {
  color: var(--text-primary);
}

.nav-menu-link.active {
  color: var(--accent-color);
  font-weight: 600;
}

.nav-menu-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--accent-color);
  border-radius: var(--radius-full);
}

.nav-cta {
  display: none;
}

/* Hamburger Icon styling */
.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-burger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

.nav-burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-burger.active span:nth-child(2) {
  opacity: 0;
}

.nav-burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Nav Layout */
@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 1.8rem;
  }

  .nav-menu-mobile-cta {
    display: none !important;
  }

  .nav-cta {
    display: block;
  }

  .nav-burger {
    display: none;
  }
}

@media (max-width: 991px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-primary);
    padding: var(--space-lg) var(--space-md);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.active {
    transform: translateX(0);
    display: flex;
  }

  .nav-menu-link {
    font-size: 1.2rem;
    width: 100%;
  }

  .nav-menu-mobile-cta {
    margin-top: var(--space-md);
    width: 100%;
    display: block;
  }

  .nav-cta {
    display: none !important;
  }

  body.no-scroll {
    overflow: hidden;
  }
}

/* --- HERO SECTION --- */
.hero-section {
  padding-top: calc(80px + var(--space-xl));
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-color);
}

.hero-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 850;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero-trust-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {
  .hero-section {
    padding-top: calc(80px + var(--space-md));
    padding-bottom: var(--space-lg);
  }

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

  .hero-description {
    font-size: 1.05rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

/* --- HERO 3-COLUMN GRID --- */
.hero-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 992px) {
  .hero-grid-3 {
    grid-template-columns: minmax(400px, 1fr) 220px minmax(360px, 1fr);
    column-gap: 48px;
    align-items: stretch;
  }

  /* Sol metin sütunu: üst ve alt kenarlara yayılarak hizalansın */
  .hero-grid-3 .hero-content-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hero-grid-3 .hero-subtitle {
    margin-top: 0;
  }

  .hero-grid-3 .hero-trust-text {
    margin-bottom: 0;
  }

  .hero-panel-mockup .metric-bar-group {
    margin-top: 20px;
  }
}

/* --- PHONE MOCKUP (Orta sütun) --- */
.phone-mockup {
  width: 210px;
  height: 100%;
  min-height: 380px;
  border: 5px solid #171817;
  border-radius: 34px;
  background-color: #171817;
  box-shadow: 0 8px 24px rgba(23, 24, 23, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  justify-self: center;
}

.phone-screen {
  background-color: var(--bg-primary);
  width: 100%;
  flex: 1;
  border-radius: 29px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
}

.phone-header {
  height: 42px;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 14px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.phone-logo {
  display: flex;
  align-items: center;
}

.phone-logo img {
  height: 14px;
  width: auto;
  display: block;
}

.phone-content {
  flex: 1;
  padding: 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: var(--bg-secondary);
  overflow: hidden;
}

/* Stamp Loyalty Card in Phone */
.phone-stamp-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 10px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
}

.stamp-card-title {
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.stamp-card-title span {
  color: var(--accent-color);
}

.stamp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.stamp-slot {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
}

.stamp-slot.active {
  background-color: var(--accent-soft);
  border-style: solid;
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* QR Code in Phone */
.phone-qr-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  text-align: center;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* QR bölümündeki metinleri biraz büyüt */
.phone-qr-card>span:first-child {
  font-size: 12px !important;
  font-weight: 700;
  color: var(--text-primary);
}

.phone-qr-card>span:last-child {
  font-size: 11px !important;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- PANEL WRAPPER (Sağ sütun) --- */
.hero-panel-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* İşletme Özeti Paneli */
.hero-panel-mockup {
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 20px rgba(23, 24, 23, 0.06);
  padding: 22px 24px;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
}

.panel-header-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: var(--space-sm);
  font-weight: 700;
  flex-shrink: 0;
}

.metric-bar-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: space-evenly;
}

.metric-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-progress-bg {
  width: 100%;
  max-width: 140px;
  height: 5px;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 4px;
}

.metric-progress-fill {
  height: 100%;
  background-color: var(--accent-color);
}

/* Kupon kartı: panelin sağ üst köşesine bağlı bildirim */
.floating-coupon-card {
  position: absolute;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-color);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  box-shadow: 0 4px 14px rgba(23,24,23,0.08);
  top: 0;
  right: 0;
  z-index: 7;
  font-size: 0.72rem;
  width: 170px;
}

/* Mobil: dikey sıraya geç */
@media (max-width: 991px) {
  .hero-grid-3 {
    text-align: center;
  }

  .hero-grid-3 .hero-content-left {
    align-items: center;
  }

  .hero-grid-3 .hero-trust-text {
    justify-content: center;
  }

  .phone-mockup {
    width: 210px;
    min-height: 360px;
    height: auto;
    margin: 0 auto;
  }

  .hero-panel-wrapper {
    max-width: 380px;
    margin: 0 auto;
    height: auto;
  }

  .hero-panel-mockup {
    height: auto;
    min-height: 240px;
  }

  .floating-coupon-card {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 380px;
    margin: 0 auto var(--space-sm);
  }
}


/* --- BENEFIT STRIP --- */
.benefit-strip {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-md) 0;
}

.benefit-strip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 6px 0;
}

.benefit-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-color);
  background-color: var(--accent-soft);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: -2px;
}

.benefit-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.4;
}

@media (min-width: 576px) {
  .benefit-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .benefit-strip-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
  }

  .benefit-item {
    min-height: 52px;
  }

  .benefit-item:not(:last-child) {
    border-right: 1px solid var(--border-color);
    padding-right: var(--space-md);
    height: 32px;
    /* Squeezed height of split dividers */
  }
}

/* --- PLATFORM SECTION --- */
.flow-diagram-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  /* Reduced gap */
  padding: var(--space-lg);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.diagram-node {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  width: 100%;
  max-width: 260px;
  min-height: 110px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.diagram-node .node-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.diagram-node .node-subtitle {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.3;
}

.diagram-node.center-node {
  border-color: var(--accent-color);
  background-color: var(--accent-soft);
}

.diagram-node.center-node .node-title {
  color: var(--accent-color);
}

.diagram-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
}

.diagram-arrow {
  width: 2px;
  height: 32px;
  background-color: var(--accent-color);
  position: relative;
}

.diagram-arrow::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -4px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--accent-color);
}

@media (min-width: 768px) {
  .flow-diagram-container {
    flex-direction: row;
    padding: var(--space-lg);
    gap: var(--space-sm);
    align-items: stretch; /* Her kutunun yüksekliğini en uzun olana eşitler */
    justify-content: center;
  }

  .diagram-node {
    flex: 1 1 0px; /* Her kutunun genişliğini eşit paylaşmasını sağlar */
    max-width: 260px;
    height: auto;
  }

  .diagram-arrow {
    width: 40px;
    height: 2px;
  }

  .diagram-arrow::after {
    left: auto;
    right: -7px;
    top: -4px;
    bottom: auto;
    transform: none;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid var(--accent-color);
  }
}

.platform-bullets {
  margin-top: var(--space-md);
  display: grid;
  gap: var(--space-sm);
}

.platform-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.platform-bullet-tick {
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.platform-bullet-tick svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.platform-bullet-item strong {
  color: var(--text-primary);
  display: block;
}

/* --- FEATURES SECTION --- */
.features-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px var(--space-lg);
  /* Reduced height by 15-20px */
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-sm);
  /* Decreased space between text and mockup */
  box-shadow: var(--shadow-subtle);
}

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

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--accent-soft);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.feature-info h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.feature-info p {
  font-size: 0.95rem;
}

/* Inside feature card mockup blocks */
.mini-mock {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 10px;
  border: 1px solid var(--border-color);
  font-size: 0.75rem;
}

.expanded-mini-mock {
  padding: 16px;
}

.stamp-progress-line {
  height: 8px;
  background-color: var(--border-color);
  border-radius: var(--radius-full);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.stamp-progress-val {
  height: 100%;
  background-color: var(--accent-color);
  width: 70%;
}

.coupon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-primary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-top: 6px;
}

.coupon-code {
  font-family: monospace;
  font-weight: 700;
  color: var(--accent-color);
  background-color: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 2px;
}

/* 6 Alt Özellikler: Compact Editorial Grid Layout */
.alt-features-editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-lg);
}

@media (min-width: 576px) {
  .alt-features-editorial {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .alt-features-editorial {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2rem;
  }
}

.alt-feature-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alt-feature-icon-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.alt-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alt-feature-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.alt-feature-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.alt-feature-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Features section bottom padding reduced */
#ozellikler {
  padding-bottom: 50px;
}

/* --- HOW IT WORKS TIMELINE --- */
.timeline-container {
  position: relative;
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.timeline-item {
  display: flex;
  gap: var(--space-md);
  position: relative;
}

.timeline-badge {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-color);
  background-color: var(--accent-soft);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
}

.timeline-content {
  flex: 1;
  padding-top: 4px;
}

.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .timeline-container {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
  }

  .timeline-item {
    flex-direction: column;
    gap: var(--space-sm);
  }

  /* Timeline connecting line contrast increased, stays gray tone */
  .timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 19px;
    left: 38px;
    width: calc(100% - 18px);
    height: 1.5px;
    background-color: #caccc6;
    /* Slightly darker than border-color */
    z-index: 1;
  }
}

/* --- KAFELER İÇİN & EXPANDED ANALYTICS CARD --- */
.benefits-list {
  display: grid;
  gap: var(--space-md);
}

.benefit-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.benefit-list-icon {
  color: var(--accent-color);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 2px;
}

.expanded-analytics-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px 28px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  font-size: 0.85rem;
  /* Analytics panel text sizes increased 1-2px */
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.analytics-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--space-sm);
}

.analytics-header-icon {
  background-color: var(--accent-soft);
  color: var(--accent-color);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.analytics-badge-status {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.analytics-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.analytics-metric-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.analytics-metric-title {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
}

.analytics-metric-value {
  font-size: 1.25rem;
  color: var(--text-primary);
  font-weight: 800;
}

.analytics-metric-subtext {
  font-size: 10.5px;
  color: var(--text-secondary);
  font-weight: 500;
}

.analytics-metric-subtext.text-success {
  color: #1b5e20;
  font-weight: 700;
}

/* CSS Column Chart representing monthly trends */
.visit-trends-chart-wrap {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 12px 10px;
}

.trends-chart-title {
  font-size: 11.5px;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
  color: var(--text-primary);
}

/* Grafik kapsayıcısı: kesin yükseklik tanımlı, sütunlar alt eksene hizalı */
.trends-columns-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 120px;
  /* Kesin yükseklik — yüzde hesabı buradan yapılır */
  gap: 6px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0;
}

.trend-col-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
  /* Sütun + etiket birlikte hizalansın */
  height: 100%;
  justify-content: flex-end;
}

/* Sütun gövdesi: yüzde yükseklikler parent height (120px)'a göre çalışır */
.trend-bar-fill {
  width: 14px;
  min-width: 14px;
  background-color: var(--accent-color);
  border-radius: 3px 3px 0 0;
  /* height inline stil üzerinden %XX olarak gelir */
  flex-shrink: 0;
}

/* highlight-bar ayrımı artık yok; hepsi aynı terracotta */
.trend-bar-fill.highlight-bar {
  background-color: var(--accent-color);
}

.trend-col-bar-item span {
  font-size: 9.5px;
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
  margin-top: 5px;
}

/* --- YÖNETİM PANELİ --- */
.dashboard-mockup {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  height: 420px;
  font-size: 0.9rem;
  /* dashboard text sizes increased 8-10% */
}

.dashboard-sidebar {
  width: 60px;
  background-color: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-sm) 0;
  gap: var(--space-md);
}

.sidebar-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: var(--space-xs);
}

.sidebar-item {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a3a6a0;
  /* Inactive sidebar icons contrast increased */
}

.sidebar-item.active {
  background-color: var(--accent-soft);
  color: var(--accent-color);
}

.dashboard-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dashboard-header {
  height: 52px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--space-md);
}

.branch-select {
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  outline: none;
}

.dashboard-content {
  flex: 1;
  padding: var(--space-md);
  background-color: #FAF9F6;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.metric-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-card span {
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.metric-card strong {
  font-size: 1.25rem;
  color: var(--text-primary);
}

.metric-card em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-color);
}

.chart-container {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px var(--space-sm);
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 80px;
  padding-top: 4px;
  border-bottom: 1px solid var(--border-color);
}

.chart-bar {
  width: 18px;
  background-color: var(--accent-soft);
  border-radius: 2px 2px 0 0;
  transition: var(--transition-smooth);
}

.chart-bar:hover {
  background-color: var(--accent-color);
}

.recent-transactions {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px var(--space-sm);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.transaction-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid var(--border-color);
}

.transaction-row:last-child {
  border-bottom: none;
}

/* Squeeze top margin of dashboard section */
#panel-tanitimi {
  padding-top: 60px;
}

@media (max-width: 576px) {
  .dashboard-sidebar {
    display: none;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-mockup {
    height: 380px;
  }
}

/* --- FAQ ACCORDION --- */
.faq-list {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-xs);
}

.faq-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

/* Accordion Active States (2px Sol Terracotta line, Warm bg, Question terracotta color) */
.faq-item.active {
  border-color: var(--border-color);
  border-left: 2px solid var(--accent-color);
  background-color: var(--bg-secondary);
}

.faq-header {
  width: 100%;
  padding: 1.1rem var(--space-md);
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
}

.faq-item.active .faq-header {
  color: var(--accent-color);
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background-color: var(--accent-soft);
  color: var(--accent-color);
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
  /* Smooth height transitions without jumpiness */
}

.faq-body-content {
  padding: 0 var(--space-md) 1.1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* SSS Section Spacings Squeezed by 20-30px */
#sss {
  padding-top: 60px;
  padding-bottom: 60px;
}

#sss .section-header {
  margin-bottom: var(--space-md) !important;
}

/* --- CONTACT & DEMO REQUEST FORM --- */
.contact-section {
  border-top: 1px solid var(--border-color);
  padding-top: 65px;
  padding-bottom: 20px;
  /* Reduced to provide ~80px gap with footer's top padding */
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr 1.2fr;
    align-items: flex-start;
    /* Tops matched exactly */
  }
}

.contact-info-panel {
  padding-right: var(--space-md);
  display: flex;
  flex-direction: column;
}

.contact-info-panel h2 {
  font-size: 2.1rem;
  margin-bottom: var(--space-sm);
}

.contact-social-vertical {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.social-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
  width: fit-content;
}

.social-link-item svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  color: var(--accent-color);
  transition: var(--transition-smooth);
}

.social-link-item:hover {
  color: var(--accent-color);
  transform: translateX(6px);
}

.social-link-item:hover svg {
  color: var(--accent-hover);
}

.demo-form-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 576px) {
  .form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-family);
  font-size: 0.95rem;
  padding: 0.7rem var(--space-sm);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #D94636;
}

.form-group.has-error input:focus,
.form-group.has-error select:focus,
.form-group.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(217, 70, 54, 0.15);
}

.form-error-msg {
  display: none;
  font-size: 0.75rem;
  color: #D94636;
  font-weight: 600;
}

.form-group.has-error .form-error-msg {
  display: block;
}

.form-success-banner {
  display: none;
  background-color: #E6F4EA;
  border: 1px solid #B7E1CD;
  color: #137333;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
  font-weight: 600;
}

/* --- FOOTER (Padding-block and Margins Squeezed) --- */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
  /* Squeezed margins */
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: flex-start;
  }
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 42px;
  width: auto;
  display: block;
}

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

.footer-nav-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-primary);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-primary);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}

.fake-footer-link {
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: default;
  /* Non-clickable spans */
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}

.fake-footer-link {
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: default;
  /* Non-clickable spans */
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* --- LENIS & SCROLL REVEAL ANIMATIONS --- */
html.lenis {
  height: auto;
  scroll-behavior: auto !important;
}

html.lenis body {
  scroll-behavior: auto !important;
}

/* Base Reveal Class */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

/* Active State when Visible */
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal Delays for Staggered Grid Items */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- KVKK MODAL STYLES --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(23, 24, 23, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.modal-close-btn:hover {
  color: var(--accent-color);
}

.modal-content {
  padding: var(--space-lg);
  overflow-y: auto;
  line-height: 1.6;
  color: var(--text-secondary);
}

.modal-content h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  border-bottom: 2px solid var(--accent-soft);
  padding-bottom: var(--space-xs);
}

.modal-content h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.modal-content h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xs);
  font-weight: 700;
}

.modal-content p, .modal-content ul {
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

.modal-content ul {
  padding-left: var(--space-md);
  list-style-type: disc;
  margin-bottom: var(--space-sm);
}

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