/* ═══════════ RESET & TOKENS ═══════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #f0f2f8;
  --bg-alt:     #ffffff;
  --bg-card:    #ffffff;
  --bg-card-h:  #f4f5fb;

  /* Purple/violet palette */
  --violet:       #5048d4;
  --violet-mid:   #6c63ff;
  --violet-light: #9c7bea;
  --cyan:         #5b52d9;
  --cyan-light:   #a78bfa;
  --fuchsia:      #7c6ef5;

  --gv:   rgba(108,99,255,.18);
  --gc:   rgba(91,82,217,.12);
  --gf:   rgba(156,123,234,.14);

  --grad:      linear-gradient(135deg, #6c63ff 0%, #9c7bea 100%);
  --grad-cool: linear-gradient(135deg, #5b52d9 0%, #5048d4 100%);
  --grad-text: linear-gradient(135deg, #6c63ff 0%, #9c7bea 55%, #5b52d9 100%);

  --text:       #1a1d2e;
  --text-soft:  #4a5080;
  --text-muted: #9197b3;

  --border:     rgba(108,99,255,.1);
  --border-mid: rgba(108,99,255,.18);
  --border-h:   rgba(108,99,255,.32);

  --shadow-sm: 0 2px 12px rgba(108,99,255,.06);
  --shadow:    0 4px 24px rgba(108,99,255,.09);
  --shadow-lg: 0 12px 48px rgba(108,99,255,.13);

  --radius:    14px;
  --radius-lg: 22px;
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--violet-light); text-decoration: none; transition: opacity .15s; }
a:hover { opacity: .75; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ═══════════ TYPOGRAPHY ═══════════ */
h1,h2,h3 { font-family: var(--font-head); letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem,5.5vw,3.9rem); font-weight: 800; line-height: 1.08; }
h2 { font-size: clamp(1.8rem,3.5vw,2.5rem); font-weight: 700; line-height: 1.15; }
h3 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--text-soft); }

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

/* ═══════════ HERO CANVAS ═══════════ */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ═══════════ ANIMATIONS ═══════════ */
@keyframes float {
  0%,100% { transform: translateY(0) rotate(-.3deg); }
  50%      { transform: translateY(-18px) rotate(.3deg); }
}
@keyframes badge-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.7); }
}
@keyframes orb-drift-1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%  { transform: translate(50px,-30px) scale(1.1); }
  66%  { transform: translate(-30px,40px) scale(.92); }
}
@keyframes orb-drift-2 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%  { transform: translate(-60px,25px) scale(.9); }
  66%  { transform: translate(40px,-45px) scale(1.08); }
}
@keyframes scrollBounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50%      { transform: rotate(45deg) translateY(5px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer-border {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ═══════════ BUTTONS ═══════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: #fff !important;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--gv), 0 0 0 1px rgba(108,99,255,.2);
  opacity: 1;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--violet-mid) !important;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid var(--border-mid);
  background: transparent;
  transition: all .25s;
}
.btn-outline:hover {
  background: rgba(108,99,255,.05);
  border-color: var(--violet-light);
  box-shadow: 0 4px 20px var(--gv);
  opacity: 1;
}

.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: .83rem; }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: all .3s;
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(252,252,252,.0);
  backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition: all .3s;
}
.nav::before {
  background: rgba(252,252,252,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav.scrolled::before {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--text);
  white-space: nowrap;
  transition: opacity .2s;
}
.logo-accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo:hover { opacity: .8; }

.nav-links {
  display: flex;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: var(--text-soft) !important;
  font-size: .9rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all .15s;
}
.nav-links a:hover { color: var(--text) !important; background: rgba(108,99,255,.06); opacity: 1; }
.nav.scrolled .nav-links a { color: var(--text-soft) !important; }
.nav.scrolled .nav-links a:hover { color: var(--text) !important; background: rgba(108,99,255,.06); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-login {
  color: var(--text-soft) !important;
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-mid);
  transition: all .15s;
}
.btn-login:hover {
  color: var(--text) !important;
  border-color: var(--violet-light);
  background: rgba(108,99,255,.05);
  opacity: 1;
}
.btn-nav { padding: 9px 18px; font-size: .88rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-soft);
  border-radius: 2px;
  transition: all .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(145deg, #f9f7f7 0%, #f5f2f2 45%, #f2eeee 100%);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.18) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.orb1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(108,99,255,.14) 0%, transparent 70%);
  top: -200px; left: -100px;
  animation: orb-drift-1 20s ease-in-out infinite;
}
.orb2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(108,99,255,.11) 0%, transparent 70%);
  bottom: -100px; right: -80px;
  animation: orb-drift-2 25s ease-in-out infinite;
}
.orb3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(108,99,255,.09) 0%, transparent 70%);
  top: 35%; left: 38%;
  animation: orb-drift-1 17s ease-in-out infinite reverse;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,.08);
  border: 1px solid rgba(108,99,255,.2);
  color: var(--violet-mid);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--violet-light);
  border-radius: 50%;
  animation: badge-pulse 2s ease-in-out infinite;
}

