/* ============================================
   VISHNU META ADS PORTFOLIO - GLOBAL STYLES
   ============================================ */

:root {
  --bg-primary: #151515;
  --bg-secondary: #1a1a1a;
  --bg-card: #1e1e1e;
  --bg-elevated: #222222;
  --cta: #BFF746;
  --cta-hover: #a8e030;
  --purple: #9333ea;
  --purple-light: #a855f7;
  --purple-dark: #6b21a8;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(191,247,70,0.3);
  --gradient-cta: linear-gradient(135deg, #BFF746, #8ed62d);
  --gradient-purple: linear-gradient(135deg, #9333ea, #6366f1);
  --gradient-dark: linear-gradient(135deg, #1e1e1e, #151515);
  --gradient-hero: linear-gradient(135deg, #0d0d0d 0%, #151515 50%, #1a0a2e 100%);
  --shadow-card: 0 4px 32px rgba(0,0,0,0.4);
  --shadow-cta: 0 0 30px rgba(191,247,70,0.25);
  --shadow-purple: 0 0 30px rgba(147,51,234,0.3);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; }

p { color: var(--gray-400); line-height: 1.8; }

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

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

.text-cta { color: var(--cta); }
.text-purple { color: var(--purple-light); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray-400); }

.gradient-text {
  background: linear-gradient(135deg, #BFF746 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- LAYOUT ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(191,247,70,0.1);
  border: 1px solid rgba(191,247,70,0.2);
  color: var(--cta);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-badge.purple {
  background: rgba(147,51,234,0.1);
  border-color: rgba(147,51,234,0.2);
  color: var(--purple-light);
}

.section-title { color: var(--white); margin-bottom: 16px; }
.section-subtitle { color: var(--gray-400); max-width: 600px; font-size: 1.1rem; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-subtitle { margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--cta);
  color: #0d0d0d;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(191,247,70,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--cta);
  color: var(--cta);
  background: rgba(191,247,70,0.05);
}

.btn-purple {
  background: var(--gradient-purple);
  color: var(--white);
  box-shadow: var(--shadow-purple);
}
.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(147,51,234,0.5);
}

.btn-lg { padding: 18px 36px; font-size: 1.05rem; border-radius: 10px; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---- CARDS ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(191,247,70,0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card-purple:hover {
  border-color: rgba(147,51,234,0.3);
}

/* ---- NAVIGATION ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(21,21,21,0.95);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--cta);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d0d0d;
  font-size: 1rem;
}

.nav-logo span { color: var(--white); }
.nav-logo em { color: var(--cta); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: var(--transition);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.nav-links a.active { color: var(--cta); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- STAT CHIPS ---- */
.stat-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  min-width: 110px;
  text-align: center;
}

.stat-chip .stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cta);
  line-height: 1;
}

.stat-chip .stat-label {
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- TAGS ---- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--gray-400);
}

.tag.tag-cta {
  background: rgba(191,247,70,0.1);
  border-color: rgba(191,247,70,0.2);
  color: var(--cta);
}

.tag.tag-purple {
  background: rgba(147,51,234,0.1);
  border-color: rgba(147,51,234,0.2);
  color: var(--purple-light);
}

/* ---- CAROUSEL ---- */
.carousel-wrapper { position: relative; overflow: hidden; }

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(21,21,21,0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  color: var(--white);
}

.carousel-btn:hover {
  border-color: var(--cta);
  color: var(--cta);
  box-shadow: var(--shadow-cta);
}

.carousel-btn.prev { left: -24px; }
.carousel-btn.next { right: -24px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--cta);
  width: 24px;
}

/* ---- PROGRESS / SKILL BARS ---- */
.skill-bar-wrap { margin-bottom: 16px; }
.skill-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}
.skill-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  background: var(--gradient-cta);
  border-radius: 100px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* ---- GLOW EFFECTS ---- */
.glow-cta { box-shadow: var(--shadow-cta); }
.glow-purple { box-shadow: var(--shadow-purple); }

.glow-dot {
  width: 6px;
  height: 6px;
  background: var(--cta);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cta);
}

/* ---- METRICS GRID ---- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.metric-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.metric-card .metric-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cta);
  line-height: 1;
  margin-bottom: 4px;
}

.metric-card .metric-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- DIVIDER ---- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ---- FOOTER ---- */
.footer {
  background: #0d0d0d;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin: 16px 0 24px;
  font-size: 0.9rem;
  color: var(--gray-500);
  max-width: 280px;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--cta); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.85rem; color: var(--gray-600); }

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

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--cta);
  color: var(--cta);
  background: rgba(191,247,70,0.05);
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 160px 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(147,51,234,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(191,247,70,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--gray-500); transition: var(--transition); }
.breadcrumb a:hover { color: var(--cta); }
.breadcrumb span { color: var(--gray-600); }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(191,247,70,0.3); }
  50% { box-shadow: 0 0 0 16px rgba(191,247,70,0); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-fade-up { animation: fadeInUp 0.7s ease forwards; }
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-pulse-cta { animation: pulse-cta 2s infinite; }

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- CHART BARS ---- */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 140px;
}
.bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}
.bar-fill {
  width: 100%;
  background: var(--gradient-cta);
  border-radius: 6px 6px 0 0;
  transition: height 1s cubic-bezier(0.4,0,0.2,1);
  min-height: 4px;
}
.bar-fill.purple { background: var(--gradient-purple); }
.bar-label { font-size: 0.7rem; color: var(--gray-500); }
.bar-value { font-size: 0.75rem; font-weight: 700; color: var(--cta); }

/* ---- FORM STYLES ---- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-200);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-primary);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--cta);
  background: rgba(191,247,70,0.03);
  box-shadow: 0 0 0 3px rgba(191,247,70,0.1);
}
.form-control::placeholder { color: var(--gray-600); }
.form-control option { background: var(--bg-secondary); color: var(--white); }

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  .nav-links, .nav-cta .btn:not(.btn-primary) { display: none; }

  .hamburger { display: flex; }

  .mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13,13,13,0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }
  .mobile-menu a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-400);
    transition: var(--transition);
  }
  .mobile-menu a:hover { color: var(--cta); }
  .mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-400);
  }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .carousel-btn.prev { left: 0; }
  .carousel-btn.next { right: 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}
