/* ═══════════════════════════════════════════════
   UVA MENTOR — Landing Page
   Ultraviyole tema · Koyu zemin · Bol animasyon
   ═══════════════════════════════════════════════ */

:root {
  --bg: #07050f;
  --bg-soft: #0d0a1a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(167, 139, 250, 0.16);
  --border-hot: rgba(167, 139, 250, 0.45);
  --text: #ece9f7;
  --text-dim: #a39fb8;
  --violet: #7c3aed;
  --violet-soft: #a78bfa;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #fb7185;
  --grad: linear-gradient(120deg, #7c3aed, #a78bfa 45%, #22d3ee);
  --grad-2: linear-gradient(120deg, #22d3ee, #a78bfa 50%, #f472b6);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

::selection { background: rgba(124, 58, 237, 0.5); color: #fff; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(#7c3aed, #22d3ee); border-radius: 8px; }

/* ════════ PRELOADER ════════ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-logo { position: relative; display: grid; place-items: center; }
.preloader-ring {
  position: absolute; width: 110px; height: 110px; border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--violet-soft);
  border-right-color: var(--cyan);
  animation: spin 0.9s linear infinite;
}
.preloader-text {
  font-family: var(--font-display); font-size: 28px; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: pulse-soft 1.2s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-soft { 50% { opacity: 0.5; } }

/* ════════ CURSOR GLOW ════════ */
.cursor-glow {
  position: fixed; width: 500px; height: 500px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.10), transparent 65%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  left: 50vw; top: 30vh;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ════════ BACKGROUNDS ════════ */
#neuralCanvas {
  position: fixed; inset: 0; z-index: 0;
  width: 100vw; height: 100vh;
  opacity: 0.55;
}
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; filter: blur(90px); }
.orb { position: absolute; border-radius: 50%; opacity: 0.35; }
.orb-1 {
  width: 55vw; height: 55vw; background: #4c1d95;
  top: -20%; left: -12%;
  animation: drift1 26s ease-in-out infinite alternate;
}
.orb-2 {
  width: 40vw; height: 40vw; background: #0e7490;
  top: 30%; right: -15%;
  animation: drift2 32s ease-in-out infinite alternate;
}
.orb-3 {
  width: 35vw; height: 35vw; background: #9d174d;
  bottom: -18%; left: 25%;
  opacity: 0.22;
  animation: drift3 38s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(12vw, 14vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, -12vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-14vw, -8vh) scale(1.2); } }

/* layout layers above bg */
.nav, section, .marquee-wrap, .footer, .cta { position: relative; z-index: 2; }

/* ════════ TYPOGRAPHY HELPERS ════════ */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto;
  animation: grad-shift 5s ease-in-out infinite alternate;
}
.grad-text-2 {
  background: var(--grad-2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto;
  animation: grad-shift 5s ease-in-out infinite alternate;
}
@keyframes grad-shift { to { background-position: 100% center; } }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--violet-soft);
  padding: 6px 14px; border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 18px;
}

/* ════════ BUTTONS ════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 14px;
  text-decoration: none; color: var(--text);
  border: none; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  will-change: transform;
}
.btn-primary {
  background: var(--grad);
  background-size: 180% auto;
  color: #fff;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover {
  background-position: right center;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 44px rgba(124, 58, 237, 0.6);
}
.btn-outline {
  border: 1px solid var(--border-hot);
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: var(--surface-2); transform: translateY(-3px); border-color: var(--violet-soft); }
.btn-ghost { background: transparent; padding: 10px 16px; color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 17px 34px; font-size: 17px; border-radius: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-arrow { transition: transform 0.3s var(--ease); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(5px); }
.play-icon { font-size: 11px; color: var(--cyan); }

/* ════════ NAVBAR ════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: padding 0.4s var(--ease), background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(7, 5, 15, 0.72);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-mark { width: 36px; height: 36px; display: grid; place-items: center; }
.logo-mark svg { width: 100%; height: 100%; filter: drop-shadow(0 0 12px rgba(124,58,237,0.7)); }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: 0.02em; }
.logo-text em { font-style: normal; font-weight: 400; color: var(--text-dim); }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 14.5px; font-weight: 500;
  padding: 8px 14px; border-radius: 10px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════ HERO ════════ */
