/* ===== Design System ===== */
:root {
  --bg-primary: #050810;
  --bg-secondary: #0c1222;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #06b6d4;
  --accent-2: #8b5cf6;
  --accent-light: #22d3ee;
  --accent-glow: rgba(6, 182, 212, 0.35);
  --purple-glow: rgba(139, 92, 246, 0.3);
  --whatsapp: #25d366;
  --youtube: #ff0033;
  --border: rgba(148, 163, 184, 0.1);
  --border-hover: rgba(6, 182, 212, 0.4);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 76px;
  --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --gradient-text: linear-gradient(135deg, #22d3ee 0%, #a78bfa 50%, #f472b6 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }

h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; position: relative; }
.section-alt { background: var(--bg-secondary); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gradient);
}
.section-header p { color: var(--text-secondary); max-width: 560px; margin: 0.75rem auto 0; font-size: 1.05rem; }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Animated Background ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  animation: float-glow 8s ease-in-out infinite;
}
.bg-glow-1 { top: -200px; right: -100px; background: var(--accent); }
.bg-glow-2 { bottom: -200px; left: -100px; background: var(--accent-2); animation-delay: -4s; }

@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(5, 8, 16, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--gradient);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.logo span { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; gap: 0.15rem; align-items: center; }
.nav-links a {
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(6, 182, 212, 0.1);
}
.nav-cta {
  background: var(--gradient) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 50px !important;
  margin-left: 0.5rem;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); color: #fff !important; }
.nav-toggle {
  display: none;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--accent-glow);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(6, 182, 212, 0.08);
  transform: translateY(-3px);
  color: var(--accent-light);
}
.btn-youtube { background: var(--youtube); color: #fff; }
.btn-youtube:hover { background: #cc0029; color: #fff; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(255, 0, 51, 0.35); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  z-index: 1;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  animation: fade-in-up 0.8s ease;
}
.hero-badge i { animation: spin-slow 4s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 { margin-bottom: 0.5rem; animation: fade-in-up 0.8s ease 0.1s both; }
.hero-title-sub {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  animation: fade-in-up 0.8s ease 0.2s both;
}
.hero-bio {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.8;
  animation: fade-in-up 0.8s ease 0.3s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fade-in-up 0.8s ease 0.4s both;
}
.hero-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  animation: fade-in-up 0.8s ease 0.5s both;
}
.tech-pill {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.social-bar { display: flex; gap: 0.65rem; margin-top: 1.75rem; animation: fade-in-up 0.8s ease 0.6s both; }
.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
  font-size: 1.05rem;
}
.social-link:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* Profile Image */
.hero-visual { position: relative; display: flex; justify-content: center; animation: fade-in-up 1s ease 0.3s both; }
.profile-frame {
  position: relative;
  width: min(340px, 90vw);
  aspect-ratio: 1;
}
.profile-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: var(--gradient);
  animation: rotate-ring 6s linear infinite;
  opacity: 0.7;
}
.profile-ring::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg-primary);
}
@keyframes rotate-ring {
  to { transform: rotate(360deg); }
}
.profile-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 60px var(--accent-glow), 0 0 100px var(--purple-glow);
}
.profile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.profile-frame:hover .profile-img-wrap img { transform: scale(1.05); }
.profile-float-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow);
  animation: float-card 3s ease-in-out infinite;
}
.profile-float-card i { color: var(--accent); }
.profile-float-card.card-1 { top: 10%; right: -10%; animation-delay: 0s; }
.profile-float-card.card-2 { bottom: 15%; left: -15%; animation-delay: -1.5s; }
.profile-float-card.card-3 { bottom: 5%; right: -5%; animation-delay: -0.75s; }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== AI Focus Section ===== */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.ai-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.ai-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.ai-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow), var(--shadow-glow);
}
.ai-card:hover::before { transform: scaleX(1); }
.ai-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(139, 92, 246, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}
.ai-card h3 { margin-bottom: 0.6rem; }
.ai-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== Stats ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition);
}
.stat-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.stat-card .number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card .label { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.25rem; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text p { color: var(--text-secondary); margin-bottom: 1.25rem; font-size: 1.02rem; }
.about-highlight {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}
.about-highlight p { margin: 0; color: var(--text-primary); font-weight: 500; }

/* ===== Skills ===== */
.skills-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}
.skills-primary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.skills-primary::after {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.skills-primary h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-light);
}
.skill-bar-group { margin-bottom: 1.25rem; }
.skill-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
}
.skill-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.skills-secondary { display: flex; flex-direction: column; gap: 1.25rem; }
.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}
.skill-category:hover { border-color: var(--border-hover); }
.skill-category h3 {
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.skill-tag {
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.12);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.skill-tag:hover { background: rgba(6, 182, 212, 0.15); color: var(--accent-light); }
.skill-tag.ai-tag {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
}

/* ===== Projects ===== */
.projects-showcase { display: flex; flex-direction: column; gap: 2rem; }
.project-featured {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
}
.project-featured:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow), 0 0 60px var(--accent-glow);
}
.project-featured-visual {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(139, 92, 246, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.project-featured-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2306b6d4' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.project-featured-visual i {
  font-size: 5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.project-featured-content { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.project-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  width: fit-content;
}
.project-featured-content h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.project-featured-content p { color: var(--text-secondary); margin-bottom: 1.25rem; line-height: 1.7; }
.project-tech { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }
.project-tech span {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-light);
}
.project-link:hover { gap: 0.75rem; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.project-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(139, 92, 246, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}
.project-card h3 { margin-bottom: 0.65rem; }
.project-card p { color: var(--text-secondary); font-size: 0.88rem; flex: 1; margin-bottom: 1.25rem; line-height: 1.65; }

.about-grid .stats-row { grid-template-columns: repeat(2, 1fr); }
.project-card .project-tech { margin-bottom: 1.25rem; }
.timeline { position: relative; max-width: 720px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2), transparent);
}
.timeline-item {
  position: relative;
  padding-left: 64px;
  padding-bottom: 2.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 12px var(--accent-glow);
}
.timeline-date {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
.timeline-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.timeline-item p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== Certificates ===== */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}
.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
}
.cert-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}
.cert-card img { width: 100%; height: 190px; object-fit: cover; transition: transform 0.5s ease; }
.cert-card:hover img { transform: scale(1.05); }
.cert-info { padding: 1.15rem; }
.cert-info h3 { font-size: 0.92rem; margin-bottom: 0.3rem; }
.cert-info p { color: var(--text-muted); font-size: 0.8rem; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info p { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 1.02rem; }
.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.contact-item:hover { border-color: var(--border-hover); transform: translateX(6px); }
.contact-item i {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(139, 92, 246, 0.12));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  font-size: 1.1rem;
}
.contact-item span { color: var(--text-muted); font-size: 0.82rem; display: block; }
.contact-item strong { color: var(--text-primary); font-size: 0.95rem; }

