:root {
  /* —— Design tokens: Apple-like spacing + Material radii; primary #1E90FF, accent #FFB800 —— */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-display: "Poppins", var(--font-sans);

  --bg-color: #ffffff;
  --text-color: #0f172a;
  --text-muted: #64748b;
  --primary-color: #1e90ff;
  --primary-glow: rgba(30, 144, 255, 0.38);
  --accent-color: #ffb800;
  --secondary-color: #ffb800;
  --sky-mix: #5eb3ff;
  --surface-color: rgba(255, 255, 255, 0.9);
  --border-color: rgba(30, 144, 255, 0.14);
  --shadow-light: 0 4px 24px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-elevated: 0 20px 50px rgba(15, 23, 42, 0.1), 0 8px 24px rgba(30, 144, 255, 0.08);
  --card-bg: rgba(255, 255, 255, 0.96);
  --glass-bg: rgba(255, 255, 255, 0.76);
  --glass-blur: 14px;
  --glass-border: 1px solid var(--border-color);
  --primary-gradient: linear-gradient(
    118deg,
    #1565c0 0%,
    #1e90ff 28%,
    #4da3ff 52%,
    #66b3ff 68%,
    #ffb800 90%,
    #e6a600 100%
  );
  --home-warm-glow: 0 8px 32px rgba(255, 184, 0, 0.22);
  --home-band-muted: #f8fafc;
  --home-apple-text: #0f172a;
  --home-apple-muted: #64748b;
  --home-apple-list: #475569;
  --accent-light: #5eb3ff;

  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --radius-xl: 36px;

  /* Dikey harf istifi: WebKit scrollbar’da dönük tek <text> çoğu zaman çizilmiyor */
  --scrollbar-w: 22px;
  --scrollbar-brand-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='140' viewBox='0 0 22 140'%3E%3Cg fill='%23475569' font-family='Arial,sans-serif' font-size='8' font-weight='700' text-anchor='middle'%3E%3Ctext x='11' y='11'%3EA%3C/text%3E%3Ctext x='11' y='24'%3EI%3C/text%3E%3Ctext x='11' y='37'%3EK%3C/text%3E%3Ctext x='11' y='50'%3EE%3C/text%3E%3Ctext x='11' y='63'%3EY%3C/text%3E%3Ctext x='11' y='76'%3E-%3C/text%3E%3Ctext x='11' y='89'%3ES%3C/text%3E%3Ctext x='11' y='102'%3EO%3C/text%3E%3Ctext x='11' y='115'%3EF%3C/text%3E%3Ctext x='11' y='128'%3ET%3C/text%3E%3C/g%3E%3C/svg%3E");
}

body.dark-theme {
  --bg-color: #030712;
  --text-color: #f1f5f9;
  --text-muted: #94a3b8;
  --primary-color: #4da3ff;
  --primary-glow: rgba(77, 163, 255, 0.4);
  --accent-color: #ffc933;
  --secondary-color: #ffc933;
  --sky-mix: #7eb6ff;
  --surface-color: rgba(15, 23, 42, 0.92);
  --border-color: rgba(148, 163, 184, 0.14);
  --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-elevated: 0 24px 64px rgba(0, 0, 0, 0.5);
  --card-bg: rgba(15, 23, 42, 0.96);
  --glass-bg: rgba(15, 23, 42, 0.85);
  --glass-blur: 18px;
  --glass-border: 1px solid var(--border-color);
  --primary-gradient: linear-gradient(
    118deg,
    #e0f2fe 0%,
    #93c5fd 35%,
    #60a5fa 55%,
    #fef08a 82%,
    #ffb800 100%
  );
  --home-warm-glow: 0 0 40px rgba(255, 201, 51, 0.14);
  --accent-light: #bfdbfe;
  --home-band-muted: #0f172a;
  --home-apple-text: #f1f5f9;
  --home-apple-muted: #94a3b8;
  --home-apple-list: #cbd5e1;
  --scrollbar-brand-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='140' viewBox='0 0 22 140'%3E%3Cg fill='%2394a3b8' font-family='Arial,sans-serif' font-size='8' font-weight='700' text-anchor='middle'%3E%3Ctext x='11' y='11'%3EA%3C/text%3E%3Ctext x='11' y='24'%3EI%3C/text%3E%3Ctext x='11' y='37'%3EK%3C/text%3E%3Ctext x='11' y='50'%3EE%3C/text%3E%3Ctext x='11' y='63'%3EY%3C/text%3E%3Ctext x='11' y='76'%3E-%3C/text%3E%3Ctext x='11' y='89'%3ES%3C/text%3E%3Ctext x='11' y='102'%3EO%3C/text%3E%3Ctext x='11' y='115'%3EF%3C/text%3E%3Ctext x='11' y='128'%3ET%3C/text%3E%3C/g%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: auto;
  scrollbar-color: color-mix(in srgb, var(--primary-color) 75%, var(--accent-color) 25%) var(--bg-color);
  /* Dikey scrollbar açılıp kapanınca içerik genişliği zıplamasın (okuma modu / uzun sayfa) */
  scrollbar-gutter: stable;
}

/* Custom Scrollbar — kalın track + AIKEY-SOFT tekrarı (Chrome, Edge, Safari); Firefox: scrollbar-color */

::-webkit-scrollbar {
  width: var(--scrollbar-w);
  height: var(--scrollbar-w);
}

::-webkit-scrollbar-track {
  background-color: var(--bg-color);
  background-image: var(--scrollbar-brand-tile);
  background-repeat: repeat-y;
  background-size: var(--scrollbar-w) 140px;
  background-position: center top;
  border-left: 1px solid color-mix(in srgb, var(--border-color) 80%, transparent);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--primary-color) 88%, var(--accent-color)) 0%,
    color-mix(in srgb, var(--primary-color) 55%, #1565c0) 100%
  );
  border-radius: 8px;
  border: 3px solid var(--bg-color);
  background-clip: padding-box;
  min-height: 48px;
}

body.dark-theme ::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--primary-color) 90%, var(--accent-color)) 0%,
    color-mix(in srgb, var(--primary-color) 45%, #1e3a5f) 100%
  );
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--primary-color) 70%, var(--accent-color)) 0%,
    var(--primary-color) 100%
  );
  border: 3px solid var(--bg-color);
  background-clip: padding-box;
}

::-webkit-scrollbar-corner {
  background: var(--bg-color);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

/* Açık tema: tam beyaz zemin + çok hafif sarı “ışık” (basılı değil) */
body:not(.dark-theme) {
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -35%, rgba(251, 191, 36, 0.055) 0%, transparent 56%),
    radial-gradient(ellipse 130% 85% at 50% -25%, rgba(125, 211, 252, 0.05) 0%, transparent 58%),
    radial-gradient(ellipse 50% 42% at 100% 100%, rgba(253, 224, 71, 0.028) 0%, transparent 52%);
  /* fixed + overflow-x bazen çift scrollbar / ekstra katman; scroll daha stabil */
  background-attachment: scroll;
}

body.dark-theme {
  background-image: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Material Symbols: net font + ligature; yüklenene kadar layout kayması azalsın */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded', system-ui, sans-serif;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-5 {
  margin-bottom: 3rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.accent-text {
  color: var(--primary-color);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--sky-mix), var(--accent-color), #e6a600);
  margin: 10px auto 30px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 14px rgba(30, 144, 255, 0.22), 0 0 12px rgba(255, 184, 0, 0.2);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

/* Glassmorphism Classes */
.glass-container {
  background: var(--surface-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-light);
  border-radius: var(--radius-lg);
}

/* Header */
.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--surface-color);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, var(--shadow-light);
  transition: var(--transition);
}

body.dark-theme .glass-header {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, var(--shadow-light);
}

/* ── E-learning tarzı üst menü: beyaz bar, ortada linkler, sağda CTA ── */
.glass-header.site-header-el {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
  transition: box-shadow 0.3s ease;
}

body.dark-theme .glass-header.site-header-el {
  background: var(--bg-color);
  border-bottom-color: var(--border-color);
}

.glass-header.site-header-el.is-scrolled {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

body.dark-theme .glass-header.site-header-el.is-scrolled {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.header-inner.site-header-el__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 1.5vw, 20px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 1.35rem) clamp(16px, 4vw, 28px);
  transition: padding 0.3s ease;
}

.glass-header.site-header-el.is-scrolled .header-inner.site-header-el__inner {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

@media (min-width: 1200px) {
  .site-header-el__nav.main-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: clamp(0.55rem, 1vw, 1.15rem);
    position: static;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
    pointer-events: auto;
    overflow: visible;
  }

  .site-header-el__nav.main-nav a {
    margin: 0;
    padding: 0.35rem 0.15rem;
    font-size: clamp(0.98rem, 1.05vw, 1.1rem);
    font-weight: 500;
    color: #57595f;
    opacity: 1;
    border: none;
    min-height: 0;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .site-header-el__nav.main-nav a:hover {
    color: #0f172a;
  }

  body.dark-theme .site-header-el__nav.main-nav a {
    color: rgba(226, 232, 240, 0.72);
  }

  body.dark-theme .site-header-el__nav.main-nav a:hover {
    color: #f8fafc;
  }

  .site-header-el__nav.main-nav a.active {
    color: #0f172a;
    font-weight: 600;
  }

  body.dark-theme .site-header-el__nav.main-nav a.active {
    color: #f8fafc;
  }

  .site-header-el__nav.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 2rem;
    height: 4px;
    border-radius: 999px;
    background: var(--primary-color);
  }

  .site-header-el__nav.main-nav a {
    position: relative;
  }

  .header-inner.site-header-el__inner > .logo {
    flex-shrink: 0;
  }
}

/* Dar masaüstü: menü taşarsa yatay kaydır (satır kırılmasın, İletişim + CTA çakışmasın) */
@media (min-width: 1200px) and (max-width: 1320px) {
  .site-header-el__nav.main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6px, #000 calc(100% - 6px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6px, #000 calc(100% - 6px), transparent);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }

  .site-header-el__nav.main-nav::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}

.header-ctas-desk {
  display: none;
}