.hero {
  min-height: 100vh;
  padding: 150px 28px 60px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.hero-inner { max-width: 920px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 500; color: var(--text-dim);
  padding: 8px 18px; border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(8px);
  margin-bottom: 32px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  display: inline-block; position: relative; flex-shrink: 0;
}
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--green);
  animation: pulse-ring 1.6s var(--ease) infinite;
}
@keyframes pulse-ring { from { transform: scale(0.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word {
  display: inline-block;
  transform: translateY(110%); opacity: 0;
  animation: word-up 0.9s var(--ease) forwards;
}
.hero-title .line:nth-child(1) .word:nth-child(1) { animation-delay: 0.55s; }
.hero-title .line:nth-child(1) .word:nth-child(2) { animation-delay: 0.65s; }
.hero-title .line:nth-child(2) .word:nth-child(1) { animation-delay: 0.78s; }
.hero-title .line:nth-child(2) .word:nth-child(2) { animation-delay: 0.88s; }
.hero-title .line:nth-child(2) .word:nth-child(3) { animation-delay: 0.98s; }
@keyframes word-up { to { transform: translateY(0); opacity: 1; } }

.hero-sub {
  font-size: clamp(16px, 2vw, 19px); color: var(--text-dim);
  max-width: 640px; margin: 0 auto 26px;
}
.hero-sub strong { color: var(--text); }

.hero-typer {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 15px;
  padding: 10px 20px; border-radius: 12px;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.2);
  margin-bottom: 38px;
  min-height: 44px;
}
.typer-label { color: var(--text-dim); font-size: 13px; }
.typer { color: var(--cyan); font-weight: 600; }
.caret { width: 2px; height: 18px; background: var(--cyan); animation: blink 0.9s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 44px);
  flex-wrap: wrap;
}
.stat-num {
  font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 38px); font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 13px; color: var(--text-dim); }
.stat-divider { width: 1px; height: 42px; background: var(--border); }

/* ── Hero visual / dashboard ── */
.hero-visual { position: relative; margin-top: 84px; width: min(1060px, 94vw); perspective: 1400px; }
.dashboard {
  position: relative;
  background: rgba(13, 10, 26, 0.82);
  border: 1px solid var(--border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.03) inset;
  overflow: hidden;
  transform-style: preserve-3d;
}
.dash-glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 70%; height: 220px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124,58,237,0.35), transparent 70%);
  pointer-events: none;
}
.dash-header {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
}
.dash-dots { display: flex; gap: 7px; }
.dash-dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-2); }
.dash-dots span:nth-child(1) { background: #fb7185; }
.dash-dots span:nth-child(2) { background: #fbbf24; }
.dash-dots span:nth-child(3) { background: #34d399; }
.dash-title { font-size: 13px; color: var(--text-dim); flex: 1; text-align: left; }
.dash-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--green);
}
.dash-body {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px;
  padding: 22px; text-align: left;
}
.dash-col { display: flex; flex-direction: column; gap: 18px; }
.dash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}
.dash-card-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; margin-bottom: 16px;
}
.dc-icon { font-size: 16px; }