/* ===== WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.7rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all var(--transition);
  animation: whatsapp-bounce 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.12); color: #fff; }
@keyframes whatsapp-bounce {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 6px 36px rgba(37, 211, 102, 0.7); }
}
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #fff;
  color: #111;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  position: relative;
  z-index: 1;
}
.footer .container { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.footer p { color: var(--text-muted); font-size: 0.85rem; }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform var(--transition);
  position: relative;
}
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
}
.modal-content img { width: 100%; }
.modal-body { padding: 1.5rem; }
.modal-body h3 { margin-bottom: 0.5rem; }
.modal-body p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== Page Header ===== */
.page-header {
  padding: calc(var(--nav-height) + 5rem) 0 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-header h1 { margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }
.page-header p { color: var(--text-secondary); max-width: 640px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; }

/* ===== YouTube Page ===== */
.youtube-hero-video {
  margin-bottom: 3rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 50px rgba(255, 0, 51, 0.1);
}
.youtube-hero-video .video-wrapper { padding-bottom: 50%; }
.youtube-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.youtube-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}
.youtube-stat:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.youtube-stat .number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.youtube-stat .label { color: var(--text-secondary); font-size: 0.9rem; margin-top: 0.25rem; }
.youtube-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 4rem; }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.video-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-info {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.video-info i { color: var(--youtube); margin-top: 0.2rem; flex-shrink: 0; }
.video-info h3 { font-size: 0.95rem; line-height: 1.5; font-weight: 600; }
.video-info p { color: var(--text-muted); font-size: 0.8rem; margin-top: 0.35rem; }

/* ===== Photography Page ===== */
.photo-intro {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 1.02rem;
}
.gear-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.gear-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}
.gear-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.gear-card i { font-size: 2rem; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.85rem; }
.gear-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.gear-card p { color: var(--text-muted); font-size: 0.85rem; }

/* Photo Filters */
.photo-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
  z-index: 50;
  padding: 1rem;
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent-light); }
.filter-btn.active {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.photo-masonry {
  columns: 3;
  column-gap: 1.25rem;
}
.photo-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.photo-item.hidden { display: none; }
.photo-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.photo-item img {
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.photo-item:hover img { transform: scale(1.06); }
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(0,0,0,0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.photo-item:hover .photo-overlay { opacity: 1; }
.photo-overlay h3 { font-size: 0.92rem; margin-bottom: 0.2rem; }
.photo-overlay p { font-size: 0.75rem; color: rgba(255,255,255,0.7); }
.photo-category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  color: var(--accent-light);
  opacity: 0;
  transition: opacity var(--transition);
}
.photo-item:hover .photo-category-badge { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 80vh;
  transform: scale(0.9);
  transition: transform var(--transition);
}
.lightbox.active .lightbox-img-wrap { transform: scale(1); }
.lightbox img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  max-width: 600px;
  padding: 0 1rem;
}
.lightbox-caption h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.lightbox-caption p { font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.15); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-counter {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-bio { margin: 0 auto 2rem; }
  .hero-actions, .hero-tech, .social-bar { justify-content: center; }
  .hero-visual { order: -1; }
  .profile-frame { width: 260px; }
  .profile-float-card { display: none; }
  .skills-showcase { grid-template-columns: 1fr; }
  .project-featured { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .photo-masonry { columns: 2; }
  .videos-grid { grid-template-columns: 1fr; }
  .gear-info { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(5, 8, 16, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a { width: 100%; text-align: center; padding: 0.85rem; }
  .nav-cta { margin-left: 0 !important; }
  .projects-grid { grid-template-columns: 1fr; }
  .photo-masonry { columns: 1; }
  .youtube-stats { grid-template-columns: 1fr; }
  .whatsapp-tooltip { display: none; }
  .photo-filters { position: static; }
}