@media (min-width: 1200px) {
  .header-ctas-desk {
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

@media (min-width: 1024px) {
  .header-cta {
    padding: 0.75rem 1.65rem;
    font-size: 1.02rem;
  }
}

@media (min-width: 1200px) and (max-width: 1320px) {
  .header-ctas-desk {
    gap: 6px;
  }

  .header-cta {
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
  }

  .header-actions.site-header-el__actions {
    gap: 6px;
  }
}

.header-cta--solid {
  background: linear-gradient(135deg, #1e90ff 0%, #1676d2 50%, #ffb800 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(30, 144, 255, 0.28);
}

.header-cta--solid:hover {
  color: #fff;
  box-shadow: 0 6px 22px rgba(30, 144, 255, 0.38);
  transform: translateY(-1px);
}

.header-cta--soft {
  background: rgba(30, 144, 255, 0.12);
  color: var(--primary-color);
}

.header-cta--soft:hover {
  background: linear-gradient(135deg, #1e90ff 0%, #1676d2 50%, #ffb800 100%);
  color: #fff;
  transform: translateY(-1px);
}

body.dark-theme .header-cta--soft {
  background: rgba(77, 163, 255, 0.14);
  color: #7dd3fc;
}

body.dark-theme .header-cta--soft:hover {
  color: #fff;
}

.header-ctas-mobile {
  display: none;
}

@media (max-width: 1199px) {
  .header-inner.site-header-el__inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .header-ctas-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding-top: 20px;
    margin-top: 16px;
    border-top: 1px solid var(--border-color);
  }

  .header-ctas-mobile .header-cta {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
  }
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* Logo — metin wordmark: AIKEY (mavi) + SOFT (sarı) */
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-link--wordmark {
  gap: 0;
}

.logo-wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.logo-wordmark__aikey {
  color: #1e90ff;
}

.logo-wordmark__soft {
  color: #ffb800;
}

body.dark-theme .logo-wordmark__aikey {
  color: #4da3ff;
}

body.dark-theme .logo-wordmark__soft {
  color: #ffc933;
}

/* Footer — marka sütunu (logo + kısa slogan; logo ile metin tekrarı yok) */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 280px;
}

.footer-brand__logo {
  display: inline-block;
  line-height: 0;
  border-radius: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-brand__logo-img {
  display: block;
  max-height: clamp(48px, 10vw, 68px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer-brand__logo:hover .footer-brand__logo-img {
  opacity: 0.92;
  transform: translateY(-1px);
}

.footer-brand__tagline {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .footer-brand__logo:hover .footer-brand__logo-img {
    transform: none;
  }
}

.logo-link--wordmark:hover .logo-wordmark__aikey {
  color: #1676d2;
}

.logo-link--wordmark:hover .logo-wordmark__soft {
  color: #e6a600;
}

body.dark-theme .logo-link--wordmark:hover .logo-wordmark__aikey {
  color: #7dd3fc;
}

body.dark-theme .logo-link--wordmark:hover .logo-wordmark__soft {
  color: #fde047;
}

.dot {
  color: var(--primary-color);
}

.main-nav a {
  margin: 0 15px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-color);
  opacity: 0.8;
  position: relative;
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-color);
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: color 0.3s, background-color 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.hamburger-btn:hover {
  color: var(--primary-color);
  background: rgba(128, 128, 128, 0.08);
}
.hamburger-btn .hamburger-icon-close {
  display: none;
}
.hamburger-btn.is-active .hamburger-icon-open {
  display: none;
}
.hamburger-btn.is-active .hamburger-icon-close {
  display: inline-block;
}

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

.nav-backdrop {
  display: none;
}

body.nav-menu-open {
  overflow: hidden;
  touch-action: none;
}

.lang-switcher {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.85rem;
  gap: 5px;
}

.lang-switcher a {
  opacity: 0.5;
  transition: var(--transition);
}

.lang-switcher a.active, .lang-switcher a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.divider {
  opacity: 0.3;
}

.btn-theme {
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 50%;
  transition: var(--transition);
  box-sizing: border-box;
}

/* Okuma modu: ikon değişince (kitap ↔ kapat) üst bar kaymasın */
#reading-mode-btn.btn-reading-mode {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  box-sizing: border-box;
}

#reading-mode-btn.btn-reading-mode .material-symbols-rounded {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
}

.btn-theme:hover {
  background: rgba(128, 128, 128, 0.1);
}

a.header-portal-login {
  text-decoration: none;
  color: inherit;
}

/* Masaüstü: yalnız ikon; mobilde kısa yazı + büyük dokunma alanı home.css @1199px */
.header-portal-login__label {
  display: none;
}

/* Theme Icon Logic */
body.dark-theme .theme-icon-sun { display: none !important; }
body.dark-theme .theme-icon-moon { display: block !important; }
body:not(.dark-theme) .theme-icon-sun { display: block !important; }
body:not(.dark-theme) .theme-icon-moon { display: none !important; }

/* Buttons */
.btn-primary-gradient {
  display: inline-block;
  background: linear-gradient(135deg, #1e90ff 0%, #1676d2 48%, #ffb800 100%);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: 0 4px 18px var(--primary-glow), 0 2px 8px rgba(255, 184, 0, 0.15);
  transition: var(--transition);
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
  color: #fff;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-color);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: var(--transition);
}

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

/* Main Content Layout */
.home-main {
  padding-top: 100px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.home-main--fullbleed {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
}

/* Authentic Apple-Style Background Image Hero */
.hero-section--apple-bg {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../images/banner.png');
  background-size: cover;
  background-position: center;
  padding: 80px 24px;
  overflow: hidden;
  margin: 20px;
  border-radius: 48px;
  border: 1px solid rgba(245, 197, 66, 0.2);
  box-shadow:
    0 20px 80px rgba(0, 0, 0, 0.15),
    0 0 32px rgba(14, 165, 233, 0.07),
    0 0 36px rgba(245, 197, 66, 0.06);
}

.hero-overlay-apple {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(0, 0, 0, 0.38) 0%, transparent 45%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.26)),
    radial-gradient(ellipse 90% 60% at 85% 100%, rgba(245, 158, 11, 0.14), transparent 55%);
  z-index: 1;
}

body.dark-theme .hero-overlay-apple {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.52)),
    radial-gradient(ellipse 80% 50% at 80% 100%, rgba(251, 191, 36, 0.09), transparent 50%);
}

.hero-container {
  width: 100%;
  max-width: 1100px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-glass-panel {
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  padding: 60px 40px;
  border-radius: 36px;
  border: 1px solid rgba(245, 197, 66, 0.22);
  max-width: 850px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    var(--home-warm-glow);
}

body.dark-theme .hero-glass-panel {
  background: rgba(0, 0, 0, 0.72);
  border-color: rgba(252, 211, 77, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), var(--home-warm-glow);
}

.hero-badge-apple {
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b45309;
  background: rgba(251, 191, 36, 0.18);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

body.dark-theme .hero-badge-apple {
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(252, 211, 77, 0.22);
}

.hero-title-apple {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: var(--primary-gradient);
  background-size: 115% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0369a1;
}

body.dark-theme .hero-title-apple {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #e0f2fe;
  filter: drop-shadow(0 0 24px rgba(252, 211, 77, 0.18));
}

.hero-subtitle-apple {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: #57534e;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 40px;
}

body.dark-theme .hero-subtitle-apple {
  color: #d2d2d7;
}

.hero-actions-apple {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.btn-apple-primary {
  background: #0071e3;
  color: #fff;
  padding: 14px 32px;
  border-radius: 980px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-apple-primary:hover {
  background: #0077ed;
  transform: translateY(-2px);
  box-shadow:
    0 10px 20px rgba(0, 113, 227, 0.28),
    0 0 22px rgba(245, 158, 11, 0.18);
}

.btn-apple-link {
  color: #0066cc;
  font-size: 1.15rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

body.dark-theme .btn-apple-link {
  color: #2997ff;
}

.btn-apple-link:hover,
.btn-apple-link:focus-visible {
  text-decoration: none;
  opacity: 0.88;
}

/* Alt çizgi sadece yazıda — chevron / ikon adları çizgiye yapışmasın */
.btn-apple-link:hover .btn-apple-link__text,
.btn-apple-link:focus-visible .btn-apple-link__text {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.btn-apple-link__icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.hero-badge-apple .material-symbols-rounded {
  font-size: 1.15rem;
}

/* Hero altı — GitHub, LinkedIn, e-posta (referans düzen: üç ikon, site mavi/amber) */
.hero-social-apple {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(14px, 4vw, 22px);
  margin-top: clamp(28px, 5vw, 40px);
  padding-top: clamp(20px, 4vw, 28px);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

body.dark-theme .hero-social-apple {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.hero-social-apple__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #78716c;
  background: rgba(0, 0, 0, 0.045);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

body.dark-theme .hero-social-apple__link {
  color: #a8a29e;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-social-apple__link:hover {
  color: var(--primary-color);
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(245, 197, 66, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--home-warm-glow);
}

body.dark-theme .hero-social-apple__link:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(252, 211, 77, 0.32);
}

.hero-social-apple__icon {
  width: 22px;
  height: 22px;
  display: block;
}

body.dark-theme .hero-section--home .hero-title {
  color: #f5f5f7;
}

.hero-section--home .badge-pill {
  background: rgba(0, 0, 0, 0.04);
  color: #424245;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

body.dark-theme .hero-section--home .badge-pill {
  background: rgba(255, 255, 255, 0.06);
  color: #a1a1a6;
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-section--home .btn-primary-gradient {
  background: linear-gradient(135deg, var(--hero-accent) 0%, #0284c7 55%, #0369a1 100%);
  box-shadow: none;
  border-radius: 980px;
  font-weight: 500;
}

.hero-section--home .btn-primary-gradient:hover {
  background: linear-gradient(135deg, var(--hero-accent-hover) 0%, #0369a1 70%, #0c4a6e 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  color: #fff;
}

body.dark-theme .hero-section--home .btn-primary-gradient:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hero-section--home .btn-secondary {
  border-color: #d2d2d7;
  color: #1d1d1f;
  background: transparent;
  border-radius: 980px;
  font-weight: 500;
}

body.dark-theme .hero-section--home .btn-secondary {
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-section--home .btn-secondary:hover {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #f5f5f7;
}

body.dark-theme .hero-section--home .btn-secondary:hover {
  background: #f5f5f7;
  border-color: #f5f5f7;
  color: #1d1d1f;
}

.hero-section--home .hero-social-btn:hover {
  color: var(--hero-accent);
  border-color: rgba(0, 0, 0, 0.12);
}

body.dark-theme .hero-section--home .hero-social-btn:hover {
  color: var(--hero-accent);
  border-color: rgba(255, 255, 255, 0.25);
}

body:not(.dark-theme) .hero-section--home .hero-subtitle {
  color: #6e6e73;
}

body.dark-theme .hero-section--home .hero-subtitle {
  color: #a1a1a6;
}

.badge-pill {
  display: inline-block;
  background: rgba(125, 211, 252, 0.35);
  color: #0369a1;
  padding: 5px 15px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 20px;
  border: 1px solid rgba(14, 165, 233, 0.28);
}

body.dark-theme .badge-pill {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  border-color: rgba(125, 211, 252, 0.28);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

/* Hero Slider */
.hero-slide {
  display: none;
  animation: fadeInDown 0.6s ease-out forwards;
}

.hero-slide.active {
  display: block;
}

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

/* Decorative Backgrounds */
.decor-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.5;
}

.circle-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  top: -100px;
  left: -100px;
}

.circle-2 {
  width: 250px;
  height: 250px;
  background: var(--secondary-color);
  bottom: -50px;
  right: -50px;
}

/* Services — hizmetler.php panel bölümü gibi beyaz bant */
.services-section {
  padding: 80px 20px;
  background: #ffffff;
}

body.dark-theme .services-section {
  background: var(--bg-color);
}

/* Ana sayfa #services — hizmetler sayfası ile aynı mavi→sarı başlık + alt çizgi */
#services.services-section .section-title {
  background: var(--primary-gradient);
  background-size: 110% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0369a1;
}

body.dark-theme #services.services-section .section-title {
  background-size: 110% 100%;
  -webkit-text-fill-color: transparent;
  color: #e0f2fe;
}

#services.services-section .section-header::after {
  content: '';
  display: block;
  width: min(200px, 45vw);
  height: 4px;
  margin: 1rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #7dd3fc, #f5c542, #f59e0b);
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.2), 0 0 12px rgba(245, 197, 66, 0.28);
}

/* Neler Yapıyoruz — arka planda anasayfahero.png + açık mavi cam kartlar */
.services-section--hero2 {
  --svc-sky: #38bdf8;
  --svc-deep: #0369a1;
  --svc-light: #7dd3fc;
  --svc-ice: #e0f2fe;
  --svc-accent: #0ea5e9;
  --svc-warm: #f5c542;
  position: relative;
  isolation: isolate;
  margin: 16px 20px 48px;
  padding: clamp(56px, 8vw, 88px) clamp(20px, 3vw, 36px);
  border-radius: clamp(28px, 5vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(14, 165, 233, 0.2);
  box-shadow:
    var(--shadow-light),
    0 0 60px -18px rgba(14, 165, 233, 0.22);
}

.services-section--hero2::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: url('../images/anasayfahero.png') center / cover no-repeat;
  transform: scale(1.04);
}

.services-section--hero2::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(
      165deg,
      rgba(240, 249, 255, 0.95) 0%,
      rgba(254, 249, 231, 0.35) 38%,
      rgba(224, 242, 254, 0.88) 55%,
      rgba(186, 230, 253, 0.82) 100%
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  background-size: auto, 160px 160px;
  background-blend-mode: normal, soft-light;
  opacity: 1;
}

body.dark-theme .services-section--hero2 {
  border-color: rgba(56, 189, 248, 0.22);
  box-shadow: var(--shadow-light), 0 0 72px -24px rgba(14, 165, 233, 0.28);
}

body.dark-theme .services-section--hero2::after {
  background:
    linear-gradient(
      165deg,
      rgba(12, 18, 34, 0.94) 0%,
      rgba(15, 40, 62, 0.88) 48%,
      rgba(12, 18, 34, 0.92) 100%
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E");
  background-size: auto, 160px 160px;
  background-blend-mode: normal, overlay;
}

.services-section--hero2 .section-header,
.services-section--hero2 .services-grid {
  position: relative;
  z-index: 2;
}

.services-section--hero2 .section-title {
  background: linear-gradient(
    125deg,
    var(--svc-deep) 0%,
    var(--svc-accent) 48%,
    var(--svc-light) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark-theme .services-section--hero2 .section-title {
  background: linear-gradient(
    125deg,
    #f0f9ff 0%,
    #7dd3fc 45%,
    #bae6fd 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-section--hero2 .title-underline {
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--svc-accent), var(--svc-light));
  box-shadow: 0 0 14px rgba(14, 165, 233, 0.22);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.services-grid--four {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

@media (max-width: 992px) {
  .services-grid--four {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 40px;
  padding: 50px 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

body.dark-theme .service-card {
  background: var(--card-bg);
  border-color: var(--border-color);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 197, 66, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), var(--home-warm-glow);
}

.service-card__icon-box {
  width: 64px;
  height: 64px;
  background: linear-gradient(
    145deg,
    rgba(30, 144, 255, 0.18) 0%,
    rgba(255, 184, 0, 0.16) 48%,
    rgba(30, 144, 255, 0.1) 100%
  );
  border: 1px solid rgba(255, 184, 0, 0.22);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.service-card__icon-box .material-symbols-rounded {
  display: inline-block;
  font-size: 2.2rem;
  background: linear-gradient(135deg, #1e90ff, #4da3ff 45%, #cc9500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary-color);
  filter: drop-shadow(0 2px 8px rgba(255, 184, 0, 0.28));
}

.service-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  background: var(--primary-gradient);
  background-size: 120% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #1565c0;
}

body.dark-theme .service-card h3 {
  background: var(--primary-gradient);
  background-size: 120% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #e0f2fe;
}

.service-card p {
  font-size: 1.05rem;
  color: var(--home-apple-muted);
  margin: 0;
  line-height: 1.5;
}

body.dark-theme .service-card p {
  color: var(--text-muted);
}

.service-card__features {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns for features */
  gap: 12px;
}

.service-card__features li {
  font-size: 0.9rem;
  color: var(--home-apple-list);
  display: flex;
  align-items: center;
  gap: 8px;
}

body.dark-theme .service-card__features li {
  color: var(--text-muted);
}

.service-card__features li::before {
  content: 'check_circle';
  font-family: 'Material Symbols Rounded';
  font-size: 1.1rem;
  color: var(--primary-color);
  filter: drop-shadow(0 0 5px rgba(245, 197, 66, 0.35));
}

@media (max-width: 576px) {
  .service-card {
    padding: 35px 25px;
  }
  .service-card__features {
    grid-template-columns: 1fr;
  }
  .service-card h3 {
    font-size: 1.5rem;
  }
}

/* ========== Featured projects (home + projects.php) ========== */
.home-projects-section {
  padding: clamp(72px, 12vw, 120px) 24px;
  scroll-margin-top: 96px;
}

.home-projects-section .section-header {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.home-projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(24px, 4vw, 32px);
  margin-top: clamp(40px, 6vw, 56px);
}

.project-card-premium {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.25s ease;
}

.project-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(30, 144, 255, 0.28);
}

.project-card-premium__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, rgba(30, 144, 255, 0.1), rgba(255, 184, 0, 0.08));
  overflow: hidden;
}

.project-card-premium__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card-premium:hover .project-card-premium__media img {
  transform: scale(1.05);
}

.project-card-premium__body {
  padding: clamp(22px, 4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.project-card-premium__icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  background: linear-gradient(145deg, rgba(30, 144, 255, 0.14), rgba(255, 184, 0, 0.12));
  border: 1px solid rgba(30, 144, 255, 0.2);
  color: var(--primary-color);
  box-shadow: 0 4px 14px rgba(30, 144, 255, 0.1);
}

.project-card-premium__icon-badge .material-symbols-rounded {
  font-size: 1.65rem;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.project-card-premium__icon-badge--github {
  color: #0f172a;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.06), rgba(30, 144, 255, 0.1));
}

body.dark-theme .project-card-premium__icon-badge--github {
  color: #f1f5f9;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(30, 144, 255, 0.12));
  border-color: rgba(255, 255, 255, 0.12);
}

.project-card-premium__icon-svg--github {
  display: block;
}

.project-card-premium__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw + 0.75rem, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-color);
}

.project-card-premium__desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.58;
  color: var(--home-apple-muted);
  flex: 1;
}

.project-card-premium__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-top: 6px;
  align-self: flex-start;
  transition: gap 0.28s ease, color 0.2s ease;
}

.project-card-premium__link-leading {
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0.95;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.project-card-premium__link:hover {
  gap: 14px;
  color: var(--accent-color);
}

body.dark-theme .project-card-premium__desc {
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .project-card-premium,
  .project-card-premium__media img {
    transition: none;
  }

  .project-card-premium:hover {
    transform: none;
  }

  .project-card-premium:hover .project-card-premium__media img {
    transform: none;
  }
}

.home-projects__footer-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* Sektör — Özel Hizmetlerimiz: banner2.jpg + okunabilirlik için hafif örtü
   Tam genişlik (viewport) + köşeli dikdörtgen — home-main max-width dışına taşır */
.sectoral-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 100px 24px;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0;
  box-sizing: border-box;
}

.sectoral-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: 0;
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.93) 0%,
      rgba(255, 255, 255, 0.86) 45%,
      rgba(255, 255, 255, 0.8) 100%
    ),
    url('../images/banner2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.dark-theme .sectoral-section {
  background: var(--surface-color);
  border-top-color: var(--border-color);
}

body.dark-theme .sectoral-section::before {
  background-image:
    linear-gradient(
      180deg,
      rgba(12, 12, 14, 0.92) 0%,
      rgba(12, 12, 14, 0.84) 50%,
      rgba(12, 12, 14, 0.78) 100%
    ),
    url('../images/banner2.jpg');
}

.container-apple {
  max-width: 1200px;
  margin: 0 auto;
}

.sectoral-section .container-apple {
  position: relative;
  z-index: 1;
}

.section-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #78716c;
  margin-top: 8px;
}

body.dark-theme .section-subtitle {
  color: #a8a29e;
}

.sectoral-section .section-header {
  text-align: center;
}

.sectoral-section .section-subtitle {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

body.dark-theme .sectoral-section .section-subtitle {
  color: var(--home-apple-muted);
}

.sectoral-section .section-title {
  background: var(--primary-gradient);
  background-size: 110% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0369a1;
}

body.dark-theme .sectoral-section .section-title {
  background-size: 110% 100%;
  -webkit-text-fill-color: transparent;
  color: #e0f2fe;
}

.sectoral-section .section-header::after {
  content: '';
  display: block;
  width: min(200px, 45vw);
  height: 4px;
  margin: 1.15rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #7dd3fc, #f5c542, #f59e0b);
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.2), 0 0 12px rgba(245, 197, 66, 0.28);
}

.sectoral-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.sector-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(245, 197, 66, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

body.dark-theme .sector-card {
  background: #0c0c0e;
  border-color: rgba(252, 211, 77, 0.12);
}

.sector-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08), var(--home-warm-glow);
  border-color: rgba(245, 197, 66, 0.32);
}

.sector-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(
    145deg,
    rgba(56, 189, 248, 0.18) 0%,
    rgba(251, 191, 36, 0.2) 55%,
    rgba(14, 165, 233, 0.1) 100%
  );
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 197, 66, 0.22);
}

.sector-icon .material-symbols-rounded {
  display: inline-block;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8 45%, #d97706);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0ea5e9;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.28));
}

.sector-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: var(--primary-gradient);
  background-size: 115% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0369a1;
}

body.dark-theme .sector-content h3 {
  background: var(--primary-gradient);
  background-size: 115% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #e0f2fe;
}

.sector-content p {
  color: #86868b;
  line-height: 1.5;
  margin-bottom: 24px;
}

.sector-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sector-features li {
  font-size: 0.95rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sector-features li::before {
  content: 'add';
  font-family: 'Material Symbols Rounded';
  font-size: 1.1rem;
  color: #0ea5e9;
}

@media (max-width: 992px) {
  .sectoral-grid {
    grid-template-columns: 1fr;
  }
}

/* About Section */
.about-section {
  padding: 80px 40px;
  margin: 40px 20px;
  text-align: center;
}

.about-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Ana sayfa Biz Kimiz? — solda metin, sağda çapraz hero3.png (tek görsel, yarı saydam geçiş) */
.about-section--hero3 {
  text-align: left;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 3vw, 40px);
  margin: 16px 20px 40px;
  min-height: min(320px, 52vw);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: clamp(26px, 4.5vw, 42px);
  box-shadow: var(--shadow-light);
}

.about-section--hero3::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background-image:
    linear-gradient(
      118deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.72) 20%,
      rgba(255, 255, 255, 0.2) 36%,
      transparent 50%
    ),
    url('../images/hero3.png');
  background-size: cover, auto 115%;
  background-position: 0 0, 92% 45%;
  background-repeat: no-repeat;
  clip-path: polygon(36% 0, 100% 0, 100% 100%, 8% 100%);
}

