/* ============================================
   D. Dileep Kumar | Portfolio Styles
   AI-Powered Digital Marketer
   ============================================ */

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

:root {
  --bg: #05050a;
  --bg2: #0a0a14;
  --surface: #0f0f1e;
  --surface2: #16162a;
  --accent: #00d4ff;
  --accent2: #7c3aed;
  --accent3: #ff006e;
  --gold: #f59e0b;
  --text: #e2e8f0;
  --text2: #94a3b8;
  --gradient: linear-gradient(135deg, #00d4ff, #7c3aed, #ff006e);
  --gradient2: linear-gradient(135deg, #00d4ff, #7c3aed);
  --font: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --grotesk: 'Space Grotesk', sans-serif;
  --radius: 20px;
  --shadow: 0 8px 40px rgba(0, 212, 255, 0.08);
  --radius-sm: 12px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 3px; }

/* ----- LOADER ----- */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--accent);
  border-right-color: var(--accent2);
  animation: spin 1s linear infinite;
  position: relative;
}
.loader-ring::before {
  content: ''; position: absolute; inset: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-bottom-color: var(--accent3);
  border-left-color: var(--gold);
  animation: spin 0.6s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text2);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ----- NAV ----- */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 5, 10, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}
nav.scrolled { background: rgba(5, 5, 10, 0.9); }

.nav-logo {
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: 1.3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo span { font-weight: 300; color: var(--text2); -webkit-text-fill-color: var(--text2); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  color: var(--text2);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 8px 20px !important;
  border-radius: 50px;
  background: var(--gradient);
  color: #fff !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}
.nav-cta:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(0, 212, 255, 0.3); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ----- WHATSAPP FLOAT ----- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  cursor: pointer;
  animation: whatsappPulse 2s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* ----- PARTICLES CANVAS ----- */
#particles-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}

/* ----- SECTIONS COMMON ----- */
section { position: relative; z-index: 1; padding: 100px 5%; }
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--grotesk);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-title .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--text2);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
}

/* ----- BUTTONS ----- */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient2);
  opacity: 0;
  transition: var(--transition);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(0, 212, 255, 0.25); }
.btn-primary span, .btn-primary i { position: relative; z-index: 1; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.05);
  transform: translateY(-2px);
}

/* ----- HERO ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.05);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
  font-family: var(--mono);
  letter-spacing: 0.05em;
}
.hero-badge i { font-size: 0.6rem; }

.hero h1 {
  font-family: var(--grotesk);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  color: var(--text2);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.hero-stat h3 {
  font-family: var(--grotesk);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat p {
  font-size: 0.8rem;
  color: var(--text2);
  margin-bottom: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-avatar-frame {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  overflow: hidden;
}
.hero-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-avatar-frame .avatar-ring {
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: var(--gradient);
  animation: spin 4s linear infinite;
  z-index: 0;
}
.hero-avatar-frame .avatar-img-wrap {
  position: absolute; inset: 3px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
}
.hero-avatar-frame .avatar-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.avatar-placeholder {
  position: absolute; inset: 3px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
  cursor: default;
}
.avatar-placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(0,212,255,0.08), transparent 60%);
}
.avatar-initials {
  position: relative; z-index: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 5rem;
  font-family: var(--grotesk);
  font-weight: 700;
}

.floating-badge {
  position: absolute;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(15, 15, 30, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  font-weight: 500;
  animation: float 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.floating-badge i { font-size: 0.9rem; }
.floating-badge:nth-child(2) { top: 10%; right: 0; animation-delay: 0.5s; color: var(--accent); }
.floating-badge:nth-child(3) { bottom: 15%; left: -10%; animation-delay: 1s; color: var(--gold); }
.floating-badge:nth-child(4) { bottom: 40%; right: -5%; animation-delay: 1.5s; color: var(--accent3); }

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

/* ----- ABOUT ----- */
#about { background: var(--bg2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 20px; }
.about-text p { color: var(--text2); margin-bottom: 16px; line-height: 1.8; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.about-tag {
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.1);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.03);
  text-align: center;
  transition: var(--transition);
}
.about-card:hover { border-color: rgba(0, 212, 255, 0.15); transform: translateY(-4px); }
.about-card .number {
  font-family: var(--grotesk);
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-card .label {
  font-size: 0.8rem;
  color: var(--text2);
  margin-top: 4px;
}
.about-card:first-child { grid-column: 1 / -1; }

/* ----- SKILLS ----- */
#skills { background: var(--bg); }
.skills-header { text-align: center; margin-bottom: 60px; }
.skills-header .section-desc { margin: 0 auto; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
}
.skill-card {
  position: relative;
  padding: 28px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.03);
  text-align: center;
  transition: 0.4s;
  cursor: default;
  overflow: hidden;
}
.skill-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 16px;
  background: var(--gradient);
  opacity: 0;
  transition: 0.4s;
}
.skill-card:hover::before { opacity: 0.08; }
.skill-card:hover { transform: translateY(-6px); border-color: rgba(0, 212, 255, 0.15); }

