/* ====================================================================
   Codeos Digital — Theme Stylesheet (Light)
   ==================================================================== */

:root {
  /* Core — light backgrounds (toned down) */
  --bg-deep:    #E8E9EF;
  --bg-mid:     #DCDDE4;
  --bg-card:    #FAFBFD;
  --bg-card-h:  #FFFFFF;
  --bg-alt:     #E0E1E9;
  --bg-testi:   #F4F5F9;
  --bg-footer:  #111113;   /* footer stays dark */

  /* Brand — orange + teal */
  --blue:       #FF6A00;
  --cyan:       #FF9A3C;
  --purple:     #3A5354;

  /* Text — dark on light */
  --white:      #111113;   /* primary text (repurposed name kept for compat) */
  --text-2:     #374151;
  --text-3:     #6B7280;

  /* Borders */
  --border:     rgba(0,0,0,0.09);
  --border-2:   rgba(0,0,0,0.14);

  /* Misc */
  --radius:     14px;
  --radius-lg:  18px;
  --maxw:       1200px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);

  --grad:       linear-gradient(135deg, var(--blue), var(--cyan));
  --grad-purple:linear-gradient(135deg, var(--purple), var(--blue));
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

::selection { background: rgba(255,106,0,.22); }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--blue); color: #fff; font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: 0 0 10px 10px;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-mid); }
::-webkit-scrollbar-thumb { background: #C0C2CC; border-radius: 6px; border: 2px solid var(--bg-mid); }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 15px;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
  min-height: 44px; min-width: 44px;
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.btn:hover::before { left: 135%; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #ff7d1f; transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 30px -8px rgba(255,106,0,.45); }
.btn-ghost { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-ghost:hover { background: rgba(255,106,0,.08); transform: translateY(-2px); }
.btn-light { background: #fff; color: #111113; }
.btn-light:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 40px -4px rgba(255,154,60,.45); }

/* ---------- Gradient text ---------- */
.gradient-text {
  background: linear-gradient(100deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Helpers ---------- */
.kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
  padding: 5px 14px; border-radius: 100px;
  background: rgba(255,106,0,.08);
  border: 1px solid rgba(255,106,0,.20);
}
.link-arrow { color: var(--text-2); font-weight: 600; font-size: 15px; transition: color .2s, transform .2s var(--ease); display: inline-block; }
.link-arrow:hover { color: var(--blue); transform: translateX(3px); }
.link-arrow.sm { font-size: 14px; color: var(--blue); }

/* ====================================================================
   NAVBAR
   ==================================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), backdrop-filter .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(248,248,251,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0%;
  background: var(--grad); border-radius: 0 2px 2px 0;
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.navbar.scrolled .scroll-progress { opacity: 1; }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; border: none; cursor: pointer;
  box-shadow: 0 10px 26px -8px rgba(255,106,0,.55);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #ff7d1f; transform: translateY(-3px); }

.wa-float {
  position: fixed; bottom: 24px; z-index: 95;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 26px -8px rgba(37,211,102,.55);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.wa-float:hover { background: #20b858; color: #fff; transform: translateY(-3px); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float--left { left: 24px; }
/* offset above the scroll-to-top button so the two never overlap */
.wa-float--right { right: 24px; bottom: 92px; }
@media (max-width: 640px) {
  .wa-float { width: 50px; height: 50px; bottom: 18px; }
  .wa-float svg { width: 26px; height: 26px; }
  .wa-float--left { left: 18px; }
  .wa-float--right { right: 18px; bottom: 80px; }
}

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: 'Plus Jakarta Sans'; }
.logo-mark { display: block; object-fit: contain; }
.logo-mark-light { display: none; }
.logo-word { font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo-dim { color: var(--text-3); font-weight: 600; margin-left: 4px; }

/* Mobile menu open: navbar sits above the dark overlay, so its logo/icons
   need light colors to stay visible instead of the light-navbar dark set. */
.navbar.menu-open .logo-mark-dark { display: none; }
.navbar.menu-open .logo-mark-light { display: block; }
.navbar.menu-open .logo-word,
.navbar.menu-open .logo-word .logo-dim { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-links a:not(.btn) { color: var(--text-2); font-size: 15px; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a:not(.btn):hover { color: var(--white); }
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--grad); transition: width .25s var(--ease);
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.search-trigger {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; margin-left: 4px;
  background: none; border: 1px solid transparent; cursor: pointer;
  color: var(--text-2); transition: color .2s, background .2s, border-color .2s;
}
.search-trigger svg { width: 19px; height: 19px; }
.search-trigger:hover { color: var(--white); background: rgba(0,0,0,.05); border-color: var(--border); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger.open span { background: #fff; }

/* Mobile overlay — stays dark intentionally */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(10,15,30,.97); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 28px; text-align: center; }
.mobile-menu-inner a:not(.btn) {
  font-size: 26px; font-weight: 600; font-family: 'Plus Jakarta Sans';
  color: #fff;  /* white text on dark overlay */
  opacity: 0; transform: translateY(12px); transition: .4s var(--ease);
}
.mobile-menu.open .mobile-menu-inner a:not(.btn) { opacity: 1; transform: none; }
.mobile-menu.open .mobile-menu-inner a:nth-child(1) { transition-delay: .05s; }
.mobile-menu.open .mobile-menu-inner a:nth-child(2) { transition-delay: .1s; }
.mobile-menu.open .mobile-menu-inner a:nth-child(3) { transition-delay: .15s; }
.mobile-menu.open .mobile-menu-inner a:nth-child(4) { transition-delay: .2s; }
.mobile-menu.open .mobile-menu-inner a:nth-child(5) { transition-delay: .25s; }
.mobile-menu .btn { margin-top: 10px; }

/* ====================================================================
   SİTE ARAMA (search modal + sonuç sayfası)
   ==================================================================== */
.search-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 90px 20px 40px;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
}
.search-modal.open { opacity: 1; visibility: visible; }
.search-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,15,30,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.search-modal-panel {
  position: relative; width: 100%; max-width: 620px;
  background: var(--bg-card-h); border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: 0 30px 70px -20px rgba(0,0,0,.35);
  transform: translateY(-16px); transition: transform .25s var(--ease);
  overflow: hidden;
  display: flex; flex-direction: column;
  max-height: calc(100vh - 130px);
}
.search-modal.open .search-modal-panel { transform: none; }

.search-modal-form { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.search-modal-icon { width: 20px; height: 20px; color: var(--text-3); flex-shrink: 0; }
.search-modal-form input[type="search"] {
  flex: 1; border: none; outline: none; background: none;
  font-size: 16px; font-family: 'Inter', sans-serif; color: var(--white);
}
.search-modal-form input[type="search"]::placeholder { color: var(--text-3); }
.search-modal-form input[type="search"]::-webkit-search-cancel-button { display: none; }
.search-modal-close {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; border: none; background: none; cursor: pointer;
  color: var(--text-3); transition: color .2s, background .2s; flex-shrink: 0;
}
.search-modal-close:hover { color: var(--white); background: rgba(0,0,0,.05); }
.search-modal-close svg { width: 16px; height: 16px; }

.search-modal-results { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 8px; }
.search-modal-empty { padding: 24px 14px; text-align: center; color: var(--text-3); font-size: 14px; }
.search-modal-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius);
  transition: background .2s;
}
.search-modal-item:hover { background: var(--bg-alt); }
.search-modal-item-title { font-size: 14.5px; font-weight: 500; color: var(--white); }
.search-modal-footer { flex-shrink: 0; border-top: 1px solid var(--border); }
.search-modal-footer:empty { display: none; }
.search-modal-more {
  display: block; text-align: center; padding: 13px 14px;
  font-size: 14px; font-weight: 600; color: var(--blue);
}
.search-modal-more:hover { color: #ff7d1f; }

@media (max-width: 640px) {
  .search-modal { padding: 70px 14px 30px; }
  .search-modal-panel { max-height: calc(100vh - 100px); }
  .search-modal-form input[type="search"] { font-size: 15px; }
}

.search-page-form {
  display: flex; align-items: center; gap: 10px; max-width: 520px; margin-top: 26px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 100px; padding: 6px 8px 6px 20px;
}
.search-page-form svg { color: var(--text-3); flex-shrink: 0; }
.search-page-form input[type="search"] { flex: 1; border: none; outline: none; background: none; font-size: 15px; color: var(--white); }
.search-page-form input[type="search"]::-webkit-search-cancel-button { display: none; }
.search-page-form button {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad); color: #fff; flex-shrink: 0;
}
.search-page-form button svg { width: 17px; height: 17px; color: #fff; }

.search-result-group { margin-bottom: 44px; }
.search-result-group:last-child { margin-bottom: 0; }
.search-result-group__title { font-size: 20px; font-weight: 700; margin-bottom: 18px; font-family: 'Plus Jakarta Sans'; }
.search-result-list { display: flex; flex-direction: column; gap: 14px; }
.search-result-card {
  display: block; padding: 20px 22px; border-radius: var(--radius); background: var(--bg-card);
  border: 1px solid var(--border); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.search-result-card:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(0,0,0,.16); }
.search-result-card h3 { font-size: 17px; font-weight: 700; margin: 10px 0 6px; color: var(--white); }
.search-result-card p { font-size: 14px; color: var(--text-3); }

/* ====================================================================
   HERO
   ==================================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(17,17,19,.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,19,.55) 1px, transparent 1px);
  background-size: 54px 54px; opacity: .05;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, #000 30%, transparent 100%);
}
.hero-glow {
  position: absolute; width: 900px; height: 900px; border-radius: 50%;
  right: -200px; bottom: -300px;
  background: radial-gradient(circle, rgba(255,106,0,.13), transparent 60%);
  filter: blur(40px); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; width: 640px; height: 640px; border-radius: 50%;
  left: -240px; top: -180px;
  background: radial-gradient(circle, rgba(58,83,84,.14), transparent 62%);
  filter: blur(50px); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--text-2);
  background: rgba(0,0,0,.04); border: 1px solid var(--border-2);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.hero-copy h1 {
  font-size: clamp(38px, 5.6vw, 70px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 22px;
  animation: hero-fade-up .8s var(--ease) .05s both;
}
.hero-copy .gradient-text {
  background: linear-gradient(100deg, var(--blue), var(--cyan) 42%, var(--blue) 58%, var(--cyan));
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: hero-shine 7s linear infinite;
}
@keyframes hero-shine { to { background-position: 220% center; } }

.hero-sub {
  font-size: 19px; color: var(--text-3); max-width: 500px; margin-bottom: 34px;
  animation: hero-fade-up .8s var(--ease) .22s both;
}
.rotator-word {
  display: inline-block;
  color: var(--blue); font-weight: 600;
  transition: opacity .28s ease, transform .28s ease;
}
.rotator-word.is-out { opacity: 0; transform: translateY(9px); }

.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: hero-fade-up .8s var(--ease) .38s both;
}

.hero-proof {
  display: flex; align-items: center; gap: 22px;
  margin-top: 38px;
  animation: hero-fade-up .8s var(--ease) .54s both;
}
.hp-item { display: flex; flex-direction: column; }
.hp-item strong {
  font-family: 'JetBrains Mono'; font-size: 21px; font-weight: 700;
  letter-spacing: -.02em; color: var(--white); line-height: 1.3;
}
.hp-item span { font-size: 13px; color: var(--text-3); }
.hp-div { width: 1px; height: 36px; background: var(--border-2); flex-shrink: 0; }

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* Dashboard mockup — mirrors the real Codeos Digital admin panel (light theme, orange accent) */
.hero-visual {
  position: relative;
  /* ambient glow behind the window */
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(ellipse 72% 60% at 60% 48%, rgba(255,106,0,.22), transparent 68%),
    radial-gradient(ellipse 48% 42% at 28% 72%, rgba(99,179,237,.14), transparent 62%);
  z-index: 0;
  animation: glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glow-pulse {
  0%, 100% { opacity: .75; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.06); }
}
.hero-visual::after {
  content: ''; position: absolute;
  left: 6%; right: 0; bottom: -42px; height: 52px;
  background: radial-gradient(ellipse 55% 50% at 50% 50%, rgba(17,17,19,.28), transparent 70%);
  filter: blur(8px);
  z-index: 0; pointer-events: none;
  animation: floor-breathe 4s ease-in-out infinite;
}
@keyframes floor-breathe {
  0%, 100% { opacity: .8; transform: scaleX(1); }
  50%       { opacity: 1;  transform: scaleX(1.04); }
}

.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }

.dash-window {
  background: #f1f1f1;
  border: 1px solid #e3e3e3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative; z-index: 1;
  box-shadow:
    0 40px 80px -20px rgba(20,20,22,.35),
    0 0 0 1px rgba(255,104,19,.10),
    0 0 60px -10px rgba(255,104,19,.14);
  transform: perspective(1100px) rotateY(var(--ry, -7deg)) rotateX(var(--rx, 3deg)) translateY(-4px);
  transition: transform .3s ease-out, box-shadow .7s ease;
  animation: dash-entrance .9s cubic-bezier(.23,1,.32,1) backwards;
}
.hero-visual:hover .dash-window {
  box-shadow:
    0 50px 100px -20px rgba(20,20,22,.4),
    0 0 0 1px rgba(255,104,19,.16),
    0 0 80px -8px rgba(255,104,19,.2);
}
@keyframes dash-entrance {
  from { opacity:0; transform: perspective(1100px) rotateY(-14deg) rotateX(6deg) translateY(30px) scale(.95); }
  to   { opacity:1; transform: perspective(1100px) rotateY(-7deg) rotateX(3deg) translateY(-4px) scale(1); }
}

/* glass sheen sweeping across the window */
.dash-window::after {
  content: ''; position: absolute; top: -10%; bottom: -10%; width: 55%; left: -80%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35) 42%, rgba(255,255,255,.55) 50%, rgba(255,255,255,.35) 58%, transparent);
  transform: skewX(-14deg);
  animation: dash-sheen 7.5s ease-in-out infinite;
  pointer-events: none; z-index: 9;
}
@keyframes dash-sheen {
  0%, 58%  { left: -80%; }
  82%, 100% { left: 135%; }
}

/* browser chrome strip */
.dash-topbar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: #e6e6e6;
  border-bottom: 1px solid #d8d8d8;
}
.dash-url {
  margin-left: 10px;
  font-family: 'JetBrains Mono'; font-size: 10.5px; color: #7a7a7a;
}
.dash-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #16a34a; margin-left: auto; flex-shrink: 0;
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(22,163,74,.5); }
  60%       { box-shadow: 0 0 0 5px rgba(22,163,74,0);  }
}

