/* =====================================================================
   Ward Clips — ziyaretçi sayfası ("Aurora" tema)
   Yazı tipleri: Inter Tight (başlıklar), Inter (metin)
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }

@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
    --accent: #ff2e88;
    --orange: #ff8a3d;
    --violet: #7c3aed;
    --cyan: #22d3ee;
    --bg: #07060c;
    --panel: rgba(17, 14, 27, .78);
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --text: #f6f4fb;
    --muted: #a39cb5;
    --error: #ff6b81;
    --radius: 20px;
    --grad: linear-gradient(100deg, var(--accent) 0%, var(--orange) 100%);
    --grad-text: linear-gradient(95deg, #ffd6a5 0%, var(--orange) 30%, var(--accent) 62%, #c084fc 100%);
    --display: "Inter Tight", "Inter", system-ui, sans-serif;
    --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    margin: 0; min-height: 100vh;
    font-family: var(--body); font-size: 15.5px; line-height: 1.55;
    color: var(--text); background: var(--bg);
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
    display: flex; flex-direction: column;
}
a { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Arka plan: hareketli renk bulutları + nokta ızgara + film greni ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; contain: strict; transform: translateZ(0); }
.backdrop video, .backdrop .bg-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; opacity: calc(1 - var(--overlay)); }
.aurora { position: absolute; inset: -20%; opacity: .55; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; filter: blur(60px) saturate(130%); will-change: transform; animation: float 22s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 52vmax; height: 52vmax; left: -6%; top: -10%; background: radial-gradient(circle, var(--accent), transparent 65%); }
.aurora span:nth-child(2) { width: 46vmax; height: 46vmax; right: -8%; top: 4%; background: radial-gradient(circle, var(--violet), transparent 65%); animation-duration: 28s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 40vmax; height: 40vmax; left: 30%; bottom: -18%; background: radial-gradient(circle, var(--orange), transparent 65%); animation-duration: 34s; animation-delay: -12s; opacity: .7; }
@keyframes float {
    50% { transform: translate(6vmax, 4vmax) scale(1.08); }
    to { transform: translate(-4vmax, 8vmax) scale(.94); }
}
.dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.2px);
    background-size: 26px 26px;
    -webkit-mask: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
    mask: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
}
.grain {
    position: absolute; inset: -50%; opacity: .07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    will-change: transform;
    animation: grain 1.2s steps(6) infinite;
}
/* Kaydırırken arka plan animasyonları durur: sayfa akıcı kayar */
.is-scrolling .aurora span, .is-scrolling .grain, .is-scrolling .card::before, .is-scrolling .card::after { animation-play-state: paused; }
@keyframes grain { 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -2%); } 80% { transform: translate(3%, 3%); } }

/* ---------- Üst bar ---------- */
.topbar {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; gap: 20px;
    padding: 14px clamp(16px, 4vw, 48px);
    transition: background .3s, border-color .3s;
    border-bottom: 1px solid transparent;
}
.topbar.scrolled { background: rgba(7, 6, 12, .9); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; min-width: 0; margin-right: auto; }
.brand-logo { width: 38px; height: 38px; object-fit: contain; transition: transform .4s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a {
    width: 36px; height: 36px; display: grid; place-items: center;
    border-radius: 10px; color: var(--text); text-decoration: none; font-size: .98rem;
    background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
    transition: transform .25s var(--ease), background .25s, border-color .25s;
}
.social a:hover, .social a:focus-visible { background: #fff; color: #0b0912; transform: translateY(-2px); outline: none; }
.social img { width: 18px; height: 18px; object-fit: contain; }

/* ---------- Sahne: form en üstte ---------- */
.stage { flex: 1; padding: clamp(18px, 4vw, 48px) clamp(16px, 4vw, 48px) 64px; }
.stage-grid {
    max-width: 1240px; margin: 0 auto;
    display: grid; gap: 28px clamp(28px, 5vw, 72px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    grid-template-areas: "head form" "rest form";
    align-items: start;
}
.head { grid-area: head; padding-top: clamp(0px, 3vw, 36px); }
.submit { grid-area: form; }
.rest { grid-area: rest; }
@media (min-width: 981px) { .submit { position: sticky; top: 84px; } }

.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-weight: 600; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #ddd6ea;
    padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
    background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2);
    opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease) .05s, transform .7s var(--ease) .05s;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: pulse 1.8s infinite; }