.skill-bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; margin-bottom: 12px; }
.skill-name { font-size: 12.5px; color: var(--text-dim); grid-column: 1 / -1; }
.bar { height: 7px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.bar-fill {
  height: 100%; width: 0; border-radius: 99px;
  transition: width 1.4s var(--ease);
}
.in-view .bar-fill { width: var(--w); }
.bf-1 { background: linear-gradient(90deg, #fb7185, #f472b6); }
.bf-2 { background: linear-gradient(90deg, #fbbf24, #fb923c); }
.bf-3 { background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.bf-4 { background: linear-gradient(90deg, #34d399, #22d3ee); }
.skill-pct { font-size: 12px; font-weight: 700; color: var(--text-dim); }

.rx-list { list-style: none; }
.rx-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 7px 0; color: var(--text); }
.rx-list .rx-check { color: var(--green); font-weight: 700; }
.rx-list .rx-pending { color: var(--text-dim); }
.rx-list .rx-pending .rx-check { color: var(--text-dim); }

.chart { width: 100%; height: 120px; }
.chart-line { stroke-dasharray: 600; stroke-dashoffset: 600; }
.in-view .chart-line { animation: draw-line 2.2s var(--ease) 0.3s forwards; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
.chart-area { opacity: 0; transition: opacity 1s ease 1.4s; }
.in-view .chart-area { opacity: 1; }
.chart-dot { animation: pulse-soft 1.5s ease-in-out infinite; }
.chart-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-dim); margin-top: 8px; }
.chart-up { color: var(--green); font-weight: 600; }

.room-avatars { display: flex; margin-bottom: 14px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff;
  border: 2px solid var(--bg-soft);
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
.a1 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.a2 { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.a3 { background: linear-gradient(135deg, #db2777, #f472b6); }
.a4 { background: linear-gradient(135deg, #d97706, #fbbf24); }
.avatar.more { background: var(--surface-2); color: var(--text-dim); font-size: 11px; }

.pomo { display: flex; align-items: center; gap: 14px; }
.pomo-ring {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 700;
  background:
    radial-gradient(closest-side, var(--bg-soft) 79%, transparent 80% 100%),
    conic-gradient(var(--cyan) 75%, rgba(255,255,255,0.08) 0);
}
.pomo-label { font-size: 12.5px; color: var(--text-dim); }

/* floating chips */
.float-chip {
  position: absolute;
  font-size: 13px; font-weight: 500;
  padding: 10px 16px; border-radius: 12px;
  background: rgba(13, 10, 26, 0.9);
  border: 1px solid var(--border-hot);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  animation: float 5s ease-in-out infinite;
  white-space: nowrap;
}
.float-chip b { color: var(--violet-soft); }
.chip-1 { top: -22px; left: -40px; animation-delay: 0s; }
.chip-2 { top: 30%; right: -54px; animation-delay: 1.4s; }
.chip-3 { bottom: -18px; left: 12%; animation-delay: 2.6s; }
.chip-4 { bottom: 8%; left: -30px; animation-delay: 0.8s; }
@keyframes float { 50% { transform: translateY(-14px); } }

.scroll-hint {
  margin-top: 64px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-dim); font-size: 12.5px;
  animation: float 3.5s ease-in-out infinite;
}
.mouse {
  width: 26px; height: 42px; border-radius: 14px;
  border: 1.5px solid var(--text-dim);
  display: flex; justify-content: center; padding-top: 7px;
}
.wheel { width: 3px; height: 8px; border-radius: 3px; background: var(--violet-soft); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 50% { transform: translateY(9px); opacity: 0.3; } }

/* ════════ MARQUEE ════════ */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(13, 10, 26, 0.6);
  backdrop-filter: blur(10px);
  transform: rotate(-1.2deg) scale(1.02);
  margin: 30px 0 10px;
}
.marquee { overflow: hidden; padding: 18px 0; }
.marquee-track {
  display: flex; align-items: center; gap: 38px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  letter-spacing: 0.16em; color: var(--text-dim);
  white-space: nowrap;
}
.marquee-track i { color: var(--violet-soft); font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ════════ SECTIONS ════════ */
.section { padding: 130px 0; }
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.045) 22%, rgba(124, 58, 237, 0.045) 78%, transparent);
}
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-sub { color: var(--text-dim); font-size: 17px; }
.section-sub b { color: var(--text); }

/* ════════ REVEAL ON SCROLL ════════ */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--rd, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ════════ BENTO ════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bento-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  transform-style: preserve-3d;
}
.bento-card:hover {
  border-color: var(--border-hot);
  box-shadow: 0 24px 70px rgba(124, 58, 237, 0.2);
}
.bento-lg { grid-row: span 2; }
.bento-wide { grid-column: span 2; }
.bento-bg-grad {
  position: absolute; top: -60%; right: -40%; width: 90%; height: 110%;
  border-radius: 50%; filter: blur(70px); opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}
.bento-card:hover .bento-bg-grad { opacity: 0.35; }
.bg-violet { background: #7c3aed; }
.bg-cyan { background: #0e7490; }
.bg-pink { background: #be185d; }
.bento-icon {
  font-size: 30px; width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  transition: transform 0.5s var(--ease);
}
.bento-card:hover .bento-icon { transform: scale(1.12) rotate(-6deg); }
.bento-card h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 10px; }
.bento-card p { color: var(--text-dim); font-size: 14.5px; }
.bento-card p b { color: var(--text); }
.bento-link {
  display: inline-block; margin-top: 16px;
  color: var(--violet-soft); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: transform 0.3s var(--ease);
}
.bento-link:hover { transform: translateX(5px); }

/* radar */
.bento-visual { margin-top: 26px; }
.radar {
  position: relative; width: 170px; height: 170px; margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background:
    radial-gradient(circle, transparent 39%, rgba(34,211,238,0.12) 40%, transparent 41%),
    radial-gradient(circle, transparent 69%, rgba(34,211,238,0.12) 70%, transparent 71%);
  overflow: hidden;
}
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(34, 211, 238, 0.45), transparent 22%);
  animation: spin 3.2s linear infinite;
}
.radar-blip {
  position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 14px var(--red);
  animation: blip 3.2s ease-in-out infinite;
}
.rb-1 { top: 26%; left: 58%; }
.rb-2 { top: 62%; left: 30%; animation-delay: 1.1s; }
.rb-3 { top: 44%; left: 74%; animation-delay: 2.1s; background: var(--amber); box-shadow: 0 0 14px var(--amber); }
@keyframes blip { 0%, 100% { opacity: 0.25; transform: scale(0.8); } 18% { opacity: 1; transform: scale(1.3); } }
.detect-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tag { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 99px; }
.tag-red { background: rgba(251, 113, 133, 0.12); color: var(--red); border: 1px solid rgba(251, 113, 133, 0.3); }
.tag-amber { background: rgba(251, 191, 36, 0.1); color: var(--amber); border: 1px solid rgba(251, 191, 36, 0.28); }
.tag-green { background: rgba(52, 211, 153, 0.1); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.28); }

/* schedule strip */
.schedule-strip { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.day {
  font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: 10px;
  background: var(--surface-2); color: var(--text-dim);
  border: 1px solid var(--border);
}
.day.done { color: var(--green); border-color: rgba(52, 211, 153, 0.3); }
.day.missed { color: var(--red); border-color: rgba(251, 113, 133, 0.3); text-decoration: line-through; }
.day.active {
  color: #fff; background: var(--grad); border: none;
  animation: pulse-soft 2s ease-in-out infinite;
}

/* ════════ SPLIT LAYOUT ════════ */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split-rev .split-text { order: 2; }
.split-rev .split-visual { order: 1; }
.split .section-title { font-size: clamp(30px, 3.8vw, 46px); }
.split-visual { position: relative; perspective: 1200px; }

.check-list { list-style: none; margin: 30px 0 34px; display: flex; flex-direction: column; gap: 20px; }
.check-list li { display: flex; gap: 16px; align-items: flex-start; }
.check {
  flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(52, 211, 153, 0.12); color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.3);
  font-weight: 700; font-size: 14px;
}
.check-list b { display: block; font-size: 15.5px; }
.check-list small { color: var(--text-dim); font-size: 13.5px; }

/* ── Reçete kâğıdı ── */
.rx-paper {
  background: linear-gradient(165deg, rgba(20, 15, 38, 0.95), rgba(13, 10, 26, 0.95));
  border: 1px solid var(--border-hot);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.55), 0 0 80px rgba(124, 58, 237, 0.12);
  transform-style: preserve-3d;
}
.rx-head { display: flex; align-items: center; gap: 16px; }
.rx-logo {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 26px; font-weight: 700; color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45);
}
.rx-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.06em; }
.rx-no { color: var(--violet-soft); }
.rx-meta { font-size: 12.5px; color: var(--text-dim); }
.rx-stamp {
  margin-left: auto;
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  color: var(--green); border: 2px solid var(--green);
  padding: 5px 11px; border-radius: 8px;
  transform: rotate(8deg);
  opacity: 0.85;
}
.rx-divider { height: 1px; background: var(--border); margin: 20px 0; }
.rx-section-label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.18em;
  color: var(--violet-soft);
}
.rx-diagnosis p {
  font-size: 14px; color: var(--text); margin-top: 7px;
  min-height: 44px;
  font-family: var(--font-display);
}
.rx-items { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; }
.rx-item {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateX(-22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), border-color 0.3s;
  transition-delay: calc(var(--d) * 0.18s + 0.4s);
}
.in-view .rx-item { opacity: 1; transform: translateX(0); }
.rx-item:hover { border-color: var(--border-hot); }
.rx-dose {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 9px;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  background: rgba(124, 58, 237, 0.18); color: var(--violet-soft);
}
.rx-item b { display: block; font-size: 13.5px; }
.rx-item small { color: var(--text-dim); font-size: 12px; }
.rx-item > div { flex: 1; }
.rx-freq {
  font-size: 11.5px; font-weight: 700; color: var(--cyan);
  background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 4px 10px; border-radius: 99px;
  white-space: nowrap;
}
.rx-footer { display: flex; justify-content: space-between; align-items: flex-end; }
.rx-sign svg { width: 110px; height: 28px; }
.sign-path { stroke-dasharray: 240; stroke-dashoffset: 240; }
.in-view .sign-path { animation: draw-line 1.6s var(--ease) 1.3s forwards; }
.rx-sign small { color: var(--text-dim); font-size: 11px; display: block; }
.rx-progress { display: flex; align-items: center; gap: 10px; text-align: right; }
.rx-progress small { color: var(--text-dim); font-size: 11.5px; line-height: 1.4; }
.rx-progress b { color: var(--cyan); font-size: 14px; }
.ring { width: 54px; height: 54px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring-bg { stroke: rgba(255, 255, 255, 0.08); }
.ring-fill {
  stroke: url(#lg2); stroke: var(--cyan);
  stroke-linecap: round;
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  transition: stroke-dashoffset 1.8s var(--ease) 1.2s;
}
.in-view .ring-fill { stroke-dashoffset: 50; }

/* ── Telefon mock ── */
.phone {
  width: min(360px, 88vw); margin: 0 auto;
  background: #0a0816;
  border: 1px solid var(--border-hot);
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 36px 100px rgba(0,0,0,0.6), 0 0 70px rgba(34, 211, 238, 0.1);
  position: relative;
  transform-style: preserve-3d;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 24px; border-radius: 0 0 16px 16px;
  background: #0a0816; z-index: 3;
}
.phone-screen {
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, #100c20, #0b0817);
  display: flex; flex-direction: column;
  height: 560px;
}
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 34px 18px 14px;
  border-bottom: 1px solid var(--border);
}
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 19px;
  background: var(--grad);
}
.chat-head b { font-size: 14.5px; display: block; }
.chat-head small { font-size: 11.5px; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.chat-body { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 11px; overflow: hidden; }
.msg {
  max-width: 85%;
  padding: 11px 14px; border-radius: 16px;
  font-size: 13px; line-height: 1.5;
}
.chat-step { opacity: 0; transform: translateY(16px) scale(0.96); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.chat-step.shown { opacity: 1; transform: none; }
.msg-user {
  align-self: flex-end;
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.msg-ai {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 5px;
}
.msg-math { font-family: var(--font-display); }
.msg-img {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.16); border-radius: 10px;
  padding: 8px 12px; margin-bottom: 7px; font-size: 12px;
}
.msg-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--cyan); background: rgba(34, 211, 238, 0.1);
  padding: 3px 9px; border-radius: 99px; margin-bottom: 7px;
}
.hl { color: var(--cyan); }
.msg-actions { display: flex; gap: 8px; margin-top: 10px; }
.msg-actions span {
  font-size: 11px; font-weight: 600;
  padding: 5px 11px; border-radius: 99px;
  background: rgba(124, 58, 237, 0.16); color: var(--violet-soft);
  cursor: pointer;
}
.msg-typing {
  align-self: flex-start;
  background: var(--surface-2); border: 1px solid var(--border);
  display: inline-flex; gap: 5px; padding: 13px 16px;
}
.msg-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--text-dim);
  animation: typing-dot 1.2s ease-in-out infinite;
}
.msg-typing span:nth-child(2) { animation-delay: 0.18s; }
.msg-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing-dot { 35% { transform: translateY(-6px); opacity: 1; } }
.chat-input {
  display: flex; align-items: center; gap: 10px;
  margin: 10px 12px 14px;
  padding: 11px 15px; border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 13px;
}
.chat-placeholder { flex: 1; color: var(--text-dim); }
.chat-send {
  width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center; font-size: 13px;
  background: var(--grad); color: #fff;
}