body.dark-theme .about-section--hero3 {
  background: var(--surface-color);
  border-color: var(--border-color);
}

body.dark-theme .about-section--hero3::before {
  background-image:
    linear-gradient(
      118deg,
      rgba(12, 12, 14, 0.97) 0%,
      rgba(12, 12, 14, 0.78) 22%,
      rgba(12, 12, 14, 0.28) 38%,
      transparent 52%
    ),
    url('../images/hero3.png');
  background-size: cover, auto 115%;
  background-position: 0 0, 90% 42%;
  filter: brightness(0.88) saturate(1.05);
}

.about-section--hero3 .about-section__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: block;
}

.about-section--hero3 .about-content {
  min-width: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-section--hero3 .about-section__cta {
  margin-top: 1.5rem;
  align-self: flex-start;
  text-decoration: none;
}

.about-section--hero3 .section-title {
  text-align: left;
  margin-bottom: 8px;
  font-weight: 700;
  background: var(--primary-gradient);
  background-size: 110% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0369a1;
}

body.dark-theme .about-section--hero3 .section-title {
  background: var(--primary-gradient);
  background-size: 110% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #e0f2fe;
}

.about-section--hero3 .title-underline {
  margin: 10px 0 22px;
  background: linear-gradient(90deg, #0ea5e9, #7dd3fc, #f5c542, #f59e0b);
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.2), 0 0 12px rgba(245, 197, 66, 0.25);
}

.about-section--hero3 .about-text {
  margin: 0;
  max-width: 38rem;
  text-align: left;
  color: #0a0a0a;
  font-weight: 500;
}

body.dark-theme .about-section--hero3 .about-text {
  color: var(--text-color);
  font-weight: 400;
}

.about-section__figure {
  margin: 0;
  min-width: 0;
  border-radius: clamp(28px, 5vw, 48px);
  overflow: hidden;
  box-shadow:
    0 16px 48px rgba(14, 116, 144, 0.14),
    0 0 0 1px rgba(14, 165, 233, 0.12);
}

.about-section__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

body.dark-theme .about-section__figure {
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(56, 189, 248, 0.2);
}

@media (max-width: 900px) {
  .about-section--hero3 {
    min-height: 0;
    text-align: center;
  }

  .about-section--hero3::before {
    clip-path: polygon(0 28%, 100% 14%, 100% 100%, 0 100%);
    background-size: cover, cover;
    background-position: 0 0, center 20%;
  }

  body.dark-theme .about-section--hero3::before {
    background-position: 0 0, center 18%;
  }

  .about-section--hero3 .section-title,
  .about-section--hero3 .about-text {
    text-align: center;
  }

  .about-section--hero3 .about-text {
    margin-left: auto;
    margin-right: auto;
  }

  .about-section--hero3 .title-underline {
    margin-left: auto;
    margin-right: auto;
  }

  .about-section--hero3 .about-content {
    align-items: center;
  }

  .about-section--hero3 .about-section__cta {
    align-self: center;
  }

  .about-section--hero3 .about-content.reveal-scroll--up:not(.is-revealed) {
    transform: translate3d(0, 1.25rem, 0);
  }

  .about-section--hero3 .about-content.reveal-scroll--up.is-revealed {
    transform: translate3d(0, 0, 0);
  }
}

/* Ana sayfa — hızlı bağlantılar (Tailblocks tarzı), arka plan hero3.png */
.home-linkhub {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 10vw, 120px) clamp(20px, 4vw, 32px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #fafafa;
}

.home-linkhub__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 250, 252, 0.88) 40%,
      rgba(255, 255, 255, 0.86) 100%
    ),
    url('../images/hero3.png');
  background-size: cover;
  background-position: center;
  opacity: 1;
}

body.dark-theme .home-linkhub {
  background: var(--bg-color);
  border-top-color: var(--border-color);
}

body.dark-theme .home-linkhub__bg {
  background-image:
    linear-gradient(
      180deg,
      rgba(12, 12, 14, 0.94) 0%,
      rgba(12, 12, 14, 0.9) 45%,
      rgba(12, 12, 14, 0.88) 100%
    ),
    url('../images/hero3.png');
  filter: brightness(0.72) saturate(1.08);
}

.home-linkhub__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.home-linkhub__intro {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.home-linkhub__title.section-title {
  margin-bottom: 0;
  background: var(--primary-gradient);
  background-size: 110% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0369a1;
}

body.dark-theme .home-linkhub__title.section-title {
  background-size: 110% 100%;
  -webkit-text-fill-color: transparent;
  color: #e0f2fe;
}

.home-linkhub__subtitle {
  margin: 14px auto 0;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.65;
  color: var(--home-apple-muted);
}

body.dark-theme .home-linkhub__subtitle {
  color: var(--text-muted);
}

.home-linkhub__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-top: 52px;
}