.hero-title { color: var(--text); margin-bottom: 22px; }

.hero-desc {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.78;
  max-width: 500px;
  margin-bottom: 36px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-stat span {
  font-size: .7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 4px;
  display: block;
}
.hero-stat-div { width: 1px; height: 32px; background: var(--border); }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

/* ─── 3D Flip container ─── */
.hero-flip-wrap {
  width: 100%;
  display: grid;
  transform-style: preserve-3d;
  transition: transform 0.68s cubic-bezier(0.42, 0, 0.12, 1.25);
}
.hero-flip-wrap.flipped {
  transform: rotateY(180deg);
}
/* Görünmeyen yüzler tıklamayı geçirsin */
.hero-flip-back                           { pointer-events: none; }
.hero-flip-wrap.flipped .hero-flip-back   { pointer-events: auto; }
.hero-flip-wrap.flipped .hero-flip-front  { pointer-events: none; }

.hero-flip-front,
.hero-flip-back {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  min-width: 0;
  height: 100%;
}
.hero-flip-back {
  transform: rotateY(180deg);
  perspective: 800px;
  height: 100%;
}
.hero-inner-flip {
  width: 100%;
  height: 100%;
  display: grid;
  transform-style: preserve-3d;
  transition: transform 0.62s cubic-bezier(0.42, 0, 0.12, 1.25);
}
.hero-inner-flip.flipped {
  transform: rotateY(180deg);
}

/* Görünmeyen iç yüzler tıklamayı geçirsin */
.hero-inner-back                                { pointer-events: none; }
.hero-inner-flip.flipped .hero-inner-back       { pointer-events: auto; }
.hero-inner-flip.flipped .hero-inner-front      { pointer-events: none; }

.hero-inner-front,
.hero-inner-back {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  min-width: 0;
  height: 100%;
}
.hero-inner-back {
  transform: rotateY(180deg);
}

/* ─── Mini flip: giriş ↔ şifremi unuttum ─── */
.hero-inner-front {
  perspective: 800px;
}
.hero-lc-flip {
  width: 100%;
  height: 100%;
  display: grid;
  transform-style: preserve-3d;
  transition: transform 0.52s cubic-bezier(0.42, 0, 0.12, 1.25);
}
.hero-lc-flip.flipped {
  transform: rotateY(180deg);
}

/* Görünmeyen mini flip yüzü tıklamayı geçirsin */
.hero-lc-face-back                             { pointer-events: none; }
.hero-lc-flip.flipped .hero-lc-face-back       { pointer-events: auto; }
.hero-lc-flip.flipped .hero-lc-face-front      { pointer-events: none; }

.hero-lc-face {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  min-width: 0;
  height: 100%;
}
.hero-lc-face-back {
  transform: rotateY(180deg);
}

/* ─── Login card (hero back face) ─── */
.hero-login-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 28px 32px 32px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow-y: auto;
  box-shadow:
    0 0 0 1px rgba(108,99,255,.18),
    0 8px 40px rgba(108,99,255,.18),
    0 30px 60px rgba(0,0,0,.3);
}
.hero-login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(135deg, #6c63ff 0%, #9c7bea 100%);
  border-radius: 20px 20px 0 0;
}
.hero-flip-front { cursor: pointer; }
.hero-lc-title {
  font-family: var(--head);
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a1d2e;
  margin: 4px 0 4px;
  line-height: 1.2;
}
.hero-lc-sub {
  font-size: .84rem;
  color: #4a5080;
  margin-bottom: 18px;
}
.hero-lc-msg {
  padding: 10px 13px;
  border-radius: 8px;
  font-size: .83rem;
  margin-bottom: 13px;
}
.hero-lc-msg.error {
  background: rgba(220,38,38,.06);
  border: 1px solid rgba(220,38,38,.18);
  color: #dc2626;
}
.hero-lc-msg.ok {
  background: rgba(22,163,74,.06);
  border: 1px solid rgba(22,163,74,.2);
  color: #16a34a;
}
.hero-lc-msg.warn {
  background: rgba(217,119,6,.08);
  border: 1px solid rgba(217,119,6,.22);
  color: #b45309;
}
.hero-lc-field {
  display: flex; flex-direction: column; gap: 5px;
  margin-bottom: 12px;
}
.hero-lc-field label {
  font-size: .74rem; font-weight: 600;
  color: #4a5080; letter-spacing: .03em;
}
.hero-lc-field input {
  padding: 10px 12px;
  background: #f8fafb;
  border: 1.5px solid rgba(108,99,255,.13);
  border-radius: 9px;
  font-size: .9rem;
  font-family: var(--font);
  color: #1a1d2e;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  -webkit-appearance: none;
}
.hero-lc-field input:focus {
  border-color: #9c7bea;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(108,99,255,.12);
}
.hero-lc-pass-wrap { position: relative; }
.hero-lc-pass-wrap input { width: 100%; padding-right: 40px; }
.hero-lc-eye {
  position: absolute; right: 9px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: #9197b3; padding: 3px; display: flex;
  transition: color .15s;
}
.hero-lc-eye:hover { color: #4a5080; }
.hero-lc-eye svg { width: 15px; height: 15px; }
.hero-lc-forgot-row {
  display: flex; justify-content: flex-end;
  margin: -4px 0 16px;
}
.hero-lc-link {
  font-size: .78rem; color: #9c7bea;
  text-decoration: none; font-weight: 500;
  font-family: var(--font);
  background: none; border: none; padding: 0; cursor: pointer;
  transition: color .15s;
}
.hero-lc-link:hover { color: #5048d4; text-decoration: underline; }
.hero-lc-submit {
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, #6c63ff 0%, #9c7bea 100%);
  border: none; border-radius: 10px;
  font-size: .92rem; font-weight: 600;
  font-family: var(--font); color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  transition: opacity .2s, transform .2s, box-shadow .2s;
}
.hero-lc-submit:hover:not(:disabled) {
  opacity: .88; transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(108,99,255,.32);
}
.hero-lc-submit:disabled { opacity: .55; cursor: not-allowed; }
.hlc-spin {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .65s linear infinite;
  display: inline-block; flex-shrink: 0;
}
.hero-otp-wrap {
  display: flex; gap: 8px; justify-content: center;
  margin: 4px 0 20px;
}
.hero-otp-box {
  width: 42px; height: 50px;
  border: 1.5px solid rgba(108,99,255,.2);
  border-radius: 10px;
  background: #f8fafb;
  font-size: 1.35rem; font-weight: 700;
  font-family: var(--font); color: #1a1d2e;
  text-align: center;
  outline: none; caret-color: transparent;
  transition: border-color .15s, box-shadow .15s, background .15s;
  -webkit-appearance: none;
}
.hero-otp-box:focus {
  border-color: #9c7bea;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(108,99,255,.14);
}
.hero-otp-box.filled {
  border-color: rgba(108,99,255,.45);
  background: #fff;
}
.hero-lc-back-btn {
  display: block; width: 100%; margin-top: 10px;
  background: none; border: none; cursor: pointer;
  font-size: .82rem; color: #9197b3;
  font-family: var(--font); padding: 6px;
  text-align: center; transition: color .15s;
}
.hero-lc-back-btn:hover { color: #6c63ff; }

.hero-logo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* Logo görseli kare; kart ondan uzun olduğunda üst/alt boşluk SİYAH kalsın
     (görselin kenarları saf siyah → kusursuz birleşir, beyaz çizgi olmaz) */
  background: #000;
  animation: none;
  transform-origin: center center;
  will-change: transform;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow:
    0 0 0 1px rgba(108,99,255,.22),
    0 0 60px rgba(108,99,255,.28),
    0 0 120px rgba(108,99,255,.12),
    0 30px 60px rgba(0,0,0,.5);
}
.hero-logo-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(108,99,255,.65), rgba(108,99,255,.45), rgba(108,99,255,.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-logo-card img { width: 100%; display: block; border-radius: var(--radius-lg); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  z-index: 1;
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
  animation: scrollBounce 1.6s ease-in-out infinite;
}

/* ═══════════ SECTIONS (LIGHT) ═══════════ */
.section     { padding: 100px 0; background: var(--bg); }
.section-alt { padding: 100px 0; background: var(--bg-alt); }

/* Section transition — top wave from dark hero */
.section:first-of-type::before {
  content: '';
  display: block;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p  { font-size: 1.02rem; }
.section-header a  { color: var(--violet-mid); font-weight: 600; }

.section-tag {
  display: inline-block;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: .74rem;
  font-weight: 700;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 14px;
}

/* ═══════════ FEATURES ═══════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(108,99,255,.1);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all .3s;
  box-shadow: var(--shadow-sm);
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108,99,255,.18);
}
.feature-card:hover::after { opacity: 1; }

.feature-card h3 { color: var(--text); margin: 16px 0 8px; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 22px; height: 22px; }

.fi-blue   { background: rgba(108,99,255,.12); color: var(--violet-mid); }
.fi-purple { background: #fce7f3; color: #be185d; }
.fi-green  { background: #d1fae5; color: #059669; }
.fi-orange { background: #fef3c7; color: #d97706; }
.fi-teal   { background: #cffafe; color: #0e7490; }
.fi-red    { background: #ffe4e6; color: #e11d48; }

/* ═══════════ STEPS ═══════════ */
.steps-wrapper {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid rgba(108,99,255,.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.step::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .3s;
  border-radius: 3px 0 0 3px;
}
.step:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-color: rgba(108,99,255,.2);
}
.step:hover::after { opacity: 1; }

.step-number {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .2;
  text-align: center;
  transition: opacity .3s;
  line-height: 1;
}
.step:hover .step-number { opacity: .6; }

.step-content h3 { color: var(--text); margin-bottom: 6px; }

.step-icon {
  width: 52px; height: 52px;
  background: rgba(108,99,255,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--violet-mid);
  transition: all .3s;
}
.step-icon svg { width: 22px; height: 22px; }
.step:hover .step-icon { background: var(--grad); color: #fff; box-shadow: 0 4px 16px var(--gv); }

/* ═══════════ BAŞVURU ═══════════ */
.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.form-left h2 { margin-bottom: 14px; }
.form-left p  { margin-bottom: 28px; }

.form-perks { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.form-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-soft);
}
.perk-dot {
  width: 8px; height: 8px;
  background: var(--grad);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--gv);
}

.form-contact { border-top: 1px solid rgba(108,99,255,.1); padding-top: 24px; }
.form-contact p { font-size: .82rem; margin-bottom: 8px; color: var(--text-muted); }
.form-contact a { display: block; font-weight: 600; color: var(--text) !important; font-size: .93rem; margin-bottom: 4px; }

.basvuru-form {
  background: var(--bg-card);
  border: 1px solid rgba(108,99,255,.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
}
.basvuru-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }

.form-group label { font-size: .82rem; font-weight: 600; color: var(--text-soft); letter-spacing: .02em; }
.req { color: var(--fuchsia); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid rgba(108,99,255,.12);
  border-radius: 10px;
  font-size: .92rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--violet-light);
  box-shadow: 0 0 0 3px rgba(108,99,255,.08);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 80px; }

.form-msg {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.form-msg.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.form-msg.error   { background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; }

.btn-submit { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; border-radius: 12px; margin-bottom: 14px; }

.form-privacy { text-align: center; font-size: .75rem; color: var(--text-muted); }

.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}

/* ═══════════ SSS ═══════════ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  border: 1px solid rgba(108,99,255,.1);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.faq-item.open {
  border-color: rgba(108,99,255,.25);
  box-shadow: var(--shadow);
}

.faq-q {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  text-align: left;
  gap: 16px;
  transition: color .15s;
}
.faq-q:hover { color: var(--violet-mid); }
.faq-item.open .faq-q { color: var(--violet-mid); }

.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color .2s;
}
.faq-item.open .faq-icon { color: var(--violet-mid); }
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%,-50%);
  transition: transform .25s;
}
.faq-icon { position: relative; }
.faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.open .faq-icon::after { transform: translate(-50%,-50%) rotate(0); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }
.faq-a p { padding: 0 24px; font-size: .92rem; line-height: 1.75; }

/* ═══════════ İLETİŞİM ═══════════ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: stretch;
}
.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon {
  width: 44px; height: 44px;
  background: rgba(108,99,255,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--violet-mid);
}
.ci-icon svg { width: 18px; height: 18px; }
.contact-item strong {
  display: block;
  font-size: .73rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.contact-item p  { font-size: .9rem; }
.contact-item a  { color: var(--text-soft) !important; font-size: .9rem; }
.contact-item a:hover { color: var(--violet-mid) !important; opacity: 1; }

.contact-map { min-height: 400px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 400px; display: block; border-radius: var(--radius); }

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: #f0f2f8;
  border-top: 1px solid rgba(108,99,255,.14);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}
.footer-logo-text {
  color: var(--text) !important;
  margin-bottom: 16px;
  display: block;
  font-size: 1rem;
}
.footer-logo-text .logo-accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand > p { font-size: .88rem; color: var(--text-soft); margin-bottom: 8px; }
.footer-dev-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(108,99,255,.14);
}
.footer-dev-logo { height: 26px; width: auto; flex-shrink: 0; border-radius: 6px; padding: 3px 6px; }
.footer-dev-row span { font-size: .82rem; color: var(--text-soft); }
.footer-dev-row strong { color: var(--text); }

.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col strong {
  color: var(--violet-mid);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.footer-col a, .footer-col span {
  color: var(--text-soft) !important;
  font-size: .87rem;
  transition: color .15s;
}
.footer-col a:hover { color: var(--violet-mid) !important; opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(108,99,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

/* ═══════════ REVEAL ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Section enter direction variants */
.reveal-left  { transform: translateX(-36px) translateY(0); }
.reveal-right { transform: translateX(36px)  translateY(0); }
.reveal-left.visible,
.reveal-right.visible { transform: translateX(0) translateY(0); }

/* Stagger transitions on section headers */
.section-header .section-tag { transition-delay: .05s; }
.section-header h2            { transition-delay: .15s; }
.section-header p             { transition-delay: .25s; }

/* Feature cards stagger */
.features-grid .feature-card:nth-child(1) { transition-delay: .05s; }
.features-grid .feature-card:nth-child(2) { transition-delay: .12s; }
.features-grid .feature-card:nth-child(3) { transition-delay: .19s; }
.features-grid .feature-card:nth-child(4) { transition-delay: .26s; }
.features-grid .feature-card:nth-child(5) { transition-delay: .33s; }
.features-grid .feature-card:nth-child(6) { transition-delay: .40s; }

/* Step stagger */
.steps-wrapper .step:nth-child(1) { transition-delay: .05s; }
.steps-wrapper .step:nth-child(2) { transition-delay: .14s; }
.steps-wrapper .step:nth-child(3) { transition-delay: .23s; }
.steps-wrapper .step:nth-child(4) { transition-delay: .32s; }

/* Gradient section divider */
.section-alt::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
  margin-bottom: 0;
}

/* Scroll-progress shimmer bar on body top */
#scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--grad);
  z-index: 200;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
  pointer-events: none;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(252,252,252,.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(108,99,255,.1);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text-soft) !important; }
  .nav-links a:hover { color: var(--text) !important; }
  .btn-nav { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 100px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  /* Mobilde de hero kartı görünür: "Giriş Yap"da masaüstündeki gibi dönsün.
     order:-1 → kart hero metninin ÜSTÜNDE (yukarıda) kalsın (yalnız mobil). */
  .hero-visual { display: flex; order: -1; margin-bottom: 8px; }
  .hero-flip-wrap { max-width: 340px; margin: 0 auto; }
  .hero-login-card { padding: 22px 22px 26px; }
  .features-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 56px 1fr; gap: 16px; }
  .step-icon { display: none; }
  .form-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .basvuru-form { padding: 24px; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .contact-map { display: block; min-height: 300px; }
  .contact-map iframe { min-height: 300px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
  .footer-bottom { flex-direction: column; gap: 4px; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline { text-align: center; justify-content: center; }
  .section, .section-alt { padding: 64px 0; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ── Aktif nav linki (bulunulan sayfa) ───────────────────────────── */
.nav-links a.is-active { color: var(--violet-mid) !important; background: rgba(108,99,255,.07); }
.nav.scrolled .nav-links a.is-active { color: var(--violet-mid) !important; background: rgba(108,99,255,.07); }

/* ── Hibrit: anasayfa özet bölümlerinin "Detaylar →" linki ───────── */
.section-more { text-align: center; margin-top: 44px; }

/* Bağımsız sayfalarda (Ürün/Nasıl Çalışır/SSS/İletişim/İndir) sabit nav üst boşluğu */
.section.page-top { padding-top: 140px; }
@media (max-width: 768px) {
  .section.page-top { padding-top: 108px; }
}