.mini-stats { display: flex; gap: 16px; margin: 28px 0 34px; flex-wrap: wrap; }
.mini-stat {
  padding: 16px 22px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.mini-stat:hover { transform: translateY(-5px); border-color: var(--border-hot); }
.mini-stat b {
  display: block; font-family: var(--font-display); font-size: 22px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mini-stat span { font-size: 12.5px; color: var(--text-dim); }

/* ════════ ODALAR ════════ */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.room-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: border-color 0.4s, box-shadow 0.5s var(--ease);
  transform-style: preserve-3d;
}
.room-card:hover { border-color: var(--border-hot); box-shadow: 0 24px 70px rgba(124, 58, 237, 0.18); }
.room-featured {
  background: linear-gradient(165deg, rgba(124, 58, 237, 0.14), rgba(34, 211, 238, 0.07));
  border-color: var(--border-hot);
}
.room-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  padding: 6px 14px; border-radius: 99px;
  background: var(--grad); color: #fff;
  box-shadow: 0 6px 22px rgba(124, 58, 237, 0.5);
  white-space: nowrap;
}
.room-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.room-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: var(--green);
}
.room-count { font-size: 13px; color: var(--text-dim); }
.room-count b { color: var(--text); }
.room-emoji { font-size: 38px; margin-bottom: 12px; }
.room-card h4 { font-family: var(--font-display); font-size: 19px; margin-bottom: 7px; }
.room-card > p { color: var(--text-dim); font-size: 13.5px; margin-bottom: 18px; flex: 1; }
.room-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.06); overflow: hidden; margin-bottom: 18px; }
.room-bar-fill {
  height: 100%; width: 0; border-radius: 99px;
  background: var(--grad);
  transition: width 1.4s var(--ease) 0.3s;
}
.in-view .room-bar-fill { width: var(--w); }
.btn-room {
  width: 100%; justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 13px;
  font-size: 14px;
}
.btn-room:hover { border-color: var(--violet-soft); transform: translateY(-2px); }
.btn-room-primary { background: var(--grad); border: none; box-shadow: 0 8px 26px rgba(124, 58, 237, 0.4); }