.home-linkhub__col {
  min-width: 0;
}

.home-linkhub__col-title {
  margin: 0 0 1.1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(118deg, #0369a1 0%, #0ea5e9 35%, #38bdf8 58%, #ca8a04 88%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0ea5e9;
}

body.dark-theme .home-linkhub__col-title {
  background: linear-gradient(118deg, #e0f2fe 0%, #7dd3fc 40%, #fde047 82%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #bae6fd;
}

.home-linkhub__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.home-linkhub__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  font-size: 0.97rem;
  line-height: 1.35;
  color: #57534e;
  text-decoration: none;
  text-align: left;
  transition: color 0.2s ease;
}

.home-linkhub__link:hover {
  color: #0ea5e9;
}

body.dark-theme .home-linkhub__link {
  color: var(--text-muted);
}

body.dark-theme .home-linkhub__link:hover {
  color: #38bdf8;
}

.home-linkhub__check {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.16);
  color: #0ea5e9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.dark-theme .home-linkhub__check {
  background: rgba(56, 189, 248, 0.2);
  color: #7dd3fc;
}

.home-linkhub__check-svg {
  width: 0.62rem;
  height: 0.62rem;
}

.home-linkhub__link-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.home-linkhub__actions {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

.home-linkhub__btn {
  padding: 0.65rem 1.85rem;
  font-size: 1.05rem;
}

@media (min-width: 640px) {
  .home-linkhub__col-title {
    text-align: left;
  }

  .home-linkhub__nav {
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .home-linkhub__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 40px;
  }
}

@media (max-width: 520px) {
  .home-linkhub {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  /* Mobilde de 2 sütun yan yana */
  .home-linkhub__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    margin-top: 32px;
  }

  .home-linkhub__col-title {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-align: left;
    margin-bottom: 0.75rem;
  }

  .home-linkhub__nav {
    align-items: flex-start;
    gap: 8px;
  }

  .home-linkhub__link {
    justify-content: flex-start;
    text-align: left;
    font-size: 0.82rem;
    line-height: 1.3;
    gap: 6px;
  }

  .home-linkhub__check {
    width: 1rem;
    height: 1rem;
  }

  .home-linkhub__check-svg {
    width: 0.55rem;
    height: 0.55rem;
  }

  .home-linkhub__actions {
    margin-top: 36px;
  }
}

/* CTA Section */
.contact-cta {
  padding: 60px 20px 100px;
  background: #ffffff;
  border-radius: 0 0 clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark-theme .contact-cta {
  background: var(--bg-color);
  border-top-color: var(--border-color);
}

.cta-card {
  text-align: center;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-color: var(--border-color) !important;
  box-shadow: var(--shadow-light) !important;
}

.cta-card h2 {
  font-size: 2.5rem;
  font-weight: 600;
  background: var(--primary-gradient);
  background-size: 110% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0369a1;
}

body.dark-theme .cta-card h2 {
  background-size: 110% 100%;
  -webkit-text-fill-color: transparent;
  color: #e0f2fe;
}

.cta-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
}

/* Footer — yeniden düzen: grid, iki menü sütunu, sosyal blok */
.modern-footer {
  --footer-pad-x: clamp(20px, 4vw, 40px);
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  padding: clamp(48px, 7vw, 72px) var(--footer-pad-x) clamp(20px, 3vw, 28px);
}

.footer-shell {
  max-width: 1160px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(200px, 0.75fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  padding-bottom: clamp(28px, 4vw, 40px);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.footer-nav__heading {
  margin: 0 0 14px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.9;
}

.footer-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-nav__list a {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-nav__list a:hover {
  color: var(--primary-color);
}

.footer-follow {
  padding: 0;
  border: none;
}

.footer-follow__hint {
  margin: -6px 0 14px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 16rem;
}

.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social-icons__link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-icons__link:hover {
  color: #fff;
  background: linear-gradient(135deg, #1e90ff 0%, #1268c5 55%, #ffb800 100%);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.25);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--border-color);
}

.footer-bottom__copy {
  margin: 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
    align-items: center;
    text-align: center;
  }

  .footer-brand__tagline {
    max-width: 22rem;
  }

  .footer-follow {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
  }

  .footer-follow__hint {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social-icons {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .footer-social-icons__link:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-social-icons__link {
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  }

  .footer-social-icons__link:hover {
    transform: none;
  }
}

/* Responsive — ≤1199px: tablet / iPad dahil hamburger menü */
@media (max-width: 1199px) {
  .hero-title { font-size: 2.25rem; }
  .hero-subtitle { font-size: 1rem; }
  .section-title { font-size: 2rem; }
  .home-main {
    padding-top: 88px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-section--home {
    text-align: center;
    padding: 28px 16px 24px;
    margin: 16px 0 24px;
    min-height: min(280px, 48vh);
    border-radius: clamp(28px, 6vw, 44px);
  }

  .hero-section--home .hero-content.reveal-scroll--left:not(.is-revealed) {
    transform: translate3d(0, 1.25rem, 0);
  }

  .hero-section--home .hero-content.reveal-scroll--left.is-revealed {
    transform: translate3d(0, 0, 0);
  }

  body.dark-theme .hero-section--home {
    background-size: 100% 100%;
    background-position: 0 0;
  }

  .hero-section--home .hero-content {
    align-items: center;
    max-width: 100%;
    min-height: 0;
    padding-bottom: 12px;
  }

  .hero-section--home .hero-slide {
    text-align: center;
  }

  .hero-section--home .hero-title,
  .hero-section--home .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-section--home .hero-actions,
  .hero-section--home .hero-social-links {
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions .btn-primary-gradient,
  .hero-actions .btn-secondary {
    width: 100%;
    box-sizing: border-box;
  }
  /* Kenar şeridi (9999) / sohbet katmanlarının üstünde kalsın; tıklanabilirlik için */
  .glass-header.site-header-el {
    z-index: 10080;
  }

  /* backdrop-filter + fixed çocuk: menü viewport’a göre kilitlenmiyor; mobilde blur kapat */
  .glass-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
  }

  .header-inner {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px 16px;
    padding-top: max(10px, env(safe-area-inset-top));
  }
  .glass-header .logo-wordmark {
    font-size: clamp(1.25rem, 4.5vw, 1.55rem);
  }
  .hamburger-btn {
    display: flex;
    order: 0;
    margin-right: 0;
    position: relative;
    z-index: 20;
    flex-shrink: 0;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 10040;
    background: rgba(10, 14, 24, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
  }
  body.dark-theme .nav-backdrop {
    background: rgba(0, 0, 0, 0.65);
  }
  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Menü açıkken tam ekran backdrop’un üstünde */
  body.nav-menu-open .glass-header.site-header-el {
    z-index: 10090;
  }

  /* X / hamburger her zaman tıklanabilsin (panel sağdan üst barın üzerine binmesin) */
  body.nav-menu-open .header-actions {
    z-index: 60;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 86vw);
    max-width: 100%;
    bottom: 0;
    padding: max(88px, calc(env(safe-area-inset-top) + 72px)) 24px max(32px, env(safe-area-inset-bottom));
    margin: 0;
    background: var(--surface-color);
    border-left: 1px solid var(--border-color);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    /* Kapalıyken görünmez + tıklanamaz (iOS/WebKit’te pointer-events tek başına yetmeyebiliyor) */
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
      visibility 0s linear 0.35s;
    /* Kapalıyken üst bardaki butonların ALTINDA (yüksek z-index + gizli katman dokunmayı yutabiliyordu) */
    z-index: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.nav-active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
      visibility 0s linear 0s;
    z-index: 50;
  }
  .main-nav a {
    margin: 0;
    padding: 16px 12px;
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-color);
    opacity: 1;
  }
  .main-nav a.active {
    color: var(--primary-color);
    font-weight: 600;
    border-left: 3px solid var(--primary-color);
    padding-left: 9px;
  }
  .main-nav > a:last-of-type {
    border-bottom: none;
  }
  .header-actions {
    margin-left: auto;
    position: relative;
    z-index: 20;
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
  }

  .header-actions #theme-toggle-btn {
    flex-shrink: 0;
  }

  .btn-theme {
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  a.header-portal-login {
    border-radius: 10px;
    padding-inline: 10px;
    gap: 6px;
    max-width: min(42vw, 9rem);
  }

  .header-portal-login__label {
    display: inline;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-portal-login__icon {
    flex-shrink: 0;
    font-size: 22px;
  }
  .lang-switcher {
    font-size: 0.8rem;
  }
  .btn-primary-gradient,
  .btn-secondary {
    text-align: center;
  }
  .services-section,
  .about-section,
  .home-linkhub,
  .contact-cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .services-section--hero2 {
    margin-left: 0;
    margin-right: 0;
    border-radius: clamp(22px, 5vw, 34px);
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .services-section--hero2::before {
    transform: scale(1.08);
  }

  .about-section--hero3 {
    margin-left: 0;
    margin-right: 0;
    padding-top: 40px;
    padding-bottom: 44px;
  }

  .cta-card {
    padding: 40px 20px;
  }
  .cta-card h2 {
    font-size: 1.75rem;
  }
  .about-main {
    padding-top: 88px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.85rem;
  }
}

/* Ana sayfa (index.php) — mobil / dokunmatik / tablet */
@media (max-width: 1199px) {
  .home-main {
    overflow-x: clip;
    -webkit-tap-highlight-color: rgba(14, 165, 233, 0.12);
  }

  .hero-section--apple-bg {
    margin: 12px 12px 20px;
    padding: 48px 14px 52px;
    min-height: min(520px, 88vh);
    min-height: min(520px, 88dvh);
    border-radius: clamp(22px, 5.5vw, 36px);
    box-sizing: border-box;
  }

  .hero-container {
    max-width: 100%;
    padding-inline: 0;
  }

  .hero-glass-panel {
    padding: clamp(22px, 5vw, 32px) clamp(14px, 4vw, 22px);
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-title-apple {
    font-size: clamp(1.65rem, 8.2vw, 2.35rem);
    margin-bottom: 12px;
    line-height: 1.12;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-subtitle-apple {
    font-size: clamp(0.98rem, 3.6vw, 1.12rem);
    margin-bottom: 24px;
    line-height: 1.55;
  }

  .hero-actions-apple {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    align-items: stretch;
    max-width: 100%;
  }

  .hero-actions-apple .btn-apple-primary,
  .hero-actions-apple .btn-apple-link {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    justify-content: center;
  }

  .btn-apple-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1rem;
  }

  .btn-apple-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    font-size: 1.05rem;
  }

  .hero-social-apple {
    margin-top: 22px;
    padding-top: 18px;
    gap: 12px;
  }

  .hero-social-apple__link {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  #services.services-section .section-title,
  .sectoral-section .section-title {
    font-size: clamp(1.55rem, 5.8vw, 1.95rem);
    line-height: 1.15;
  }

  .services-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .services-grid--four {
    gap: 18px;
    margin-top: 28px;
  }

  .service-card {
    padding: 32px 22px;
  }

  .sectoral-section {
    padding: 48px 16px 56px;
  }

  .sectoral-section.py-5 {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .sectoral-grid {
    gap: 14px;
    margin-top: 32px;
  }

  .sector-card {
    padding: 26px 18px;
    border-radius: 22px;
  }

  .sector-content h3 {
    font-size: 1.3rem;
  }

  .about-section--hero3 {
    padding-left: clamp(16px, 4vw, 24px);
    padding-right: clamp(16px, 4vw, 24px);
    margin-left: 8px;
    margin-right: 8px;
  }

  .about-section--hero3 .about-text {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .contact-cta {
    padding-left: max(16px, env(safe-area-inset-left, 0));
    padding-right: max(16px, env(safe-area-inset-right, 0));
    padding-bottom: max(72px, calc(40px + env(safe-area-inset-bottom, 0)));
  }

  .cta-card .btn-primary-gradient {
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mb-5 {
    margin-bottom: 2rem;
  }

  .py-5 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .home-main a:focus-visible,
  .home-main button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
  }
}

@media (max-width: 1199px) and (max-height: 500px) {
  .hero-section--apple-bg {
    min-height: auto;
    padding-top: 36px;
    padding-bottom: 36px;
  }
}

@media (max-width: 380px) {
  .hero-title-apple {
    font-size: 1.55rem;
  }

  .hero-glass-panel {
    padding: 20px 14px;
  }
}

/* ========================================================================= */
/* ABOUT US PAGE STYLES */
/* ========================================================================= */
.about-main {
  padding-top: 100px; /* offset for fixed header */
}

/* Base about styling reused from home.css */
.about-bio-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.stats-grid,
.skills-grid,
.values-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.stat-card, .skill-card, .value-card {
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--radius-lg);
}

.stat-card:hover, .skill-card:hover, .value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
}

.stat-icon, .skill-icon, .value-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 5px;
}

.stat-label, .value-card p {
  color: var(--text-color);
  opacity: 0.8;
  font-size: 0.9rem;
}

.skills-section, .values-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.about-cta {
  max-width: 900px;
  margin: 60px auto;
  padding: 60px 40px;
}

.about-cta h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.about-cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Timeline Process Tree */
.process-section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-color);
  opacity: 0.5;
  z-index: 1;
}

.timeline-step {
  padding: 30px 40px 30px 100px;
  position: relative;
  text-align: left;
}

.step-number {
  position: absolute;
  left: 15px;
  top: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
  z-index: 2;
  border: 4px solid var(--bg-color); /* To mask the background line if needed */
}

.timeline-step h3 {
  color: var(--accent-light);
  margin-bottom: 10px;
  font-size: 1.4rem;
  font-weight: 600;
}

.timeline-step p {
  opacity: 0.8;
}

/* Scroll ile giriş: yazı soldan / görsel sağdan (Intersection Observer) */
.reveal-scroll {
  opacity: 0;
  transition:
    opacity 0.88s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.88s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scroll--left {
  transform: translate3d(-2.75rem, 0, 0);
}

.reveal-scroll--right {
  transform: translate3d(2.75rem, 0, 0);
}

.reveal-scroll--up {
  transform: translate3d(0, 2.25rem, 0);
}

.reveal-scroll.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.service-card.reveal-scroll.is-revealed:hover {
  transform: translate3d(0, -10px, 0);
}

.stat-card.reveal-scroll.is-revealed:hover,
.skill-card.reveal-scroll.is-revealed:hover,
.value-card.reveal-scroll.is-revealed:hover {
  transform: translate3d(0, -5px, 0);
}

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

/* ─────────────────────────────────────────────────────────
   REDESIGNED HOMEPAGE — h-* components
   Colors: #1E90FF (primary) · #FFB800 (accent) · Inter/Poppins
───────────────────────────────────────────────────────── */

/* ── Shared utilities ── */
.h-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: max(env(safe-area-inset-left, 0px), clamp(16px, 4vw, 40px));
    padding-right: max(env(safe-area-inset-right, 0px), clamp(16px, 4vw, 40px));
}

.h-section-head {
    text-align: center;
    margin-bottom: clamp(48px, 7vw, 72px);
}

.h-section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw + 0.5rem, 3rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0;
    display: inline-block;
}

.h-underline {
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 99px;
    margin: 14px auto 20px;
    box-shadow: 0 0 12px rgba(30, 144, 255, 0.25), 0 0 10px rgba(255, 184, 0, 0.2);
}

.h-section-sub {
    font-size: 1.1rem;
    color: var(--home-apple-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

body.dark-theme .h-section-sub { color: var(--text-muted); }

/* Scroll Reveal */
.reveal-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--delay, 0ms);
}
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up { opacity: 1 !important; transform: none !important; transition: none !important; }
    .el-hero__img { transform: none !important; transition: none !important; }
    .el-hero__visual:hover .el-hero__img { transform: none !important; }
    .el-hero__visual-frame { animation: none !important; transform: rotate(-2deg) !important; }
    .el-hero__visual:hover .el-hero__visual-frame { transform: rotate(-2deg) !important; }
}

/* ── Buttons ── */
.h-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
}

.h-btn--primary {
    background: linear-gradient(135deg, #1e90ff 0%, #1676d2 50%, #ffb800 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.3);
}

.h-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(30, 144, 255, 0.38), 0 4px 12px rgba(255, 184, 0, 0.2);
}

.h-btn--ghost {
    background: transparent;
    color: var(--text-color);
    border: 1.5px solid var(--border-color);
}

.h-btn--ghost:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(30, 144, 255, 0.04);
    transform: translateY(-2px);
}

.h-btn--outline {
    background: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
}

.h-btn--outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.25);
}