.eyebrow.is-closed .dot { background: var(--error); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

.hero-title {
    margin: 0 0 18px;
    font-family: var(--display); font-weight: 800;
    font-size: clamp(2.3rem, 4.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.035em;
}
.hero-title .line { display: block; }
.hero-title .w { display: inline-block; overflow: hidden; padding: .08em .03em .12em; margin: -.08em -.03em -.12em; vertical-align: bottom; }
body.settled .hero-title .w { overflow: visible; }
.hero-title .w > span {
    display: inline-block; transform: translateY(105%); opacity: 0;
    transition: transform .95s var(--ease), opacity .7s ease;
    transition-delay: calc(var(--i) * 60ms + 150ms);
}
.hero-title .line-accent .w > span {
    background: var(--grad-text); background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.hero-sub { margin: 0; max-width: 520px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.12rem); }

.hero-sub, .submit, .rest { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 60ms + 260ms); }
body:not(.is-loading) .eyebrow,
body:not(.is-loading) .hero-sub,
body:not(.is-loading) .submit,
body:not(.is-loading) .rest { opacity: 1; transform: none; }
body:not(.is-loading) .hero-title .w > span { transform: none; opacity: 1; }

/* ---------- İstatistikler ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; margin: 6px 0 34px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); max-width: 560px; }
.stat { background: rgba(10, 8, 18, .75); padding: 18px 18px 16px; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 7px; color: var(--muted); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Son video ---------- */
.latest { max-width: 640px; }
.latest-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: #e9e4f3; }
.more { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .88rem; transition: color .2s; }
.more:hover { color: #fff; }
.more .fa-youtube { color: #ff3040; }

.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.yt::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .12), transparent 45%); opacity: 0; transition: opacity .3s; }
.yt:hover::after { opacity: 1; }
.yt.playing::after { display: none; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-poster { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.yt-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease), filter .4s; }
.yt-poster:hover img { transform: scale(1.04); filter: brightness(.8); }
.yt-play {
    position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px;
    display: grid; place-items: center; border-radius: 50%; font-size: 1.3rem;
    background: rgba(255, 255, 255, .92); color: #0b0912; box-shadow: 0 10px 34px rgba(0, 0, 0, .45);
    transition: transform .35s var(--ease), background .3s, color .3s;
}
.yt-play i { margin-left: 4px; }
.yt-play::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); animation: ring 2.2s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.yt-poster:hover .yt-play { transform: scale(1.08); background: var(--accent); color: #fff; }
.yt-poster:focus-visible .yt-play { outline: 3px solid var(--cyan); outline-offset: 4px; }
.yt-title { display: block; margin-top: 14px; text-decoration: none; font-weight: 700; font-size: 1rem; color: #ece7f5; transition: color .2s; }
.yt-title:hover { color: #fff; }
.yt-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; color: var(--muted); font-size: .85rem; }

/* ---------- Form kartı: dönen ışıklı kenar ---------- */
.card { position: relative; border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); background: rgba(17, 14, 27, .9); border: 1px solid var(--line-2); }
.form-card { box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .02); isolation: isolate; }
.form-card::before {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1;
    background: conic-gradient(from var(--angle), transparent 0 55%, var(--accent) 70%, var(--orange) 80%, transparent 92%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: spin 6s linear infinite;
}
.form-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 46, 136, .08), transparent 45%); }
@keyframes spin { to { --angle: 360deg; } }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.card-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.55rem); letter-spacing: -.02em; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; color: #ffd7e8; background: rgba(255, 46, 136, .12); border: 1px solid rgba(255, 46, 136, .3); }
.chip i { color: var(--orange); }
.intro { color: var(--muted); margin: 4px 0 20px; font-size: .94rem; }