.room-ticker {
  margin-top: 40px;
  display: flex; align-items: center; gap: 16px;
  padding: 15px 24px; border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  max-width: 640px; margin-left: auto; margin-right: auto;
  overflow: hidden;
}
.ticker-label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; color: var(--green); white-space: nowrap; }
.ticker-msgs { position: relative; flex: 1; height: 22px; }
.ticker-msg {
  position: absolute; inset: 0;
  font-size: 13.5px; color: var(--text-dim);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ticker-msg.active { opacity: 1; transform: none; }
.ticker-msg b { color: var(--text); }

/* ════════ STEPS ════════ */
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  margin-top: 20px;
}
.step-line {
  position: absolute; top: 34px; left: 12%; right: 12%;
  height: 2px; background: rgba(255,255,255,0.07);
  border-radius: 2px;
}
.step-line-fill {
  height: 100%; width: 0;
  background: var(--grad);
  border-radius: 2px;
  transition: width 2s var(--ease);
}
.steps.in-view .step-line-fill { width: 100%; }
.step { text-align: center; padding: 0 14px; position: relative; }
.step-num {
  width: 68px; height: 68px; margin: 0 auto 22px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border-hot);
  color: var(--violet-soft);
  position: relative; z-index: 1;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.step:hover .step-num {
  transform: scale(1.12);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.4);
  background: var(--grad); color: #fff; border: none;
}
.step h4 { font-family: var(--font-display); font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 14px; }