/* ══════════════════════════════════
   1. HERO — E-learning tarzı (slateGray zemin, iki sütun, yuvarlak arama)
══════════════════════════════════ */
.el-hero {
    --el-midnight: #222c44;
    --el-success: #43c639;
    --el-slate: #f6faff;
    background: var(--el-slate);
    padding: calc(80px + env(safe-area-inset-top, 0px)) 0 clamp(48px, 6vw, 72px);
    overflow-x: clip;
}

body.dark-theme .el-hero {
    --el-midnight: #e8edf7;
    --el-slate: #0b1220;
    background: var(--el-slate);
}

.el-hero__inner {
    max-width: 1280px;
}

.el-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 48px);
    align-items: center;
}

@media (min-width: 1024px) {
    .el-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 1.22fr);
        gap: clamp(28px, 4vw, 56px);
        align-items: center;
    }
}

.el-hero__copy {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 28px);
    text-align: center;
}

@media (min-width: 1024px) {
    .el-hero__copy {
        text-align: left;
        align-items: flex-start;
    }
}

.el-hero__promo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .el-hero__promo {
        margin: 0;
        justify-content: flex-start;
    }
}

.el-hero__promo-icon {
    font-size: 1.35rem;
    color: var(--el-success);
}

.el-hero__promo-text {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--el-success);
}

.el-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw + 0.5rem, 3.15rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--el-midnight);
    margin: 0;
}

.el-hero__title .accent-text {
    -webkit-text-fill-color: transparent;
}

.el-hero__lead {
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.7);
    max-width: 36rem;
}

body.dark-theme .el-hero__lead {
    color: rgba(255, 255, 255, 0.72);
}

.el-hero__search {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-top: 4px;
}

@media (min-width: 1024px) {
    .el-hero__search {
        max-width: none;
    }
}

.el-hero__search-field {
    position: relative;
    width: 100%;
}

.el-hero__typewriter {
    display: none;
    position: absolute;
    z-index: 1;
    left: clamp(1.5rem, 4vw, 2rem);
    right: clamp(4.5rem, 12vw, 5.25rem);
    top: 50%;
    transform: translateY(-50%);
    align-items: center;
    pointer-events: none;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.35;
    color: rgba(0, 0, 0, 0.42);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.el-hero__search.js-hero-tw-active .el-hero__search-field--show-ghost .el-hero__typewriter {
    display: flex;
}

.el-hero__search.js-hero-tw-active .el-hero__search-field--show-ghost .el-hero__input {
    color: transparent;
    caret-color: #1e90ff;
}

body.dark-theme .el-hero__typewriter {
    color: rgba(255, 255, 255, 0.48);
}

body.dark-theme .el-hero__search.js-hero-tw-active .el-hero__search-field--show-ghost .el-hero__input {
    caret-color: #4da3ff;
}

.el-hero__typewriter-caret {
    display: inline-block;
    width: 2px;
    height: 1.05em;
    margin-left: 1px;
    background: linear-gradient(180deg, #1e90ff, #ffb800);
    border-radius: 1px;
    vertical-align: -0.12em;
    animation: elHeroTwCaret 1s step-end infinite;
}

body.dark-theme .el-hero__typewriter-caret {
    background: linear-gradient(180deg, #4da3ff, #ffc933);
}

@keyframes elHeroTwCaret {
    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .el-hero__typewriter-caret {
        animation: none;
        opacity: 1;
    }
}

.el-hero__input {
    width: 100%;
    box-sizing: border-box;
    padding: clamp(1.1rem, 2.5vw, 1.65rem) clamp(4.5rem, 12vw, 5.25rem) clamp(1.1rem, 2.5vw, 1.65rem) clamp(1.5rem, 4vw, 2rem);
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-color);
    background: #fff;
    border: none;
    border-radius: 999px;
    box-shadow: 0 40px 60px rgba(30, 144, 255, 0.12), 0 8px 24px rgba(255, 184, 0, 0.06);
    outline: none;
    transition: box-shadow 0.2s ease;
}

.el-hero__input:focus {
    box-shadow:
        0 40px 60px rgba(30, 144, 255, 0.18),
        0 0 0 2px rgba(30, 144, 255, 0.35),
        0 0 0 4px rgba(255, 184, 0, 0.12);
}

body.dark-theme .el-hero__input {
    background: rgba(15, 23, 42, 0.92);
    color: var(--text-color);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(77, 163, 255, 0.12);
}

body.dark-theme .el-hero__input:focus {
    box-shadow:
        0 28px 52px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(77, 163, 255, 0.45),
        0 0 0 4px rgba(255, 201, 51, 0.1);
}

.el-hero__search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(3rem, 8vw, 3.75rem);
    height: clamp(3rem, 8vw, 3.75rem);
    padding: 0;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #1e90ff 0%, #1676d2 50%, #ffb800 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(30, 144, 255, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.el-hero__search-btn:hover {
    background: linear-gradient(135deg, #4da3ff 0%, #1e90ff 48%, #ffc933 100%);
    box-shadow: 0 10px 28px rgba(30, 144, 255, 0.42), 0 2px 10px rgba(255, 184, 0, 0.22);
    transform: translateY(-50%) scale(1.04);
}

.el-hero__search-btn .material-symbols-rounded {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.el-hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 3vw, 28px);
    padding-top: clamp(8px, 2vw, 12px);
}

@media (min-width: 1024px) {
    .el-hero__trust {
        justify-content: space-between;
        max-width: 520px;
        width: 100%;
    }
}

.el-hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    font-weight: 500;
    color: var(--text-color);
}

.el-hero__check {
    font-size: 1.65rem;
    color: var(--el-success);
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.el-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding-top: 8px;
}

@media (min-width: 1024px) {
    .el-hero__actions {
        justify-content: flex-start;
    }
}

.el-hero__social {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding-top: 20px;
    margin-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
}

body.dark-theme .el-hero__social {
    border-top-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
    .el-hero__social {
        justify-content: flex-start;
        max-width: 320px;
    }
}

.el-hero__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #57534e;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.dark-theme .el-hero__social-link {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #a8a29e;
}

.el-hero__social-link:hover {
    color: var(--primary-color);
    border-color: rgba(30, 144, 255, 0.4);
    background: rgba(30, 144, 255, 0.08);
    transform: translateY(-2px);
}

/* Hero sağ görsel: daha büyük alan, glow, hafif çapraz + yüzen çerçeve */
.el-hero__visual {
    position: relative;
    isolation: isolate;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: min(620px, 100%);
    margin: 0 auto;
    padding: clamp(20px, 3.5vw, 40px);
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(236, 248, 255, 0.92) 38%,
        rgba(255, 250, 235, 0.82) 100%
    );
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: clamp(26px, 4.5vw, 42px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.65) inset,
        0 28px 56px rgba(30, 144, 255, 0.14),
        0 14px 40px rgba(255, 184, 0, 0.1),
        0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: visible;
}

.el-hero__visual-blob {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(0.5px);
}

.el-hero__visual-blob--1 {
    width: min(88%, 420px);
    aspect-ratio: 1;
    top: -14%;
    right: -10%;
    background: radial-gradient(circle at 35% 35%, rgba(30, 144, 255, 0.35) 0%, rgba(30, 144, 255, 0.05) 55%, transparent 70%);
    opacity: 0.85;
}

.el-hero__visual-blob--2 {
    width: min(72%, 340px);
    aspect-ratio: 1;
    bottom: -18%;
    left: -8%;
    background: radial-gradient(circle at 60% 60%, rgba(255, 184, 0, 0.32) 0%, rgba(255, 184, 0, 0.06) 52%, transparent 72%);
    opacity: 0.9;
}

body.dark-theme .el-hero__visual {
    background: linear-gradient(
        155deg,
        rgba(36, 52, 78, 0.55) 0%,
        rgba(15, 23, 42, 0.92) 55%,
        rgba(20, 30, 48, 0.88) 100%
    );
    border-color: rgba(56, 189, 248, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 32px 72px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(30, 144, 255, 0.12),
        0 0 48px rgba(255, 184, 0, 0.06);
}

body.dark-theme .el-hero__visual-blob--1 {
    background: radial-gradient(circle at 35% 35%, rgba(77, 163, 255, 0.28) 0%, transparent 68%);
}

body.dark-theme .el-hero__visual-blob--2 {
    background: radial-gradient(circle at 60% 60%, rgba(255, 201, 51, 0.22) 0%, transparent 70%);
}

.el-hero__visual-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    border-radius: clamp(16px, 2.5vw, 26px);
    overflow: hidden;
    transform: rotate(-2.5deg);
    box-shadow:
        0 20px 48px rgba(15, 23, 42, 0.12),
        0 4px 16px rgba(30, 144, 255, 0.15);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

/* Görsel üstü: marka + slogan (gradient şerit) */
.el-hero__visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: clamp(12px, 2.2vw, 20px) clamp(12px, 2.5vw, 20px) clamp(18px, 3vw, 28px);
    text-align: center;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.88) 0%,
        rgba(15, 23, 42, 0.5) 52%,
        transparent 100%
    );
}

