/* Vanguard Digital Media - Master Stylesheet (High-Personality Dark Edition) */

:root {
  --primary: #6366F1;
  --primary-hover: #4F46E5;
  --accent: #22D3EE;
  --neon-purple: #A855F7;
  --bg-dark: #07090E;
  --bg-surface: #0F172A;
  --bg-card: rgba(15, 23, 42, 0.75);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --border-glow: rgba(99, 102, 241, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Animated Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
}

.glow-1 {
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
}

.glow-2 {
  top: 600px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 70%);
}

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

/* Typography & Badges */
.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #38BDF8 50%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
}

.logo-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;

  svg {
    width: 22px;
    height: 22px;
  }
}

.logo-text span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.btn-glow-sm {
  background: linear-gradient(135deg, var(--primary), var(--neon-purple));
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-glow-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
}

/* Hero Section */
.hero {
  padding: 90px 0 70px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid var(--border-glow);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-bottom: 40px;
}

.btn-primary-glow {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;

  span {
    font-size: 0.85rem;
    color: var(--text-muted);
  }
}

.avatar-group {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-left: -8px;

  &:first-child {
    margin-left: 0;
  }
}

/* Floating Card Visual */
.hero-visual {
  position: relative;
}

.floating-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.live-tag {
  background: rgba(34, 211, 238, 0.15);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
}

.metric-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.m-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
}

.m-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 90px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  height: var(--h);
  border-radius: 4px;
  transition: height 0.5s ease;
}

.badge-card {
  position: absolute;
  bottom: -30px;
  left: -30px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(34, 211, 238, 0.3);

  .icon {
    font-size: 1.8rem;
  }
  strong {
    display: block;
    font-size: 0.9rem;
  }
  p {
    font-size: 0.75rem;
    color: var(--text-muted);
  }
}

/* Ticker Marquee */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: rgba(99, 102, 241, 0.08);
  border-y: 1px solid var(--border-subtle);
  padding: 16px 0;
  margin: 40px 0;
}

.ticker-move {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}

.ticker-item {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section Common */
.section {
  padding: 100px 0;
}

.section-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;

  h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
  }
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* About / Philosophy Grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-lead h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.lead-p {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.about-lead p {
  color: var(--text-muted);
}

.about-grid-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.glow-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.3s ease, transform 0.3s ease;

  &:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
  }
}

.gb-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.glow-box h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.glow-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Services Capabilities */
.services-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.sc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 32px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;

  &:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
  }
}

.sc-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), var(--bg-surface));
}

.sc-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
}

.sc-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.sc-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

.sc-list {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.sc-list li {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

/* Impact & Results Section */
.impact-section {
  background: rgba(15, 23, 42, 0.6);
  border-y: 1px solid var(--border-subtle);
}

.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.impact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;

  &:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
  }
}

.impact-card.glow-border {
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.2);
}

.impact-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
}

.impact-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.impact-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px 24px;
  cursor: pointer;

  summary {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    outline: none;
  }
}

.faq-answer {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
  background: radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.15), transparent 50%);
}

.contact-box-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 48px;
}

.contact-left h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.contact-left p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.direct-contacts {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dc-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.dc-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.dc-item small {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  display: block;
}

.dc-item a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
}

.lead-form h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.input-field {
  margin-bottom: 18px;
}

.input-field label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.input-field input,
.input-field select,
.input-field textarea {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.input-field input:focus,
.input-field select:focus,
.input-field textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-block {
  width: 100%;
  border: none;
  cursor: pointer;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  background: var(--bg-dark);
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 8px;
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-right a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .hero-container, .grid-2, .contact-box-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .badge-card {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 16px;
  }
  .nav-links {
    display: none;
  }
  .footer-nav {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
