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

:root {
  --black: #050510;
  --navy: #0a0a1a;
  --navy-light: #111128;
  --navy-card: rgba(17, 17, 40, 0.55);
  --blue: #2563eb;
  --blue-light: #60a5fa;
  --blue-dark: #1d4ed8;
  --blue-glow: rgba(37, 99, 235, 0.25);
  --blue-glow-strong: rgba(37, 99, 235, 0.45);
  --text: #e2e8f0;
  --text-light: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(37, 99, 235, 0.12);
  --glass-bg: rgba(17, 17, 40, 0.5);
  --glass-border: rgba(37, 99, 235, 0.1);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  touch-action: manipulation;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== GLASS ===== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--blue), #a78bfa, var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SECTION TITLES ===== */
.section-title {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

section { padding: 100px 0; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 16, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 34px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.88rem;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--blue), #a78bfa);
  transition: width var(--transition);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--blue-glow);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-text { flex: 1; }

.hero-greeting {
  font-size: 1.1rem;
  color: var(--blue-light);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-text h1 {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 4px;
  color: #fff;
  letter-spacing: -1px;
}

.hero-nickname {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hero-nickname span {
  color: var(--blue-light);
  font-weight: 600;
}

.hero-role {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-role i { color: var(--blue); }

.typed-text { color: var(--blue-light); font-weight: 600; }

.cursor {
  color: var(--blue);
  animation: blink 0.7s step-end infinite;
  font-weight: 100;
  margin-left: 2px;
}

@keyframes blink { 50% { opacity: 0; } }

.hero-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 530px;
  margin-bottom: 28px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 4px 24px var(--blue-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px var(--blue-glow-strong);
}

.btn-outline {
  background: transparent;
  color: var(--blue-light);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--blue-glow);
}

.btn-ghost {
  background: var(--navy-light);
  color: var(--text-light);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-light);
  transform: translateY(-3px);
}

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

.hero-socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.hero-socials a:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--blue-glow);
}

/* Hero Visual */
.hero-visual {
  flex: 0 0 340px;
  display: flex;
  justify-content: center;
}

.hero-img-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
}

.hero-img-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow-strong) 0%, transparent 70%);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

.hero-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--black));
  border: 3px solid rgba(37, 99, 235, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 60px var(--blue-glow), inset 0 0 60px rgba(37, 99, 235, 0.05);
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.floating-badge {
  position: absolute;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-light);
  border: 1px solid var(--border);
  color: var(--text-light);
  z-index: 2;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}

.badge-1 { top: 5px; right: -25px; animation-delay: 0s; color: #ff2d20; }
.badge-2 { bottom: 50px; left: -35px; animation-delay: 1s; color: #777bb4; }
.badge-3 { top: 45%; right: -35px; animation-delay: 2s; color: #00758f; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--blue);
  border-radius: 2px;
  animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ===== ABOUT ===== */
.about { background: var(--navy); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-img-side {
  display: flex;
  justify-content: center;
  position: relative;
}

.about-img-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  animation: glow-pulse 3s ease-in-out infinite;
}

.about-img-box {
  position: relative;
  z-index: 1;
}

.about-img-inner {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--black));
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.about-badge {
  position: absolute;
  bottom: 10px;
  right: 0;
  padding: 10px 18px;
  border-radius: 50px;
  background: var(--navy-light);
  border: 1px solid var(--border);
  color: var(--blue-light);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.about-text-side h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.about-text-side p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.about-detail-item {
  padding: 10px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.detail-value.available { color: #10b981; }

/* ===== SKILLS ===== */
.skills {
  position: relative;
}

.skills::before {
  content: '';
  position: absolute;
  top: 30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.skill-card {
  padding: 24px 14px;
  text-align: center;
  transition: var(--transition);
}

.skill-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
}

.skill-icon {
  font-size: 2.4rem;
  color: var(--blue-light);
  margin-bottom: 10px;
}

.skill-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.skill-bar {
  height: 6px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), #a78bfa);
  border-radius: 3px;
  transition: width 1.2s ease;
  box-shadow: 0 0 12px var(--blue-glow);
}

/* ===== SERVICES ===== */
.services {
  background: var(--navy);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  bottom: 20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 34px 24px;
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.12);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--blue-light);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== PROJECTS ===== */
.projects { position: relative; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
}

.project-card {
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.12);
}

.project-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.project-info { padding: 24px; }

.project-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.project-sub {
  font-size: 0.8rem;
  color: var(--blue-light);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

.project-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.project-tags span {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--blue-light);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.project-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.8rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  transition: var(--transition);
  font-family: inherit;
}

.btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--blue-glow);
}

