/* ═══════════════════════════════════════════════════
   HazalHost – Yenileniyoruz Sayfası
   Kurumsal Dark Theme
   ═══════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  /* HazalHost brand blues (logodaki tonlardan türetilmiş) */
  --hz-blue:        #3b5eff;
  --hz-blue-light:  #5a7aff;
  --hz-blue-dark:   #2a47cc;
  --hz-blue-muted:  rgba(59, 94, 255, .12);
  --hz-blue-glow:   rgba(59, 94, 255, .06);

  /* Backgrounds */
  --bg-primary:     #0a0e1a;
  --bg-secondary:   #0f1424;
  --bg-card:        #131830;
  --bg-card-hover:  #171d38;
  --bg-surface:     #1a2040;

  /* Text */
  --text-primary:   #e8eaf0;
  --text-secondary: #8b90a5;
  --text-muted:     #5c6080;

  /* Borders */
  --border-subtle:  rgba(255, 255, 255, .06);
  --border-card:    rgba(255, 255, 255, .08);

  /* Spacing */
  --section-py:     6rem;

  /* Radius */
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      14px;

  /* Transitions */
  --ease-out:       cubic-bezier(.25, .46, .45, .94);
  --transition-base: .3s var(--ease-out);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--hz-blue);
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--hz-blue-light);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: #fff;
}


/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(10, 14, 26, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  display: block;
  height: 32px;
  width: auto;
}

.header-status {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: .03em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hz-blue);
  animation: statusPulse 2.4s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: .4; }
  50%      { opacity: 1; }
}


/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 var(--section-py);
  overflow: hidden;
}

/* Hafif grid dokusu — teknik altyapı hissi */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .35;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
}

/* Mavi vurgu ışığı — çok kontrollü */
.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  translate: -50% 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--hz-blue-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .45rem 1.1rem;
  border: 1px solid var(--border-card);
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
  background: var(--bg-secondary);
}

.badge-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hz-blue);
  flex-shrink: 0;
}

/* Hero başlık */
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0 0 1.2rem;
  color: #fff;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.hero-desc {
  font-size: .95rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* ── Süre Göstergesi ── */
.duration-block {
  margin-bottom: 2.8rem;
}

.duration-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .5rem;
}

.duration-value {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--hz-blue-light);
  letter-spacing: .06em;
  line-height: 1.2;
  margin-bottom: .5rem;
}

.duration-sub {
  font-size: .85rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}

/* Progress bar */
.progress-track {
  width: 100%;
  max-width: 360px;
  height: 4px;
  background: var(--bg-surface);
  border-radius: 100px;
  margin: 0 auto;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--hz-blue);
  border-radius: 100px;
  transition: width 1s var(--ease-out);
}

/* ── Countdown ── */
.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: .3rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 68px;
}

.countdown-number {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  transition: transform .3s var(--ease-out);
}

.countdown-number.tick {
  transform: scale(1.08);
}

.countdown-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .4rem;
}

.countdown-sep {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1;
  padding-top: .1em;
}


/* ═══════════════════════════════════════
   NELER DEĞİŞİYOR
   ═══════════════════════════════════════ */
.changes-section {
  padding: var(--section-py) 0;
  position: relative;
}

.changes-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle) 30%, var(--border-subtle) 70%, transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
}

/* Kartlar */
.change-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  height: 100%;
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
  overflow: hidden;
}

.change-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, .12);
  transform: translateY(-3px);
}

.card-icon-area {
  position: relative;
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--hz-blue-light);
  display: block;
}