.el-hero__visual-brand {
    margin: 0;
    font-family: var(--font-display, 'Poppins', sans-serif);
    font-size: clamp(0.95rem, 1.8vw + 0.35rem, 1.45rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.el-hero__visual-brand__aikey {
    color: #1e90ff;
    text-shadow:
        0 0 28px rgba(30, 144, 255, 0.65),
        0 0 12px rgba(30, 144, 255, 0.45),
        0 2px 14px rgba(0, 0, 0, 0.45);
}

.el-hero__visual-brand__soft {
    color: var(--accent-color, #ffb800);
    text-shadow:
        0 0 20px rgba(255, 184, 0, 0.45),
        0 2px 10px rgba(0, 0, 0, 0.3);
}

.el-hero__visual-tagline {
    margin: 0;
    max-width: 95%;
    font-family: var(--font-sans, system-ui, sans-serif);
    font-size: clamp(0.68rem, 1.1vw + 0.42rem, 0.8125rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

body.dark-theme .el-hero__visual-overlay {
    background: linear-gradient(
        180deg,
        rgba(3, 7, 18, 0.92) 0%,
        rgba(3, 7, 18, 0.42) 58%,
        transparent 100%
    );
}

body.dark-theme .el-hero__visual-brand__aikey {
    color: #4da3ff;
    text-shadow:
        0 0 26px rgba(77, 163, 255, 0.55),
        0 2px 14px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: no-preference) {
    .el-hero__visual-frame {
        animation: elHeroVisualFloat 8s ease-in-out infinite;
    }
}

@keyframes elHeroVisualFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-2.5deg);
    }

    50% {
        transform: translateY(-12px) rotate(-2deg);
    }
}

.el-hero__visual:hover .el-hero__visual-frame {
    transform: translateY(-6px) rotate(-1.5deg) scale(1.02);
    box-shadow:
        0 28px 56px rgba(30, 144, 255, 0.2),
        0 12px 28px rgba(255, 184, 0, 0.14);
}

@media (prefers-reduced-motion: no-preference) {
    .el-hero__visual:hover .el-hero__visual-frame {
        animation: none;
    }
}

.el-hero__img {
    width: 100%;
    height: auto;
    max-height: min(440px, 54vh);
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: clamp(10px, 1.5vw, 18px);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.el-hero__visual:hover .el-hero__img {
    transform: scale(1.03);
}

@media (min-width: 1024px) {
    .el-hero__visual {
        max-width: min(600px, 50vw);
        margin: 0;
        margin-left: auto;
        padding: clamp(24px, 3vw, 44px);
    }

    .el-hero__img {
        max-height: min(520px, 64vh);
    }
}

/* Şablon: “Trusted by…” bandı */
.el-trusted {
    background: var(--bg-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: clamp(36px, 5vw, 52px) 0;
    text-align: center;
}

body.dark-theme .el-trusted {
    border-bottom-color: var(--border-color);
}

.el-trusted__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: #1268c5;
}

body.dark-theme .el-trusted__title {
    color: #7dd3fc;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
    .el-trusted__title {
        background: linear-gradient(
            100deg,
            #0d5eb8 0%,
            #1e90ff 32%,
            #2a7fd4 48%,
            #c98700 78%,
            #ffb800 100%
        );
        background-size: 120% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }

    body.dark-theme .el-trusted__title {
        background: linear-gradient(
            100deg,
            #38bdf8 0%,
            #4da3ff 38%,
            #7dd3fc 52%,
            #fbbf24 82%,
            #fde047 100%
        );
        background-size: 120% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

/* Hizmetler başlığı — Popular courses satırı gibi */
.h-section-head--el {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    margin-bottom: clamp(40px, 6vw, 56px);
}

.h-section-head--el__main {
    flex: 1;
    min-width: min(100%, 280px);
}

.h-section-title--el {
    display: block;
    text-align: left;
    margin-bottom: 12px;
    -webkit-text-fill-color: transparent;
}

.h-section-sub--el {
    margin: 0;
    max-width: 36rem;
    text-align: left;
}

.h-section-head--el__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
    transition: letter-spacing 0.35s ease, color 0.2s ease;
}

.h-section-head--el__link:hover {
    color: var(--accent-color);
    letter-spacing: 0.04em;
}

.h-section-head--el__link .material-symbols-rounded {
    font-size: 1.25rem;
}

@media (max-width: 639px) {
    .h-section-head--el {
        flex-direction: column;
        align-items: stretch;
    }

    .h-section-title--el,
    .h-section-sub--el {
        text-align: center;
    }

    .h-section-head--el__link {
        justify-content: center;
    }
}

/* ══════════════════════════════════
   3. SERVICES (ana sayfada projeler bölümünden sonra)
══════════════════════════════════ */
.h-services {
    padding: clamp(72px, 10vw, 120px) 0;
    background: var(--bg-color);
}

.h-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.h-svc-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.25s ease;
    box-shadow: var(--shadow-light);
}

.h-svc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
    border-color: rgba(255, 184, 0, 0.35);
}

.h-svc-card__img {
    height: 220px;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
}

.h-svc-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.h-svc-card:hover .h-svc-card__img img {
    transform: scale(1.07);
}

.h-svc-card__body {
    padding: 36px 36px 44px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.h-svc-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, rgba(30,144,255,0.16), rgba(255,184,0,0.14));
    border: 1px solid rgba(255,184,0,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.h-svc-card__icon .material-symbols-rounded {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #1e90ff, #ffb800);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.h-svc-card__title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.h-svc-card__desc {
    font-size: 1rem;
    color: var(--home-apple-muted);
    line-height: 1.6;
    margin-bottom: 28px;
    flex: 1;
}

body.dark-theme .h-svc-card__desc { color: var(--text-muted); }

.h-svc-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: gap 0.25s ease, color 0.2s ease;
}

.h-svc-card__link:hover {
    gap: 14px;
    color: var(--accent-color);
}

/* ══════════════════════════════════
   2. PROJECTS (ana sayfada hizmet paketlerinden önce)
══════════════════════════════════ */
.h-projects {
    position: relative;
    padding: clamp(52px, 7vw, 88px) 0;
    isolation: isolate;
    overflow: hidden;
}

/* ── Projects background image ── */
.h-projects::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(248,250,252,0.88) 100%),
        url('../images/Adsız tasarım (54).png');
    background-size: cover;
    background-position: center;
}

body.dark-theme .h-projects::before {
    background-image:
        linear-gradient(180deg, rgba(3,7,18,0.94) 0%, rgba(3,7,18,0.88) 100%),
        url('../images/Adsız tasarım (53).png');
}

.h-projects .h-container,
.h-projects .h-section-head,
.h-projects-grid,
.h-projects-cta { position: relative; z-index: 1; }

/* Daha kompakt başlık + alt metin (diğer bölümlerin .h-section-* stillerini bozmaz) */
.h-projects .h-section-head {
    margin-bottom: clamp(28px, 4.5vw, 44px);
}

.h-projects .h-section-title {
    font-size: clamp(1.45rem, 3vw + 0.4rem, 2.1rem);
}

.h-projects .h-underline {
    margin: 8px auto 12px;
}

.h-projects .h-section-sub {
    font-size: 0.95rem;
    max-width: min(100%, 34rem);
    line-height: 1.45;
}

.h-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 22px;
    margin-bottom: 36px;
}

.h-proj-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-light);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease, border-color 0.3s ease;
    position: relative;
    --pc: var(--primary-color, #1e90ff);
}

/* Her kartta farklı vurgu; 4+ proje döngüyle aynı palet */
.h-proj-card:nth-child(4n + 1) { --pc: #1e90ff; }
.h-proj-card:nth-child(4n + 2) { --pc: #ffb800; }
.h-proj-card:nth-child(4n + 3) { --pc: #7c3aed; }
.h-proj-card:nth-child(4n + 4) { --pc: #0ea5e9; }

.h-proj-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow:
        0 28px 64px rgba(0,0,0,0.16),
        0 0 32px -8px var(--pc);
    border-color: var(--pc);
}

/* ── Full-bleed image fills most of card ── */
.h-proj-card__img {
    position: relative;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.h-proj-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(0,0,0,0.55) 100%
    );
    pointer-events: none;
}

.h-proj-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
    filter: saturate(1.1);
}

.h-proj-card:hover .h-proj-card__img img { transform: scale(1.07); }

/* Veritabanı portföy kartları — logo alanı kart rengiyle uyumlu (düz beyaz/gri değil) */
.h-proj-card__img--logo {
    background: linear-gradient(
        150deg,
        color-mix(in srgb, var(--pc) 24%, #ffffff) 0%,
        color-mix(in srgb, var(--pc) 12%, #f1f5f9) 45%,
        #f8fafc 100%
    );
}

.h-proj-card__img--logo::after {
    background: linear-gradient(
        to bottom,
        transparent 38%,
        color-mix(in srgb, var(--pc) 18%, #ffffff) 100%
    );
}

body.dark-theme .h-proj-card__img--logo {
    background: linear-gradient(
        150deg,
        color-mix(in srgb, var(--pc) 42%, #0f172a) 0%,
        color-mix(in srgb, var(--pc) 22%, #1e293b) 100%
    );
}

body.dark-theme .h-proj-card__img--logo::after {
    background: linear-gradient(
        to bottom,
        transparent 42%,
        color-mix(in srgb, var(--pc) 28%, #0f172a) 100%
    );
}

.h-proj-card__img--logo img {
    object-fit: contain;
    padding: 22px 28px;
    filter: none;
}

.h-proj-card:hover .h-proj-card__img--logo img {
    transform: scale(1.05);
}

.h-projects .h-proj-card {
    border-radius: 22px;
}

.h-projects .h-proj-card__img {
    height: 188px;
}

.h-projects .h-proj-card__img--logo img {
    padding: 16px 22px;
}

.h-projects .h-proj-card__body {
    padding: 20px 22px 22px;
    gap: 10px;
}

.h-projects .h-proj-card__body h3 {
    font-size: clamp(1.02rem, 1.6vw, 1.2rem);
}

.h-projects .h-proj-card__body p {
    font-size: 0.9rem;
    line-height: 1.52;
}

/* Accent top bar */
.h-proj-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--pc), color-mix(in srgb, var(--pc) 50%, #fff 50%));
    flex-shrink: 0;
}

.h-proj-card__body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.h-proj-card__body h3 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.h-proj-card__body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--home-apple-muted);
    flex: 1;
}

body.dark-theme .h-proj-card__body p { color: var(--text-muted); }

.h-proj-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: gap 0.25s ease;
}

.h-proj-card__link:hover {
    gap: 14px;
    color: var(--accent-color);
}

.h-projects-cta {
    text-align: center;
    margin-top: 8px;
}

/* ══════════════════════════════════
   4. SECTORS
══════════════════════════════════ */
.h-sectors {
    position: relative;
    padding: clamp(80px, 10vw, 120px) 0;
    isolation: isolate;
    overflow: hidden;
}

.h-sectors__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(180deg, rgba(255,255,255,0.93) 0%, rgba(255,255,255,0.85) 100%),
        url('../images/banner2.jpg');
    background-size: cover;
    background-position: center;
}

body.dark-theme .h-sectors__bg {
    background-image:
        linear-gradient(180deg, rgba(3,7,18,0.93) 0%, rgba(3,7,18,0.86) 100%),
        url('../images/banner2.jpg');
}

.h-sectors__inner { position: relative; z-index: 1; }

.h-sectors-cta {
    text-align: center;
    margin-top: clamp(28px, 5vw, 48px);
    position: relative;
    z-index: 1;
}

.h-sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.h-sector-card {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 28px;
    padding: 40px 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
}

body.dark-theme .h-sector-card {
    background: rgba(15,23,42,0.88);
    border-color: var(--border-color);
}

.h-sector-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 184, 0, 0.38);
    box-shadow: 0 20px 48px rgba(0,0,0,0.1), var(--home-warm-glow);
}

.h-sector-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(30,144,255,0.16), rgba(255,184,0,0.13));
    border: 1px solid rgba(255,184,0,0.22);
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.h-sector-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.h-sector-card__desc {
    font-size: 0.95rem;
    color: var(--home-apple-muted);
    line-height: 1.6;
    margin: 0 0 24px;
}

body.dark-theme .h-sector-card__desc { color: var(--text-muted); }

.h-sector-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.h-sector-card__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.h-sector-card__list li .material-symbols-rounded {
    font-size: 1.1rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.h-sector-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 22px;
}

.h-sector-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    min-height: 44px;
    box-sizing: border-box;
}

.h-sector-card__btn .material-symbols-rounded {
    font-size: 1.15rem;
}