.btn-small.outline {
  background: transparent;
  border: 1px solid var(--blue);
  color: var(--blue-light);
}

.btn-small.outline:hover {
  background: var(--blue);
  color: #fff;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--navy);
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  font-size: 1.1rem;
  transition: var(--transition);
}

.contact-item:hover .contact-icon-box {
  background: var(--blue);
  color: #fff;
}

.contact-item h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1px;
}

.contact-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.contact-socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
}

.contact-socials a:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

.contact-form {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  background: rgba(5, 5, 16, 0.5);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.error-msg {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 4px;
  min-height: 18px;
}

.btn-send {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  padding: 80px 0 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Newsletter */
.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 36px 40px;
  margin-bottom: 50px;
  border: 1px solid var(--glass-border);
}

.newsletter-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.newsletter-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  min-width: 320px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(5, 5, 16, 0.5);
  transition: border-color var(--transition);
}

.newsletter-form:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
}

.newsletter-form input:focus { outline: none; }
.newsletter-form input::placeholder { color: var(--text-muted); }

.newsletter-form button {
  padding: 0 22px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: linear-gradient(135deg, var(--blue-dark), #1e3a8a);
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 22px;
  max-width: 320px;
}

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

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--glass-border);
  font-size: 0.95rem;
}

.footer-socials a:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px var(--blue-glow);
}

.footer-links-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links-col h4 i {
  color: var(--blue-light);
  font-size: 0.85rem;
}

.footer-links-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 6px 0;
  transition: all var(--transition);
}

.footer-links-col a i {
  font-size: 0.6rem;
  color: var(--blue);
  transition: transform var(--transition);
}

.footer-links-col a:hover {
  color: var(--blue-light);
  transform: translateX(4px);
}

.footer-links-col a:hover i {
  transform: translateX(3px);
}

.footer-links-col p {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links-col p i {
  color: var(--blue-light);
  width: 18px;
  font-size: 0.9rem;
}

.footer-links-col p span {
  transition: color var(--transition);
}

.footer-links-col p:hover span {
  color: var(--text-light);
}

.footer-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 20px !important;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff !important;
  font-size: 0.82rem !important;
  font-weight: 600;
  border: none;
  transition: var(--transition);
}

.footer-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px var(--blue-glow);
  color: #fff !important;
}

.footer-cta i {
  font-size: 0.8rem !important;
  color: #fff !important;
}

/* Divider */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.3;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom strong { color: var(--text); }

.heart-icon {
  color: #ef4444;
  animation: heart-beat 1.5s ease-in-out infinite;
  display: inline-block;
}

@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.3); }
  30% { transform: scale(1); }
  45% { transform: scale(1.2); }
  60% { transform: scale(1); }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 20px var(--blue-glow);
}

.back-to-top.show { opacity: 1; visibility: visible; }

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--blue-glow-strong);
}

/* ===== AOS OVERRIDE ===== */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ===================== RESPONSIVE ===== */