/* admin panel topbar — matches .admin-topbar (#1a1a1a, brand + badge) */
.dash-adminbar {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: #1a1a1a;
}
.dash-adminbar-logo {
  width: 18px; height: 18px; flex-shrink: 0;
  object-fit: contain;
}
.dash-adminbar-name { font-family: 'Inter'; font-size: 10.5px; font-weight: 700; color: #fff; letter-spacing: -.1px; }
.dash-adminbar-badge {
  font-family: 'Inter'; font-size: 8.5px; font-weight: 600; color: #b5b5b5;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  padding: 1px 6px; border-radius: 999px;
}
.dash-adminbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.dash-adminbar-bell { position: relative; color: #b5b5b5; font-size: 11px; }
.dash-adminbar-bell::after {
  content: ''; position: absolute; top: -2px; right: -3px;
  width: 5px; height: 5px; border-radius: 50%; background: #ff6813;
}
.dash-adminbar-avatar {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: #3a3a3a; color: #e6e6e6;
  font-family: 'Inter'; font-size: 8.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.dash-layout { display: flex; height: 208px; position: relative; }

/* status bar */
.dash-statusbar {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  border-top: 1px solid #e3e3e3;
  background: #f7f7f7;
  font-family: 'Inter'; font-size: 9.5px; font-weight: 550; color: #8a8a8a;
}
.dash-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #16a34a; flex-shrink: 0;
  animation: live-pulse 2s ease-in-out infinite;
}
.dash-latency { margin-left: auto; color: #8a8a8a; }

/* notification toast inside the window — mirrors the admin SweetAlert2 toast */
.dash-toast {
  position: absolute; right: 12px; bottom: 44px; z-index: 8;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Inter'; font-size: 10.5px; font-weight: 550; color: #303030;
  background: #ffffff; border: 1px solid #e3e3e3;
  padding: 8px 12px; border-radius: 9px;
  box-shadow: 0 12px 28px -8px rgba(26,26,26,.22);
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none; white-space: nowrap;
}
.dash-toast.show { opacity: 1; transform: none; }
.dash-toast-dot { width: 6px; height: 6px; border-radius: 50%; background: #ff6813; flex-shrink: 0; }

/* sidebar — matches .admin-sidebar (#f7f7f7, white active item, orange icon) */
.dash-side {
  width: 96px; flex-shrink: 0;
  background: #f7f7f7;
  border-right: 1px solid #e3e3e3;
  padding: 10px 7px;
  display: flex; flex-direction: column; gap: 2px;
}
.dash-menu-item {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Inter'; font-size: 10.5px; font-weight: 550; color: #4a4a4a;
  padding: 6px 7px; border-radius: 6px; cursor: default;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background .35s, color .35s;
}
.dash-menu-item svg { color: #8a8a8a; flex-shrink: 0; transition: color .35s; }
.dash-menu-item.is-active {
  background: #ffffff; color: #1a1a1a; font-weight: 650;
  box-shadow: 0 1px 2px rgba(26,26,26,.06), inset 0 0 0 1px #ebebeb;
}
.dash-menu-item.is-active svg { color: #ff6813; }

.dash-content { flex: 1; min-width: 0; position: relative; overflow: hidden; background: #f1f1f1; }

/* dashboard welcome strip */
.dash-welcome {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: 'Inter'; font-size: 11px; font-weight: 650; color: #1a1a1a;
  margin-bottom: 10px;
}
.dash-welcome-date { font-size: 9px; font-weight: 550; color: #8a8a8a; }

/* panel header row (title + count/action) */
.dash-panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.dash-panel-header .dash-panel-title { margin-bottom: 0; }
.dash-panel-count {
  font-family: 'Inter'; font-size: 9px; font-weight: 650; color: #8a8a8a;
  background: #ebebeb; padding: 2px 7px; border-radius: 999px;
}
.dash-panel-action {
  font-family: 'Inter'; font-size: 9px; font-weight: 650; color: #fff;
  background: #ff6813; padding: 3px 8px; border-radius: 6px;
}
.dash-panel-footer {
  margin-top: 7px; text-align: right;
  font-family: 'Inter'; font-size: 9.5px; font-weight: 650; color: #ff6813;
}

/* settings quick-links (icon + label + chevron) */
.dash-setting-row svg { color: #8a8a8a; flex-shrink: 0; }
.dash-setting-row .dash-chevron { margin-left: auto; color: #c9c9c9; flex-shrink: 0; }

/* Panels */
.dash-panel {
  position: absolute; inset: 0; padding: 14px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.dash-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }

.dash-panel-title {
  font-family: 'Inter'; font-size: 11px; font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

/* content list (blog/pages) — matches admin-table rows + admin-badge colors */
.dash-list { display: flex; flex-direction: column; gap: 5px; }
.dash-list-row {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 8px; border-radius: 6px;
  background: #ffffff; border: 1px solid #e3e3e3;
  font-family: 'Inter'; font-size: 10.5px;
}
.dash-badge { font-size: 9px; padding: 2px 6px; border-radius: 4px; font-weight: 650; flex-shrink: 0; }
.badge-ok   { background: #d5f3e0; color: #0c5132; }
.badge-wait { background: #fdf1cc; color: #8a6116; }
.badge-ship { background: #e0f0ff; color: #00527c; }
.dash-list-id   { color: #8a8a8a; }
.dash-list-name {
  color: #303030; margin-left: auto; min-width: 0; flex: 1; text-align: right;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* recent messages — matches admin-card recent-contacts table */
.dash-user-list { display: flex; flex-direction: column; gap: 6px; }
.dash-user-row {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 7px; border-radius: 6px;
  background: #ffffff; border: 1px solid #e3e3e3;
}
.dash-avatar {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--av); font-family: 'Inter'; font-size: 8px;
  font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center;
}
.dash-user-name {
  font-family: 'Inter'; font-size: 10px; font-weight: 550; color: #303030; flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash-status { width: 6px; height: 6px; border-radius: 50%; background: #d8d8d8; flex-shrink: 0; }
.dash-status.online { background: #ff6813; }

/* settings — matches admin form toggle rows */
.dash-settings { display: flex; flex-direction: column; gap: 6px; }
.dash-setting-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: 'Inter'; font-size: 10.5px; font-weight: 550; color: #4a4a4a;
  padding: 6px 8px; border-radius: 6px;
  background: #ffffff; border: 1px solid #e3e3e3;
}
.dash-toggle {
  width: 26px; height: 14px; border-radius: 7px;
  background: #e3e3e3; position: relative; flex-shrink: 0;
}
.dash-toggle::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(26,26,26,.25); transition: transform .2s, background .2s;
}
.dash-toggle.on { background: #ffd6b8; }
.dash-toggle.on::after { transform: translateX(12px); background: #ff6813; }
.dash-kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 14px; }
.dash-kpi {
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 8px; padding: 8px 10px;
  box-shadow: 0 1px 2px rgba(26,26,26,.04);
  opacity: 0;
}
.dash-panel.is-active .dash-kpi { animation: kpi-in .45s ease both; }
.dash-panel.is-active .dash-kpi:nth-child(1) { animation-delay: .10s; }
.dash-panel.is-active .dash-kpi:nth-child(2) { animation-delay: .22s; }
.dash-panel.is-active .dash-kpi:nth-child(3) { animation-delay: .34s; }
@keyframes kpi-in {
  from { opacity:0; transform: translateY(10px); }
  to   { opacity:1; transform: none; }
}

.dash-kpi-val {
  display: block;
  font-family: 'Inter'; font-size: 15px; font-weight: 700;
  color: #1a1a1a; margin-bottom: 2px; letter-spacing: -.3px;
  transition: text-shadow .35s ease;
}
.dash-kpi-val.tick { text-shadow: 0 0 10px rgba(255,104,19,.35); }

/* list/user/setting rows re-animate on each panel activation */
.dash-list-row, .dash-user-row, .dash-setting-row { opacity: 0; }
.dash-panel.is-active .dash-list-row,
.dash-panel.is-active .dash-user-row,
.dash-panel.is-active .dash-setting-row { animation: kpi-in .4s ease both; }
.dash-panel.is-active .dash-list-row:nth-child(1), .dash-panel.is-active .dash-user-row:nth-child(1), .dash-panel.is-active .dash-setting-row:nth-child(1) { animation-delay: .12s; }
.dash-panel.is-active .dash-list-row:nth-child(2), .dash-panel.is-active .dash-user-row:nth-child(2), .dash-panel.is-active .dash-setting-row:nth-child(2) { animation-delay: .22s; }
.dash-panel.is-active .dash-list-row:nth-child(3), .dash-panel.is-active .dash-user-row:nth-child(3), .dash-panel.is-active .dash-setting-row:nth-child(3) { animation-delay: .32s; }
.dash-panel.is-active .dash-list-row:nth-child(4), .dash-panel.is-active .dash-user-row:nth-child(4), .dash-panel.is-active .dash-setting-row:nth-child(4) { animation-delay: .42s; }
.dash-panel.is-active .dash-list-row:nth-child(5), .dash-panel.is-active .dash-user-row:nth-child(5), .dash-panel.is-active .dash-setting-row:nth-child(5) { animation-delay: .50s; }
.dash-kpi-key {
  display: block;
  font-family: 'Inter'; font-size: 9.5px; font-weight: 550;
  color: #8a8a8a;
}
.dash-chart-label {
  font-family: 'Inter'; font-size: 11px; font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}
.dash-bars { display: flex; align-items: flex-end; gap: 5px; height: 66px; }
.dash-bar-col {
  flex: 1; height: var(--h);
  background: #ebebeb;
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
  transform: scaleY(0);
}
.dash-panel.is-active .dash-bar-col { animation: bar-grow .65s cubic-bezier(.34,1.56,.64,1) both; }
.dash-panel.is-active .dash-bar-col:nth-child(1) { animation-delay: .30s; }
.dash-panel.is-active .dash-bar-col:nth-child(2) { animation-delay: .38s; }
.dash-panel.is-active .dash-bar-col:nth-child(3) { animation-delay: .46s; }
.dash-panel.is-active .dash-bar-col:nth-child(4) { animation-delay: .54s; }
.dash-panel.is-active .dash-bar-col:nth-child(5) { animation-delay: .62s; }
.dash-panel.is-active .dash-bar-col:nth-child(6) { animation-delay: .70s; }
.dash-panel.is-active .dash-bar-col:nth-child(7) { animation-delay: .78s; }
@keyframes bar-grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.dash-bar-col.is-now { background: linear-gradient(180deg, #ff6813, #ff9a3c); }
.dash-bars .dash-bar-col:nth-child(1) { --h: 38%; }
.dash-bars .dash-bar-col:nth-child(2) { --h: 56%; }
.dash-bars .dash-bar-col:nth-child(3) { --h: 44%; }
.dash-bars .dash-bar-col:nth-child(4) { --h: 70%; }
.dash-bars .dash-bar-col:nth-child(5) { --h: 62%; }
.dash-bars .dash-bar-col:nth-child(6) { --h: 88%; }
.dash-bars .dash-bar-col:nth-child(7) { --h: 76%; }

.dash-user-list .dash-user-row:nth-child(1) .dash-avatar { --av: #ff6813; }
.dash-user-list .dash-user-row:nth-child(2) .dash-avatar { --av: #2563eb; }
.dash-user-list .dash-user-row:nth-child(3) .dash-avatar { --av: #0c8a4c; }
.dash-user-list .dash-user-row:nth-child(4) .dash-avatar { --av: #8a8a8a; }

.dash-kpi-val.c-orange { color: #e05205; }
.dash-kpi-val.c-green { color: #0c8a4c; }
.dash-kpi-val.c-purple { color: #6b2eb8; }
.dash-kpi-val.c-blue { color: #2563eb; }
.dash-kpi-row.cols-2 { grid-template-columns: 1fr 1fr; }

.section-pad-60 { padding: 60px 0; }
.text-center { text-align: center; }

.floaty {
  position: absolute; font-family: 'JetBrains Mono'; font-size: 12.5px; font-weight: 500;
  color: #e2e8f0; z-index: 2;
  background: rgba(20,24,40,.92); border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px); padding: 9px 14px; border-radius: 10px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
  animation: float 5s ease-in-out infinite;
  opacity: 0;
  animation: floaty-in .5s ease forwards, float 5s ease-in-out infinite;
}
.floaty-1 { top: -22px; right: -10px; animation-delay: 1.1s, 1.1s; }
.floaty-2 { bottom: -26px; left: -18px; animation-delay: 1.6s, 1.6s; }
@keyframes floaty-in {
  from { opacity:0; transform: translateY(8px); }
  to   { opacity:1; transform: none; }
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.scroll-indicator {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono'; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--text-3);
}
.scroll-arrow { width: 1px; height: 34px; background: linear-gradient(var(--cyan), transparent); position: relative; overflow: hidden; }
.scroll-arrow::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 12px; background: var(--cyan); animation: scrolldown 1.8s ease-in-out infinite; }
@keyframes scrolldown { 0% { transform: translateY(-12px); } 100% { transform: translateY(34px); } }

/* ====================================================================
   LOGO BAR
   ==================================================================== */
.logobar { padding: 44px 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logobar-title { text-align: center; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 28px; font-family: 'JetBrains Mono'; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 22px; color: var(--text-3); opacity: .55; transition: opacity .3s, color .3s; white-space: nowrap; }
.marquee-track span:hover { opacity: 1; color: var(--white); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ====================================================================
   SECTIONS (generic)
   ==================================================================== */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-testi { background: var(--bg-testi); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; }
.section-sub { color: var(--text-3); font-size: 16px; margin-top: 10px; max-width: 520px; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Service cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  position: relative; overflow: hidden;
  transition: transform .28s var(--ease), background .28s, border-color .28s, box-shadow .28s;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); background: var(--bg-card-h); border-color: rgba(255,106,0,.25); box-shadow: 0 20px 44px -16px rgba(255,106,0,.14), 0 12px 30px -14px rgba(0,0,0,.12); }
.card:hover::after { transform: scaleX(1); }
.card-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(255,106,0,.10); color: var(--blue); margin-bottom: 20px;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.card:hover .card-icon {
  background: var(--grad); color: #fff;
  transform: scale(1.06) rotate(-4deg);
  box-shadow: 0 8px 20px -6px rgba(255,106,0,.45);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--text-3); font-size: 15px; margin-bottom: 18px; }

/* ---------- Process ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.process::before { content: ''; position: absolute; top: 26px; left: 8%; right: 8%; height: 1px; background: repeating-linear-gradient(90deg, var(--border-2) 0 8px, transparent 8px 16px); }
.process-step {
  position: relative; padding: 18px 16px; border-radius: var(--radius);
  transition: background .25s, transform .25s var(--ease), box-shadow .25s;
}
.process-step:hover {
  background: rgba(255,255,255,.55);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.12);
}
.process-num {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  font-family: 'JetBrains Mono'; font-weight: 700; font-size: 17px;
  background: var(--bg-deep); border: 2px solid var(--blue); color: var(--blue);
  margin-bottom: 20px; position: relative; z-index: 1;
  box-shadow: 0 4px 14px rgba(255,106,0,.15);
  transition: background .3s var(--ease), color .3s, box-shadow .3s;
}
.process-step:hover .process-num {
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 26px -6px rgba(255,106,0,.45);
}
.process-step h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.process-step p { color: var(--text-3); font-size: 14px; }

/* ---------- Portfolio ---------- */
.portfolio { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.project {
  grid-column: span 2; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.project.big { grid-column: span 3; }
.project:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -14px rgba(0,0,0,.15); }

.project-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.project.big .project-thumb { aspect-ratio: 16/9; }
.thumb-a { background: linear-gradient(135deg, #7a3000, #ff6a00 60%, #ff9a3c); }
.thumb-b { background: linear-gradient(135deg, #2a3a3a, #3a5354 55%, #ff6a00); }
.thumb-c { background: linear-gradient(135deg, #1f2b2b, #3a5354); }
.thumb-d { background: linear-gradient(135deg, #8a3a00, #ff8a33); }
.thumb-e { background: linear-gradient(135deg, #18181b, #2a2a2e); }

/* mini browser-window mockup inside each thumb */
.project-thumb::before {
  content: ''; position: absolute;
  top: 18px; left: 20px; right: 20px; height: 24px;
  background:
    radial-gradient(circle 3.5px at 13px 12px, rgba(255,255,255,.85) 3px, transparent 3.5px),
    radial-gradient(circle 3.5px at 26px 12px, rgba(255,255,255,.55) 3px, transparent 3.5px),
    radial-gradient(circle 3.5px at 39px 12px, rgba(255,255,255,.35) 3px, transparent 3.5px),
    rgba(255,255,255,.14);
  border-radius: 8px 8px 0 0;
  backdrop-filter: blur(3px);
}
.project-thumb::after {
  content: ''; position: absolute;
  top: 42px; left: 20px; right: 20px; bottom: 0;
  background:
    linear-gradient(rgba(255,255,255,.34), rgba(255,255,255,.34)),
    linear-gradient(rgba(255,255,255,.16), rgba(255,255,255,.16)),
    linear-gradient(rgba(255,255,255,.16), rgba(255,255,255,.16)),
    linear-gradient(rgba(255,255,255,.10), rgba(255,255,255,.10)),
    rgba(255,255,255,.07);
  background-repeat: no-repeat;
  background-size: 44% 11px, 64% 7px, 52% 7px, 90% 46%;
  background-position: 18px 18px, 18px 42px, 18px 57px, 18px 78px;
  transition: transform .45s var(--ease);
}
.project:hover .project-thumb::after { transform: translateY(-8px); }

.project-overlay { position: absolute; inset: 0; z-index: 2; background: rgba(10,15,30,.55); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.project:hover .project-overlay { opacity: 1; }
.project-meta { padding: 22px 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.tags span { font-family: 'JetBrains Mono'; font-size: 11px; padding: 4px 10px; border-radius: 100px; background: rgba(255,106,0,.10); color: #c94e00; border: 1px solid rgba(255,106,0,.2); }
.project-meta h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.project-meta p { color: var(--text-3); font-size: 14px; margin-bottom: 14px; }

/* ====================================================================
   STATS — stays dark
   ==================================================================== */
.stats { position: relative; padding: 80px 0; background: linear-gradient(135deg, #161210, #2a1605); overflow: hidden; color: #E2E8F0; }
.stats::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.13) 1px, transparent 1.4px);
  background-size: 26px 26px; opacity: .4;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
}
.stats-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(255,154,60,.18), transparent 55%); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-num { display: block; font-family: 'JetBrains Mono'; font-weight: 700; font-size: clamp(38px, 5vw, 56px); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: #CBD5E1; font-size: 15px; }
.stat-sub { display: block; font-family: 'JetBrains Mono'; font-size: 11px; color: #6b7280; margin-top: 4px; }

/* ---------- Single reference card ---------- */
.reference-card {
  max-width: 420px; margin: 0 auto; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 56px 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: transform .28s var(--ease), box-shadow .28s, border-color .28s;
}
.reference-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,106,0,.22);
  box-shadow: 0 16px 36px -14px rgba(0,0,0,.13);
}
.reference-logo { display: block; max-width: 220px; max-height: 80px; width: auto; height: auto; object-fit: contain; margin: 0 auto 24px; }
.reference-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }

/* ====================================================================
   TESTIMONIALS
   ==================================================================== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px; position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: transform .28s var(--ease), box-shadow .28s, border-color .28s;
}
.testi:hover {
  transform: translateY(-5px);
  border-color: rgba(255,106,0,.22);
  box-shadow: 0 16px 36px -14px rgba(0,0,0,.13);
}
.testi::before { content: '"'; position: absolute; top: 8px; right: 24px; font-family: 'Plus Jakarta Sans'; font-size: 90px; line-height: 1; color: var(--blue); opacity: .12; }
.stars { color: #f59e0b; letter-spacing: 3px; font-size: 16px; margin-bottom: 16px; }
.testi blockquote { font-size: 16px; color: var(--text-2); margin-bottom: 22px; }
.testi-name { display: block; font-weight: 600; }
.testi-role { display: block; color: var(--text-3); font-size: 13px; }

/* ====================================================================
   BLOG
   ==================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.post:hover { transform: translateY(-5px); box-shadow: 0 16px 36px -14px rgba(0,0,0,.13); }
.post-thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.post-thumb::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.28), transparent 42%),
    radial-gradient(circle, rgba(255,255,255,.13) 1px, transparent 1.6px);
  background-size: auto, 18px 18px;
  transition: transform .5s var(--ease);
}
.post:hover .post-thumb::before { transform: scale(1.08); }
.pt-1 { background: linear-gradient(135deg, #7a3000, #ff6a00); }
.pt-2 { background: linear-gradient(135deg, #2a3a3a, #3a5354); }
.pt-3 { background: linear-gradient(135deg, #8a3a00, #ff9a3c); }
.post-body { padding: 22px 24px; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 100px; margin-bottom: 12px; }
.pill-blue { background: rgba(255,106,0,.10); color: #c94e00; }
.pill-purple { background: rgba(58,83,84,.15); color: #3a5354; }
.pill-cyan { background: rgba(255,154,60,.12); color: #b85c00; }
.post-body h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; transition: color .2s; }
.post { position: relative; }
.post-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.post:hover .post-body h3 { color: var(--blue); }
.post-body p { color: var(--text-3); font-size: 14px; margin-bottom: 16px; }
.post-meta { font-family: 'JetBrains Mono'; font-size: 12px; color: var(--text-3); }

/* ====================================================================
   BOTTOM CTA — stays dark
   ==================================================================== */
.cta-bottom { position: relative; padding: 120px 0; text-align: center; overflow: hidden; background: linear-gradient(135deg, #120d0a, #241204); color: #E2E8F0; }
.cta-bottom::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.11) 1px, transparent 1.4px);
  background-size: 28px 28px; opacity: .35;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
}
.cta-glow { position: absolute; width: 700px; height: 700px; left: 50%; top: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(255,106,0,.28), transparent 60%); filter: blur(30px); }
.cta-inner { position: relative; z-index: 1; }
.cta-bottom h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; color: #FFFFFF; }
.cta-bottom p { color: #CBD5E1; font-size: 19px; margin-bottom: 34px; }
.cta-glow-btn:hover { box-shadow: 0 0 50px -2px rgba(255,154,60,.6); }
.cta-alt { margin-top: 20px !important; font-size: 14.5px !important; color: #94A3B8 !important; margin-bottom: 0 !important; }
.cta-alt a { color: var(--cyan); font-weight: 600; transition: color .2s; }
.cta-alt a:hover { color: #fff; }

/* ====================================================================
   FOOTER — stays dark
   ==================================================================== */
.footer { background: var(--bg-footer); padding: 72px 0 0; border-top: 1px solid rgba(255,255,255,0.08); color: #E2E8F0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { color: #9CA3AF; font-size: 14px; margin: 18px 0 22px; max-width: 320px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,0.10); color: #9CA3AF; transition: .25s var(--ease); }
.socials a svg { width: 18px; height: 18px; }
.socials a:hover { color: #fff; border-color: var(--blue); background: rgba(255,106,0,.15); transform: translateY(-2px); }
.footer-col h3 { font-size: 15px; font-weight: 700; margin-bottom: 18px; color: #FFFFFF; }
.footer-col a, .footer-addr { display: block; color: #9CA3AF; font-size: 14px; margin-bottom: 11px; transition: color .2s, padding-left .22s var(--ease); }
.footer-col a:hover { color: var(--cyan); padding-left: 5px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-top: 1px solid rgba(255,255,255,0.08); color: #6B7280; font-size: 13px; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: #fff; }

/* ====================================================================
   SCROLL REVEAL
   ==================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); gap: 28px 18px; }
  .process::before { display: none; }
  .testi-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .search-trigger { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 130px 0 70px; text-align: left; }
  .scroll-indicator { display: none; }
  .portfolio { grid-template-columns: 1fr; }
  .project, .project.big { grid-column: span 1; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .cards-grid, .testi-grid, .blog-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .section-head { margin-bottom: 40px; }
  .hero-sub { font-size: 17px; }
  .hide-mobile { display: none; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ====================================================================
   Inner Page Styles
   ==================================================================== */

/* Active nav link */
.nav-links a[aria-current="page"],
.mobile-menu-inner a[aria-current="page"] {
  color: var(--blue) !important;
}
.nav-links a[aria-current="page"]::after { width: 100% !important; }

/* Page header (inner pages) */
.page-header {
  padding: 160px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(255,106,0,0.09), transparent 70%);
  pointer-events: none;
}
.page-header .kicker { margin-bottom: 1.25rem; }
.page-header h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.page-header p {
  color: var(--text-3);
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Blog detail cover image section — page-header already ends with 90px of
   bottom padding, so the section's own 110px top padding stacked on top of
   it left a ~200px dead gap before the cover image appeared. Scoped to the
   blog article body only (see blog/detail.php) so other inner pages that
   need the full section rhythm right after their header (e.g. hakkımızda's
   dark band) are unaffected. */
.page-header + .section-article {
  padding-top: 0;
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
}

.contact-info-card,
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.contact-info-card::after,
.contact-form::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
}

.contact-info-card-head,
.contact-form-head { margin-bottom: 1.75rem; }
.contact-info-card-head h3,
.contact-form-head h3 { font-size: 1.375rem; font-weight: 700; margin-bottom: 0.4rem; }
.contact-info-card-head p,
.contact-form-head p { color: var(--text-3); font-size: 0.9375rem; line-height: 1.6; }

.contact-info-list { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,106,0,.10);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.contact-info-item:hover .contact-info-icon {
  background: var(--grad); color: #fff;
  transform: scale(1.06) rotate(-4deg);
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-icon i { font-size: 19px; }
.contact-info-text h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 0.3rem; }
.contact-info-text p, .contact-info-text a { color: var(--text-2); text-decoration: none; font-size: 1rem; line-height: 1.5; display: block; }
.contact-info-text a:hover { color: var(--blue); }
.contact-social-link { display: inline-flex; align-items: center; gap: 0.45rem; }
.contact-social-link i { font-size: 18px; }
.contact-social-link:hover { color: var(--blue); }

.contact-info-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.875rem; color: var(--text-3);
}
.contact-info-note svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.875rem; color: var(--text-3); font-weight: 500; }
.form-group label .req { color: var(--blue); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  padding-right: 2.5rem;
}
.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover { border-color: var(--border-2); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { background: var(--bg-card); border-color: var(--blue); box-shadow: 0 0 0 3px rgba(255,106,0,.10); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); opacity: 1; }
.form-group select option { background: var(--bg-card); color: var(--white); }
.form-submit { margin-top: 0.25rem; }
.form-submit .btn { width: 100%; justify-content: center; }
.form-privacy { margin-top: 0.9rem; text-align: center; color: var(--text-3); font-size: 0.8125rem; line-height: 1.5; }

/* Doğrulama kodu (captcha) satırı — görsel + yenile + input yan yana */
.captcha-row { display: flex; align-items: stretch; gap: 0.6rem; }
.captcha-row input { flex: 1; min-width: 0; order: 1; }
.captcha-visual {
  flex-shrink: 0;
  order: 2;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.captcha-img {
  display: block;
  height: 40px;
  width: 150px;
  object-fit: contain;
}
.captcha-refresh {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-deep);
  color: var(--text-3);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.captcha-refresh:hover { background: var(--bg-card); color: var(--blue); border-color: var(--border-2); }
.captcha-refresh svg { width: 16px; height: 16px; }
.captcha-refresh.is-spinning svg { animation: captcha-spin .5s linear; }
@keyframes captcha-spin { to { transform: rotate(360deg); } }
@media (max-width: 460px) {
  .captcha-row { gap: 0.35rem; }
  .captcha-row input { padding-left: 10px; padding-right: 10px; }
  .captcha-visual { gap: 0.25rem; }
  .captcha-img { width: 118px; height: 31px; }
  .captcha-refresh { width: 31px; height: 31px; }
  .captcha-refresh svg { width: 14px; height: 14px; }
}
@media (max-width: 360px) {
  .captcha-img { width: 98px; height: 26px; }
  .captcha-refresh { width: 28px; height: 28px; }
}

/* KVKK onay kutusu */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.55;
}
.form-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0.1rem 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.form-check span a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.form-check span a:hover { color: var(--cyan); }

.form-alert-list { margin: 0; padding-left: 1.1rem; }

/* Form uyarı kutusu (JS devre dışıysa yedek görünüm) */
.form-alert {
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  border: 1px solid transparent;
}
.form-alert-success { background: rgba(34,197,94,.10); border-color: rgba(34,197,94,.35); color: #15803d; }
.form-alert-error { background: rgba(225,29,72,.08); border-color: rgba(225,29,72,.3); color: #be123c; }

/* Alan bazlı canlı doğrulama */
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: #e11d48;
  background: rgba(225,29,72,.05);
}
.form-group.has-error input:focus,
.form-group.has-error textarea:focus,
.form-group.has-error select:focus { box-shadow: 0 0 0 3px rgba(225,29,72,.12); }
.form-group.is-valid input,
.form-group.is-valid textarea,
.form-group.is-valid select { border-color: rgba(34,197,94,.55); }

.field-error {
  display: none;
  align-items: center;
  gap: 0.35rem;
  color: #e11d48;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.field-error:not(:empty) { display: flex; }
.kvkk-error { margin-top: -0.5rem; }

.message-counter {
  align-self: flex-end;
  font-size: 0.75rem;
  color: var(--text-3);
}
.message-counter.is-over { color: #e11d48; }

/* Gönder butonu: yüklenme durumu */
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  top: 50%; left: 50%;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin .6s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* SweetAlert2 — marka teması */
.codeos-swal-popup {
  border-radius: var(--radius-lg) !important;
  background: var(--bg-card) !important;
  color: var(--white) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,.18) !important;
  font-family: 'Inter', sans-serif !important;
}
.codeos-swal-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.375rem !important;
  color: var(--white) !important;
}
.codeos-swal-html { color: var(--text-3) !important; font-size: 0.9375rem !important; line-height: 1.6 !important; }
.codeos-swal-confirm {
  background: var(--grad) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  padding: 0.7rem 1.85rem !important;
  font-weight: 600 !important;
  font-size: 0.9375rem !important;
  box-shadow: none !important;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease) !important;
}
.codeos-swal-confirm:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgba(255,106,0,.5) !important; }
.codeos-swal-confirm:focus { box-shadow: 0 0 0 3px rgba(255,106,0,.25) !important; }
.codeos-swal-icon.swal2-icon-success { border-color: var(--blue) !important; color: var(--blue) !important; }
.codeos-swal-icon.swal2-icon-success [class^='swal2-success-line'] { background-color: var(--blue) !important; }
.codeos-swal-icon.swal2-icon-success .swal2-success-ring { border-color: rgba(255,106,0,.3) !important; }
.codeos-swal-icon.swal2-icon-error { border-color: #e11d48 !important; color: #e11d48 !important; }
.codeos-swal-icon.swal2-icon-error [class^='swal2-x-mark-line'] { background-color: #e11d48 !important; }

/* Pricing (paketler page) */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px 30px;
  display: flex; flex-direction: column;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: transform .28s var(--ease), box-shadow .28s, border-color .28s;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,106,0,.25);
  box-shadow: 0 20px 44px -16px rgba(0,0,0,.14);
}
.price-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.price-desc { color: var(--text-3); font-size: 14.5px; line-height: 1.6; margin-bottom: 24px; min-height: 46px; }
.price-amount {
  font-family: 'JetBrains Mono'; font-size: 36px; font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 24px; line-height: 1.2;
}
.price-amount span { font-size: 15px; font-weight: 500; color: var(--text-3); margin-left: 4px; }
.price-btn { width: 100%; margin-bottom: 28px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; color: var(--text-2); }
.price-features li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.price-features li::before {
  content: '✓';
  width: 19px; height: 19px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,106,0,.12); color: var(--blue);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.price-features li.feat-lead { font-weight: 600; color: var(--white); }
.price-features li.feat-lead::before { content: '+'; background: var(--grad); color: #fff; font-size: 13px; }

.price-card-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border, rgba(255,255,255,.1)); font-size: 13px; line-height: 1.6; color: var(--text-3); font-style: italic; }

.price-card.featured {
  background: var(--bg-card-h);
  border-color: rgba(255,106,0,.45);
  box-shadow: 0 24px 60px -20px rgba(255,106,0,.28), 0 4px 16px rgba(0,0,0,.06);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 16px; border-radius: 100px;
  box-shadow: 0 6px 16px -4px rgba(255,106,0,.5);
  white-space: nowrap;
}
.price-note { margin-top: 40px; text-align: center; color: var(--text-3); font-size: 14px; line-height: 1.8; }
.price-note strong { color: var(--text-2); font-weight: 600; }

@media (min-width: 1025px) {
  .price-card.featured { transform: translateY(-14px); }
  .price-card.featured:hover { transform: translateY(-20px); }
}
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .price-desc { min-height: 0; }
}

/* Panel özellikleri karşılaştırma tablosu (paketler sayfası) */
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.compare-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.compare-table th, .compare-table td {
  padding: 16px 22px; text-align: center; border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.compare-table thead th {
  font-family: 'Plus Jakarta Sans'; font-size: 16px; font-weight: 700;
  color: var(--white); background: rgba(0,0,0,.02);
}
.compare-table .compare-feat-col { text-align: left; font-weight: 600; color: var(--white); white-space: nowrap; }
.compare-table td.compare-feat-col { font-weight: 500; color: var(--text-2); }
.compare-table th.is-featured, .compare-table td.is-featured { background: rgba(255,106,0,.06); }
.compare-table th.is-featured { color: var(--blue); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .chk {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,106,0,.12); color: var(--blue);
  font-size: 12px; font-weight: 700;
}
.compare-table .dash { color: var(--text-3); }
.compare-group-row td {
  text-align: left; border-bottom: none;
  padding: 22px 22px 8px;
  font-family: 'Plus Jakarta Sans'; font-size: 12.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--blue);
}
.compare-group-row:first-child td { padding-top: 16px; }
.compare-feat-col { position: relative; }
.feat-info {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-left: 6px; flex-shrink: 0;
  border-radius: 50%; background: rgba(0,0,0,.08); color: var(--text-3);
  font-size: 10.5px; font-weight: 700; font-family: 'Plus Jakarta Sans';
  cursor: help; vertical-align: middle;
}
.feat-info:hover, .feat-info:focus-visible { background: var(--blue); color: #fff; }
.feat-info .feat-tip {
  position: absolute; bottom: calc(100% + 10px); left: 0;
  width: 240px; max-width: 60vw;
  background: var(--white); color: #fff;
  font-size: 12.5px; font-weight: 500; line-height: 1.5;
  padding: 10px 13px; border-radius: 10px;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 5; text-align: left; white-space: normal;
}
.feat-info:hover .feat-tip, .feat-info:focus-visible .feat-tip {
  opacity: 1; visibility: visible; transform: translateY(0);
}
@media (max-width: 640px) {
  .compare-table { font-size: 13.5px; }
  .compare-table th, .compare-table td { padding: 12px 14px; }
  .feat-info .feat-tip { left: auto; right: 0; }
}

/* Values grid (about page) */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* Blog full grid */
.blog-grid-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

@media (max-width: 880px) {
  .page-header { padding: 130px 0 70px; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .blog-grid-full { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .blog-grid-full { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ====================================================================
   BLOG — Listing (revamp)
   ==================================================================== */
.blog-section { padding-top: 0; }

/* Featured post */
.post-featured {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  margin-bottom: 40px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.post-featured:hover {
  transform: translateY(-4px);
  border-color: rgba(255,106,0,.25);
  box-shadow: 0 24px 54px -20px rgba(255,106,0,.16), 0 14px 34px -16px rgba(0,0,0,.14);
}
.post-featured-media { position: relative; min-height: 320px; overflow: hidden; }
.post-featured-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.post-featured:hover .post-featured-media img { transform: scale(1.05); }
.post-featured-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.post-featured-body h2 {
  font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em;
  line-height: 1.2; margin: 14px 0 14px; transition: color .2s;
}
.post-featured:hover .post-featured-body h2 { color: var(--blue); }
.post-featured-body p { color: var(--text-3); font-size: 15.5px; margin-bottom: 24px; }
.post-featured-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: 'JetBrains Mono'; font-size: 12.5px; color: var(--text-3);
}

/* Post cards */
.post-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: transform .28s var(--ease), box-shadow .28s, border-color .28s;
}
.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,106,0,.25);
  box-shadow: 0 20px 44px -16px rgba(255,106,0,.14), 0 12px 30px -14px rgba(0,0,0,.12);
}
.post-card-media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.post-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s var(--ease);
}
.post-card:hover .post-card-media img { transform: scale(1.07); }
.post-card-time {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  font-family: 'JetBrains Mono'; font-size: 11px; font-weight: 500; color: #fff;
  background: rgba(17,17,19,.72); backdrop-filter: blur(6px);
  padding: 4px 10px; border-radius: 100px;
}
.post-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.post-card-top .pill { margin-bottom: 0; }
.post-card-date { font-family: 'JetBrains Mono'; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.post-card-body h3 {
  font-size: 19px; font-weight: 700; line-height: 1.35;
  margin: 10px 0; transition: color .2s;
}
.post-card:hover .post-card-body h3 { color: var(--blue); }
.post-card-body p { color: var(--text-3); font-size: 14px; margin-bottom: 18px; flex: 1; }
.post-card-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--blue);
}
.post-card-cta svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.post-card:hover .post-card-cta svg,
.post-featured:hover .post-card-cta svg { transform: translateX(4px); }

/* ====================================================================
   BLOG — Article detail (editorial)
   ==================================================================== */
.article-hero {
  padding: 140px 0 56px;
  position: relative; overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(255,106,0,0.09), transparent 70%);
  pointer-events: none;
}
.article-hero-inner { position: relative; max-width: 1040px; margin: 0 auto; }
.article-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono'; font-size: 12.5px; color: var(--text-3);
  margin-bottom: 32px; transition: color .2s, transform .2s var(--ease);
}
.article-back svg { width: 15px; height: 15px; }
.article-back:hover { color: var(--blue); transform: translateX(-3px); }
.article-hero-head { max-width: 780px; margin: 0 auto; text-align: center; }
.article-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.15;
  margin: 18px 0 22px;
}
.article-meta {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  font-family: 'JetBrains Mono'; font-size: 13px; color: var(--text-3);
}
.article-meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border-2); flex-shrink: 0; }

/* Layout: makale kartı sayfaya ortalanır; İçindekiler geniş ekranlarda
   sağ marja asılır (absolute), böylece kart hep viewport ortasında kalır. */
.article-layout {
  position: relative;
  max-width: 1040px; margin: 0 auto;
}
.article-main {
  min-width: 0;
  background: var(--bg-card-h);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(0,0,0,.16), 0 2px 10px rgba(0,0,0,.04);
}
.section-article { padding-top: 0; }

.article-cover { margin: 0; border-bottom: 1px solid var(--border); }
.article-cover img { display: block; width: 100%; height: auto; }

.article-inner { padding: 56px 72px 48px; }

/* Article typography */
.article-body { font-size: 18px; line-height: 1.85; color: var(--text-2); }
.article-body > * + * { margin-top: 1.2em; }
.article-body > p:first-child {
  font-size: 20.5px; line-height: 1.75; color: var(--text-2);
}
.article-body > p:first-child::first-letter {
  font-family: 'Plus Jakarta Sans';
  font-weight: 800; font-size: 3.1em; line-height: .95;
  float: left; padding: 4px 12px 0 0; color: var(--blue);
}
/* Sözleşme/CMS sayfaları: giriş vurgusu ve drop-cap kapalı */
.article-body--plain > p:first-child { font-size: inherit; line-height: inherit; }
.article-body--plain > p:first-child::first-letter {
  float: none; font-size: inherit; line-height: inherit;
  padding: 0; color: inherit; font-family: inherit; font-weight: inherit;
}
.article-body h2 {
  font-size: clamp(22px, 2.3vw, 27px); font-weight: 800; letter-spacing: -.02em;
  color: var(--white); line-height: 1.3;
  margin-top: 2.4em; scroll-margin-top: 110px;
}
.article-body h3 {
  font-size: 20px; font-weight: 700; color: var(--white);
  margin-top: 1.8em; scroll-margin-top: 110px;
}
.article-body a { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,106,0,.35); transition: color .2s, text-decoration-color .2s; }
.article-body a:hover { color: #ff7d1f; text-decoration-color: currentColor; }
.article-body strong { color: var(--white); font-weight: 600; }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body li { margin-top: .5em; }
.article-body li::marker { color: var(--blue); font-weight: 600; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.article-body blockquote {
  border-left: 3px solid var(--blue);
  background: rgba(255,106,0,.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 24px; font-style: italic; color: var(--text-2);
}
.article-body blockquote p:first-child { margin-top: 0; }
.article-body code {
  font-family: 'JetBrains Mono', monospace; font-size: .85em;
  background: rgba(17,17,19,.06); border: 1px solid var(--border);
  padding: 2px 7px; border-radius: 6px; color: #c94e00;
  word-break: break-word;
}
.article-body pre {
  background: #16161c; color: #e2e8f0;
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  padding: 20px 24px; overflow-x: auto;
  font-size: 14px; line-height: 1.7;
}
.article-body pre code { background: none; border: none; padding: 0; color: inherit; font-size: inherit; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--border-2); padding: 10px 14px; text-align: left; }
.article-body th { background: rgba(255,106,0,.07); color: var(--white); font-weight: 600; }
.article-body hr { border: none; height: 1px; background: var(--border-2); margin: 2.2em 0; }

/* Share bar — makale kartının alt bandı */
.article-share {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 24px 64px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}
.article-share-label { font-weight: 700; font-family: 'Plus Jakarta Sans'; font-size: 15.5px; }
.article-share-btns { display: flex; align-items: center; gap: 10px; position: relative; }
.share-btn {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px; border: 1px solid var(--border);
  background: var(--bg-deep); color: var(--text-2); cursor: pointer;
  transition: .25s var(--ease);
}
.share-btn svg { width: 17px; height: 17px; }
.share-btn:hover {
  color: #fff; background: var(--blue); border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px -8px rgba(255,106,0,.5);
}
.share-copied {
  position: absolute; right: 0; top: -34px;
  font-size: 12px; font-weight: 600; color: #fff;
  background: var(--blue); padding: 4px 12px; border-radius: 100px;
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.share-copied.show { opacity: 1; transform: none; }

/* Table of contents — sağ marj kolonu */
.article-aside {
  display: none;
  position: absolute; top: 0; bottom: 0;
  left: calc(100% + 32px); width: 264px;
}
@media (min-width: 1620px) {
  .article-aside { display: block; }
}
.article-toc {
  position: sticky; top: 96px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.article-toc-title {
  display: block;
  font-family: 'JetBrains Mono'; font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-3);
  margin-bottom: 14px;
}
.article-toc ol { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.article-toc a {
  display: block; font-size: 13.5px; color: var(--text-3); line-height: 1.45;
  padding: 6px 10px; border-left: 2px solid transparent; border-radius: 0 8px 8px 0;
  transition: color .2s, border-color .2s, background .2s;
}
.article-toc a:hover { color: var(--white); background: rgba(0,0,0,.04); }
.article-toc a.is-active { color: var(--blue); border-left-color: var(--blue); background: rgba(255,106,0,.07); font-weight: 600; }

/* Responsive — blog revamp */
@media (max-width: 1080px) {
  .article-inner { padding: 44px 48px 40px; }
  .article-share { padding: 22px 48px; }
}
@media (max-width: 880px) {
  .post-featured { grid-template-columns: 1fr; }
  .post-featured-media { min-height: 0; aspect-ratio: 16/9; }
  .post-featured-body { padding: 26px 26px 30px; }
  .article-hero { padding: 124px 0 40px; }
  .article-inner { padding: 34px 26px 32px; }
  .article-share { padding: 20px 26px; }
}
@media (max-width: 640px) {
  .article-body { font-size: 16px; }
  .article-body > p:first-child { font-size: 17.5px; }
  .article-share { flex-direction: column; align-items: flex-start; }
}

/* ====================================================================
   Çerez Onayı (Cookie Consent)
   ==================================================================== */
.cookie-consent { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.cookie-consent.is-visible { z-index: 9999; }

.cookie-consent__banner {
  position: fixed;
  left: 20px;
  right: auto;
  bottom: 20px;
  max-width: 420px;
  width: calc(100% - 40px);
  background: #FAFBFD;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.25);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  pointer-events: auto;
  animation: cc-slide-up .4s var(--ease);
}
.cookie-consent__banner[hidden] { display: none; }

@keyframes cc-slide-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-consent__text { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.cookie-consent__text a { color: var(--blue); text-decoration: underline; }

.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.cookie-consent__btn {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
  text-align: center;
}
.cookie-consent__btn--primary,
.cookie-consent__btn--outline { flex: 1 1 0; min-width: 0; }
.cookie-consent__btn--primary { background: var(--grad); color: #fff; }
.cookie-consent__btn--primary:hover { transform: translateY(-1px); }
.cookie-consent__btn--outline { background: transparent; color: var(--text-2); border: 1px solid var(--border-2); }
.cookie-consent__btn--outline:hover { background: var(--bg-alt); }
.cookie-consent__btn--ghost { flex: 1 0 100%; background: transparent; color: var(--text-3); text-decoration: underline; padding: 0; text-align: left; }

.cookie-consent__modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: auto;
}
.cookie-consent__modal[hidden] { display: none; }

.cookie-consent__modal-panel {
  background: #FAFBFD;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 28px 28px 24px;
  box-shadow: 0 30px 70px -16px rgba(0,0,0,.4);
}
.cookie-consent__modal-panel h2 { margin: 0 0 18px; font-size: 19px; color: var(--white); }

.cookie-consent__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.cookie-consent__row:first-of-type { border-top: none; }
.cookie-consent__row strong { display: block; font-size: 14.5px; color: var(--white); margin-bottom: 4px; }
.cookie-consent__row p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-3); }

.cookie-consent__switch { position: relative; display: inline-block; width: 42px; height: 24px; flex: 0 0 auto; }
.cookie-consent__switch input { opacity: 0; width: 0; height: 0; }
.cookie-consent__switch span {
  position: absolute; inset: 0; background: var(--border-2); border-radius: 999px;
  transition: background .2s var(--ease); cursor: pointer;
}
.cookie-consent__switch span::before {
  content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px;
  background: #fff; border-radius: 50%; transition: transform .2s var(--ease);
}
.cookie-consent__switch input:checked + span { background: var(--blue); }
.cookie-consent__switch input:checked + span::before { transform: translateX(18px); }
.cookie-consent__switch--disabled { opacity: .6; }
.cookie-consent__switch--disabled span { cursor: not-allowed; }

.cookie-consent__modal .cookie-consent__actions { flex-wrap: wrap; margin-top: 20px; justify-content: flex-end; }
.cookie-consent__modal .cookie-consent__btn { flex: 0 1 auto; }

@media (max-width: 640px) {
  .cookie-consent__banner { left: 12px; right: 12px; bottom: 12px; padding: 18px 20px; }
}