.skill-card i {
  font-size: 2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}
.skill-card span {
  display: block;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text2);
  position: relative;
  z-index: 1;
}

/* ----- SERVICES ----- */
#services { background: var(--bg2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 50px;
}
.service-card {
  position: relative;
  padding: 40px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: 0.4s;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.4s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-8px); border-color: rgba(0, 212, 255, 0.1); box-shadow: var(--shadow); }
.service-card { text-decoration: none; color: inherit; display: block; }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(0, 212, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--accent);
}
.service-card h3 {
  font-family: var(--grotesk);
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--text2);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ----- TESTIMONIALS / SLIDER ----- */
#testimonials { background: var(--bg); overflow: hidden; }
.testimonials-header { text-align: center; margin-bottom: 50px; }
.testimonials-header .section-desc { margin: 0 auto; }

.slider-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.slider-slide {
  min-width: 100%;
  padding: 0 10px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 40px 35px;
  text-align: center;
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(0, 212, 255, 0.1);
}
.testimonial-card .quote-icon {
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.15;
  margin-bottom: 16px;
}
.testimonial-card blockquote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-card .client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.testimonial-card .client-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 212, 255, 0.15);
}
.testimonial-card .client-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.testimonial-card .client-role {
  font-size: 0.8rem;
  color: var(--text2);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}
.slider-btn:hover {
  background: var(--accent2);
  border-color: var(--accent2);
  color: #fff;
}
.slider-dots {
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text2);
  opacity: 0.3;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  opacity: 1;
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ----- PROJECTS ----- */
#projects { background: var(--bg2); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 50px;
}
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: 0.4s;
}
.project-card:hover { transform: translateY(-8px); border-color: rgba(0, 212, 255, 0.12); box-shadow: var(--shadow); }

.project-thumb {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}
.project-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-thumb img { transform: scale(1.05); }

.project-thumb .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg), transparent 60%);
}
.project-thumb .project-icon-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(5, 5, 10, 0.8);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  font-family: var(--mono);
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-body { padding: 28px; }
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.project-tags span {
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(0, 212, 255, 0.06);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 500;
}
.project-body h3 {
  font-family: var(--grotesk);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.project-body p {
  color: var(--text2);
  font-size: 0.88rem;
  line-height: 1.6;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}
.project-link:hover { gap: 12px; }

/* ----- CERTIFICATIONS ----- */
#certifications { background: var(--bg); }
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.cert-card {
  padding: 30px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: 0.4s;
  text-align: center;
}
.cert-card:hover { transform: translateY(-4px); border-color: rgba(255, 215, 0, 0.15); }
.cert-card i {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--gold), #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.cert-card h4 {
  font-family: var(--grotesk);
  font-size: 1rem;
  margin-bottom: 6px;
}
.cert-card p {
  color: var(--text2);
  font-size: 0.82rem;
}

/* ----- CONTACT ----- */
#contact {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(0,212,255,0.03), transparent 60%);
  animation: pulseGlow 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}