/* ---------- Form ---------- */
form { margin: 0; position: relative; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.row-2 > [hidden] { display: none; }
.row-2:has(> [hidden]) { grid-template-columns: 1fr; }
.field { margin-bottom: 18px; }
.field[hidden] { display: none; }
.field-label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: #e8e3f1; }
.req { color: var(--accent); }

input[type=text], input[type=url], input[type=email], input[type=number], select, textarea {
    width: 100%; font: 500 .98rem var(--body); color: var(--text);
    background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2); border-radius: 12px;
    padding: 12px 14px; min-height: 48px;
    transition: border-color .2s, background .2s, box-shadow .2s;
    -webkit-appearance: none; appearance: none;
}
select {
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
    background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
select option { color: #111; }
textarea { resize: vertical; min-height: 96px; }
input:hover, select:hover, textarea:hover { border-color: rgba(255, 255, 255, .24); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 4px rgba(255, 46, 136, .15); }
::placeholder { color: #6f6884; }

.help { margin-top: 6px; color: var(--muted); font-size: .82rem; }
.error { color: var(--error); font-size: .85rem; margin-top: 6px; font-weight: 600; }
.error:empty { display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.choices { display: grid; gap: 8px; }
.choice { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.choice input { width: 19px; height: 19px; accent-color: var(--accent); }

.repeat { display: grid; gap: 10px; }
.repeat-row { display: flex; gap: 10px; align-items: center; animation: rowin .35s var(--ease); }
@keyframes rowin { from { opacity: 0; transform: translateY(-6px); } }
.repeat-row input { flex: 1; min-width: 0; }
.btn-add, .btn-remove {
    flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-2);
    font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--text); background: rgba(255, 255, 255, .04);
    transition: transform .25s var(--ease), background .2s, border-color .2s;
}
.btn-add { background: var(--grad); border-color: transparent; color: #fff; font-weight: 700; box-shadow: 0 8px 20px rgba(255, 46, 136, .3); }
.btn-add:hover { transform: rotate(90deg); }
.btn-add[disabled] { opacity: .35; cursor: not-allowed; transform: none; }
.btn-remove:hover { border-color: var(--error); color: var(--error); }

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

.btn-primary, .btn-ghost {
    font: 700 1rem var(--body); cursor: pointer; border-radius: 12px; padding: 14px 24px; min-height: 52px;
    border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .25s, background .2s, border-color .2s;
}
.btn-primary { color: #fff; background: var(--grad); box-shadow: 0 12px 30px rgba(255, 46, 136, .32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255, 110, 70, .42); }
.btn-primary:active { transform: translateY(0); }
.btn-primary[disabled] { opacity: .7; cursor: progress; }
.btn-send { position: relative; overflow: hidden; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-send::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.btn-send:hover::after { left: 130%; }
.btn-send i { transition: transform .35s var(--ease); }
.btn-send:hover i { transform: translate(4px, -4px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: #fff; }

.form-error { color: var(--error); margin: 0 0 12px; font-weight: 600; }
.form-error:empty { display: none; }
.terms { color: var(--muted); font-size: .78rem; margin: 14px 0 0; text-align: center; }
.notice { padding: 18px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--muted); text-align: center; }

/* ---------- Alt bilgi ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px clamp(16px, 4vw, 48px); background: rgba(7, 6, 12, .6); }
.footer-inner { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.footer .brand { margin-right: 0; }
.footer .brand-logo { width: 28px; height: 28px; }
.footer .brand-name { font-size: .85rem; }
.footer .social { margin-left: auto; }
.footer .copy { color: var(--muted); font-size: .84rem; }

/* ---------- Teşekkür kutusu ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(4, 3, 8, .75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .25s ease; }
.modal[hidden] { display: none; }
.modal-box { width: 100%; max-width: 440px; text-align: center; border-radius: 22px; padding: 36px 26px 26px; background: #120f1c; border: 1px solid var(--line-2); box-shadow: 0 30px 90px rgba(0, 0, 0, .6), 0 0 60px rgba(255, 46, 136, .18); animation: pop .45s var(--ease); }
.modal-icon { font-size: 3.2rem; line-height: 1; color: #34d399; animation: popicon .6s var(--ease) .1s both; }
@keyframes popicon { from { transform: scale(0) rotate(-40deg); } }
.modal-box h3 { margin: 14px 0 8px; font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; }
.modal-box p { color: #cfc8dc; margin: 0 0 22px; white-space: pre-line; }
.modal-actions { display: grid; gap: 10px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: translateY(20px) scale(.95); opacity: 0; } }

/* ---------- Sade tema (renk bulutları yok) ---------- */
.theme-dark .aurora { opacity: .18; }

/* ---------- Tablet / telefon ---------- */
@media (max-width: 980px) {
    .stage-grid { grid-template-columns: 1fr; grid-template-areas: "head" "form" "rest"; }
    .head { padding-top: 0; text-align: center; }
    .hero-sub { margin: 0 auto; }
    .stats, .latest { margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
    .topbar { padding: 12px 14px; }
    .topbar .social { display: none; }
    .brand-logo { width: 32px; height: 32px; }
    .hero-title { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
    .eyebrow { margin-bottom: 14px; }
    .row-2 { grid-template-columns: 1fr; }
    .footer .social { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hero-title .w > span, .eyebrow, .hero-sub, .submit, .rest { opacity: 1 !important; transform: none !important; }
    .backdrop video { display: none; }
}
