:root {
  --bg: #0c1f31;
  --bg-2: #0a1827;
  --gold: #d9a85c;
  --gold-soft: #e8cf9f;
  --teal: #5fb9c6;
  --text: #e9eef2;
  --muted: #9fb2c1;
  --line: rgba(217, 168, 92, .22);
  --card: rgba(255, 255, 255, .04);
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  background: radial-gradient(120% 90% at 50% 0%, #11304a 0%, var(--bg) 45%, var(--bg-2) 100%);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.aura {
  position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 30% at 50% 22%, rgba(63, 208, 224, .10), transparent 70%),
    radial-gradient(30% 24% at 20% 80%, rgba(217, 168, 92, .06), transparent 70%);
  animation: aura 9s ease-in-out infinite alternate;
}

.stage {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 7vh 16px 40px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

/* ---------- Logo ---------- */
.logo {
  width: min(92vw, 560px);
  height: auto;
  overflow: visible;
}

.wave line {
  vector-effect: non-scaling-stroke;
  stroke-width: 2.2;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
  animation:
    rise 1.1s cubic-bezier(.2, .8, .2, 1) backwards,
    breathe var(--d, 3.2s) ease-in-out var(--delay, 1.2s) infinite alternate;
}
.wave-l line { stroke: #d9a85c; }
.wave-r line { stroke: #5fb9c6; }

.geo path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: draw 2.2s cubic-bezier(.4, 0, .2, 1) backwards;
}
.geo path:nth-child(2n)  { animation-delay: .15s; }
.geo path:nth-child(3n)  { animation-delay: .3s; }
.geo path:nth-child(4n)  { animation-delay: .45s; }

.glow {
  transform-box: fill-box;
  transform-origin: center;
  animation: fade 1.6s ease-out backwards .4s, glow 5.5s ease-in-out 2s infinite;
}
.core {
  animation: fade 1.2s ease-out backwards .9s, twinkle 5.5s ease-in-out 2s infinite;
}

@keyframes rise    { from { transform: scaleY(0); opacity: 0; } }
@keyframes breathe { from { transform: scaleY(.55); } to { transform: scaleY(1.08); } }
@keyframes draw    { from { stroke-dashoffset: 1; } }
@keyframes fade    { from { opacity: 0; } }
@keyframes glow    { 0%, 100% { transform: scale(.82); opacity: .75; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes twinkle { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
@keyframes aura    { to { opacity: .55; transform: scale(1.04); } }

/* ---------- Metin ---------- */
.wordmark {
  margin: 4px 0 0;
  font-size: clamp(1.1rem, 4.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: .5em;
  padding-left: .5em;
  color: var(--gold-soft);
  animation: fade 1.4s ease-out backwards 1s;
}

.soon {
  margin: 18px 0 0;
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  font-weight: 300;
  letter-spacing: .02em;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: fade 1.4s ease-out backwards 1.2s;
}

.lead {
  margin: 6px 0 0;
  max-width: 28em;
  color: var(--muted);
  font-size: 1.05rem;
  animation: fade 1.4s ease-out backwards 1.4s;
}

.hints {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  animation: fade 1.4s ease-out backwards 1.6s;
}
.hints li {
  padding: 4px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-soft);
}

/* ---------- Form ---------- */
.card {
  width: 100%;
  margin-top: 48px;
  padding: 28px 24px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  text-align: left;
  animation: fade 1.4s ease-out backwards 1.8s;
}
.card h2 { margin: 0; font-size: 1.35rem; font-weight: 500; }
.card .sub { margin: 4px 0 20px; color: var(--muted); font-size: .95rem; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }

label { display: block; margin-bottom: 14px; }
label > span { display: block; margin-bottom: 6px; font-size: .85rem; color: var(--gold-soft); }
label em { font-style: normal; color: var(--muted); }

input, textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: rgba(8, 20, 33, .6);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(95, 185, 198, .2);
}
.count { display: block; margin-top: 4px; text-align: right; color: var(--muted); font-size: .75rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.legal { margin: 0 0 16px; color: var(--muted); font-size: .8rem; }

button {
  width: 100%;
  padding: 13px 20px;
  font: inherit; font-weight: 500; font-size: 1rem; letter-spacing: .06em;
  color: #0c1f31;
  background: linear-gradient(90deg, var(--gold), #e3c383 50%, var(--teal));
  border: 0; border-radius: 12px; cursor: pointer;
  transition: transform .15s, filter .2s, opacity .2s;
}
button:hover { filter: brightness(1.08); }
button:active { transform: translateY(1px); }
button:disabled { opacity: .55; cursor: default; }
button:focus-visible { outline: 3px solid rgba(95, 185, 198, .5); outline-offset: 2px; }

.status { min-height: 1.5em; margin: 12px 0 0; text-align: center; font-size: .92rem; }
.status.ok  { color: #8fe3b2; }
.status.err { color: #ff9a9a; }
.status.info{ color: var(--gold-soft); }

footer { margin-top: 36px; color: var(--muted); font-size: .8rem; opacity: .7; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
