/* ============================================
   RADIKALQR · KURUMSAL MAVİ TEMA
   ============================================ */

:root {
  /* Brand renkleri - Kurumsal mavi */
  --color-brand: #1e3a8a;
  --color-brand-deep: #1e2a5e;
  --color-brand-darker: #131c40;
  --color-brand-soft: #3b82f6;
  --color-brand-light: #dbeafe;
  --color-brand-subtle: #eff6ff;
  
  /* Aksan rengi - parlak mavi */
  --color-accent: #0ea5e9;
  --color-accent-soft: #38bdf8;
  --color-accent-bright: #22d3ee;
  
  /* Ek vurgu - yeşil (başarı/onay) */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  
  /* Yüzeyler */
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-deep: #f1f5f9;
  --color-paper: #ffffff;
  
  /* Yazı renkleri */
  --color-ink: #0f172a;
  --color-ink-soft: #475569;
  --color-ink-muted: #64748b;
  --color-muted: #94a3b8;
  
  /* Çizgiler */
  --color-line: #e2e8f0;
  --color-line-soft: #f1f5f9;
  
  /* Tipografi */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  
  /* Köşeler - karma sistem */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  
  /* Animasyon */
  --t-fast: 0.18s;
  --t-base: 0.3s;
  --t-slow: 0.5s;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Gölgeler - kurumsal */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 8px rgba(15, 23, 42, 0.05), 0 2px 4px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 16px 32px -8px rgba(15, 23, 42, 0.10), 0 4px 8px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.14);
  --shadow-2xl: 0 32px 64px -16px rgba(15, 23, 42, 0.18);
  --shadow-brand: 0 16px 40px -12px rgba(30, 58, 138, 0.35);
  --shadow-accent: 0 16px 40px -12px rgba(14, 165, 233, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   TYPOGRAFI
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
}

p {
  color: var(--color-ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.italic {
  color: var(--color-accent);
  font-weight: 800;
}

.underline {
  position: relative;
  display: inline-block;
  background: linear-gradient(to right, var(--color-brand-light), var(--color-brand-light));
  background-size: 100% 30%;
  background-repeat: no-repeat;
  background-position: 0 88%;
  padding: 0 4px;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--deep {
  background: var(--color-bg-deep);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-head .eyebrow {
  margin: 0 auto 18px;
  justify-content: center;
}

.section-head h2 {
  margin-bottom: 16px;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--color-ink-soft);
}

/* ============================================
   EYEBROW (etiketler)
   ============================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  background: var(--color-brand-subtle);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-brand-light);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

/* ============================================
   BUTONLAR - karma köşe (orta yuvarlak)
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--r-md); /* 12px - karma sistem */
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all var(--t-base) var(--ease-out);
  border: 1.5px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn .arrow {
  transition: transform var(--t-base) var(--ease);
  display: inline-block;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--color-brand);
  color: white;
  box-shadow: var(--shadow-brand);
}

.btn--primary:hover {
  background: var(--color-brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -16px rgba(30, 58, 138, 0.45);
}

.btn--accent {
  background: var(--color-accent);
  color: white;
  box-shadow: var(--shadow-accent);
}

.btn--accent:hover {
  background: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -16px rgba(14, 165, 233, 0.45);
}

.btn--ghost {
  background: white;
  color: var(--color-brand);
  border-color: var(--color-line);
}

.btn--ghost:hover {
  border-color: var(--color-brand);
  background: var(--color-brand-subtle);
}

.btn--light {
  background: white;
  color: var(--color-brand-deep);
}

.btn--light:hover {
  background: var(--color-bg-alt);
}

.btn--lg {
  padding: 16px 30px;
  font-size: 1rem;
}

/* ============================================
   NAVBAR - kurumsal, temiz
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--color-line);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: -0.025em;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-accent) 100%);
  color: white;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-sm);
}

.logo em {
  font-style: normal;
  color: var(--color-accent);
  font-weight: 800;
}

.nav-menu {
  display: flex;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: all var(--t-fast) var(--ease-out);
}

.nav-link:hover {
  color: var(--color-brand);
  background: var(--color-brand-subtle);
}

.nav-link.is-active {
  color: var(--color-brand);
  background: var(--color-brand-subtle);
  font-weight: 600;
}

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.nav-cta .btn {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border-radius: var(--r-sm);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   HERO - lacivert vurgu, ferah layout
   ============================================ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background: var(--color-bg);
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-decor::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
  border-radius: 50%;
}

.hero-decor::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 60%);
  border-radius: 50%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-brand);
  background: var(--color-brand-subtle);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-brand-light);
  margin-bottom: 28px;
}

.hero-meta .dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.05); }
}

.hero h1 {
  margin-bottom: 24px;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--color-ink-soft);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--color-line);
  max-width: 540px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-brand);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--color-ink-muted);
  font-weight: 500;
}

/* ============================================
   REVEAL ANIMASYONLARI
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible,
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-1.is-visible { transition-delay: 0.05s; }
.reveal-2.is-visible { transition-delay: 0.15s; }
.reveal-3.is-visible { transition-delay: 0.25s; }
.reveal-4.is-visible { transition-delay: 0.35s; }
.reveal-5.is-visible { transition-delay: 0.45s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

/* ============================================
   FOOTER - lacivert kurumsal
   ============================================ */
.footer {
  background: var(--color-brand-darker);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 18px;
}

.footer-brand .logo em {
  color: var(--color-accent-soft);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-links li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--t-fast) var(--ease);
}

.footer-links a:hover {
  color: var(--color-accent-soft);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--t-fast);
}

.footer-bottom a:hover {
  color: var(--color-accent-soft);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: transform 0.3s var(--ease);
  animation: waPulse 2s infinite;
}

.wa-float:hover {
  transform: scale(1.1);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 70px 0; }
  
  .nav-menu { display: none; }
  .menu-toggle { display: flex; }
  
  .nav-menu.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 20px;
    border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-cta .btn:not(.btn--primary) {
    display: none;
  }
  
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}
