/* ═══════════════════════════════════════════
   RANJITH K — Digital Marketing Portfolio
   ─────────── CSS ──────────────────────────
   ═══════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #0f0f2a;
  --bg-card: rgba(255,255,255,0.03);
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.7);
  --cyan: #00f0ff;
  --purple: #7b2ff7;
  --pink: #ff2d78;
  --gold: #ffd700;
  --green: #25d366;
  --gradient-1: linear-gradient(135deg, #00f0ff, #7b2ff7);
  --gradient-2: linear-gradient(135deg, #7b2ff7, #ff2d78);
  --gradient-3: linear-gradient(135deg, #00f0ff, #ff2d78);
  --gradient-gold: linear-gradient(135deg, #ffd700, #ff6b00);
  --gradient-dark: linear-gradient(135deg, #0a0a1a, #0f0f2a);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-neon: 0 0 30px rgba(0,240,255,0.15);
  --shadow-card: 0 20px 60px rgba(0,0,0,0.3);
  --max-width: 1200px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--gradient-1);
  border-radius: 3px;
}
::selection { background: var(--purple); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Preloader ─── */
.preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.5rem;
  transition: opacity 0.8s, visibility 0.8s;
}
.preloader.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(--cyan);
  border-right-color: var(--purple);
  animation: spin 1s linear infinite;
}
.loader-text {
  font-size: 0.85rem; color: var(--text-secondary);
  letter-spacing: 2px; text-transform: uppercase;
}
.loader-dots span {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); margin: 0 4px;
  animation: dotPulse 1.4s ease-in-out infinite both;
}
.loader-dots span:nth-child(1) { animation-delay: -0.32s; background: var(--cyan); }
.loader-dots span:nth-child(2) { animation-delay: -0.16s; background: var(--purple); }
.loader-dots span:nth-child(3) { animation-delay: 0s; background: var(--pink); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dotPulse {
  0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

/* ─── Navigation ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  padding: 0 2rem;
  transition: var(--transition);
}
nav.scrolled {
  background: rgba(10,10,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo span { color: var(--text-primary); -webkit-text-fill-color: var(--text-primary); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  color: var(--text-secondary); font-size: 0.9rem; 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-1); border-radius: 1px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--cyan); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 5px;
}
.hamburger span {
  width: 28px; height: 2px; background: var(--text-primary);
  transition: var(--transition); border-radius: 2px;
  display: block;
}
.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); }

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 6rem 2rem 4rem;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('https://images.pexels.com/photos/3184418/pexels-photo-3184418.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,26,0.92) 0%, rgba(10,10,26,0.6) 50%, rgba(15,15,42,0.85) 100%),
    radial-gradient(ellipse at 30% 50%, rgba(0,240,255,0.08), transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(123,47,247,0.08), transparent 60%);
}
#particles-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.gradient-orb {
  position: absolute; width: 600px; height: 600px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  transition: transform 0.3s ease;
  background: radial-gradient(circle, rgba(0,240,255,0.06), transparent 70%);
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 850px; }

/* Hero Profile Photo */
.hero-profile {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}
.hero-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0,240,255,0.3);
  box-shadow: 0 0 60px rgba(0,240,255,0.15), 0 0 120px rgba(123,47,247,0.1);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}
.hero-photo:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 80px rgba(0,240,255,0.25), 0 0 160px rgba(123,47,247,0.15);
  transform: scale(1.03);
}
.hero-photo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: conic-gradient(from 0deg, var(--cyan), var(--purple), var(--pink), var(--cyan)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
  animation: spin 4s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px;
  background: rgba(123,47,247,0.15);
  border: 1px solid rgba(123,47,247,0.3);
  font-size: 0.85rem; color: var(--purple); font-weight: 500;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease;
}
.hero-badge i { font-size: 0.75rem; }
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700; line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.1s both;
}
.gradient-text {
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.typewriter {
  color: var(--cyan);
  border-right: 2px solid var(--cyan);
  padding-right: 4px;
  animation: blink 0.8s step-end infinite;
}
@keyframes blink { 50% { border-color: transparent; } }
.hero-actions {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--gradient-1); color: #fff;
  box-shadow: 0 0 30px rgba(0,240,255,0.2);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0,240,255,0.35);
}
.btn-secondary {
  background: rgba(255,255,255,0.05); color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}
.btn-gold {
  background: var(--gradient-gold); color: #000; font-weight: 700;
  box-shadow: 0 0 30px rgba(255,215,0,0.2);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(255,215,0,0.35);
}
.hero-stats {
  display: flex; gap: 3rem; justify-content: center;
  margin-top: 3rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem; font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.85rem; color: var(--text-secondary); margin-top: 4px; }

/* ─── Common Section Styles ─── */
section { padding: 5rem 2rem; position: relative; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.15);
  font-size: 0.8rem; color: var(--cyan);
  font-weight: 500; margin-bottom: 1rem;
  text-transform: uppercase; letter-spacing: 1px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; margin-bottom: 1rem;
  line-height: 1.2;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem; max-width: 650px;
  margin-bottom: 3rem;
}

