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

:root {
  --accent:    #FF4D00;
  --accent2:   #FFB800;
  --bg:        #0D0D0D;
  --bg2:       #141414;
  --bg3:       #1C1C1C;
  --text:      #F0EDE8;
  --muted:     #8A8580;
  --border:    #2A2A2A;
  --radius:    12px;
  --max-w:     1100px;
  --font:      'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

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

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

.nav-logo {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
}

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

nav ul a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav ul a:hover { color: var(--text); }

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

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

#hero h1 {
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 1.6rem;
}

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

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

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

/* ── Buttons ──────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: #e04300;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  letter-spacing: 0.02em;
  transition: border-color 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ── Hero Blob ────────────────────────────────── */
.hero-blob {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255,77,0,0.18) 0%, rgba(255,184,0,0.06) 60%, transparent 80%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

/* ── Section base ─────────────────────────────── */
section {
  padding: 7rem 2rem;
}

section:nth-child(even) { background: var(--bg2); }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255,77,0,0.1);
  border-radius: 6px;
  border: 1px solid rgba(255,77,0,0.2);
}

section h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 3rem;
}

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

.about-text {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: var(--bg3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.service-item:hover { border-color: var(--accent); }

.service-icon {
  font-size: 1.6rem;
  line-height: 1;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.service-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.service-item p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Experience ───────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.45rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2), transparent);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 0 0 3rem 2rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -0.55rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 3px rgba(255,77,0,0.25);
}

.timeline-edu .timeline-dot {
  background: var(--accent2);
  box-shadow: 0 0 0 3px rgba(255,184,0,0.2);
}

.timeline-content {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.15s;
}

.timeline-content:hover {
  border-color: rgba(255,77,0,0.4);
  transform: translateX(4px);
}

.timeline-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.timeline-header strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.timeline-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,77,0,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
}

.timeline-content p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Contact ──────────────────────────────────── */
.contact-inner {
  text-align: center;
}

.contact-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────── */
footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--bg);
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
  nav ul { gap: 1.5rem; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  #hero h1 { letter-spacing: -0.03em; }

  .timeline { padding-left: 1.5rem; }
}

@media (max-width: 480px) {
  nav { padding: 1rem 1.25rem; }
  nav ul { gap: 1rem; }
  nav ul a { font-size: 0.78rem; }

  section { padding: 5rem 1.25rem; }

  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
}