.h-sector-card__btn--quote {
    flex: 1 1 auto;
    min-width: min(100%, 140px);
    background: linear-gradient(135deg, #1e90ff 0%, #1676d2 50%, #ffb800 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(30, 144, 255, 0.3);
}

.h-sector-card__btn--quote:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30, 144, 255, 0.38);
}

.h-sector-card__btn--wa {
    flex: 0 0 auto;
    min-width: 52px;
    padding-left: 18px;
    padding-right: 18px;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.h-sector-card__btn--wa:hover {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.h-sector-card__btn--phone {
    flex: 0 0 auto;
    min-width: 52px;
    padding-left: 14px;
    padding-right: 14px;
    gap: 6px;
    background: linear-gradient(145deg, #ffd24a 0%, #ffb800 42%, #e6a000 100%);
    color: #1a1508;
    box-shadow: 0 4px 14px rgba(255, 184, 0, 0.42);
    font-weight: 700;
    letter-spacing: 0.04em;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        filter 0.22s ease,
        padding 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        min-width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        gap 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
    .h-sector-card__btn--phone:hover {
        color: #1a1508;
        filter: brightness(1.05);
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(255, 184, 0, 0.5);
        padding-left: 1.35rem;
        padding-right: 1.35rem;
        min-width: 7.5rem;
        gap: 10px;
    }
}

.h-sector-card__btn--phone:focus-visible {
    outline: 2px solid rgba(26, 21, 8, 0.45);
    outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .h-sector-card__btn--phone:focus-visible {
        padding-left: 1.35rem;
        padding-right: 1.35rem;
        min-width: 7.5rem;
        gap: 10px;
    }
}

.h-sector-card__btn--phone .material-symbols-rounded {
    font-size: 1.15rem;
}

@media (hover: none) and (pointer: coarse) {
    .h-sector-card__btn--quote:hover,
    .h-sector-card__btn--wa:hover,
    .h-sector-card__btn--phone:hover {
        transform: none;
    }

    .h-sector-card__btn--phone:hover {
        padding-left: 14px;
        padding-right: 14px;
        min-width: 52px;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .h-sector-card__btn--quote,
    .h-sector-card__btn--wa,
    .h-sector-card__btn--phone {
        transition: none;
    }
}

/* ══════════════════════════════════
   5. ABOUT
══════════════════════════════════ */
.h-about {
    padding: clamp(72px, 10vw, 120px) 0;
    background: var(--bg-color);
    overflow-x: clip;
}

.h-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
    gap: clamp(28px, 5vw, 52px);
    align-items: center;
    position: relative;
}

/* Sağda çapraz vitrin: hafif rotasyon + asimetrik radius */
.h-about__img-wrap {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: clamp(20px, 4vw, 56px) 0 clamp(12px, 2vw, 28px);
    min-height: min(420px, 52vw);
}

.h-about__img-wrap::before {
    content: '';
    position: absolute;
    z-index: 0;
    right: -6%;
    top: 50%;
    width: 88%;
    height: 78%;
    transform: translateY(-50%) rotate(11deg);
    border-radius: 42% 58% 48% 52%;
    background: linear-gradient(
        128deg,
        rgba(30, 144, 255, 0.14) 0%,
        rgba(255, 184, 0, 0.1) 55%,
        rgba(30, 144, 255, 0.06) 100%
    );
    pointer-events: none;
}

body.dark-theme .h-about__img-wrap::before {
    background: linear-gradient(
        128deg,
        rgba(30, 144, 255, 0.18) 0%,
        rgba(255, 184, 0, 0.08) 50%,
        rgba(15, 23, 42, 0.4) 100%
    );
}

.h-about__img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(100%, 440px);
    aspect-ratio: 4 / 3;
    margin-right: -2%;
    border-radius: 32px 18px 120px 40px;
    overflow: hidden;
    box-shadow:
        0 28px 56px rgba(30, 144, 255, 0.18),
        0 12px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transform: rotate(-7deg);
    transform-origin: 58% 52%;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.h-about__img:hover {
    transform: rotate(-5deg) translateY(-4px);
    box-shadow:
        0 36px 64px rgba(30, 144, 255, 0.22),
        0 16px 40px rgba(0, 0, 0, 0.1);
}

.h-about__img--profile:hover {
    transform: rotate(-2deg) translateY(-4px);
}

.h-about__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
}

/* Portre (Hakkımda / profil fotoğrafı) */
.h-about__img--profile {
    aspect-ratio: 1 / 1;
    max-width: min(100%, 360px);
    border-radius: 50%;
    transform: rotate(-4deg);
    transform-origin: center center;
}

.h-about__img--profile img {
    object-position: center 18%;
}

@media (prefers-reduced-motion: reduce) {
    .h-about__img {
        transition: none;
    }

    .h-about__img:hover {
        transform: rotate(-7deg);
    }

    .h-about__img--profile:hover {
        transform: rotate(-4deg);
    }
}

.h-about__title {
    text-align: left;
}

.h-about__text p {
    font-size: 1.1rem;
    color: var(--home-apple-muted);
    line-height: 1.7;
}

body.dark-theme .h-about__text p { color: var(--text-muted); }

/* ══════════════════════════════════
   6. TESTIMONIALS
══════════════════════════════════ */
.h-testimonials {
    padding: clamp(72px, 10vw, 120px) 0;
    background: var(--home-band-muted);
}

body.dark-theme .h-testimonials { background: var(--bg-color); }

.h-testimonials__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.h-testimonials__head-text {
    flex: 1;
    min-width: min(100%, 240px);
}

.h-testimonials__head-text .h-underline {
    margin-top: 14px;
}

.h-testimonials__write {
    flex-shrink: 0;
}

.h-testi-track {
    position: relative;
    min-height: 240px;
    margin-bottom: 32px;
}

.h-testi-card {
    display: none;
    flex-direction: column;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 64px);
    max-width: 840px;
    margin: 0 auto;
    box-shadow: var(--shadow-light);
    animation: h-testi-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.h-testi-card--active {
    display: flex;
}

@keyframes h-testi-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.h-testi-stars {
    display: flex;
    gap: 4px;
    font-size: 1.4rem;
}

.h-star {
    color: rgba(0, 0, 0, 0.22);
}

.h-star--on {
    color: #ffb800;
}

/* Koyu temada .h-star--on, body.dark-theme .h-star’dan sonra gelmeli / daha spesifik olmalı */
body.dark-theme .h-star:not(.h-star--on) {
    color: rgba(255, 255, 255, 0.38);
}

body.dark-theme .h-star--on {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.45);
}

.h-testi-quote {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    line-height: 1.65;
    font-style: italic;
    color: var(--text-color);
    opacity: 0.88;
    border: none;
    padding: 0;
    margin: 0;
}

.h-testi-author {
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.h-testi-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-color);
}

.h-testi-role {
    font-size: 0.875rem;
    color: var(--home-apple-muted);
}

body.dark-theme .h-testi-role { color: var(--text-muted); }

.h-testi-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.h-dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    padding: 0;
    transition: width 0.3s ease, background 0.3s ease;
}

.h-dot--active {
    width: 28px;
    background: var(--primary-color);
}

/* ══════════════════════════════════
   7. CTA
══════════════════════════════════ */
.h-cta {
    padding: clamp(72px, 10vw, 120px) 0 clamp(80px, 12vw, 130px);
    background: var(--bg-color);
}