/* ─── About Section ─── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.about-image-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
}
.about-image-wrap img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
}
.about-image-wrap::after {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,240,255,0.1), transparent 50%);
  pointer-events: none;
}
.about-image-glow {
  position: absolute; width: 300px; height: 300px;
  border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(0,240,255,0.08), transparent 70%);
  top: -50px; right: -50px;
}
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.8; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 1.5rem; }
.about-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; color: var(--text-secondary);
}
.about-features li i { color: var(--cyan); font-size: 0.75rem; }

/* ─── Modules Grid ─── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.module-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.module-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  right: 0; height: 3px;
  background: var(--gradient-1);
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.module-card:hover::before { transform: scaleX(1); }
.module-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,240,255,0.15);
  box-shadow: var(--shadow-card);
}
.module-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.2rem;
}
.module-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem; margin-bottom: 0.6rem;
  line-height: 1.3;
}
.module-card p {
  color: var(--text-secondary); font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── Projects Slider ─── */
.swiper-slide { height: auto; }
.project-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,240,255,0.12);
  box-shadow: var(--shadow-card);
}
.project-card img {
  width: 100%; height: 220px; object-fit: cover;
}
.project-body { padding: 1.5rem; }
.project-body .tag {
  display: inline-flex; padding: 4px 12px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 500; margin-bottom: 0.8rem;
  background: rgba(123,47,247,0.12); color: var(--purple);
}
.project-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; margin-bottom: 0.5rem;
}
.project-body p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }

/* Swiper custom nav */
.slider-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 2rem;
}
.slider-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-primary); cursor: pointer;
  transition: var(--transition); font-size: 1rem;
}
.slider-btn:hover {
  background: var(--gradient-1);
  border-color: transparent;
}
.swiper-pagination-custom {
  display: flex; gap: 6px;
}
.swiper-pagination-custom .swiper-pagination-bullet {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  opacity: 1; transition: var(--transition);
  cursor: pointer;
}
.swiper-pagination-custom .swiper-pagination-bullet-active {
  width: 28px; border-radius: 4px;
  background: var(--gradient-1);
}

/* ─── Passion Section ─── */
.passion-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}
.passion-left { text-align: center; }
.passion-photo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.2rem;
}
.passion-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0,240,255,0.25);
  box-shadow: 0 0 60px rgba(0,240,255,0.12), 0 0 120px rgba(123,47,247,0.08);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}
.passion-photo:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 80px rgba(0,240,255,0.2), 0 0 160px rgba(123,47,247,0.12);
  transform: scale(1.03);
}
.passion-photo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: conic-gradient(from 0deg, var(--cyan), var(--purple), var(--pink), var(--gold), var(--cyan)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
  animation: spin 5s linear infinite;
}
.passion-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.passion-title {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 4px;
}
.passion-right { padding-left: 1rem; }
.passion-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.passion-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.passion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.passion-tags span {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  background: rgba(0,240,255,0.06);
  border: 1px solid rgba(0,240,255,0.1);
  color: var(--cyan);
  transition: var(--transition);
}
.passion-tags span:hover {
  background: rgba(0,240,255,0.12);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .passion-grid { grid-template-columns: 1fr; gap: 2rem; }
  .passion-right { padding-left: 0; }
  .passion-photo { width: 180px; height: 180px; }
}

/* ─── Testimonials Slider (deprecated) ─── */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.testimonial-card .avatar {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; margin-bottom: 1.2rem;
  border: 2px solid rgba(0,240,255,0.2);
}
.testimonial-card .stars {
  color: var(--gold); font-size: 0.9rem;
  margin-bottom: 1rem; letter-spacing: 2px;
}
.testimonial-card blockquote {
  color: var(--text-secondary); font-size: 0.95rem;
  line-height: 1.8; font-style: italic;
  max-width: 500px; margin-bottom: 1.2rem;
}
.testimonial-card .name {
  font-weight: 600; font-size: 0.95rem;
}
.testimonial-card .role {
  color: var(--text-secondary); font-size: 0.8rem;
}

