/* ================================================================
   GÖKTÜRK BULUT SİSTEMLERİ — bulutvebulut.com
   v2.0 ENTERPRISE — line-style, minimal, AWS/IBM/Microsoft tier
   ================================================================ */

/* --- THEME VARIABLES --- */
:root,
:root[data-theme="light"] {
  --bg-page: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-soft: #F7F8FA;
  --bg-section: #FAFBFC;
  --bg-dark-accent: #0B1F4F;
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-on-dark: #FFFFFF;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --border-subtle: #F1F5F9;
  --accent: #0B1F4F;
  --accent-hover: #1E3A8A;
  --cta: #F59E0B;
  --cta-hover: #D97706;
  --link: #1E3A8A;
  --success: #059669;
  --warning: #D97706;
  --danger: #DC2626;
  --shadow-xs: 0 1px 2px rgba(15,23,42,.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow: 0 4px 12px rgba(15,23,42,.06);
  --shadow-lg: 0 12px 32px rgba(15,23,42,.08);
  --radius-sm: 4px;
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

:root[data-theme="mid"] {
  --bg-page: #F7F8FA;
  --bg-elevated: #FFFFFF;
  --bg-soft: #EEF1F5;
  --bg-section: #FFFFFF;
  --bg-dark-accent: #0B1F4F;
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-on-dark: #FFFFFF;
  --border: #D1D9E2;
  --border-strong: #B8C2D0;
  --border-subtle: #E5EAF0;
  --accent: #0B1F4F;
  --accent-hover: #1E3A8A;
  --cta: #F59E0B;
  --cta-hover: #D97706;
  --link: #1E3A8A;
  --success: #059669;
  --warning: #D97706;
  --danger: #DC2626;
  --shadow-xs: 0 1px 2px rgba(15,23,42,.06);
  --shadow-sm: 0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.06);
  --shadow: 0 4px 12px rgba(15,23,42,.10);
  --shadow-lg: 0 12px 32px rgba(15,23,42,.14);
  --radius-sm: 4px;
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

:root[data-theme="dark"] {
  --bg-page: #0A0F1F;
  --bg-elevated: #111827;
  --bg-soft: #1E293B;
  --bg-section: #0F172A;
  --bg-dark-accent: #1E3A8A;
  --text-primary: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-on-dark: #FFFFFF;
  --border: #1E293B;
  --border-strong: #334155;
  --border-subtle: #131D2F;
  --accent: #60A5FA;
  --accent-hover: #93C5FD;
  --cta: #F59E0B;
  --cta-hover: #FBBF24;
  --link: #93C5FD;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --shadow-xs: 0 1px 2px rgba(0,0,0,.3);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  --shadow: 0 4px 12px rgba(0,0,0,.5);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.6);
  --radius-sm: 4px;
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* --- RESET --- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .2s ease, color .2s ease;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color .12s; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.2; color: var(--text-primary); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: clamp(18px, 1.8vw, 20px); font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }
p { margin: 0 0 1em; color: var(--text-secondary); }

button { font: inherit; cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--border); margin: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-xs { padding: 40px 0; }
.section-alt { background: var(--bg-section); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
:root[data-theme="dark"] .eyebrow { color: var(--accent); }

.lede { font-size: 17px; line-height: 1.65; color: var(--text-secondary); max-width: 640px; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent;
  min-height: 42px;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn-cta {
  background: var(--cta); color: #0F172A; border-color: var(--cta);
}
.btn-cta:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: #0F172A; }

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

.btn-outline { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--bg-soft); }

.btn-ghost { background: transparent; color: var(--text-secondary); border-color: transparent; }
.btn-ghost:hover { color: var(--accent); background: var(--bg-soft); }

.btn-link { background: transparent; color: var(--link); border: 0; padding: 0; min-height: auto; font-weight: 500; }
.btn-link:hover { color: var(--accent-hover); }
.btn-link::after { content: "→"; margin-left: 4px; transition: transform .15s; }
.btn-link:hover::after { transform: translateX(2px); }

.btn-sm { padding: 8px 14px; font-size: 13px; min-height: 36px; }
.btn-lg { padding: 14px 28px; font-size: 15px; min-height: 50px; }

/* --- HEADER --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-subtle);
}
:root[data-theme="dark"] .site-header { background: rgba(10,15,31,.92); backdrop-filter: blur(12px); }

.site-header .wrap {
  display: flex; align-items: center; gap: 32px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-primary); font-weight: 700; }
.brand-mark {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: inline-grid; place-items: center;
  color: #fff;
}
.brand-mark svg { width: 16px; height: 16px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .name { font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--text-primary); }
.brand-text .tag { font-size: 10px; font-weight: 500; color: var(--text-muted); letter-spacing: .8px; text-transform: uppercase; margin-top: 2px; }

.site-nav { display: flex; gap: 0; margin-left: auto; align-items: center; }
.site-nav a {
  padding: 6px 14px;
  color: var(--text-secondary); font-size: 14px; font-weight: 500;
  border-radius: var(--radius);
  transition: color .12s, background .12s;
}
.site-nav a:hover { color: var(--accent); background: var(--bg-soft); }

.tools { display: flex; gap: 6px; align-items: center; }
.icon-btn {
  width: 36px; height: 36px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-elevated); color: var(--text-secondary);
  display: inline-grid; place-items: center;
  transition: all .12s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn.active { border-color: var(--accent); color: var(--accent); background: var(--bg-soft); }

.lang-select { position: relative; }
.lang-btn { min-width: 60px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.lang-menu {
  position: absolute; right: 0; top: 44px; min-width: 180px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 4px; display: none; z-index: 200;
}
.lang-menu.open { display: block; }
.lang-menu button {
  width: 100%; height: 36px; padding: 0 12px; border: 0;
  background: transparent; text-align: start; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 10px; color: var(--text-primary);
  font-size: 13px; cursor: pointer;
}
.lang-menu button:hover { background: var(--bg-soft); }
.lang-menu button.active { color: var(--accent); font-weight: 600; }
.lang-menu button .code { font-size: 11px; color: var(--text-muted); margin-left: auto; }

.menu-toggle { display: none; width: 36px; height: 36px; }

@media (max-width: 900px) {
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg-elevated); padding: 8px 12px; border-bottom: 1px solid var(--border); gap: 2px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .tools .btn-cta { display: none; }
}

/* --- HERO --- */
.hero { padding: 96px 0 80px; }
.hero h1 { margin-bottom: 24px; max-width: 14ch; }
.hero .lede { margin-bottom: 36px; }
.hero .actions { display: flex; gap: 12px; margin-bottom: 56px; flex-wrap: wrap; }
.hero-trust {
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hero-trust .item { display: flex; flex-direction: column; gap: 2px; }
.hero-trust .item .v { font-size: 22px; font-weight: 700; color: var(--text-primary); letter-spacing: -.01em; }
.hero-trust .item .l { font-size: 13px; color: var(--text-muted); }
@media (max-width: 700px) { .hero-trust { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

/* --- SERVICES TAXONOMY (line-style) --- */
.tax-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); }
.tax-card {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  text-decoration: none;
  display: flex; flex-direction: column; gap: 14px;
  transition: background .15s ease;
}
.tax-card:hover { background: var(--bg-soft); color: inherit; }
.tax-card:nth-child(3n) { border-right: 0; }
.tax-card .ic {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--accent);
}
.tax-card .ic svg { width: 24px; height: 24px; stroke-width: 1.5; }
.tax-card .cat {
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  letter-spacing: 1.6px; text-transform: uppercase;
}
.tax-card h3 { margin: 0; font-size: 19px; color: var(--text-primary); }
.tax-card .desc { color: var(--text-secondary); font-size: 14px; line-height: 1.55; flex: 1; margin: 0; }
.tax-card .features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.tax-card .features li { font-size: 13px; color: var(--text-secondary); padding-left: 14px; position: relative; }
.tax-card .features li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 1px; background: var(--accent);
}
.tax-card .more {
  margin-top: auto; padding-top: 8px;
  color: var(--link); font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}
.tax-card .more::after { content: "→"; }

@media (max-width: 1024px) {
  .tax-grid { grid-template-columns: repeat(2, 1fr); }
  .tax-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .tax-card:nth-child(2n) { border-right: 0; }
}
@media (max-width: 640px) {
  .tax-grid { grid-template-columns: 1fr; }
  .tax-card { border-right: 0 !important; }
}

/* --- FEATURE BANNER (Mini-DC) --- */
.feature-banner {
  background: var(--bg-dark-accent);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.feature-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(96,165,250,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245,158,11,.06) 0%, transparent 50%);
  pointer-events: none;
}
.feature-banner .container { position: relative; z-index: 2; }
.feature-banner .eyebrow { color: var(--cta); }
.feature-banner h2 { color: #fff; max-width: 18ch; }
.feature-banner .lede { color: rgba(255,255,255,.78); max-width: 580px; }
.feature-banner .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.feature-banner .tag {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255,255,255,.85);
}

/* --- WHY (list style — minimal) --- */
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 32px 56px;
}
.why-item { display: flex; gap: 18px; }
.why-item .ic {
  width: 36px; height: 36px;
  flex-shrink: 0;
  color: var(--accent);
}
.why-item .ic svg { width: 24px; height: 24px; stroke-width: 1.5; }
.why-item h4 { font-size: 16px; color: var(--text-primary); margin: 0 0 6px; }
.why-item p { font-size: 14px; color: var(--text-secondary); margin: 0; }
@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; gap: 28px; } }

