:root {
  --bg: #ffffff;
  --bg-alt: #faf8fc;
  --ink: #1c1a22;
  --ink-soft: #6b6675;
  --line: #e3ddec;
  --lilac-50: #f5effb;
  --lilac-200: #ddc9f0;
  --lilac-400: #b794e6;
  --violet: #7c3aed;
  --violet-deep: #4c1d8c;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

img, video { display: block; max-width: 100%; }

/* ============ HEADER ============ */
.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: #fff;
  font-size: 1.1rem;
  border-radius: 4px;
  font-family: var(--font-display);
}

.main-nav {
  display: flex;
  gap: 32px;
  font-size: 0.92rem;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--violet); }

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--violet);
  transition: width 0.25s ease;
}

.main-nav a:hover::after { width: 100%; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 0;
}

.hero-rule {
  height: 1px;
  background: var(--line);
  max-width: 1240px;
  margin: 0 auto;
}

.hero-rule-top { margin-top: 28px; }
.hero-rule-bottom { margin-top: 0; }

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  padding: 56px 32px 72px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text {
  position: relative;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 32px;
  margin: -32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.hero-title .domain {
  font-weight: 500;
  font-size: 0.42em;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.hero-sub {
  margin-top: 24px;
  max-width: 480px;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--violet);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  border-color: var(--violet);
  color: var(--violet);
}

/* Hero grid background */
.grid-anim {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  grid-template-rows: repeat(12, 1fr);
  gap: 3px;
  padding: 8px;
  z-index: 1;
}

.grid-anim span {
  background: var(--lilac-400);
  border-radius: 1px;
  opacity: 0.15;
  animation: pulseCell 5s ease-in-out infinite;
}

@keyframes pulseCell {
  0%, 100% { opacity: 0.08; transform: scale(0.8); }
  50% { opacity: 0.7; transform: scale(1); }
}

/* Hero media (symbol panel) */
.hero-media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(76, 29, 140, 0.35);
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--lilac-50), #ffffff);
}

.hero-media-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-symbol {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--lilac-400);
  opacity: 0.5;
}

.hero-symbol {
  font-size: 8rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.7;
  color: var(--violet);
}

.hero-symbol-2 {
  font-size: 4rem;
  top: 18%;
  left: 22%;
  transform: none;
  opacity: 0.4;
}

.hero-symbol-3 {
  font-size: 3.4rem;
  bottom: 16%;
  right: 14%;
  top: auto;
  left: auto;
  transform: none;
  opacity: 0.4;
}

/* ============ SECTIONS ============ */
.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 32px;
}

.section-alt {
  background: var(--bg-alt);
  max-width: 100%;
  padding: 96px 32px;
}

.section-alt .section-head,
.section-alt .research-list {
  max-width: 1176px;
  margin: 0 auto;
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--violet);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 14px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ============ ABOUT ============ */
.about {
  border-top: 1px solid var(--line);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
  box-shadow: 0 24px 60px -24px rgba(76, 29, 140, 0.25);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 14px;
}

.about-text p {
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.about-text p:first-of-type {
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 32px;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.footer-text {
  color: var(--ink-soft);
  max-width: 420px;
  margin: 0 auto 18px;
}

.footer-email {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--violet);
  border-bottom: 1px solid var(--lilac-400);
  padding-bottom: 2px;
}

.footer-copy {
  margin-top: 40px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-inner {
    padding: 40px 24px 56px;
  }

  .hero-title {
    white-space: normal;
  }

  .grid-anim {
    display: none;
  }

  .hero-media {
    aspect-ratio: 16/10;
  }

  .main-nav {
    display: none;
  }

  .section, .section-alt {
    padding: 64px 24px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .grid-anim span {
    animation: none;
    opacity: 0.2;
  }
  html { scroll-behavior: auto; }
}

/* ============ KEŞİF ALANLARI (EXPLORE) ============ */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.explore-card {
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.explore-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--lilac-50);
  border-bottom: 1px solid var(--line);
}

.explore-media img,
.explore-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.explore-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 24px 28px 12px;
  line-height: 1.3;
}

.explore-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin: 0 28px 28px;
}

@media (max-width: 900px) {
  .explore-grid {
    grid-template-columns: 1fr;
  }

  .explore-card h3,
  .explore-card p {
    margin-left: 24px;
    margin-right: 24px;
  }
}