/* ════════ VİZYON ════════ */
.vision {
  position: relative; z-index: 2;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
}
.vision-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(124, 58, 237, 0.14), transparent),
    repeating-linear-gradient(0deg, transparent 0 59px, rgba(167,139,250,0.05) 59px 60px),
    repeating-linear-gradient(90deg, transparent 0 59px, rgba(167,139,250,0.05) 59px 60px);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 75%);
}
.vision .container { position: relative; }
.vision-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 68px);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.02em;
  margin-bottom: 30px;
}
.vision-line {
  display: block;
  opacity: 0; transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.vision.in-view .vision-line { opacity: 1; transform: none; }
.vision.in-view .vision-line:nth-child(2) { transition-delay: 0.2s; }
.vision-title s { color: var(--text-dim); opacity: 0.55; font-weight: 500; }
.vision-title em { font-style: normal; }
.vision-text {
  max-width: 700px; margin: 0 auto 64px;
  font-size: 17.5px; color: var(--text-dim);
}
.vision-text b { color: var(--text); }
.vision-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 940px; margin: 0 auto; }
.pillar {
  padding: 30px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.pillar:hover { transform: translateY(-8px); border-color: var(--border-hot); }
.pillar-icon { font-size: 30px; display: block; margin-bottom: 14px; }
.pillar b { font-family: var(--font-display); font-size: 17px; display: block; margin-bottom: 8px; }
.pillar p { font-size: 13.5px; color: var(--text-dim); }

/* ════════ TESTIMONIALS ════════ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color 0.4s, box-shadow 0.5s var(--ease);
  transform-style: preserve-3d;
}
.testi:hover { border-color: var(--border-hot); box-shadow: 0 24px 70px rgba(124, 58, 237, 0.16); }
.testi-stars { color: var(--amber); letter-spacing: 4px; font-size: 15px; }
.testi p { color: var(--text); font-size: 14.5px; flex: 1; }
.testi-user { display: flex; align-items: center; gap: 13px; }
.testi-user .avatar { margin: 0; width: 42px; height: 42px; font-size: 15px; }
.testi-user b { display: block; font-size: 14.5px; }
.testi-user small { color: var(--text-dim); font-size: 12.5px; }

/* ════════ CTA ════════ */
.cta { padding: 60px 28px 130px; }
.cta-card {
  position: relative;
  max-width: 880px; margin: 0 auto;
  padding: clamp(44px, 7vw, 80px);
  border-radius: 32px;
  background: linear-gradient(165deg, rgba(124, 58, 237, 0.16), rgba(13, 10, 26, 0.9) 55%);
  border: 1px solid var(--border-hot);
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 480px; height: 280px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.5), transparent 70%);
  animation: pulse-soft 4s ease-in-out infinite;
}
.cta-grid-bg {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(167,139,250,0.06) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(167,139,250,0.06) 39px 40px);
  mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 75%);
}
.cta-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 16px;
}
.cta-card > p { position: relative; color: var(--text-dim); max-width: 480px; margin: 0 auto 34px; }
.cta-form {
  position: relative;
  display: flex; gap: 12px; justify-content: center;
  max-width: 520px; margin: 0 auto 26px;
}
.cta-form input {
  flex: 1; min-width: 0;
  padding: 16px 22px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text); font-size: 15px; font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.cta-form input::placeholder { color: var(--text-dim); }
