/* ═══════════════════════════════════════════════
   muhammedgoktug.com — Ana Stylesheet
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&family=Instrument+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

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

:root {
  --bg:       #06080d;
  --surface:  #0d1018;
  --card:     #111520;
  --border:   rgba(255,255,255,0.06);
  --bh:       rgba(99,179,237,0.28);
  --text:     #e8edf5;
  --muted:    rgba(232,237,245,0.42);
  --accent:   #63b3ed;
  --accent2:  #90cdf4;
  --green:    #68d391;
  --font-display: 'Syne', sans-serif;
  --font-body:    'Instrument Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
}

/* ── CURSOR ── */
#cur {
  position: fixed; width: 7px; height: 7px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
}
#cur-r {
  position: fixed; width: 32px; height: 32px;
  border: 1px solid rgba(99,179,237,.4); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, border-color .2s, background .2s;
}
#cur-r.h { width: 52px; height: 52px; border-color: var(--accent); background: rgba(99,179,237,.05); }

/* ── NOISE OVERLAY ── */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9990;
}

/* ── PAGE TRANSITION OVERLAY ── */
#overlay {
  position: fixed; inset: 0;
  background: var(--accent); z-index: 8000;
  transform: scaleY(0); transform-origin: bottom;
  pointer-events: none;
}
#overlay.enter { animation: ovIn .4s cubic-bezier(.76,0,.24,1) forwards; }
#overlay.exit  { animation: ovOut .4s cubic-bezier(.76,0,.24,1) forwards; }

@keyframes ovIn  { to { transform: scaleY(1); } }
@keyframes ovOut { from { transform: scaleY(1); transform-origin: top; } to { transform: scaleY(0); transform-origin: top; } }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 64px;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s;
}
nav.sc {
  background: rgba(6,8,13,.92);
  backdrop-filter: blur(24px);
  border-color: var(--border);
}
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: none;
}
.logo-mark {
  width: 132px;
  height: 132px;
  display: block;
}

.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  position: relative;
  color: var(--muted); text-decoration: none;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 16px; transition: color .25s; cursor: none;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 16px; right: 16px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transition: transform .3s ease;
}
.nav-links a:hover        { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active       { color: var(--accent); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1px solid rgba(104,211,145,.3);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--green);
}
.dot-g {
  width: 6px; height: 6px; background: var(--green); border-radius: 50%;
  animation: gp 2s ease-in-out infinite;
}
@keyframes gp {
  0%, 100% { box-shadow: 0 0 0 0 rgba(104,211,145,.4); }
  50%       { box-shadow: 0 0 0 5px transparent; }
}

/* ── FOOTER ── */
footer {
  padding: 28px 64px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.flogo { font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.flogo span { color: var(--accent); }
.fcopy { font-size: 12px; color: var(--muted); }
.flinks { display: flex; gap: 24px; }
.flinks a {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .25s; cursor: none;
}
.flinks a:hover { color: var(--accent); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; font-family: var(--font-body);
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: none; transition: all .3s; border: none;
}
.btn-fill  { background: var(--accent); color: #06080d; font-weight: 500; }
.btn-fill:hover  { background: var(--accent2); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--border); color: var(--muted); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── SECTION HEADER ── */
.sh   { display: flex; align-items: center; gap: 20px; margin-bottom: 64px; }
.sl   { width: 40px; height: 1px; background: var(--accent); }
.slb  { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.sn   { margin-left: auto; font-family: var(--font-display); font-size: 72px; font-weight: 800; color: rgba(255,255,255,.028); line-height: 1; }

/* ── MARQUEE ── */
.mq-wrap {
  overflow: hidden; padding: 15px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(13,16,24,.7);
}
.mq { display: flex; gap: 60px; animation: mqA 24s linear infinite; white-space: nowrap; }
.mq-item { display: flex; align-items: center; gap: 18px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.mq-item strong { color: var(--accent); font-weight: 500; }
.mq-dot { width: 4px; height: 4px; background: rgba(255,255,255,.1); border-radius: 50%; }
@keyframes mqA { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── AMBIENT ORBS ── */
.orb  { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.orb1 { width: 650px; height: 650px; background: radial-gradient(circle, rgba(99,179,237,.11) 0%, transparent 70%); top: -180px; right: -80px; animation: o1 14s ease-in-out infinite alternate; }
.orb2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(104,211,145,.07) 0%, transparent 70%); bottom: -80px; left: -80px; animation: o2 18s ease-in-out infinite alternate; }
@keyframes o1 { to { transform: translate(-50px,70px) scale(1.1); } }
@keyframes o2 { to { transform: translate(35px,-40px) scale(.92); } }

/* ── DOT GRID ── */
.dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 44px 44px; pointer-events: none;
}

/* ── PAGE HERO (shared across inner pages) ── */
.ph {
  padding: 160px 64px 80px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.ph-inner { position: relative; z-index: 2; max-width: 800px; }
.ph-eye   { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; opacity: 0; animation: fu .7s .1s forwards; }
.ph-eyeline { width: 36px; height: 1px; background: var(--accent); }
.ph-eye span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.ph-title { font-family: var(--font-display); font-size: clamp(44px,7vw,96px); font-weight: 800; line-height: .95; letter-spacing: -.03em; opacity: 0; animation: fu .85s .2s forwards; }
.ph-title em { font-style: italic; color: var(--accent); font-family: var(--font-body); font-weight: 300; }
.ph-sub { max-width: 480px; font-size: 17px; line-height: 1.85; color: var(--muted); margin-top: 32px; opacity: 0; animation: fu .85s .35s forwards; }

/* ── CTA STRIP ── */
.cta-s {
  padding: 72px 64px; background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-s h2 { font-family: var(--font-display); font-size: clamp(22px,3vw,38px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.cta-s p  { font-size: 16px; color: var(--muted); }

/* ── REVEAL ANIMATION ── */
.rv { opacity: 0; transform: translateY(32px); transition: opacity .75s ease, transform .75s ease; }
.rv.v { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* ── KEYFRAMES ── */
@keyframes fu { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ── FORM SHARED ── */
.fg  { display: flex; flex-direction: column; gap: 7px; }
.fl  { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.fi, .fta {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body); font-size: 15px; font-weight: 300;
  padding: 13px 16px; outline: none; transition: border-color .25s; cursor: none; width: 100%;
}
.fi:focus, .fta:focus { border-color: var(--accent); }
.fta { resize: vertical; min-height: 130px; }
.fi::placeholder, .fta::placeholder { color: rgba(232,237,245,.18); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 20px 24px; }
  .nav-links, .nav-badge { display: none; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
  .ph, .cta-s { padding-left: 24px; padding-right: 24px; }
  .cta-s { flex-direction: column; text-align: center; }
}
