/* ============================================================
       CSS CUSTOM PROPERTIES  (Design Tokens)
       ============================================================ */
:root {
  /* ── Accent — Electric Blue ── */
  --accent: #00b4d8;
  --accent-light: #48cae4;
  --accent-dark: #0077b6;
  --accent-glow: rgba(0, 180, 216, 0.35);
  --accent-subtle: rgba(0, 180, 216, 0.08);

  /* ── Backgrounds (Dark — default) ── */
  --bg-primary: #06090f;
  --bg-secondary: #0c1017;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --bg-nav: rgba(6, 9, 15, 0.85);

  /* ── Text ── */
  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* ── Borders ── */
  --border: rgba(148, 163, 184, 0.1);
  --border-hover: rgba(0, 180, 216, 0.3);

  /* ── Layout ── */
  --section-padding: 120px 0;
  --container-width: 1200px;

  /* ── Typography ── */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ── Motion ── */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Radii ── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* ── Hero orbs (dark) ── */
  --orb-1-bg: var(--accent-dark);
  --orb-2-bg: var(--accent);
  --orb-3-bg: #7c3aed;
  --orb-1-opacity: 0.4;
  --orb-2-opacity: 0.2;
  --orb-3-opacity: 0.15;
  --grid-line: rgba(148, 163, 184, 0.03);
  --overlay-gradient: rgba(6, 9, 15, 0.8);
  --image-fade: var(--bg-primary);
  --scrollbar-track: var(--bg-primary);
}

/* ============================================================
       LIGHT THEME
       ============================================================ */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f4f8;
  --bg-nav: rgba(248, 250, 252, 0.85);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --border: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(0, 180, 216, 0.4);

  --accent-subtle: rgba(0, 180, 216, 0.06);

  --orb-1-bg: #bae6fd;
  --orb-2-bg: #7dd3fc;
  --orb-3-bg: #c4b5fd;
  --orb-1-opacity: 0.3;
  --orb-2-opacity: 0.15;
  --orb-3-opacity: 0.12;
  --grid-line: rgba(15, 23, 42, 0.04);
  --overlay-gradient: rgba(248, 250, 252, 0.7);
  --image-fade: var(--bg-primary);
  --scrollbar-track: var(--bg-secondary);
}

/* ============================================================
       RESET & BASE
       ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition:
    background 0.4s ease,
    color 0.4s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* ============================================================
       UTILITY — Container & Section Headers
       ============================================================ */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  position: relative;
  padding: 0 24px;
}

.section-header__label::before,
.section-header__label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--accent);
}
.section-header__label::before {
  left: 0;
}
.section-header__label::after {
  right: 0;
}

.section-header__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header__desc {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ============================================================
       REVEAL ANIMATION
       ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 {
  transition-delay: 0.1s;
}
.reveal--delay-2 {
  transition-delay: 0.2s;
}
.reveal--delay-3 {
  transition-delay: 0.3s;
}
.reveal--delay-4 {
  transition-delay: 0.4s;
}
.reveal--delay-5 {
  transition-delay: 0.5s;
}

/* ============================================================
       NAVBAR
       ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition:
    background var(--transition-base),
    padding var(--transition-base),
    box-shadow var(--transition-base);
}

.navbar--scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.logo__mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.logo__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15));
}

.logo__name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.logo__name span {
  color: var(--accent);
}

/* ── Nav Links ── */
.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition:
    color var(--transition-fast),
    background var(--transition-fast);
}

.nav__link:hover,
.nav__link--active {
  color: var(--text-primary);
  background: var(--accent-subtle);
}
.nav__link--active {
  color: var(--accent);
}

/* ── Navbar Controls (Theme) ── */
.navbar__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1001;
}

.navbar__btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.navbar__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

.navbar__btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

/* ── Hamburger (mobile) ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger__line {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition:
    transform var(--transition-base),
    opacity var(--transition-base);
}

.hamburger--active .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger--active .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile overlay */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right var(--transition-slow);
  }
  .nav--open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 8px;
  }
  .nav__link {
    font-size: 1.3rem;
    padding: 12px 32px;
  }
}

/* ============================================================
       HERO SECTION
       ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: heroFloat 8s ease-in-out infinite;
}

.hero__bg-orb--1 {
  width: 500px;
  height: 500px;
  background: var(--orb-1-bg);
  top: -15%;
  right: -5%;
  opacity: var(--orb-1-opacity);
}
.hero__bg-orb--2 {
  width: 350px;
  height: 350px;
  background: var(--orb-2-bg);
  bottom: -10%;
  left: -5%;
  animation-delay: -3s;
  opacity: var(--orb-2-opacity);
}
.hero__bg-orb--3 {
  width: 200px;
  height: 200px;
  background: var(--orb-3-bg);
  top: 40%;
  left: 30%;
  animation-delay: -5s;
  opacity: var(--orb-3-opacity);
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-subtle);
  border: 1px solid rgba(0, 180, 216, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 var(--accent-glow);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 8px transparent;
  }
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__title-accent {
  background: linear-gradient(
    135deg,
    var(--accent-light),
    var(--accent),
    var(--accent-dark)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

.btn__icon {
  transition: transform var(--transition-fast);
}
.btn:hover .btn__icon {
  transform: translateX(4px);
}

/* ── Hero image ── */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero__image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.hero__image-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    var(--accent),
    transparent,
    var(--accent-dark)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
}

