/* public/styles/global.css — Dark cinematic theme */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Serif+Display:ital@0;1&family=JetBrains+Mono:wght@300;400;600&family=Lato:wght@300;400;700&display=swap');

:root {
  --navy:   #0a0f1e;
  --deep:   #060b18;
  --steel:  #1a2540;
  --accent: #00c9a7;
  --gold:   #f0b429;
  --red:    #e63946;
  --light:  #e8eaf0;
  --muted:  #8892a4;
  --white:  #ffffff;
  --card:   rgba(26,37,64,0.7);
  --border: rgba(0,201,167,0.18);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--deep);
  color: var(--light);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* noise texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  background: rgba(6,11,24,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
}
.nav-brand span { color: var(--accent); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 4rem 4rem;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,201,167,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,201,167,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,201,167,0.12) 0%, transparent 70%);
  top: 10%; right: -100px;
  pointer-events: none;
}
.hero-glow2 {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240,180,41,0.07) 0%, transparent 70%);
  bottom: 20%; left: -50px;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--accent);
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 0.5rem;
}
h1 .line2 { color: var(--accent); }

.hero-subtitle {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--gold);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.hero-body {
  max-width: 600px;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero-stats { display: flex; gap: 3rem; margin-bottom: 3rem; flex-wrap: wrap; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: 0.2rem;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent); color: var(--deep); }
.btn-primary:hover { background: #00e8c0; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-outline:hover { background: rgba(0,201,167,0.1); transform: translateY(-2px); }

/* ── SECTIONS ── */
section {
  position: relative;
  z-index: 2;
  padding: 6rem 4rem;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before { content: '//'; opacity: 0.5; }

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 3rem;
  line-height: 1;
}
h2 em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  color: var(--accent);
}

/* ── VENTURES ── */
#ventures { background: var(--navy); }

.ventures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
}

.venture-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.venture-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.venture-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

/* card top accent gradients */
.gradient-gold::after   { background: linear-gradient(90deg, var(--gold), #ffd166); }
.gradient-teal::after   { background: linear-gradient(90deg, var(--accent), #00f5d4); }
.gradient-purple::after { background: linear-gradient(90deg, #a855f7, #7c3aed); }
.gradient-red::after    { background: linear-gradient(90deg, var(--red), #ff6b6b); }
.gradient-pink::after   { background: linear-gradient(90deg, #f472b6, #ec4899); }
.gradient-cyan::after   { background: linear-gradient(90deg, #22d3ee, #06b6d4); }
.gradient-blue::after   { background: linear-gradient(90deg, #60a5fa, #3b82f6); }
.gradient-steel::after  { background: linear-gradient(90deg, var(--muted), #6b7280); }

.venture-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 1rem;
  display: inline-block;
  background: rgba(0,201,167,0.12);
  color: var(--accent);
}

.venture-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.venture-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.venture-url:hover { opacity: 1; }
.venture-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.7; flex: 1; }

/* ── EXPERIENCE ── */
#experience { background: var(--deep); }

.timeline { max-width: 900px; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
  padding-left: 3rem;
  padding-bottom: 3.5rem;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px; top: 6px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.timeline-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.timeline-role {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.timeline-org { font-size: 0.85rem; color: var(--accent); margin-bottom: 1rem; font-weight: 400; }
.timeline-body { font-size: 0.9rem; color: var(--muted); line-height: 1.8; }

.achievement-list { list-style: none; margin-top: 1rem; }
.achievement-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  font-size: 0.875rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  line-height: 1.7;
}
.achievement-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.65rem;
  top: 0.65rem;
}
.achievement-list li strong { color: var(--light); font-weight: 700; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--muted);
}

/* ── DOMAINS ── */
#domains { background: var(--navy); }

.domains-intro {
  max-width: 650px;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  max-width: 1100px;
}

.domain-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: all 0.2s;
}
.domain-pill:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,201,167,0.05); }
.domain-pill::before { content: '◆'; font-size: 0.4rem; color: var(--accent); opacity: 0.6; }

/* ── SOCIAL ── */
#social { background: var(--deep); }

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
}

.social-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
}

.social-platform-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.social-handle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s;
}
.social-handle:last-child { border-bottom: none; }
.social-handle::before { content: '◆'; font-size: 0.4rem; opacity: 0.6; }

/* ── ABOUT ── */
#about { background: var(--deep); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  align-items: start;
}

.about-text p { font-size: 0.95rem; color: var(--muted); line-height: 1.9; margin-bottom: 1.2rem; }
.about-text p strong { color: var(--light); font-weight: 700; }
.about-text p em { color: var(--muted); font-style: italic; }

.clearances { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
.clearance-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.85rem;
}
.clearance-icon { font-size: 1.2rem; }
.clearance-label { color: var(--light); font-weight: 700; font-size: 0.8rem; }
.clearance-sub { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--muted); letter-spacing: 0.1em; }

.skills-panel h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.skill-category { margin-bottom: 2rem; }
.skill-cat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tag {
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  background: rgba(0,201,167,0.08);
  border: 1px solid rgba(0,201,167,0.2);
  border-radius: 2px;
  color: var(--light);
}

/* ── CONTACT ── */
#contact { background: var(--steel); text-align: center; }
.contact-inner { max-width: 600px; margin: 0 auto; }
.contact-inner p { font-size: 1rem; color: var(--muted); margin-bottom: 2.5rem; line-height: 1.8; }
.contact-links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 4rem;
  position: relative;
  z-index: 2;
}

/* ── FOOTER ── */
footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}
footer p { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--muted); letter-spacing: 0.1em; }
footer a { color: var(--accent); text-decoration: none; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp 0.7s ease forwards; }
.delay-1   { animation-delay: 0.1s;  opacity: 0; }
.delay-2   { animation-delay: 0.25s; opacity: 0; }
.delay-3   { animation-delay: 0.4s;  opacity: 0; }
.delay-4   { animation-delay: 0.55s; opacity: 0; }
.delay-5   { animation-delay: 0.7s;  opacity: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  section { padding: 4rem 1.5rem; }
  #hero { padding: 7rem 1.5rem 3rem; }
  .hero-stats { gap: 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  footer { flex-direction: column; gap: 0.5rem; padding: 1.5rem; }
  .divider { margin: 0 1.5rem; }
}