.h-cta__card {
    background: linear-gradient(135deg, #1e90ff 0%, #1268c5 50%, #cc9500 100%);
    border-radius: 40px;
    padding: clamp(48px, 7vw, 80px) clamp(32px, 5vw, 64px);
    text-align: center;
    color: #fff;
    box-shadow: 0 32px 80px rgba(30, 144, 255, 0.28), 0 8px 24px rgba(255, 184, 0, 0.16);
}

.h-cta__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.h-cta__sub {
    font-size: 1.2rem;
    opacity: 0.88;
    max-width: 600px;
    margin: 0 auto 44px;
    line-height: 1.6;
}

.h-cta__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.h-cta__actions .h-btn--primary {
    background: #fff;
    color: #1365cb;
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}

.h-cta__actions .h-btn--primary:hover {
    background: #f0f8ff;
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

.h-cta__actions .h-btn--ghost {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}

.h-cta__actions .h-btn--ghost:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    transform: translateY(-2px);
}

/* ══════════════════════ Homepage h-* — Responsive ═══════════════════════ */
@media (max-width: 1024px) {
    .h-services-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .h-sectors-grid  { grid-template-columns: 1fr; gap: 20px; }
    .h-about__grid   { grid-template-columns: 1fr; gap: 32px; }
    .h-about__img-wrap {
        justify-content: center;
        min-height: unset;
        padding: 8px 0 0;
    }
    .h-about__img {
        max-width: min(100%, 420px);
        margin-right: 0;
        transform: rotate(-4deg);
        aspect-ratio: 16 / 10;
    }
    .h-about__img--profile {
        aspect-ratio: 1 / 1;
        max-width: min(100%, 320px);
        transform: rotate(-3deg);
    }
    .h-about__title  { text-align: center; }
    .h-about__text .h-underline { margin-left: auto !important; margin-right: auto !important; }
    .h-projects-grid { gap: 22px; }
}

@media (max-width: 1199px) {
    /* Ana sayfa gövdesi: yatay padding h-container’da; alt çentik alanı */
    .home-main {
        padding-left: 0;
        padding-right: 0;
        padding-top: max(72px, env(safe-area-inset-top, 0px));
        padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
    }

    .el-hero {
        padding-top: max(72px, calc(env(safe-area-inset-top, 0px) + 56px));
        padding-bottom: 40px;
    }

    .el-hero__actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
    }

    .el-hero__actions .h-btn {
        width: 100%;
        min-height: 48px;
        box-sizing: border-box;
    }

    .el-hero__social-link {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .h-section-head {
        margin-bottom: clamp(36px, 8vw, 52px);
    }

    .h-section-title {
        font-size: clamp(1.65rem, 5vw + 0.5rem, 2.35rem);
    }

    .h-section-sub {
        font-size: 1.02rem;
        padding: 0 4px;
        line-height: 1.55;
    }

    .h-services {
        padding: clamp(56px, 12vw, 88px) 0;
    }

    .h-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .h-svc-card__img {
        height: clamp(180px, 42vw, 220px);
    }

    .h-svc-card__body {
        padding: clamp(22px, 5vw, 28px) clamp(20px, 4vw, 28px) clamp(28px, 5vw, 36px);
    }

    .h-svc-card__title {
        font-size: clamp(1.2rem, 4vw, 1.45rem);
    }

    .h-svc-card__desc {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .h-projects {
        padding: clamp(44px, 10vw, 72px) 0;
    }

    .h-projects .h-section-head {
        margin-bottom: clamp(22px, 6vw, 34px);
    }

    .h-projects .h-section-sub {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .h-projects-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 28px;
    }

    .h-projects .h-proj-card__img {
        height: clamp(158px, 40vw, 192px);
    }

    .h-proj-card__img {
        height: clamp(200px, 48vw, 240px);
    }

    .h-projects .h-proj-card__body {
        padding: 18px 18px 20px;
    }

    .h-proj-card__body {
        padding: 22px 20px 26px;
    }

    .h-projects-cta .h-btn {
        min-height: 48px;
        width: 100%;
        max-width: 20rem;
        box-sizing: border-box;
    }

    .h-sectors {
        padding: clamp(56px, 12vw, 88px) 0;
    }

    .h-sector-card {
        padding: clamp(24px, 5vw, 32px) clamp(20px, 4vw, 26px);
        border-radius: clamp(22px, 5vw, 28px);
    }

    .h-sector-card h3 {
        font-size: 1.1rem;
    }

    .h-about {
        padding: clamp(56px, 12vw, 88px) 0;
    }

    .h-about__img-wrap::before {
        right: 50%;
        transform: translate(50%, -50%) rotate(8deg);
        width: min(92%, 340px);
        height: 70%;
    }

    .h-about__img {
        border-radius: clamp(22px, 6vw, 36px) clamp(14px, 4vw, 22px) clamp(72px, 18vw, 100px) clamp(22px, 6vw, 36px);
        max-width: min(100%, 360px);
        transform: rotate(-3deg);
        aspect-ratio: 5 / 4;
    }
    .h-about__img--profile {
        border-radius: 50%;
        aspect-ratio: 1 / 1;
        max-width: min(100%, 280px);
        transform: rotate(-2deg);
    }

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

    .h-about__text .h-btn {
        width: 100%;
        max-width: 20rem;
        min-height: 48px;
        justify-content: center;
        box-sizing: border-box;
        margin-top: 28px !important;
    }

    .h-testimonials {
        padding: clamp(56px, 12vw, 88px) 0;
    }

    .h-testi-track {
        min-height: 200px;
        margin-bottom: 24px;
    }

    .h-testi-card {
        padding: clamp(24px, 5vw, 32px) clamp(18px, 4vw, 24px);
        border-radius: clamp(22px, 5vw, 28px);
    }

    .h-testi-quote {
        font-size: clamp(0.98rem, 3.5vw, 1.12rem);
    }

    .h-testi-dots {
        gap: 8px;
        padding: 8px 0 min(24px, env(safe-area-inset-bottom, 8px));
    }

    .h-dot {
        position: relative;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: none;
    }

    .h-dot::after {
        content: '';
        display: block;
        width: 10px;
        height: 10px;
        border-radius: 99px;
        background: var(--border-color);
        transition: width 0.3s ease, background 0.3s ease;
    }

    .h-dot--active::after {
        width: 28px;
        background: var(--primary-color);
    }

    .h-cta {
        padding: clamp(56px, 12vw, 88px) 0 clamp(64px, 14vw, 100px);
    }

    .h-cta__card {
        border-radius: clamp(24px, 6vw, 36px);
        padding: clamp(36px, 8vw, 48px) clamp(20px, 5vw, 28px);
    }

    .h-cta__title {
        font-size: clamp(1.65rem, 5vw + 0.4rem, 2.4rem);
        margin-bottom: 14px;
    }

    .h-cta__sub {
        font-size: 1.05rem;
        margin-bottom: 28px;
    }

    .h-cta__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
    }

    .h-cta__actions .h-btn {
        width: 100%;
        min-height: 48px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .el-hero {
        padding-top: max(68px, calc(env(safe-area-inset-top, 0px) + 52px));
    }

    .h-container {
        padding-left: max(env(safe-area-inset-left, 0px), 14px);
        padding-right: max(env(safe-area-inset-right, 0px), 14px);
    }

    .h-underline {
        width: 56px;
    }

    .h-svc-card {
        border-radius: clamp(20px, 5vw, 26px);
    }

    .h-proj-card {
        border-radius: 22px;
    }

    .h-testi-stars {
        font-size: 1.25rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .h-svc-card:hover,
    .h-proj-card:hover,
    .h-sector-card:hover {
        transform: none;
    }

    .h-svc-card:hover .h-svc-card__img img,
    .h-proj-card:hover .h-proj-card__img img {
        transform: none;
    }

    .el-hero__social-link:hover {
        transform: none;
    }
}

/* ══════════════════════════════════════════════
   LAPTOP EKRANI — 1024px-1440px / yükseklik ≤ 800px
   Viewport örn: 1184 × 705 (tipik laptop)
══════════════════════════════════════════════ */
@media (min-width: 1024px) and (max-width: 1440px) {

    .el-hero {
        padding: 72px 0 56px;
    }

    .el-hero__title {
        font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    }

    /* Section başlıkları */
    .h-section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    }

    /* Tüm section padding'leri küçült */
    .h-services,
    .h-projects,
    .h-about,
    .h-testimonials,
    .h-cta {
        padding: 60px 0;
    }

    .h-sectors {
        padding: 60px 0;
    }

    /* Servis kartları */
    .h-svc-card__img { height: 160px; }
    .h-svc-card__body { padding: 24px 28px 32px; }
    .h-svc-card__title { font-size: 1.25rem; }

    /* Proje kartları */
    .h-proj-card__img { height: 180px; }
    .h-proj-card__body { padding: 20px; gap: 8px; }

    /* About */
    .h-about__grid { gap: 40px; }

    /* Testimonials */
    .h-testi-card { padding: 32px 40px; }
    .h-testi-quote { font-size: 1.05rem; }

    /* CTA */
    .h-cta__card { padding: 48px 44px; border-radius: 32px; }
    .h-cta__title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
    .h-cta__sub { font-size: 1rem; margin-bottom: 28px; }

    /* Container max-width */
    .h-container { max-width: 1060px; }
}

/* Çok kısa ekranlar (yükseklik ≤ 768px — laptop/notebook) */
@media (max-height: 768px) {
    .el-hero {
        padding: 64px 0 40px;
    }

    .el-hero__title {
        font-size: clamp(1.65rem, 3.2vw, 2.5rem);
    }

    .el-hero__lead {
        font-size: 1rem;
    }
}

/* ══════════════════════════════════
   Sol kenar: iletişim şeridi — yumuşak görünüm; mobilde altta yatay
══════════════════════════════════ */
.edge-rail {
    position: fixed;
    left: max(0px, env(safe-area-inset-left, 0px));
    top: 50%;
    transform: translateY(-50%);
    z-index: 9990;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-height: min(88vh, 520px);
    border-radius: 0 14px 14px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 4px 28px rgba(15, 23, 42, 0.09),
        0 1px 3px rgba(15, 23, 42, 0.04);
    font-family: var(--font-sans, 'Inter', sans-serif);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.edge-rail__toggle {
    flex: 0 0 36px;
    width: 36px;
    min-height: 48px;
    border: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(51, 65, 85, 0.94);
    color: rgba(255, 255, 255, 0.95);
    transition: background 0.2s ease;
}

.edge-rail__toggle:hover {
    background: rgba(71, 85, 105, 0.96);
}

.edge-rail__toggle:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 1px;
    z-index: 2;
}

.edge-rail__toggle-icon {
    font-size: 1.28rem;
    line-height: 1;
    opacity: 0.9;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.edge-rail.is-collapsed .edge-rail__toggle-icon {
    transform: rotate(180deg);
}

.edge-rail__stack {
    display: flex;
    flex-direction: column;
    min-width: 48px;
    flex: 0 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    transition:
        min-width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.25s ease,
        max-width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.edge-rail.is-collapsed .edge-rail__stack {
    min-width: 0;
    max-width: 0;
    opacity: 0;
    pointer-events: none;
}

.edge-rail__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 48px;
    padding: 9px 7px;
    text-decoration: none;
    color: #fff;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    transition: filter 0.2s ease, transform 0.2s ease;
}

button.edge-rail__cell {
    width: 100%;
    cursor: pointer;
    font: inherit;
    font-family: inherit;
    text-align: center;
    -webkit-appearance: none;
    appearance: none;
}

.edge-rail__cell:first-of-type {
    border-top: none;
}

.edge-rail__cell:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.edge-rail__cell:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: -3px;
    z-index: 1;
}

.edge-rail__cell--cta {
    flex: 1 1 auto;
    min-height: 96px;
    background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%);
    padding: 12px 5px;
}

.edge-rail__cta-icon {
    font-size: 1.15rem;
    opacity: 0.95;
}

.edge-rail__vtext {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0.95;
}

.edge-rail__vtext--ai {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
}

.edge-rail__cell--in {
    background: linear-gradient(180deg, #7dd3fc 0%, #0ea5e9 100%);
    min-height: 50px;
}

.edge-rail__cell--ig {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    min-height: 50px;
}

.edge-rail__cell--ai {
    flex: 0 0 auto;
    min-height: 92px;
    background: linear-gradient(165deg, #818cf8 0%, #6366f1 40%, #3b82f6 100%);
    padding: 10px 5px;
}

.edge-rail__ai-icon {
    font-size: 1.22rem;
}

body.dark-theme .edge-rail {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 6px 32px rgba(0, 0, 0, 0.35),
        0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

@media (prefers-reduced-motion: reduce) {
    .edge-rail__stack,
    .edge-rail__toggle-icon {
        transition: none !important;
    }

    .edge-rail__cell:hover {
        transform: none;
    }
}

/* Mobil / tablet: alt sıra — WhatsApp ile yukarı çık FAB arasında, aynı bottom hizası, kaydırma yok */
@media (max-width: 1199px) {
    .edge-rail {
        top: auto;
        left: calc(14px + 44px + 10px);
        right: calc(14px + 44px + 10px);
        transform: none;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        max-height: none;
        min-height: 44px;
        height: 44px;
        border-radius: 12px;
        flex-direction: row;
        align-items: stretch;
        overflow: hidden;
        max-width: none;
        box-sizing: border-box;
    }

    .edge-rail__toggle {
        display: flex;
        flex: 0 0 34px;
        width: 34px;
        min-height: 44px;
        border-radius: 12px 0 0 12px;
    }

    .edge-rail.is-collapsed .edge-rail__toggle {
        border-radius: 12px;
    }

    .edge-rail__stack {
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        max-width: none;
        transition:
            min-width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
            max-width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.25s ease;
        -webkit-overflow-scrolling: touch;
    }

    .edge-rail.is-collapsed {
        right: auto;
        width: max-content;
        max-width: calc(100vw - 14px - 44px - 10px - 14px - 44px - 10px - 8px);
    }

    .edge-rail.is-collapsed .edge-rail__stack {
        flex: 0 0 0;
        min-width: 0;
        max-width: 0;
        opacity: 0;
        pointer-events: none;
        overflow: hidden;
        padding: 0;
        border: none;
    }

    .edge-rail__cell {
        flex: 1 1 0;
        flex-direction: column;
        min-width: 0;
        min-height: 0;
        height: 100%;
        padding: 4px 4px;
        box-sizing: border-box;
        border-top: none;
        border-left: 1px solid rgba(255, 255, 255, 0.12);
    }

    .edge-rail__cell:first-of-type {
        border-left: none;
    }

    .edge-rail__vtext,
    .edge-rail__vtext--ai {
        display: none;
    }

    .edge-rail__cell--cta {
        min-height: 44px;
        flex: 1 1 0;
        min-width: 0;
    }

    .edge-rail__cell--ai {
        min-height: 44px;
        border-radius: 0;
    }

    .edge-rail__cta-icon,
    .edge-rail__ai-icon {
        font-size: 1.1rem;
    }

    .edge-rail__cell--in svg,
    .edge-rail__cell--ig svg {
        width: 20px;
        height: 20px;
    }
}

/* ══════════════════════════════════
   Çerez onayı — alt şerit (KVKK / tercih)
══════════════════════════════════ */
.cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10070;
    padding: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px))
        max(12px, env(safe-area-inset-bottom, 0px));
    pointer-events: none;
}

.cookie-consent-banner__inner {
    pointer-events: auto;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 20px;
    padding: 16px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elevated);
}

.cookie-consent-banner__copy {
    flex: 1 1 240px;
    min-width: 0;
}

.cookie-consent-banner__title {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
}

.cookie-consent-banner__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.cookie-consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 1 auto;
}

.cookie-consent-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.cookie-consent-banner__btn--primary {
    background: linear-gradient(135deg, #1e90ff 0%, #1676d2 50%, #ffb800 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(30, 144, 255, 0.28);
}

.cookie-consent-banner__btn--primary:hover {
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.36);
}

.cookie-consent-banner__btn--ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.cookie-consent-banner__btn--ghost:hover {
    color: var(--primary-color);
    border-color: rgba(30, 144, 255, 0.35);
}

.cookie-consent-banner__btn--link {
    background: rgba(30, 144, 255, 0.1);
    color: var(--primary-color);
}

.cookie-consent-banner__btn--link:hover {
    background: rgba(30, 144, 255, 0.16);
}

body.dark-theme .cookie-consent-banner__inner {
    background: var(--card-bg);
    border-color: var(--border-color);
}

@media (max-width: 520px) {
    .cookie-consent-banner__actions {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-consent-banner__btn {
        flex: 1 1 auto;
        min-width: calc(50% - 6px);
    }

    .cookie-consent-banner__btn--primary {
        flex: 1 1 100%;
    }
}

/* ══════════════════════════════════
   Anasayfa: müzik çalar sayfası (yeşil çubuklu genel ikon, telifli marka değil)
══════════════════════════════════ */
body.page-home .home-muzik-fab {
    position: fixed;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    z-index: 10020;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    box-shadow:
        0 6px 24px rgba(30, 215, 96, 0.35),
        0 2px 8px rgba(15, 23, 42, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    -webkit-tap-highlight-color: transparent;
}

body.page-home .home-muzik-fab:hover {
    transform: scale(1.06);
    box-shadow:
        0 10px 32px rgba(30, 215, 96, 0.42),
        0 4px 12px rgba(15, 23, 42, 0.14);
}

body.page-home .home-muzik-fab:focus-visible {
    outline: 3px solid rgba(30, 215, 96, 0.85);
    outline-offset: 3px;
}

body.page-home .home-muzik-fab__glow {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 215, 96, 0.45) 0%, transparent 70%);
    opacity: 0.75;
    pointer-events: none;
    z-index: 0;
}

body.page-home .home-muzik-fab__icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

body.page-home .home-muzik-fab__icon svg {
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

@media (max-width: 520px) {
    body.page-home .home-muzik-fab {
        bottom: max(88px, calc(72px + env(safe-area-inset-bottom, 0px)));
    }
}