/* Her kart için özgün vurgu aksan */
.card-accent {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.card-accent--1 {
  width: 56px;
  height: 56px;
  top: -6px;
  left: -8px;
  background: radial-gradient(circle, rgba(59, 94, 255, .1) 0%, transparent 70%);
}

.card-accent--2 {
  width: 44px;
  height: 44px;
  top: 2px;
  left: 40px;
  background: radial-gradient(circle, rgba(90, 122, 255, .08) 0%, transparent 70%);
}

.card-accent--3 {
  width: 50px;
  height: 50px;
  top: -4px;
  left: -4px;
  background: radial-gradient(circle, rgba(42, 71, 204, .12) 0%, transparent 70%);
}

/* Kart üst kenar vurgusu – her kart farklı */
.change-card--infra {
  border-top: 2px solid rgba(59, 94, 255, .35);
}

.change-card--experience {
  border-top: 2px solid rgba(90, 122, 255, .3);
}

.change-card--hosting {
  border-top: 2px solid rgba(42, 71, 204, .4);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .6rem;
  letter-spacing: -.01em;
}

.card-text {
  font-size: .88rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.65;
}


/* ═══════════════════════════════════════
   İLETİŞİM
   ═══════════════════════════════════════ */
.contact-section {
  padding: var(--section-py) 0;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle) 30%, var(--border-subtle) 70%, transparent);
}

.contact-block {
  text-align: center;
}

.contact-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 .8rem;
  letter-spacing: -.02em;
}

.contact-text {
  font-size: .9rem;
  color: var(--text-secondary);
  margin: 0 0 2rem;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: .92rem;
  font-weight: 500;
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
  min-width: 280px;
  justify-content: center;
}

.contact-link:hover {
  background: var(--bg-card-hover);
  border-color: var(--hz-blue);
  color: #fff;
  transform: translateY(-2px);
}

.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--hz-blue-light);
}


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  text-align: center;
}

.footer-copy {
  font-size: .8rem;
  color: var(--text-muted);
  margin: 0 0 .3rem;
}

.footer-tagline {
  font-size: .72rem;
  color: var(--text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0;
  opacity: .7;
}


/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
.anim-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp .8s var(--ease-out) forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

/* Tablet */
@media (max-width: 991.98px) {
  :root {
    --section-py: 4.5rem;
  }

  .hero-section {
    padding-top: 7rem;
  }
}

/* Mobil büyük */
@media (max-width: 767.98px) {
  :root {
    --section-py: 3.5rem;
  }

  .hero-section {
    padding-top: 6rem;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-badge {
    font-size: .65rem;
    padding: .4rem .9rem;
    margin-bottom: 1.6rem;
  }

  .hero-desc {
    margin-bottom: 2rem;
  }

  .duration-block {
    margin-bottom: 2rem;
  }

  .countdown-item {
    min-width: 54px;
  }

  .change-card {
    padding: 1.6rem 1.4rem;
  }

  .contact-link {
    min-width: unset;
    width: 100%;
    max-width: 320px;
  }
}

/* Mobil küçük (360px - 430px) */
@media (max-width: 430px) {
  .header-logo img {
    height: 26px;
  }

  .header-status {
    font-size: .7rem;
  }

  .hero-section {
    padding-top: 5.5rem;
  }

  .hero-badge {
    font-size: .6rem;
    gap: .5rem;
    padding: .35rem .8rem;
    margin-bottom: 1.4rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: .95rem;
  }

  .hero-desc {
    font-size: .85rem;
    margin-bottom: 1.8rem;
  }

  .duration-value {
    font-size: 1.6rem;
  }

  .countdown-item {
    min-width: 44px;
  }

  .countdown-number {
    font-size: 1.7rem;
  }

  .countdown-sep {
    font-size: 1.3rem;
  }

  .countdown-label {
    font-size: .6rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .change-card {
    padding: 1.4rem 1.2rem;
  }

  .card-icon {
    width: 40px;
    height: 40px;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-text {
    font-size: .82rem;
  }

  .contact-link {
    font-size: .85rem;
    padding: .75rem 1.2rem;
  }
}

/* 360px ve altı */
@media (max-width: 374px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .countdown-item {
    min-width: 38px;
  }

  .countdown-number {
    font-size: 1.5rem;
  }

  .countdown-sep {
    font-size: 1.1rem;
  }

  .duration-value {
    font-size: 1.4rem;
  }

  .contact-link {
    font-size: .8rem;
  }
}