/* ---- Tablet landscape / small desktop (992px) ---- */
@media (max-width: 992px) {
  .container { padding: 0 20px; }
  section { padding: 80px 0; }

  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(5, 5, 16, 0.96);
    backdrop-filter: blur(20px);
    padding: 18px 0;
    gap: 0;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links li { text-align: center; }
  .nav-links a { display: block; padding: 16px 20px; font-size: 1rem; }
  .nav-links a::after { display: none; }
  .hamburger { padding: 10px; }
  .hamburger span { width: 26px; height: 2.5px; }

  .hero { padding: 90px 0 50px; }
  .hero-content { flex-direction: column-reverse; text-align: center; gap: 40px; }
  .hero-text h1 { font-size: 2.8rem; }
  .hero-desc { margin: 0 auto 28px; }
  .hero-role { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-socials { justify-content: center; }
  .hero-visual { flex: none; }
  .hero-img-wrapper { width: 260px; height: 260px; margin: 0 auto; }
  .hero-img { font-size: 4.5rem; }
  .floating-badge { display: none; }
  .hero-greeting { font-size: 1rem; }
  .hero-nickname { font-size: 0.9rem; }
  .about-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .about-text-side h3 { font-size: 1.3rem; }
  .about-details { text-align: left; max-width: 500px; margin-left: auto; margin-right: auto; }
  .about-badge { right: 50%; transform: translateX(50%); bottom: -5px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-tagline { max-width: 100%; }
}

/* ---- Tablet portrait (768px) ---- */
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .hero { padding: 80px 0 40px; }
  .logo { font-size: 1.2rem; }

  .hero-text h1 { font-size: 2rem; }
  .hero-role { font-size: 0.95rem; flex-wrap: wrap; justify-content: center; }
  .hero-desc { font-size: 0.88rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
  .hero-img-wrapper { width: 180px; height: 180px; }
  .hero-img { font-size: 3.2rem; }
  .hero-img-glow { width: 220px; height: 220px; }
  .hero-socials { gap: 10px; }
  .hero-socials a { width: 36px; height: 36px; font-size: 0.85rem; }

  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.8rem; letter-spacing: 1.5px; margin-bottom: 30px; }

  .about-img-inner { width: 180px; height: 180px; font-size: 3rem; }
  .about-img-glow { width: 220px; height: 220px; }
  .about-text-side h3 { font-size: 1.1rem; }
  .about-text-side p { font-size: 0.9rem; }
  .about-details { grid-template-columns: 1fr; max-width: 100%; }
  .about-detail-item { padding: 8px 12px; }

  .skills-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .skill-card { padding: 20px 12px; }
  .skill-icon { font-size: 2rem; }
  .skill-card h3 { font-size: 0.82rem; }

  .services-grid { grid-template-columns: 1fr; gap: 18px; max-width: 400px; margin: 0 auto; }
  .service-card { padding: 28px 20px; }
  .service-card h3 { font-size: 1rem; }
  .service-card p { font-size: 0.85rem; }

  .projects-grid { grid-template-columns: 1fr; gap: 22px; max-width: 420px; margin: 0 auto; }
  .project-card .project-info { padding: 18px; }
  .project-info h3 { font-size: 1.1rem; }
  .project-info p { font-size: 0.85rem; }
  .project-tags span { font-size: 0.7rem; padding: 4px 10px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px; }
  .contact-card { padding: 24px; }
  .contact-item h4 { font-size: 0.8rem; }
  .contact-item p { font-size: 0.82rem; }
  .contact-icon-box { width: 42px; height: 42px; min-width: 42px; font-size: 1rem; }

  .footer { padding: 50px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .footer-newsletter { flex-direction: column; text-align: center; padding: 28px 22px; margin-bottom: 35px; }
  .newsletter-text h3 { font-size: 1.1rem; }
  .newsletter-text p { font-size: 0.82rem; }
  .newsletter-form { min-width: unset; width: 100%; flex-direction: column; }
  .newsletter-form input { padding: 12px 16px; font-size: 16px; }
  .newsletter-form button { width: 100%; justify-content: center; padding: 12px; }
  .footer-links-col h4 { font-size: 0.92rem; margin-bottom: 14px; }
  .footer-links-col a { font-size: 0.82rem; padding: 5px 0; }
  .footer-links-col p { font-size: 0.82rem; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; font-size: 0.8rem; }
  .footer-cta { font-size: 0.78rem !important; padding: 9px 16px !important; }

  .scroll-indicator { display: none; }
  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; font-size: 0.9rem; }
}

/* ---- Small phones (480px) — web-app feel ---- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  section { padding: 32px 0; }
  .hero { padding: 70px 0 20px; min-height: auto; }
  .hero::before, .hero::after { display: none; }
  .hero-content { gap: 16px; }
  .hero-text h1 { font-size: 1.6rem; }
  .hero-greeting { font-size: 0.82rem; margin-bottom: 4px; }
  .hero-role { font-size: 0.85rem; margin-bottom: 10px; }
  .hero-nickname { font-size: 0.78rem; }
  .hero-desc { font-size: 0.82rem; margin-bottom: 16px; line-height: 1.6; max-width: 100%; }
  .hero-actions { gap: 8px; margin-bottom: 18px; flex-direction: column; align-items: stretch; }
  .hero-actions .btn { padding: 14px 16px; font-size: 0.85rem; max-width: 100%; justify-content: center; }
  .hero-img-wrapper { width: 140px; height: 140px; margin-top: 10px; }
  .hero-img { border-width: 2px; }
  .hero-img-glow { width: 170px; height: 170px; }
  .hero-socials { gap: 6px; justify-content: center; }
  .hero-socials a { width: 40px; height: 40px; font-size: 0.9rem; }
  .scroll-indicator { display: none; }

  .section-title { font-size: 1.3rem; margin-bottom: 2px; }
  .section-subtitle { font-size: 0.72rem; letter-spacing: 1px; margin-bottom: 20px; }

  .about-grid { gap: 20px; }
  .about-img-inner { width: 120px; height: 120px; font-size: 2.2rem; }
  .about-img-glow { width: 150px; height: 150px; }
  .about-badge { font-size: 0.72rem; padding: 6px 14px; bottom: -6px; gap: 6px; }
  .about-text-side h3 { font-size: 1rem; margin-bottom: 8px; }
  .about-text-side p { font-size: 0.82rem; margin-bottom: 16px; line-height: 1.6; }
  .about-details { gap: 6px; margin-bottom: 18px; }
  .about-detail-item { padding: 6px 10px; }
  .detail-label { font-size: 0.65rem; }
  .detail-value { font-size: 0.8rem; }
  .about-text-side .btn { padding: 14px 18px; font-size: 0.85rem; width: 100%; justify-content: center; }

  .skills-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .skill-card { padding: 12px 6px; }
  .skill-icon { font-size: 1.4rem; margin-bottom: 4px; }
  .skill-card h3 { font-size: 0.72rem; margin-bottom: 8px; }
  .skill-bar { height: 4px; }

  .services-grid { gap: 10px; }
  .service-card { padding: 20px 16px; }
  .service-icon { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 10px; }
  .service-card h3 { font-size: 0.88rem; margin-bottom: 6px; }
  .service-card p { font-size: 0.8rem; line-height: 1.5; }

  .projects-grid { gap: 14px; max-width: 320px; margin: 0 auto; }
  .project-img { height: 130px; font-size: 2.6rem; }
  .project-info { padding: 14px; }
  .project-info h3 { font-size: 0.95rem; }
  .project-sub { font-size: 0.72rem; margin-bottom: 8px; }
  .project-info p { font-size: 0.78rem; margin-bottom: 12px; line-height: 1.5; }
  .project-tags { gap: 4px; margin-bottom: 14px; }
  .project-tags span { font-size: 0.65rem; padding: 4px 8px; }
  .project-links { gap: 8px; }
  .btn-small { padding: 10px 14px; font-size: 0.78rem; gap: 6px; flex: 1; justify-content: center; }

  .contact-form { padding: 16px; gap: 14px; }
  .contact-card { padding: 16px; gap: 12px; }
  .contact-item { gap: 10px; }
  .contact-icon-box { width: 38px; height: 38px; min-width: 38px; font-size: 0.85rem; }
  .contact-item h4 { font-size: 0.75rem; }
  .contact-item p { font-size: 0.75rem; }
  .contact-socials { gap: 8px; }
  .contact-socials a { width: 38px; height: 38px; font-size: 0.85rem; }
  .form-group input, .form-group textarea { padding: 12px 14px; font-size: 16px; }
  .btn-send { padding: 14px; font-size: 16px; }

  .footer { padding: 24px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; padding-bottom: 20px; }
  .footer-newsletter { padding: 18px 16px; margin-bottom: 18px; gap: 12px; }
  .newsletter-text h3 { font-size: 0.95rem; }
  .newsletter-text p { font-size: 0.78rem; }
  .newsletter-form input { width: 100%; padding: 12px 14px; font-size: 16px; }
  .newsletter-form button { padding: 12px; width: 100%; justify-content: center; }
  .footer-links-col h4 { font-size: 0.88rem; margin-bottom: 10px; }
  .footer-links-col a { font-size: 0.82rem; padding: 6px 0; }
  .footer-links-col p { font-size: 0.8rem; padding: 4px 0; }
  .footer-bottom { padding: 14px 0; gap: 4px; font-size: 0.72rem; flex-direction: column; text-align: center; }
  .footer-cta { font-size: 0.78rem !important; padding: 10px 18px !important; width: 100%; justify-content: center !important; }
  .footer-brand .logo { font-size: 1.2rem; }
  .footer-tagline { font-size: 0.8rem; max-width: 100%; }
  .footer-socials { justify-content: center; gap: 8px; }
  .footer-socials a { width: 38px; height: 38px; font-size: 0.85rem; }

  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; font-size: 0.9rem; }
}

/* ---- Very small phones (360px) ---- */
@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .hero-text h1 { font-size: 1.35rem; }
  .hero-img-wrapper { width: 100px; height: 100px; }
  .hero-img { font-size: 1.7rem; }
  .hero-img-glow { width: 130px; height: 130px; }
  .hero-actions .btn { padding: 12px 14px; font-size: 0.8rem; }
  .section-title { font-size: 1.15rem; }
  .skills-grid { gap: 6px; }
  .skill-card { padding: 10px 4px; }
  .skill-icon { font-size: 1.2rem; }
  .skill-card h3 { font-size: 0.65rem; }
  .services-grid { gap: 8px; }
  .service-card { padding: 14px 12px; }
  .service-card h3 { font-size: 0.82rem; }
  .service-card p { font-size: 0.76rem; }
  .about-img-inner { width: 100px; height: 100px; font-size: 1.8rem; }
  .about-img-glow { width: 130px; height: 130px; }
  .about-text-side h3 { font-size: 0.9rem; }
  .project-img { height: 100px; font-size: 2rem; }
}
