/* =========================
   RESET / BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --bg: #07111a;
  --bg-soft: #0a1621;
  --card: rgba(255, 255, 255, 0.05);
  --card-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.08);

  --text: #ffffff;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;

  --accent: #34d399;
  --accent-2: #14b8a6;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);

  --container: 1180px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.14), transparent 24%),
    radial-gradient(circle at left, rgba(20, 184, 166, 0.1), transparent 28%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

::selection {
  background: rgba(16, 185, 129, 0.35);
  color: #fff;
}

/* =========================
   LAYOUT
========================= */
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.05), transparent 28%);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 48px;
}

.section-heading.left {
  margin-bottom: 0;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: #86efac;
  margin-bottom: 16px;
}

.section-heading h2 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-heading p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-soft);
}

/* =========================
   HEADER / NAVBAR
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 26, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav-wrapper {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
  transition: 0.3s ease;
}

.nav a:hover {
  color: #86efac;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
}

/* =========================
   HERO
========================= */
.hero-section {
  padding: 90px 0 70px;
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: #86efac;
}

.hero-title {
  margin-top: 18px;
  font-size: 60px;
  line-height: 1.08;
}

.hero-subtitle {
  margin-top: 20px;
  max-width: 780px;
  font-size: 28px;
  line-height: 1.45;
  color: #e2e8f0;
}

.hero-description {
  margin-top: 24px;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.9;
  color: var(--text-soft);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: 0.3s ease;
}

.btn-primary {
  background: var(--accent);
  color: #07111a;
  box-shadow: 0 12px 30px rgba(52, 211, 153, 0.22);
}

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

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.hero-socials {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-socials a,
.contact-socials a,
.footer-socials a {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #dbe4ee;
  font-size: 14px;
  transition: 0.3s ease;
}

.hero-socials a:hover,
.contact-socials a:hover,
.footer-socials a:hover {
  transform: translateY(-2px);
  color: #86efac;
  border-color: rgba(52, 211, 153, 0.35);
}

.hero-stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 28px;
  padding: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.stat-card h3 {
  font-size: 34px;
  color: #86efac;
  line-height: 1;
}

.stat-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.hero-visual {
  position: relative;
  max-width: 520px;
  margin-left: auto;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 40px;
  background: linear-gradient(
    135deg,
    rgba(52, 211, 153, 0.15),
    transparent,
    rgba(34, 211, 238, 0.1)
  );
  filter: blur(24px);
  z-index: 0;
}

.profile-card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  padding: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.profile-card img {
  width: 100%;
  border-radius: 26px;
  object-fit: cover;
}

.focus-card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(10, 22, 33, 0.82);
  padding: 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
}

.focus-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #86efac;
}

.focus-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.focus-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-size: 14px;
}

/* =========================
   CARD SYSTEM
========================= */
.card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.28);
  background: var(--card-strong);
}

.cards-grid {
  display: grid;
  gap: 20px;
}

.cards-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.cards-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.card p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-soft);
}

/* =========================
   ABOUT
========================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 24px;
}

.about-text {
  padding: 32px;
}

.about-text p {
  font-size: 17px;
  line-height: 1.95;
  color: var(--text-soft);
  margin-bottom: 22px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-highlights {
  display: grid;
  gap: 16px;
}

.highlight-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.highlight-card p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-soft);
}

/* =========================
   SKILLS
========================= */
.skill-card h3 {
  font-size: 22px;
}

.skill-card p {
  font-size: 15px;
  line-height: 1.9;
}

/* =========================
   EXPERIENCE
========================= */
.experience-list {
  display: grid;
  gap: 22px;
}

.experience-card {
  padding: 28px;
}

.experience-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.experience-head h3 {
  font-size: 30px;
  margin-bottom: 8px;
}

.company {
  color: #86efac !important;
  font-size: 17px !important;
  font-weight: 700;
}

.duration {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.experience-card ul {
  list-style: none;
  display: grid;
  gap: 14px;
}

.experience-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.85;
}

.experience-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #86efac;
}

/* =========================
   PROJECTS
========================= */
.project-card h3 {
  font-size: 22px;
}

.project-card p {
  font-size: 15px;
  line-height: 1.9;
}

/* =========================
   CONTACT
========================= */
.contact-box {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  padding: 42px;
  backdrop-filter: blur(12px);
}

.contact-box::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.12), transparent 26%);
}

.contact-grid {
  position: relative;
  z-index: 1;
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.contact-card {
  border-radius: 24px;
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.12);
  padding: 24px;
}

.contact-label {
  font-size: 13px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted) !important;
  margin-bottom: 12px;
}

.contact-card a,
.contact-card p {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
}

.contact-card a:hover {
  color: #86efac;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-cta {
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(10, 22, 33, 0.82);
  padding: 28px;
}

.cta-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #86efac;
}

.contact-cta h3 {
  margin-top: 16px;
  font-size: 32px;
  line-height: 1.3;
}

.contact-cta p {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.9;
}

.contact-actions {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  padding: 32px 0 42px;
  border-top: 1px solid var(--border);
}

.footer-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-title {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 52px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .cards-grid.three-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 540px;
    margin: 0 auto;
  }
}

@media (max-width: 820px) {
  .nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(7, 17, 26, 0.96);
    border-top: 1px solid var(--border);
    padding: 10px 20px 16px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-section {
    padding-top: 70px;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .experience-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cards-grid.two-col,
  .cards-grid.three-col,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-description,
  .section-heading p,
  .about-text p {
    font-size: 16px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .contact-box,
  .card,
  .contact-cta {
    padding: 22px;
  }

  .focus-card {
    position: static;
    margin-top: 16px;
  }

  .contact-card a,
  .contact-card p {
    font-size: 17px;
  }

  .contact-cta h3 {
    font-size: 26px;
  }
}
