/* ==========================================================================
   enyakinsube.com — "Hazırlanıyor" sayfası stilleri (açık tema)
   ========================================================================== */

/* --- Tasarım token'ları --------------------------------------------------- */
:root {
  --color-bg:            #ffffff;
  --color-bg-soft:       #f5f7fc;
  --color-surface:       #ffffff;
  --color-surface-hover: #f8faff;

  --color-border:        #e6eaf2;
  --color-border-strong: #d6dcea;

  --color-text:          #101828;
  --color-text-muted:    #5a6683;
  --color-text-dim:      #8b96ad;

  --color-primary:       #3b5bfd;
  --color-primary-light: #5b78ff;
  --color-accent:        #06b6d4;
  --color-success:       #10b981;

  --gradient-brand: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 18px 48px rgba(16, 24, 40, 0.10);
  --shadow-glow: 0 8px 26px rgba(59, 91, 253, 0.28);

  --container: 1140px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Sıfırlama ------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

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

button, input {
  font: inherit;
  color: inherit;
}

/* --- Yardımcı sınıflar ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--transition);
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Arka plan dekoru ----------------------------------------------------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--color-bg);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.blob--1 {
  width: 520px; height: 520px;
  top: -220px; left: -140px;
  background: radial-gradient(circle, rgba(59, 91, 253, 0.20), transparent 70%);
  animation: float 18s ease-in-out infinite;
}

.blob--2 {
  width: 460px; height: 460px;
  top: 10%; right: -180px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.16), transparent 70%);
  animation: float 22s ease-in-out infinite reverse;
}

.blob--3 {
  width: 600px; height: 600px;
  bottom: -280px; left: 30%;
  background: radial-gradient(circle, rgba(91, 120, 255, 0.14), transparent 70%);
  animation: float 26s ease-in-out infinite;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 24, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 40, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.06); }
  66%      { transform: translate(-30px, 25px) scale(0.96); }
}

/* --- Üst başlık ----------------------------------------------------------- */
.site-header {
  padding-block: 28px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.site-header.is-scrolled { border-bottom-color: var(--color-border); }

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand:hover .brand-mark { transform: translateY(-2px) rotate(-4deg); }

.brand-text em {
  font-style: normal;
  color: var(--color-text-dim);
  font-weight: 600;
}

/* --- Orta alan ------------------------------------------------------------ */
main.container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  padding-block: 72px;
  text-align: center;
  max-width: 840px;
  margin-inline: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  margin-bottom: 30px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.1rem, 5.4vw, 3.7rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.1vw, 1.18rem);
  color: var(--color-text-muted);
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 40px;
  text-wrap: pretty;
}

/* --- İlerleme listesi ----------------------------------------------------- */
.progress-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 34px;
}

.progress-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-dim);
}

.progress-icon {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid var(--color-border-strong);
  transition: all var(--transition);
}

.progress-item.is-done { color: var(--color-text-muted); }
.progress-item.is-done .progress-icon {
  border-color: var(--color-success);
  background: var(--color-success);
}

.progress-item.is-active { color: var(--color-text); font-weight: 600; }
.progress-item.is-active .progress-icon {
  border-color: var(--color-primary);
  background: var(--color-primary);
  box-shadow: 0 0 0 0 rgba(59, 91, 253, 0.5);
  animation: pulse 2s infinite;
}

/* --- Alt bilgi ------------------------------------------------------------ */
.site-footer {
  padding-block: 34px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.footer-brand em { font-style: normal; color: var(--color-text-dim); font-weight: 600; }

.footer-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-copy {
  color: var(--color-text-dim);
  font-size: 0.85rem;
}

/* --- Footer: Scaefy iş ortağı logosu -------------------------------------- */
.footer-partner {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding-left: 24px;
  border-left: 1px solid var(--color-border);
  transition: opacity var(--transition);
}
.footer-partner:hover { opacity: 0.75; }

.footer-partner-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}
.footer-partner-label strong { font-weight: 700; }

.footer-logo {
  width: auto;
  height: 26px;
  object-fit: contain;
}

/* --- Duyarlılık ----------------------------------------------------------- */
@media (max-width: 860px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-partner {
    align-items: center;
    padding-left: 0;
    padding-top: 16px;
    border-left: 0;
    border-top: 1px solid var(--color-border);
    width: 100%;
  }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }

  .site-header { padding-block: 20px; }
  .hero { padding-block: 48px; }

  .brand { font-size: 1.08rem; }
  .brand-mark { width: 38px; height: 38px; }

  .progress-list { gap: 12px 22px; }
}

/* --- Hareket azaltma tercihi ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Yazdırma ------------------------------------------------------------- */
@media print {
  .bg-decor { display: none; }
  body { background: #fff; color: #000; }
}