.contact-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.contact-content h2 {
  font-family: var(--grotesk);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.contact-content p {
  color: var(--text2);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 40px;
  border-radius: 60px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 30px;
}
.contact-email i:first-child {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}
.contact-email:hover {
  border-color: var(--accent);
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}
.contact-email .email-text {
  font-family: var(--mono);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.contact-socials a {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  font-size: 1.1rem;
  transition: var(--transition);
}
.contact-socials a:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent2);
  transform: translateY(-3px);
}

/* ----- FOOTER ----- */
footer {
  position: relative;
  z-index: 1;
  padding: 30px 5%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}
footer p {
  color: var(--text2);
  font-size: 0.8rem;
}
footer .footer-brand {
  font-family: var(--grotesk);
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----- SCROLL REVEAL ANIMATIONS ----- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-40px); transition: 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(40px); transition: 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale { opacity: 0; transform: scale(0.9); transition: 0.7s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.5s ease;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.56s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.64s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 0.72s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(11) { transition-delay: 0.80s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(12) { transition-delay: 0.88s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(13) { transition-delay: 0.96s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(14) { transition-delay: 1.04s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(15) { transition-delay: 1.12s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(16) { transition-delay: 1.20s; opacity: 1; transform: translateY(0); }

/* ----- SERVICE DETAIL PAGES ----- */
.service-page-hero {
  padding: 140px 5% 80px;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.service-page-hero::before {
  content: '';
  position: absolute; top: -30%; right: -20%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.06), transparent 70%);
  pointer-events: none;
}
.service-page-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.service-page-hero .service-hero-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: rgba(0, 212, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 20px;
}
.service-page-hero h1 {
  font-family: var(--grotesk);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}
.service-page-hero p {
  color: var(--text2);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-page-hero .hero-visual img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.service-detail-section {
  padding: 80px 5%;
  background: var(--bg);
}
.service-detail-section:nth-child(even) { background: var(--bg2); }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail-grid img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.03);
}
.service-detail-content h2 {
  font-family: var(--grotesk);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.service-detail-content p {
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 16px;
}
.service-detail-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-detail-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text2);
  font-size: 0.95rem;
}
.service-detail-content ul li i {
  color: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.process-step {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition);
  position: relative;
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.1);
}
.process-step .step-number {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 auto 16px;
}
.process-step h4 {
  font-family: var(--grotesk);
  margin-bottom: 8px;
}
.process-step p {
  color: var(--text2);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Pricing / CTA section inline */
.service-cta-box {
  text-align: center;
  max-width: 700px;
  margin: 40px auto 0;
  padding: 50px 40px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.03);
}
.service-cta-box h3 {
  font-family: var(--grotesk);
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.service-cta-box p {
  color: var(--text2);
  margin-bottom: 24px;
}

.service-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text2);
  font-size: 0.85rem;
  transition: var(--transition);
  margin-bottom: 20px;
}
.service-back-link:hover { color: var(--accent); gap: 12px; }

@media (max-width: 768px) {
  .service-page-hero .container { grid-template-columns: 1fr; }
  .service-page-hero .hero-visual { order: -1; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-grid.reverse { direction: ltr; }
  .service-cta-box { padding: 30px 20px; }
}

/* ----- RESPONSIVE ----- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-avatar-frame { width: 280px; height: 280px; margin: 0 auto; }
  .avatar-initials { font-size: 3.5rem; }
  .floating-badge { font-size: 0.65rem; padding: 6px 12px; }
  .floating-badge:nth-child(2) { top: 5%; right: 5%; }
  .floating-badge:nth-child(3) { bottom: 10%; left: 5%; }
  .floating-badge:nth-child(4) { bottom: 35%; right: 0; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: rgba(5,5,10,0.98);
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .hamburger { display: flex; }

  .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  section { padding: 60px 5%; }
  .hero-avatar-frame { width: 200px; height: 200px; }
  .avatar-initials { font-size: 2.5rem; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stat h3 { font-size: 1.4rem; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-email { padding: 14px 20px; font-size: 0.9rem; flex-wrap: wrap; justify-content: center; }
  .contact-email .email-text { font-size: 0.8rem; }
  .whatsapp-float { width: 48px; height: 48px; font-size: 1.3rem; bottom: 16px; right: 16px; }
}
