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

:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #1a1a25;
  --surface: #22223a;
  --text: #e8e8f0;
  --text-muted: #8888aa;
  --accent1: #6c63ff;
  --accent2: #e040fb;
  --accent3: #00e5ff;
  --gradient: linear-gradient(135deg, var(--accent1), var(--accent2));
  --gradient2: linear-gradient(135deg, var(--accent2), var(--accent3));
  --gradient3: linear-gradient(135deg, var(--accent1), var(--accent3));
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Space Grotesk', sans-serif;
  --font-display: 'Playfair Display', serif;
  --shadow: 0 8px 32px rgba(108, 99, 255, 0.15);
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: auto;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent1); border-radius: 10px; }

::selection { background: var(--accent1); color: #fff; }

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

.section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent1);
  margin-bottom: 12px;
  border: 1px solid rgba(108, 99, 255, 0.3);
  padding: 6px 18px;
  border-radius: 50px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 60px;
  letter-spacing: -0.5px;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s, visibility 0.6s;
}

#preloader.hidden { opacity: 0; visibility: hidden; }

.loader-ring {
  width: 50px; height: 50px;
  border: 3px solid rgba(108, 99, 255, 0.1);
  border-top-color: var(--accent1);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(108, 99, 255, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-right: auto;
}

.nav-logo .dot { color: var(--accent1); }

.nav-menu {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 24px;
  background: var(--gradient);
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(108, 99, 255, 0.4); }

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

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

.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: 0 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg) 70%);
  z-index: 1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

.orb1 {
  width: 500px; height: 500px;
  background: var(--accent1);
  top: -10%; left: -10%;
  animation-delay: 0s;
}

.orb2 {
  width: 400px; height: 400px;
  background: var(--accent2);
  bottom: -10%; right: -10%;
  animation-delay: 2s;
}

.orb3 {
  width: 300px; height: 300px;
  background: var(--accent3);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 4s;
  opacity: 0.15;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -50px) scale(1.05); }
  50% { transform: translate(-30px, 30px) scale(0.95); }
  75% { transform: translate(40px, 40px) scale(1.02); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid rgba(108, 99, 255, 0.4);
  border-radius: 50px;
  margin-bottom: 32px;
  color: var(--accent1);
  animation: fadeInUp 0.6s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.title-line {
  display: block;
  animation: fadeInUp 0.6s ease backwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.3s; }
.title-line:nth-child(3) { animation-delay: 0.5s; }

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

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 0.6s ease 0.4s backwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.6s backwards;
}

.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(108, 99, 255, 0.35);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(108, 99, 255, 0.5); }
.btn-primary i { transition: var(--transition); }
.btn-primary:hover i { transform: translateX(4px); }

.btn-outline {
  border: 1.5px solid rgba(108, 99, 255, 0.4);
  color: var(--text);
}

