*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
:root {
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #161616;
  --surface: #1c1c1c;
  --border: #2a2a2a;
  --accent: #96f7a4;
  --accent2: #5ee8f0;
  --text: #f0f0f0;
  --muted: #888;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}
 
html { scroll-behavior: smooth; }
 
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
 
/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
 
/* ── SELECTION ── */
::selection { background: var(--accent); color: #000; }
 
/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
nav.scrolled { border-color: var(--border); }
 
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -.02em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
 
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
 
.nav-cta {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #000;
  background: var(--accent);
  padding: .55rem 1.4rem;
  border-radius: 3px;
  text-decoration: none;
  transition: opacity .2s;
}
.nav-cta:hover { opacity: .85; }
 
/* ── HERO ── */
#home {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 0 4rem;
  position: relative;
  overflow: hidden;
}
 
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  padding-top: 5rem;
}
 
.hero-label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-label::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--accent);
}
 
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
}
.hero-title .line2 { color: var(--accent); }
 
.hero-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}
 
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
 
.btn-primary {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #000;
  background: var(--accent);
  padding: .85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(150,247,164,.25);
}
 
.btn-outline {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  padding: .85rem 2rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
 
/* ── HERO RIGHT / CARDS ── */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end;
}
 
.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  position: relative;
}
.profile-card-top {
  background: linear-gradient(135deg, #1a2e1b 0%, #0d1e1f 100%);
  height: 120px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.profile-card-body { padding: 1.5rem; }
.profile-card-body h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .25rem;
}
.profile-card-body p {
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 1.2rem;
}
.badge-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.badge {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 100px;
  background: rgba(150,247,164,.1);
  color: var(--accent);
  border: 1px solid rgba(150,247,164,.2);
}
.badge.teal {
  background: rgba(94,232,240,.1);
  color: var(--accent2);
  border-color: rgba(94,232,240,.2);
}
 
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 340px;
}
.stat-cell {
  background: var(--surface);
  padding: 1.2rem;
  text-align: center;
}
.stat-cell .num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-cell .lbl {
  font-size: .7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .3rem;
}
 
/* ── HERO BG DECORATIONS ── */
.hero-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(150,247,164,.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-bg2 {
  position: absolute;
  top: 20%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(94,232,240,.05) 0%, transparent 70%);
  pointer-events: none;
}
 
/* ── SECTIONS COMMON ── */
section { padding: 6rem 4rem; }
.section-max { max-width: 1200px; margin: 0 auto; }
 
.section-tag {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-tag::before {
  content: '';
  display: block; width: 22px; height: 1px;
  background: var(--accent);
}
 
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
}
 
/* ── ABOUT ── */
#about { background: var(--bg2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-text p {
  color: #b0b0b0;
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1.2rem;
}
.about-text p strong { color: var(--text); font-weight: 500; }
 
.about-highlight {
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-size: 1.1rem;
  color: var(--text);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
}
 
/* ── SKILLS ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
 
.skill-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  transition: border-color .3s, transform .3s;
  position: relative;
  overflow: hidden;
}
.skill-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.skill-card:hover { border-color: rgba(150,247,164,.3); transform: translateY(-3px); }
.skill-card:hover::before { opacity: 1; }
 
.skill-icon {
  width: 44px; height: 44px;
  background: rgba(150,247,164,.08);
  border: 1px solid rgba(150,247,164,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.skill-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .6rem;
}
.skill-card p { color: var(--muted); font-size: .875rem; line-height: 1.6; }
 
.tech-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.tech-tag {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
  background: var(--border);
  padding: .2rem .65rem;
  border-radius: 4px;
}
 
/* ── PROJECTS ── */
#projects { background: var(--bg); }
 
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
 
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
 
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, border-color .3s;
}
.project-card:hover { transform: translateY(-5px); border-color: rgba(150,247,164,.3); }
 
.project-thumb {
  height: 190px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.project-thumb.grad1 { background: linear-gradient(135deg, #0d1e0e, #1a3a2a); }
.project-thumb.grad2 { background: linear-gradient(135deg, #0d1820, #1a2a3a); }
.project-thumb.grad3 { background: linear-gradient(135deg, #1e1a0d, #2a1a0a); }
 
.project-thumb-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
}
.project-thumb-label {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(150,247,164,.1);
  border: 1px solid rgba(150,247,164,.2);
  padding: .3rem .75rem;
  border-radius: 100px;
}
 
.project-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.project-body h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .75rem;
  line-height: 1.3;
}
.project-body p { color: var(--muted); font-size: .875rem; line-height: 1.6; flex: 1; }
 
.project-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
 
.stack-pills { display: flex; gap: .4rem; flex-wrap: wrap; }
.stack-pill {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent2);
  background: rgba(94,232,240,.08);
  border: 1px solid rgba(94,232,240,.15);
  padding: .2rem .6rem;
  border-radius: 4px;
}
 
.project-link {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.project-link:hover { background: var(--accent); color: #000; }
 
/* ── TESTIMONIALS ── */
#testimonials { background: var(--bg2); }
 
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
 
.testimonial-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: .2;
  position: absolute;
  top: .5rem; left: 1.5rem;
}
 
.testimonial-text {
  color: #b8b8b8;
  font-size: 1rem;
  line-height: 1.75;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 1.5rem;
  position: relative; z-index: 1;
}
 
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .9rem;
  color: #000;
  flex-shrink: 0;
}
.author-info .name {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
}
.author-info .role { font-size: .8rem; color: var(--muted); }
.stars { color: var(--accent); font-size: .85rem; letter-spacing: .1em; margin-bottom: .5rem; }
 
/* ── CONTACT ── */
#contact { background: var(--bg); }
 
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
 
.contact-heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 1.2rem;
}
.contact-heading span { color: var(--accent); }
 
.contact-desc {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
 
.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, transform .2s;
}
.contact-link:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-link-icon {
  width: 38px; height: 38px;
  background: rgba(150,247,164,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-link-body .label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.contact-link-body .value { font-size: .9rem; font-weight: 500; }
.contact-link-arrow { margin-left: auto; color: var(--muted); font-size: 1rem; }
 
/* ── CONTACT FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
 
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .85rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #555; }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--surface); }
 
.form-submit {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #000;
  background: var(--accent);
  border: none;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  margin-top: .5rem;
}
.form-submit:hover { opacity: .85; transform: translateY(-1px); }
 
/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
}
.footer-logo span { color: var(--accent); }
.footer-copy { font-size: .8rem; color: var(--muted); }
.footer-socials { display: flex; gap: 1rem; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  transition: border-color .2s, color .2s;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); }
 
/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 4rem;
}
 
/* ── AVAILABILITY DOT ── */
.avail-dot {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(150,247,164,.08);
  border: 1px solid rgba(150,247,164,.2);
  border-radius: 100px;
  padding: .4rem .9rem;
  margin-bottom: 1.5rem;
}
.avail-dot::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(150,247,164,.4); }
  50% { opacity: .7; box-shadow: 0 0 0 5px rgba(150,247,164,0); }
}
 
/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
 
/* ── MOBILE NAV TOGGLE ── */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: .5rem;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s;
}
 
/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 1.2rem 2rem; }
  #home, section { padding-left: 2rem; padding-right: 2rem; }
  .divider { margin: 0 2rem; }
  footer { padding: 2.5rem 2rem; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
 
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg2);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
 
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; padding-top: 7rem; }
  .hero-right { align-items: flex-start; }
  .profile-card, .stats-row { max-width: 100%; }
 
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .skills-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
}
