/* ============================================================
   BASE – Reset, Variables, Typography, Buttons, Utilities
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:      #FFFFFF;
  --sky:        #87CEEB;
  --sky-light:  #D6EFFA;
  --mint:       #98FF98;
  --teal:       #40E0D0;
  --teal-dark:  #1FA89A;
  --gold:       #FFD700;
  --gray-50:    #F7FAFE;
  --gray-100:   #F0F4F8;
  --gray-200:   #E2EAF0;
  --gray-300:   #C8D6E0;
  --gray-500:   #64748B;
  --gray-700:   #334155;
  --dark:       #0D1B2A;
  --dark-2:     #1A2D42;

  --grad-cta:   linear-gradient(135deg, #5BC8E8 0%, #40E0D0 50%, #5DD87D 100%);
  --grad-hero:  linear-gradient(160deg, #FFFFFF 0%, #EEF8FF 45%, #F0FFF4 100%);

  --shadow-xs:   0 1px 4px rgba(13,27,42,0.06);
  --shadow-sm:   0 2px 12px rgba(13,27,42,0.08);
  --shadow-md:   0 8px 32px rgba(13,27,42,0.10);
  --shadow-lg:   0 20px 60px rgba(13,27,42,0.12);
  --shadow-teal: 0 8px 32px rgba(64,224,208,0.30);
  --shadow-sky:  0 8px 32px rgba(135,206,235,0.25);

  --r-xs:   6px;
  --r-sm:   12px;
  --r-md:   18px;
  --r-lg:   24px;
  --r-xl:   36px;
  --r-full: 9999px;

  /* DM Sans = temiz, modern body | DM Serif Display = şık başlık */
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;

  --section-py: 100px;
  --container:  1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Section base ── */
.section { padding: var(--section-py) 0; }

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(64,224,208,0.1);
  border: 1px solid rgba(64,224,208,0.3);
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 400;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: -0.1px;
}

.btn:active { transform: scale(0.97) !important; }

.btn-cta {
  background: var(--grad-cta);
  color: white;
  box-shadow: var(--shadow-teal);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(64,224,208,0.45);
}

.btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.28) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.btn:hover .btn-shine { transform: translateX(100%); }

.btn-full { width: 100%; justify-content: center; }
.btn-sm   { padding: 10px 22px; font-size: 0.88rem; }

/* ── Cursor glow ── */
.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(135,206,235,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.1s ease, top 0.1s ease;
}

/* ── Back to top ── */
.btt {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-cta);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-teal);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btt.visible { opacity: 1; transform: translateY(0); }
.btt:hover   { transform: translateY(-3px); }

/* ── Page loader ── */
.page-loader {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden { opacity: 0; visibility: hidden; }

.loader-logo { animation: loaderPulse 1s ease-in-out infinite alternate; }

@keyframes loaderPulse {
  from { transform: scale(0.95); opacity: 0.7; }
  to   { transform: scale(1.05); opacity: 1; }
}

.loader-bar {
  width: 160px;
  height: 3px;
  background: var(--gray-200);
  border-radius: var(--r-full);
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: var(--grad-cta);
  border-radius: var(--r-full);
  animation: loaderFill 1.2s ease forwards;
}

@keyframes loaderFill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ── Trust strip ── */
.trust-strip {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
  overflow: hidden;
}

.trust-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.trust-item {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.3px;
}

.trust-sep {
  color: var(--gray-300);
  font-size: 1rem;
}

/* ── CTA Banner ── */
.cta-banner {
  position: relative;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #EEF8FF 0%, #F0FFF4 100%);
}

.cta-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 72px 32px;
  flex-wrap: wrap;
}

.cta-banner-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.cta-banner-text p {
  font-size: 1.1rem;
  color: var(--gray-500);
  font-weight: 400;
}

.btn-cta-banner {
  padding: 17px 40px;
  font-size: 1.05rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  :root { --section-py: 72px; }
  .container { padding: 0 20px; }
  .cta-banner-inner { flex-direction: column; text-align: center; padding: 56px 20px; }
  .section-title { letter-spacing: -1px; }
}

@media (max-width: 640px) {
  :root { --section-py: 60px; }
  body { font-size: 15px; }
  .section-eyebrow { font-size: 0.75rem; }
  .section-sub { font-size: 0.9rem; line-height: 1.6; }
}

@media (max-width: 480px) {
  :root { --section-py: 48px; }
  .container { padding: 0 16px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
}
