@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&display=swap");

/* ===== VARIABLES ===== */
:root {
  --accent: #a78bfa;
  --accent-dark: #7c3aed;
  --accent-light: #c4b5fd;
  --grad: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #16213e 100%);
  --grad-accent: linear-gradient(135deg, #7c3aed, #a78bfa, #06b6d4);
  --bg: #0f0f0f;
  --bg-card: #161616;
  --bg-card2: #1e1e1e;
  --white: #ffffff;
  --text: #e2e2e2;
  --text-muted: #888;
  --border: rgba(167, 139, 250, 0.15);
  --border-hover: rgba(167, 139, 250, 0.4);
}

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

html {
  scroll-behavior: smooth;
}
body {
  font-family: "Outfit", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* CURSOR */
#cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s,
    height 0.2s,
    background 0.2s;
}
#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.12s ease;
  opacity: 0.5;
}

body.cursor-grow #cursor {
  width: 20px;
  height: 20px;
  background: var(--accent-light);
}

body.cursor-grow #cursor-ring {
  width: 56px;
  height: 56px;
  opacity: 1;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* LOGO */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.logo-box {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-accent);
  clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
  transition: clip-path 0.3s;
}

.logo:hover .logo-bg {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.logo-text {
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  color: #fff;
  position: relative;
  z-index: 1;
  letter-spacing: 2px;
}

.logo-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 4px;
  margin-bottom: -14px;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-accent);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links .btn-hire {
  background: var(--grad-accent);
  color: #fff !important;
  padding: 8px 22px;
  border-radius: 4px;
  font-weight: 600;
}

.nav-links .btn-hire::after {
  display: none;
}

.nav-links .btn-hire:hover {
  opacity: 0.85;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* BACK TO HOME */
.back-to-home {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--grad-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
  transition: all 0.3s;
  opacity: 0;
  pointer-events: none;
  z-index: 900;
}
.back-to-home.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-home:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.55);
  color: #fff;
}

/* SECTION TAGS */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}
.section-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: var(--grad-accent);
}
.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: 2px;
}
.accent-line {
  width: 60px;
  height: 3px;
  background: var(--grad-accent);
  margin: 16px 0;
  border-radius: 2px;
}

/* FOOTER */
footer {
  background: #0a0a0a;
  color: var(--text-muted);
  text-align: center;
  padding: 30px 5%;
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}
footer span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* PAGE HERO */
.page-hero {
  min-height: 52vh;
  padding: 130px 5% 80px;
  background: var(--grad);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page-hero-watermark {
  position: absolute;
  right: 3%;
  bottom: -20px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 16vw;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.06;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}

/* STATS */
.stats-strip {
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 5%;
  display: flex;
  justify-content: center;
  gap: 5%;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: 2px;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* SKILL BARS */
.skills-section {
  padding: 100px 5%;
  background: var(--bg-card);
}
.skill-item {
  margin-bottom: 28px;
}
.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.skill-name {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--text);
}
.skill-header h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  font-family: "Outfit", sans-serif;
}
.skill-header span {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
}
.skill-pct {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
}
.skill-track {
  height: 6px;
  background: rgba(167, 139, 250, 0.1);
  border-radius: 100px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: var(--grad-accent);
  border-radius: 100px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Progress line — animated on scroll */
.progress-line {
  position: relative;
  height: 5px;
  width: 100%;
  background: rgba(167, 139, 250, 0.1);
  border-radius: 100px;
  overflow: hidden;
}
.progress-line span {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0; /* start at 0, JS will animate */
  background: var(--grad-accent);
  border-radius: 100px;
  transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* SERVICES */
.services-section {
  padding: 100px 5%;
  background: var(--bg);
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--grad-accent);
  transition: width 0.4s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: var(--border-hover);
}
.service-card:hover::after {
  width: 100%;
}
.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(167, 139, 250, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 20px;
}
.service-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--white);
}
.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* SOCIAL */
.social-bar {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.social-link {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s;
}
.social-link:hover {
  background: var(--grad-accent);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}

/* ABOUT */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.info-label {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}
.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--border);
  margin-top: 36px;
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -39px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}
.timeline-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.25s;
}
.tech-badge:hover {
  background: var(--grad-accent);
  border-color: transparent;
  color: #fff;
}
.tech-badge i {
  color: var(--accent);
  transition: color 0.2s;
}
.tech-badge:hover i {
  color: #fff;
}
.about-photo-wrap {
  position: relative;
}
.about-photo-wrap::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  right: -24px;
  bottom: -24px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  z-index: 0;
  opacity: 0.4;
}
.about-photo {
  width: 100%;
  max-width: 420px;
  height: 520px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  display: block;
  position: relative;
  z-index: 1;
  filter: grayscale(20%);
  transition: filter 0.4s;
}
.about-photo:hover {
  filter: grayscale(0%);
}
.about-badge {
  position: absolute;
  bottom: -15px;
  right: 20px;
  background: var(--grad-accent);
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

/* PROJECTS */
.projects-grid-section {
  padding: 80px 5%;
  background: var(--bg-card);
}
.project-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  transition: all 0.35s;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  border-color: var(--border-hover);
}
.project-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: rgba(124, 58, 237, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.3s;
}
.project-card:hover .project-overlay {
  opacity: 1;
}
.overlay-btn {
  width: 46px;
  height: 46px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s;
}
.overlay-btn:hover {
  background: #fff;
  color: var(--accent-dark);
}
.project-body {
  padding: 24px;
}
.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.project-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(167, 139, 250, 0.1);
  padding: 3px 10px;
  border-radius: 100px;
}
.project-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 10px;
}
.project-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.filter-btn {
  padding: 8px 22px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: none;
  transition: all 0.25s;
  color: var(--text-muted);
  font-family: "Outfit", sans-serif;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--grad-accent);
  border-color: transparent;
  color: #fff;
}