.hero__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero__float-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: floatBadge 4s ease-in-out infinite;
  z-index: 2;
  backdrop-filter: blur(10px);
}

[data-theme="light"] .hero__float-badge {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.hero__float-badge--1 {
  top: 10%;
  right: -20px;
}
.hero__float-badge--2 {
  bottom: 15%;
  left: -20px;
  animation-delay: -2s;
}

.hero__float-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.hero__float-badge-icon--blue {
  background: rgba(0, 180, 216, 0.15);
  color: var(--accent);
}
.hero__float-badge-icon--purple {
  background: rgba(124, 58, 237, 0.15);
  color: #a78bfa;
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ============================================================
       ABOUT SECTION
       ============================================================ */
.about {
  padding: var(--section-padding);
  position: relative;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
}

.about__image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.about__image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--image-fade) 0%, transparent 40%);
  z-index: 1;
}

.about__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about__exp-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  z-index: 2;
  backdrop-filter: blur(10px);
}
.about__exp-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.about__exp-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.about__content {
  max-width: 560px;
}

.about__text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.9;
}
.about__text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.fact-card {
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition:
    border-color var(--transition-base),
    transform var(--transition-base);
}
.fact-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.fact-card__icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.fact-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.fact-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
       SKILLS SECTION
       ============================================================ */
.skills {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.skills__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition:
    border-color var(--transition-base),
    transform var(--transition-base);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.skill-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.skill-card:hover::before {
  opacity: 1;
}

.skill-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.skill-card__name {
  font-size: 1rem;
  font-weight: 700;
}
.skill-card__percentage {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.skill-card__bar {
  width: 100%;
  height: 6px;
  background: rgba(148, 163, 184, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 12px;
}

.skill-card__bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(
    90deg,
    var(--accent-dark),
    var(--accent),
    var(--accent-light)
  );
  width: 0;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.skill-card__bar-fill::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  opacity: 0;
  transition: opacity 0.3s ease 1s;
}
.skill-card__bar-fill--animated::after {
  opacity: 1;
}

.skill-card__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
       PROJECTS SECTION
       ============================================================ */
.projects {
  padding: var(--section-padding);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px var(--border-hover);
}

[data-theme="light"] .project-card:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 0 0 1px var(--border-hover);
}

.project-card__image-wrapper {
  position: relative;
  overflow: hidden;
}
.project-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-card__image {
  transform: scale(1.05);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--overlay-gradient) 0%,
    transparent 60%
  );
}

.project-card__body {
  padding: 28px;
}
.project-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.project-card__tag {
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-subtle);
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition-fast);
}
.project-card__link:hover {
  gap: 12px;
}
.project-card__link-arrow {
  transition: transform var(--transition-fast);
}
.project-card__link:hover .project-card__link-arrow {
  transform: translateX(4px);
}

/* ============================================================
       CONTACT SECTION — Centered Icon Cards (No Form)
       ============================================================ */
.contact {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.contact__icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact__icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 36px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition:
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
  cursor: default;
  flex: 0 1 260px;
  min-width: 200px;
}

a.contact__icon-card {
  cursor: pointer;
}

.contact__icon-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.25),
    0 0 0 1px var(--border-hover);
}

[data-theme="light"] .contact__icon-card:hover {
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.06),
    0 0 0 1px var(--border-hover);
}

.contact__icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-subtle);
  border: 1px solid rgba(0, 180, 216, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition:
    background var(--transition-base),
    box-shadow var(--transition-base);
}

.contact__icon-card:hover .contact__icon-circle {
  background: rgba(0, 180, 216, 0.15);
  box-shadow: 0 0 20px var(--accent-glow);
}

.contact__icon-circle--available {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
}

.contact__icon-card:hover .contact__icon-circle--available {
  background: rgba(16, 185, 129, 0.15);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.contact__icon-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact__icon-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================================
       FOOTER
       ============================================================ */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__copy {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer__copy span {
  color: var(--accent);
  font-weight: bold;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.footer__social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

/* ============================================================
       RESPONSIVE BREAKPOINTS
       ============================================================ */

/* ── Tablet ── */
@media (max-width: 1024px) {
  .hero__inner {
    gap: 48px;
  }
  .about__inner {
    gap: 48px;
  }
  .skills__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero__content {
    max-width: 100%;
  }
  .hero__subtitle {
    max-width: 100%;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__visual {
    order: -1;
  }
  .hero__image-wrapper {
    max-width: 320px;
  }
  .hero__float-badge--1 {
    right: -10px;
  }
  .hero__float-badge--2 {
    left: -10px;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about__image-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }
  .about__content {
    text-align: center;
    max-width: 100%;
  }
  .about__facts {
    text-align: left;
  }

  .skills__grid {
    grid-template-columns: 1fr;
  }
  .projects__grid {
    grid-template-columns: 1fr;
  }

  .contact__icons {
    flex-direction: column;
    align-items: center;
  }
  .contact__icon-card {
    flex: 0 1 auto;
    width: 100%;
    max-width: 320px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .navbar__controls {
    gap: 4px;
  }
  .navbar__btn {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }
}

/* ── Small phones ── */
@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .about__facts {
    grid-template-columns: 1fr;
  }
}