/* ─── Services Grid ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(123,47,247,0.2);
  box-shadow: var(--shadow-card);
}
.service-icon {
  width: 64px; height: 64px; border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(0,240,255,0.1), rgba(123,47,247,0.1));
  color: var(--cyan);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--gradient-1); color: #fff;
  transform: scale(1.1);
}
.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; margin-bottom: 0.5rem;
}
.service-card p { color: var(--text-secondary); font-size: 0.85rem; }

/* ─── Skills Section ─── */
.skills-section {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 3rem;
  margin-top: 3rem;
}
.skills-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem; margin-bottom: 2rem;
}
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.skill-item { margin-bottom: 1.2rem; }
.skill-info {
  display: flex; justify-content: space-between;
  margin-bottom: 6px; font-size: 0.9rem;
}
.skill-bar {
  height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.skill-fill {
  height: 100%; border-radius: 3px;
  width: 0; transition: width 1.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.skill-fill.seo { background: var(--gradient-1); }
.skill-fill.smm { background: var(--gradient-2); }
.skill-fill.ads { background: linear-gradient(135deg, #ffd700, #ff6b00); }
.skill-fill.content { background: linear-gradient(135deg, #00f0ff, #00d4aa); }
.skill-fill.email { background: linear-gradient(135deg, #7b2ff7, #a855f7); }
.skill-fill.analytics { background: linear-gradient(135deg, #ff2d78, #ff6b6b); }
.skill-fill.ai { background: linear-gradient(135deg, #00f0ff, #7b2ff7, #ff2d78); }

/* ─── Tools / Tech ─── */
.tools-grid {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center; margin-top: 2rem;
}
.tool-badge {
  padding: 8px 18px; border-radius: 50px;
  font-size: 0.85rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
  cursor: default;
}
.tool-badge:hover {
  transform: translateY(-2px);
}
.tool-badge:nth-child(1) { background: rgba(0,240,255,0.08); border: 1px solid rgba(0,240,255,0.12); }
.tool-badge:nth-child(2) { background: rgba(123,47,247,0.08); border: 1px solid rgba(123,47,247,0.12); }
.tool-badge:nth-child(3) { background: rgba(255,215,0,0.08); border: 1px solid rgba(255,215,0,0.12); }
.tool-badge:nth-child(4) { background: rgba(0,212,170,0.08); border: 1px solid rgba(0,212,170,0.12); }
.tool-badge:nth-child(5) { background: rgba(255,45,120,0.08); border: 1px solid rgba(255,45,120,0.12); }
.tool-badge:nth-child(6) { background: rgba(0,240,255,0.08); border: 1px solid rgba(0,240,255,0.12); }
.tool-badge:nth-child(7) { background: rgba(123,47,247,0.08); border: 1px solid rgba(123,47,247,0.12); }
.tool-badge:nth-child(8) { background: rgba(255,107,107,0.08); border: 1px solid rgba(255,107,107,0.12); }
.tool-badge:nth-child(9) { background: rgba(0,212,170,0.08); border: 1px solid rgba(0,212,170,0.12); }
.tool-badge:nth-child(10) { background: rgba(255,215,0,0.08); border: 1px solid rgba(255,215,0,0.12); }

/* ─── CTA Section ─── */
.cta-section {
  background: var(--bg-secondary);
  position: relative; overflow: hidden;
}
.cta-bg-fade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 50%, rgba(0,240,255,0.04), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(123,47,247,0.04), transparent 50%);
}
.cta-box {
  position: relative; z-index: 2;
  text-align: center; max-width: 700px; margin: 0 auto;
}
.cta-box h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}
.cta-box p {
  color: var(--text-secondary); margin-bottom: 2.5rem; font-size: 1.05rem;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-card {
  display: flex; align-items: center; gap: 16px;
  padding: 1.2rem 2rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none; color: var(--text-primary);
  transition: var(--transition); min-width: 240px;
}
.cta-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,240,255,0.15);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.cta-card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.cta-card .icon.email { background: rgba(0,240,255,0.12); color: var(--cyan); }
.cta-card .icon.whatsapp { background: rgba(37,211,102,0.12); color: var(--green); }
.cta-card .label { font-size: 0.8rem; color: var(--text-secondary); }
.cta-card .value { font-weight: 600; font-size: 0.95rem; word-break: break-all; }

/* ─── CTA Banner Image ─── */
.cta-image-row {
  display: flex; gap: 1rem; justify-content: center;
  margin-top: 3rem; flex-wrap: wrap;
}
.cta-image-row img {
  width: 120px; height: 80px; object-fit: cover;
  border-radius: var(--radius-xs);
  opacity: 0.4; filter: grayscale(0.8);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.04);
}
.cta-image-row img:hover {
  opacity: 0.8; filter: grayscale(0);
  transform: scale(1.05);
}

/* ─── Footer ─── */
footer {
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-links {
  display: flex; justify-content: center;
  gap: 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-secondary); font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--cyan); }
.footer-social {
  display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.5rem;
}
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary); text-decoration: none;
  transition: var(--transition); font-size: 1.1rem;
}
.footer-social a:hover {
  background: var(--gradient-1); color: #fff;
  transform: translateY(-3px);
}
.footer-copy { color: var(--text-secondary); font-size: 0.85rem; }
.footer-divider {
  width: 40px; height: 2px; margin: 0 auto 1.5rem;
  background: var(--gradient-1); border-radius: 1px;
}

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible {
  opacity: 1; transform: translateY(0);
}

/* ─── Section Alternating Backgrounds ─── */
.section-alt { background: var(--bg-secondary); }
.section-alt-dark { background: var(--bg-primary); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image-wrap { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    background: rgba(10,10,26,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column; padding: 2rem; gap: 1.5rem;
    transform: translateY(-100%); opacity: 0;
    pointer-events: none; transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    align-items: center;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .hamburger { display: flex; }
  .hero { padding: 5rem 1rem 3rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-number { font-size: 1.5rem; }
  section { padding: 3rem 1rem; }
  .skills-section { padding: 2rem 1.5rem; }
  .skills-grid { grid-template-columns: 1fr; }
  .cta-card { width: 100%; }
  .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .section-title { font-size: 1.6rem; }
}