/* --- STATS (line-table look) --- */
.stats {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  text-align: start;
}
.stat:last-child { border-right: 0; }
.stat .val {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat .lbl { font-size: 12px; color: var(--text-muted); letter-spacing: .4px; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); border-bottom: 0; }
  .stat { border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat:nth-child(even) { border-right: 0; }
  .stat:last-child { border-right: 0; }
}

/* --- CTA STRIP (minimal) --- */
.cta-strip {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  background: var(--bg-elevated);
}
.cta-strip h2 { margin: 0 0 12px; }
.cta-strip .lede { margin: 0 auto 28px; }
.cta-strip .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 700px) { .cta-strip { padding: 32px 20px; } }

/* --- FOOTER --- */
.site-footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 48px;
}
.footer-grid h5 {
  font-size: 12px; font-weight: 700; color: var(--text-primary);
  letter-spacing: .8px; text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid li a { color: var(--text-muted); font-size: 13px; }
.footer-grid li a:hover { color: var(--accent); }
.footer-grid .brand-col p { font-size: 13px; color: var(--text-muted); margin: 14px 0 0; max-width: 320px; line-height: 1.6; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  color: var(--text-muted); font-size: 12px;
}
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom .legal-links a { color: var(--text-muted); }
.footer-bottom .legal-links a:hover { color: var(--accent); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid .brand-col { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  max-width: 920px; margin: 0 auto;
  background: var(--bg-elevated); border: 1px solid var(--border-strong);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 24px 28px;
  z-index: 9999;
  display: none;
  transform: translateY(20px); opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}
.cookie-banner.show { display: block; }
.cookie-banner.visible { transform: translateY(0); opacity: 1; }
.cookie-banner .head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.cookie-banner .head svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.cookie-banner h4 { margin: 0; font-size: 15px; font-weight: 600; }
.cookie-banner p { font-size: 13px; color: var(--text-secondary); margin: 0 0 16px; }
.cookie-banner p a { color: var(--link); text-decoration: underline; }
.cookie-banner .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner .actions .btn { font-size: 13px; padding: 9px 16px; min-height: 38px; }

.cookie-modal {
  position: fixed; inset: 0; background: rgba(15,23,42,.5); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; z-index: 10000;
  padding: 16px;
}
.cookie-modal.show { display: flex; }
.cookie-modal-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  max-width: 580px; width: 100%; max-height: 88vh; overflow: auto;
  padding: 32px;
}
.cookie-modal-box h3 { margin: 0 0 8px; font-size: 20px; }
.cookie-modal-box > p { font-size: 13px; color: var(--text-secondary); margin: 0 0 20px; }
.cookie-cat {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.cookie-cat .row { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.cookie-cat .name { font-weight: 600; font-size: 14px; color: var(--text-primary); }
.cookie-cat .desc { font-size: 13px; color: var(--text-muted); margin: 4px 0 0; }
.switch { position: relative; width: 38px; height: 22px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute; inset: 0; cursor: pointer;
  background: var(--border-strong); border-radius: 999px;
  transition: background .15s;
}
.switch .slider::before {
  content:""; position: absolute; left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff; border-radius: 50%;
  transition: transform .15s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.switch input:checked + .slider { background: var(--accent); }
.switch input:checked + .slider::before { transform: translateX(16px); }
.switch input:disabled + .slider { background: var(--success); cursor: not-allowed; }
.cookie-modal-box .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }

/* --- LEGAL PAGES --- */
.legal-wrap {
  max-width: 760px; margin: 0 auto;
  padding: 64px 24px;
}
.legal-wrap h1 { font-size: 36px; margin-bottom: 8px; }
.legal-wrap .updated { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.legal-wrap h2 {
  font-size: 22px;
  margin-top: 40px; margin-bottom: 14px;
  padding-top: 16px; border-top: 1px solid var(--border-subtle);
}
.legal-wrap h3 { font-size: 16px; margin-top: 24px; }
.legal-wrap p, .legal-wrap li { f