/* ============================================================
   VIDNEST DIGITAL — Global Design System
   Colors: #050505 bg | #0099FF primary | Inter font
   ============================================================ */

:root {
  --bg:            #050505;
  --bg-soft:       #0C0C0C;
  --bg-card:       #101010;
  --bg-card-alt:   #151515;

  --primary:       #0099FF;
  --primary-dark:  #0044CC;
  --primary-dim:   rgba(0, 153, 255, 0.08);
  --primary-glow:  rgba(0, 153, 255, 0.15);

  --white:         #FFFFFF;
  --gray-100:      #F0F0F0;
  --gray-400:      #888888;
  --gray-600:      #444444;
  --gray-800:      #1E1E1E;

  --border:        rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.14);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:  0.15s ease;
  --t-med:   0.35s var(--ease-out);
}

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--gray-100);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display:block; max-width:100%; }
a  { text-decoration:none; color:inherit; }
ul { list-style:none; }
button { cursor:pointer; font-family:var(--font); }

/* ─── Typography ─────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  color: var(--white);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.text-muted  { color: var(--gray-400); }
.text-accent { color: var(--primary);  }
h1 .text-accent, h2 .text-accent, h3 .text-accent {
  font-family: var(--font);
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 0 20px var(--primary-glow);
}
.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ─── Layout ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 8rem 0; }
.section-sm { padding: 5rem 0; }

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--t-fast);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #000;
}
.btn-primary:hover {
  background: #00e55a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,153,255,0.25);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.04);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.82rem; }

/* ─── Navbar ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 200;
  transition: background var(--t-fast), box-shadow var(--t-fast);
}
.navbar.scrolled {
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}
.nav-logo-icon {
  width: 22px; height: 22px;
  background: var(--primary);
  clip-path: polygon(0% 20%,60% 20%,60% 0%,100% 50%,60% 100%,60% 80%,0% 80%);
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: var(--t-fast);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
}
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: var(--t-fast);
}
/* mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0;
  width: 100%;
  background: rgba(5,5,5,0.98);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 199;
  backdrop-filter: blur(20px);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-100);
  border-bottom: 1px solid var(--border);
  transition: var(--t-fast);
}
.mobile-nav a:last-child { border: none; }
.mobile-nav a:hover { color: var(--primary); }

/* ─── Tags / Badges ──────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  background: var(--primary-dim);
  border: 1px solid rgba(0,153,255,0.15);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
  white-space: nowrap;
}
.tag::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

/* ─── Section Headings ───────────────────────────────── */
.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.7;
}

/* ─── Cards ──────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-alt);
}

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

/* ─── Ticker / Marquee ───────────────────────────────── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 1.1rem 0;
}
.ticker-track {
  display: flex;
  animation: ticker-anim 40s linear infinite;
  width: max-content;
}
.ticker-item {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
  padding: 0 3rem;
  white-space: nowrap;
}
.ticker-dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 2rem;
  flex-shrink: 0;
  align-self: center;
}
@keyframes ticker-anim {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  color: var(--gray-400);
  font-size: 0.88rem;
  margin-top: 1.25rem;
  max-width: 260px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block;
  color: var(--gray-400);
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  transition: var(--t-fast);
}
.footer-col a:hover { color: var(--white); }
/* Fix btn-primary text color being overridden by .footer-col a rule */
.footer-col .btn-primary,
.footer-col .btn-primary:hover { color: #000; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--gray-600);
}
.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-400);
  transition: var(--t-fast);
}
.footer-socials a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ─── Scroll Reveal ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  /* Hide the CTA button in navbar on mobile — mobile-nav drawer has its own */
  .nav-cta-group .btn { display: none; }
  .hamburger { display: flex; }
  .section, .section-sm { padding: 5rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

.nav-logo-img {
  height: 24px;
  width: auto;
  object-fit: contain;
}