.cta-form input:focus { border-color: var(--violet-soft); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15); }
.cta-trust {
  position: relative;
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  font-size: 13px; color: var(--text-dim);
}

/* ════════ FOOTER ════════ */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(7, 5, 15, 0.8);
  backdrop-filter: blur(14px);
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  padding-top: 70px; padding-bottom: 50px;
}
.footer-brand p { color: var(--text-dim); font-size: 14px; margin-top: 18px; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col b { font-family: var(--font-display); font-size: 15px; margin-bottom: 6px; }
.footer-col a { color: var(--text-dim); text-decoration: none; font-size: 14px; transition: color 0.25s, transform 0.25s var(--ease); }
.footer-col a:hover { color: var(--violet-soft); transform: translateX(4px); }
.footer-bottom {
  max-width: 1240px; margin: 0 auto; padding: 22px 28px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: var(--text-dim);
}

/* ════════ RESPONSIVE ════════ */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-lg { grid-row: auto; }
  .bento-wide { grid-column: span 2; }
  .rooms, .testi-grid, .vision-pillars { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .room-card { margin-top: 10px; }
  .split { grid-template-columns: 1fr; }
  .split-rev .split-text { order: 1; }
  .split-rev .split-visual { order: 2; }
  .dash-body { grid-template-columns: 1fr; }
  .float-chip { display: none; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .hamburger { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 16px; right: 16px;
    padding: 18px;
    background: rgba(13, 10, 26, 0.97);
    border: 1px solid var(--border);
    border-radius: 18px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    animation: menu-in 0.35s var(--ease);
  }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
  .section { padding: 90px 0; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .step-line { display: none; }
  .hero { padding-top: 130px; }
  .hero-stats { gap: 18px; }
  .stat-divider { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; }
  .cta-form { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .marquee-wrap { transform: rotate(0) scale(1); }
}

/* ════════ REDUCED MOTION ════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .chat-step, .rx-item, .vision-line { opacity: 1; transform: none; }
}
