
:root {
  --bg: #080c10;
  --bg2: #0d1117;
  --bg3: #111820;
  --accent: #00e5a0;
  --accent2: #00b8ff;
  --text: #e2e8f0;
  --muted: #64748b;
  --border: rgba(0, 229, 160, 0.15);
  --border2: rgba(255, 255, 255, 0.07);
  --card: rgba(255, 255, 255, 0.03);
  --font-mono: 'Space Mono', monospace;
  --font-display: 'Syne', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.07) 2px, rgba(0, 0, 0, 0.07) 4px);
  pointer-events: none;
  z-index: 0;
}

section, nav, footer, .focus-strip {
  position: relative;
  z-index: 1;
}

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

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-tag::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 0.5rem;
}

.hero-name .accent {
  color: var(--accent);
}

/* NEW: updated subtitle pills */
.hero-subtitle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.hero-subtitle .pill {
  font-size: 0.75rem;
  color: #8899aa;
}

.hero-subtitle .sep {
  color: #1e2d3d;
  font-size: 0.75rem;
}

.hero-title-typed {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
  min-height: 1.5em;
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 1.1em;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-bio {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.9;
  max-width: 480px;
  margin-bottom: 2.5rem;
  border-left: 2px solid var(--border);
  padding-left: 1.2rem;
}

.hero-bio strong {
  color: var(--accent);
  font-weight: 400;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  border-radius: 3px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #080c10;
  font-weight: 700;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

/* Terminal */
.terminal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.82rem;
}

.terminal-bar {
  background: #151c24;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-r {
  background: #ff5f57;
}

.dot-y {
  background: #febc2e;
}

.dot-g {
  background: #28c840;
}

.terminal-title {
  flex: 1;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
}

.terminal-body {
  padding: 1.5rem;
  color: #8b9eb5;
  line-height: 2;
}

.t-prompt {
  color: var(--accent);
}

.t-cmd {
  color: var(--text);
}

.t-key {
  color: #00b8ff;
}

.t-val {
  color: #e4a472;
}

.t-str {
  color: #98d982;
}

/* ── FOCUS STRIP (NEW) ── */
.focus-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
}

.focus-card {
  padding: 2.8rem 4rem;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}

.focus-card:last-child {
  border-right: none;
}

.focus-card:hover {
  background: rgba(0, 229, 160, 0.02);
}

.focus-label {
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.focus-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.focus-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ── SECTIONS SHARED ── */
.section {
  padding: 6rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.section-num {
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  opacity: 0.7;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text p {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 2;
  margin-bottom: 1.2rem;
}

.about-text p strong {
  color: var(--accent);
  font-weight: 400;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.2rem;
  transition: border-color 0.2s;
}

.stat-card:hover {
  border-color: rgba(0, 229, 160, 0.4);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── SKILLS ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.skill-group {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.skill-group:hover {
  border-color: rgba(0, 229, 160, 0.35);
  transform: translateY(-3px);
}

.skill-group-icon {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.skill-group-title {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(0, 229, 160, 0.07);
  border: 1px solid rgba(0, 229, 160, 0.2);
  color: #a8c5b5;
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
}

/* ── PROJECTS ── */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.2s;
}

.project-card:hover {
  border-color: rgba(0, 229, 160, 0.3);
  transform: translateY(-4px);
}

.project-card:hover::before {
  opacity: 1;
}

.project-num {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.project-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tag {
  background: rgba(0, 184, 255, 0.07);
  border: 1px solid rgba(0, 184, 255, 0.2);
  color: #7ab8d4;
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
}

/* ── EXPERIENCE (NEW) ── */
.exp-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.exp-list {
  display: flex;
  flex-direction: column;
}

.exp-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border2);
}

.exp-item:last-child {
  border-bottom: none;
}

.exp-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
  margin-bottom: 0.6rem;
}

.exp-badge-r {
  background: rgba(0, 229, 160, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 229, 160, 0.2);
}

.exp-badge-e {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border: 1px solid var(--border2);
}

.exp-role {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.exp-desc {
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.85;
}

/* ── CONTACT ── */
.contact-bg {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 6rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-headline {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.contact-headline .accent {
  color: var(--accent);
}

.contact-sub {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.82rem;
  transition: all 0.2s;
}

.contact-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(6px);
}

.contact-link-icon {
  width: 36px;
  height: 36px;
  background: rgba(0, 229, 160, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-link-text {
  flex: 1;
}

.contact-link-label {
  font-size: 0.7rem;
  color: var(--muted);
  display: block;
}

.contact-link-arrow {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ── FOOTER ── */
footer {
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

/* ── HERO BACKGROUND ── */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 229, 160, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 160, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  z-index: 0;
}

.hero-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* ── FADE ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav {
    padding: 1rem 2rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  #hero {
    padding: 7rem 2rem 3rem;
  }

  .hero-grid, .about-grid, .contact-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-right {
    display: none;
  }

  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 2rem;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-card {
    padding: 2rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .exp-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  footer {
    padding: 1.5rem 2rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .contact-inner {
    padding: 4rem 2rem;
  }
}

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

  .nav-links {
    display: none;
  }

  .hero-name {
    font-size: 2.4rem;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 700px;
  margin: auto;
  background: #111;
  color: white;
  padding: 20px;
  border-radius: 14px;
  font-family: Arial, sans-serif;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-buttons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.cookie-buttons button {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.accept {
  background: #4CAF50;
  color: white;
}

.reject {
  background: #555;
  color: white;
}

a {
  color: #8ab4ff;
}