.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  position: relative;
  cursor: none;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item .del-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(124, 58, 237, 0.9);
  color: #fff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-item:hover .del-btn {
  opacity: 1;
}

/* CONTACT */

.contact-section {
  padding: 100px 5%;
  background: var(--bg-card);
}
.contact-form-wrap {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px 40px;
}
.contact-form-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 8px;
}
.contact-form-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 24px;
}
.form-label-custom {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.25s;
  outline: none;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.12);
}
textarea.form-input {
  resize: vertical;
  min-height: 150px;
}
.submit-btn {
  width: 100%;
  background: var(--grad-accent);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 6px;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.submit-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}
.submit-btn:disabled {
  opacity: 0.6;
  transform: none;
}
.alert-custom {
  padding: 14px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 16px;
  display: none;
  align-items: center;
  gap: 10px;
}
.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #4ade80;
}
.alert-error {
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid var(--border);
  color: var(--accent);
}
.contact-info-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px 36px;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent 70%);
  pointer-events: none;
}
.info-card-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.2rem;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.info-card-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.social-links-dark {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}
.social-dark {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.social-dark:hover {
  background: var(--grad-accent);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}
.emailjs-note {
  background: rgba(167, 139, 250, 0.06);
  border: 1px dashed rgba(167, 139, 250, 0.3);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.emailjs-note strong {
  color: var(--accent);
}

/* BUTTONS */
.btn-primary-custom {
  background: var(--grad-accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-custom:hover {
  opacity: 0.85;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}
.btn-outline-custom {
  border: 2px solid var(--border-hover);
  color: var(--text);
  padding: 13px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-custom:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 999;
    background: var(--bg-card);
    flex-direction: column;
    padding: 20px 24px;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    visibility: hidden;
    transition:
      transform 0.35s ease,
      visibility 0.35s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
  }
  .about-photo {
    height: 380px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    padding: 32px 24px;
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 5% 60px;
  background: var(--grad);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}
.hero-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-name .highlight {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-image-side {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-frame {
  position: relative;
  width: 380px;
  height: 480px;
}
.hero-img-frame::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  z-index: 0;
  opacity: 0.4;
}
.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  position: relative;
  z-index: 1;
  filter: grayscale(20%);
  transition: filter 0.4s;
}
.hero-img-frame:hover img {
  filter: grayscale(0%);
}
.hero-float-tag {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 2;
}
.hero-float-tag p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}
.hero-float-tag strong {
  font-size: 1.4rem;
  font-family: "Bebas Neue", sans-serif;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}
@media (max-width: 991px) {
  .hero {
    text-align: center;
    padding-top: 120px;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-image-side {
    margin-top: 60px;
  }
  .hero-img-frame {
    width: 280px;
    height: 360px;
  }
  .hero-float-tag {
    left: -10px;
  }
}

.back-to-home.visible {
  opacity: 1;
  pointer-events: all;
}
.back-to-home:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.55);
  color: #fff;
}