.btn-outline:hover { border-color: var(--accent1); background: rgba(108, 99, 255, 0.08); transform: translateY(-3px); }

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.mouse {
  width: 26px; height: 40px;
  border: 2px solid rgba(136, 136, 170, 0.4);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 3px; height: 8px;
  background: var(--accent1);
  border-radius: 4px;
  animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.about-image-frame {
  width: 320px;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  z-index: 2;
  background: var(--bg3);
  border: 1px solid rgba(108, 99, 255, 0.15);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-shape {
  position: absolute;
  width: 320px;
  height: 380px;
  border: 2px solid var(--accent1);
  border-radius: var(--radius);
  top: 16px;
  left: 16px;
  z-index: 1;
  opacity: 0.3;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.about-stats {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 100px;
  padding: 16px 12px;
  background: var(--bg2);
  border: 1px solid rgba(108, 99, 255, 0.08);
  border-radius: var(--radius-sm);
  text-align: center;
}

.about-stat-num {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stat span:last-child {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg2);
  border: 1px solid rgba(108, 99, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  border-color: rgba(108, 99, 255, 0.25);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(108, 99, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent1);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

/* ===== SKILLS ===== */
.skills-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.skills-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.skills-bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-bar-item { }

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.skill-percent {
  color: var(--accent1);
}

.skill-bar-track {
  width: 100%;
  height: 6px;
  background: var(--bg3);
  border-radius: 10px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  width: 0;
  background: var(--gradient);
  border-radius: 10px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-bar-fill.animate { }

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

.skill-tag {
  padding: 10px 22px;
  background: var(--bg2);
  border: 1px solid rgba(108, 99, 255, 0.12);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.skill-tag:hover {
  border-color: var(--accent1);
  color: var(--accent1);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.15);
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--bg2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(108, 99, 255, 0.08);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 99, 255, 0.2);
  box-shadow: var(--shadow);
}

.project-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-img-wrap {
  width: 100%;
  height: 100%;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-img { transform: scale(1.05); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay { opacity: 1; }

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

.project-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
}

.project-link:hover { background: var(--accent1); border-color: var(--accent1); transform: translateY(-2px); }

.project-info {
  padding: 24px;
}

.project-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent1);
  margin-bottom: 8px;
  display: inline-block;
}

.project-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== WORK / TIMELINE ===== */
.work-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.work-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent1), var(--accent2));
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  padding-left: 64px;
  margin-bottom: 48px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: 16px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent1);
  box-shadow: 0 0 20px rgba(108, 99, 255, 0.3);
}

.timeline-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent1);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.timeline-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* ===== TESTIMONIALS ===== */
.testimonials-slider {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  min-height: 240px;
}

.testimonial-card {
  text-align: center;
  display: none;
  animation: fadeIn 0.5s ease;
}

.testimonial-card.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent1);
  font-size: 1.2rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.testimonial-dots .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg3);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dots .dot.active {
  background: var(--accent1);
  width: 30px;
  border-radius: 10px;
}

/* ===== SLIDER / GALLERY ===== */
.slider-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg2);
  border: 1px solid rgba(108, 99, 255, 0.08);
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 5;
  backdrop-filter: blur(8px);
}

.slider-btn:hover { background: var(--accent1); border-color: var(--accent1); }

.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slider-dots .s-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots .s-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 10px;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.7); }
}

.gmail-btn {
  position: fixed;
  bottom: 96px;
  left: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #4285f4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(66, 133, 244, 0.4);
  transition: var(--transition);
}

.gmail-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(66, 133, 244, 0.5);
}

/* ===== CONTACT ===== */
.contact-content {
  text-align: center;
  max-width: 550px;
  margin: 0 auto;
}

.contact-content p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 18px 36px;
  background: var(--bg2);
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: 60px;
  transition: var(--transition);
  margin-bottom: 36px;
}

.contact-email:hover {
  border-color: var(--accent1);
  box-shadow: 0 4px 24px rgba(108, 99, 255, 0.15);
  transform: translateY(-3px);
}

.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent1);
  font-size: 1rem;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-link {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid rgba(108, 99, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 1.1rem;
}

.social-link:hover {
  color: var(--accent1);
  border-color: var(--accent1);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.15);
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 0;
  border-top: 1px solid rgba(108, 99, 255, 0.06);
}

.footer-content {
  text-align: center;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo .dot { color: var(--accent1); }

.footer-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(136, 136, 170, 0.5);
}

.heart { color: var(--accent2); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
}

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

.back-to-top:hover { transform: translateY(-3px); }

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FADE IN UP KEYFRAME ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu { 
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(108, 99, 255, 0.1);
  }

  .nav-menu.active { right: 0; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  body { cursor: auto; }
  a, button { cursor: pointer; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .skills-content { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .section { padding: 80px 0; }
  .slider-container { aspect-ratio: 4/3; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2rem, 10vw, 2.8rem); }
  .about-image-frame { width: 260px; height: 310px; }
  .about-shape { width: 260px; height: 310px; }
}
