/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DESIGN TOKENS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
:root {
  --bg:            #120F0F;
  --bg-hero:       #150F0F;
  --primary:       #FFCE1B;
  --secondary:     #FB1650;
  --card-bg:       rgba(52, 32, 31, 0.40);
  --border:        rgba(255, 255, 255, 0.10);
  --border-mid:    rgba(255, 255, 255, 0.20);
  --border-half:   rgba(255, 255, 255, 0.50);
  --text-white:    #ffffff;
  --text-dim:      rgba(255,255,255,0.60);
  --text-dimmer:   rgba(255,255,255,0.40);
  --text-nav:      rgba(255,255,255,0.70);
  --font-head:     'Sora', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
  --font-body:     'DM Sans', sans-serif;
  --max-w:         1376px;
  --px:            64px;
  --radius-card:   12px;
}

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

html { scroll-behavior: smooth; }

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

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

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

button { cursor: pointer; border: none; background: none; font: inherit; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   GLOBAL GLOW (bottom-left ambient)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.global-glow {
  width: 492px;
  height: 492px;
  position: fixed;
  left: 13px;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, #491C13 0%, #1E1211 100%);
  filter: blur(125px);
  opacity: 0.7;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PAGE MARGINS (A4 Sheet style)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.page-margins {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 10;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SHARED UTILITIES
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.text-yellow { color: var(--primary); }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 36px;
  padding: 0 16px;
  background: var(--primary);
  border-radius: 4px;
  color: #000;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  transition: opacity 0.18s, transform 0.18s;
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

/* Chip / badge */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 20px;
  border-radius: 4px;
  border: 1px solid var(--border-mid);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text-white);
  line-height: 1;
}
.chip--dark { background: var(--bg); }

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.chip-dot--red { background: var(--secondary); }

/* Section label+title block (left side of headers) */
.section-header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.section-title {
  font-family: var(--font-head);
  font-size: 50px;
  font-weight: 300;
  line-height: 60px;
  color: var(--text-white);
}

/* Section header row */
.section-header {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  padding: 0 40px;
}
.section-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  flex: 1;
  min-width: 260px;
}
.section-desc {
  color: var(--text-dim);
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 27px;
  text-align: left;
}

/* Carousel arrow buttons */
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.carr-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
}
.carr-btn:hover { opacity: 0.7; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   LOGO
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 39px;
  height: 39px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body), sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #000;
  line-height: 1;
  letter-spacing: -0.02em;
  padding-left: 2px;
  flex-shrink: 0;
}

.logo-wordmark {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-white);
  letter-spacing: -0.01em;
  line-height: 1;
}
.lw-k, .lw-rest { color: #fff; }
.lw-ai {
  color: var(--primary);
  font-weight: 500;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NAVBAR
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */


/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  color: var(--text-nav);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.4;
  border-radius: 4px;
  transition: color 0.18s, background 0.18s;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,0.05); }

.nav-chevron { flex-shrink: 0; }

.nav-cta { flex-shrink: 0; }

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER â€” Figma design
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-top: 0.1px solid rgba(255,255,255,0.15);
}

.footer-inner {
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 40px;
}

/* Top nav row */
.footer-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 0.1px solid rgba(255,255,255,0.15);
  margin-bottom: 48px;
}

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

.footer-nav-link {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  transition: color 0.18s;
}
.footer-nav-link:hover { color: var(--text-white); }
.footer-nav-link--active {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.20);
  transition: border-color 0.18s, background 0.18s;
}
.social-icon:hover {
  border-color: rgba(255,255,255,0.60);
  background: rgba(255,255,255,0.06);
}

/* Bottom row: big K + addresses + ZIROHLabs */
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Big yellow K square */
.footer-big-logo { flex-shrink: 0; }

.big-k-square {
  width: 120px;
  height: 120px;
  background: var(--primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  color: #000;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Addresses */
.footer-addresses {
  display: flex;
  gap: 60px;
  flex: 1;
  padding: 0 60px;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-city {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.80);
  letter-spacing: 0.02em;
}

.footer-addr-text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 20px;
}

/* ZIROHLabs */
.footer-ziroh { flex-shrink: 0; }

.ziroh-logo {
  height: 28px;
  width: auto;
  filter: brightness(0.8);
  transition: filter 0.18s;
}
.ziroh-logo:hover { filter: brightness(1); }

/* Legal section */
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 0.1px solid rgba(255,255,255,0.15);
}

.footer-legal-links {
  display: flex;
  gap: 32px;
}

.footer-legal-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-legal-links a:hover {
  color: #fff;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SCROLL REVEAL ANIMATIONS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.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; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE â€” tablet & mobile
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 1100px) {
  :root { --px: 40px; }

  .hero-top { flex-direction: column; gap: 40px; align-items: center; text-align: center; }
  .hero-left { align-items: center; }
  .hero-right { width: 100%; max-width: 680px; align-items: center; }
  .hero-heading { font-size: 48px; line-height: 58px; text-align: center; }
  .hero-desc { text-align: center; }

  .why-inner { padding: 60px 60px; }
  .why-heading-wrap { padding-right: 60px; }
  .why-bullets { width: 100%; }
  .why-heading { font-size: 34px; line-height: 46px; }

  .section-title { font-size: 42px; line-height: 52px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .section-header-right { align-items: flex-start; }
  .dev-title { font-size: 40px; line-height: 50px; }

  .dev-grid { gap: 24px; }
  .dev-card { flex: 0 0 calc(35% - 24px); }

  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-card:nth-child(2n) { border-right: none; }
  .cap-card { padding: 32px 24px; }

  /* Compliance */
  .compliance-inner { padding: 60px 40px; }
  .compliance-heading { font-size: 42px; line-height: 52px; }
  .compliance-body { flex-direction: column; gap: 40px; }
  .compliance-standards { padding-left: 0; }
  .comp-std-grid { grid-template-columns: repeat(3, 1fr); }

  .vid-card { flex: 0 0 calc(42% - 10px); }
  .uc-card { flex: 0 0 calc(85% - 20px); }

  .faq-inner { padding: 0 40px; }

  .carousel-controls { display: none !important; }
  .carousel-dots { display: flex !important; }

  /* Footer tablet fixes */
  .footer-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    row-gap: 40px;
    align-items: start;
  }
  .footer-addresses {
    grid-column: 1 / 3;
    padding: 0;
  }
  .footer-address {
    margin-left: 0 !important;
    flex: 1;
  }
  .footer-big-logo {
    grid-column: 1;
    grid-row: 2;
  }
  .footer-ziroh {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }

  /* Navbar */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Mobile menu open */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: rgba(18,15,15,0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
}

@media (max-width: 767px) {
  :root { --px: 24px; }

  /* Hero */
  .hero-top { flex-direction: column; gap: 32px; align-items: flex-start; text-align: left; }
  .hero-left { align-items: flex-start; }
  .hero-right { width: 100%; align-items: flex-start; }
  .hero-heading { font-size: 38px; line-height: 48px; text-align: left; }
  .hero-desc { text-align: left; }
  .hero-image-wrap { border-radius: 12px; overflow: hidden; line-height: 0; }
  .hero-img { height: auto; object-fit: contain; border-radius: 12px; }

  /* Trust */
  .trust-inner { flex-direction: column; }

  /* Why */
  .why-inner { padding: 60px 24px; }
  .why-heading-wrap { width: 100%; padding-right: 0; }
  .why-heading { font-size: 32px; line-height: 42px; }
  .why-bullets { width: 100%; }
  
  .bullet-star { font-size: 24px; line-height: 28px; }
  .why-bullet p { font-size: 16px; line-height: 26px; }

  /* Product carousel */
  .product-section,
  .use-cases,
  .dev-section { padding: 60px 24px; }

  .section-header { flex-direction: column; align-items: flex-start; }
  .section-header-right { align-items: flex-start; }
  .section-desc { text-align: left; }
  .section-title { font-size: 34px; line-height: 44px; }

  /* Video cards */
  .vid-card { flex: 0 0 calc(80vw - 48px); }

  /* Use cases */
  .uc-card { flex: 0 0 100%; height: auto; flex-direction: column; }
  .uc-img { width: calc(100% - 64px); height: 240px; flex: 0 0 auto; margin: 32px 32px 0 32px; }

  /* Dev resources */
  .dev-card { flex: 0 0 100%; }
  .dev-title { font-size: 30px; line-height: 40px; }
  /* Removed responsive borders */

  /* Capabilities Grid */
  .cap-grid { grid-template-columns: 1fr; border: none; overflow: hidden; }
  .cap-card { border: none !important; border-bottom: 0.1px solid rgba(255, 255, 255, 0.15) !important; margin-bottom: 0; border-radius: 0; padding: 40px 16px; box-sizing: border-box; width: 100%; }
  .cap-card:last-child { border-bottom: none !important; }
  
  /* Compliance Section */
  .compliance-body { flex-direction: column; border: none; }
  .compliance-features { border-right: none; border: 0.1px solid var(--border-half); border-radius: 8px; margin-bottom: 24px; }
  .compliance-standards { flex: 1 1 auto; padding: 24px; border: 0.1px solid var(--border-half); border-radius: 8px; }
  .comp-std-grid { grid-template-columns: 1fr; }

  /* FAQ Section */
  .faq-inner { padding: 0; }
  .faq-question { padding: 24px 16px; }
  .faq-answer p { padding: 0 16px 24px 16px; }
  .faq-item:last-child { border-bottom: none !important; }

  /* Footer */
  .footer-nav-row { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 40px; 
  }
  .footer-nav-links {
    width: 100%;
    justify-content: space-between;
  }
  .footer-bottom-row { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 40px; 
    display: flex;
  }
  .footer-addresses { 
    order: 1; 
    width: 100%;
    flex-direction: row; 
    justify-content: space-between;
    padding: 0; 
    gap: 20px; 
  }
  .footer-ziroh { order: 2; align-self: flex-end; }
  .footer-big-logo { order: 3; }
  
  .footer-address { margin-left: 0 !important; flex: 1; }
  
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    display: flex;
  }
  .footer-legal-links {
    order: 1;
  }
  .footer-copyright {
    order: 2;
  }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 30px; line-height: 40px; }
  .why-heading { font-size: 24px; line-height: 34px; }
  .dev-grid { grid-template-columns: 1fr; }
  /* Removed responsive borders */
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   GLOBAL FONT-WEIGHT OVERRIDE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
h1, h2, h3, h4, h5, h6,
.hero-heading, .why-heading, .section-title, .dev-title, .cap-title,
.comp-title, .cta-heading {
  font-weight: 300;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CAROUSEL DOTS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.carousel-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 0;
}

.carousel-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dots .dot.active {
  background: var(--primary);
}

/* â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• 
   EVENTS SECTION
â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â•  */
.events-section {
  position: relative;
  z-index: 1;
  padding: 160px 0 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.events-inner {
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.events-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.events-title {
  font-family: 'Sora', sans-serif !important;
  font-size: 56px;
  font-weight: 300;
  line-height: 72px;
  color: var(--text-white);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  border-top: 0.5px solid rgba(255, 255, 255, 0.1);
  border-left: 0.5px solid rgba(255, 255, 255, 0.1);
}

.event-card {
  display: flex;
  flex-direction: column;
  border-right: 0.5px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
  padding: 32px;
  gap: 24px;
  transition: background 0.3s ease;
}

.event-card:hover {
  background: rgba(255, 255, 255, 0.03);
}

.event-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}

.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.event-card:hover .event-img {
  transform: scale(1.02);
}

.event-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
}

.event-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.event-date {
  color: #FB1650;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.event-linkedin {
  color: #FFCE1B;
  display: inline-flex;
  transition: opacity 0.2s;
}

.event-linkedin:hover {
  opacity: 0.8;
}

.event-card-title {
  color: var(--text-white);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}

.event-card-desc {
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  margin-top: auto;
}

@media (max-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
  .events-title {
    font-size: 40px;
    line-height: 50px;
  }
  .event-detail-title {
    font-size: 14px;
    line-height: 20px;
  }
  .event-card-title {
    font-size: 14px;
    line-height: 20px;
  }
}


/* â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• 
   EVENT DETAIL SECTION
â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â•  */
.event-detail-section {
  position: relative;
  z-index: 1;
  padding: 160px 0 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-detail-inner {
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-white);
  text-transform: uppercase;
  padding-left: 24px;
}

.breadcrumb a {
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--text-white);
}

.event-detail-hero {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}

.event-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.event-detail-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.event-detail-title {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 300;
  line-height: 52px;
  color: var(--text-white);
}

.event-detail-meta {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-dimmer);
}

.event-detail-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
}


/* Gallery Styles for Event Details */
.event-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.gallery-large {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}

.gallery-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

.gallery-row img, .gallery-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-row img {
  width: calc(50% - 8px);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
}

.gallery-img:hover {
  transform: scale(1.02);
}


/* Gallery Caption Styles */
.event-gallery-caption {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gallery-caption-title {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--text-white);
  font-weight: 500;
  margin: 0;
}

.gallery-caption-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #FB1650; /* Red/pink theme color */
  text-transform: uppercase;
  margin: 0;
}


/* Whitfield Event Page Styles */
.event-lead-text {
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-white);
  margin-bottom: 24px;
}

.event-quotes-block {
  background: rgba(251, 22, 80, 0.05); /* Slight red/pink tint */
  border-radius: 8px;
  padding: 32px;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.event-quote {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-quote-icon {
  font-family: var(--font-head);
  font-size: 24px;
  color: #FB1650;
  line-height: 1;
  font-weight: bold;
}

.event-quote p {
  margin: 0;
  font-size: 14px;
  color: var(--text-white);
  line-height: 1.6;
}

.event-quote-author {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}


/* Launch Event Page Styles */
.event-subtitle {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--text-white);
  font-weight: 400;
  margin: 16px 0 8px 0;
}

.text-red {
  color: #FB1650;
  font-weight: 500;
}

.event-list {
  padding-left: 20px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-list li::marker {
  color: #FB1650;
}

/* Video Component Styles */
.video-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.video-thumbnail {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.video-wrapper:hover .video-thumbnail {
  opacity: 1;
}

.badge-live {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #FB1650;
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
  z-index: 2;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.3s ease, background 0.3s ease;
}

.play-btn svg {
  margin-left: 4px;
}

.video-wrapper:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
}

/* Prevent event detail content from touching A4 margins on tablet and mobile */
@media (max-width: 1100px) {
  .event-detail-content {
    padding: 0 32px;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .event-detail-content {
    padding: 0 20px;
  }
}





  /* ════════════════════════════════════════════════
     UPPER LINE REMOVAL & FOOTER LOWER LINE RESTORATION (<= 1024px)
  ════════════════════════════════════════════════ */
  /* 1. Restore Footer's own Top Border (Lower Line) */
  body .footer,
  body footer.footer,
  body footer#footer,
  body footer#footer-mobile,
  .footer,
  #footer,
  #footer-mobile {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  /* 2. Hide horizontal line dividers directly above footer */
  .line-horizontal,
  .line-horizontal:last-of-type,
  main > .line-horizontal:last-child {
    display: none !important;
    border: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 3. Hide dummy/glow sections right above footer */
  .why-section[style*="min-height:0"],
  .get-started-section[style*="min-height:0"],
  .why-section:last-of-type,
  .get-started-section:last-of-type {
    border-top: none !important;
    border-bottom: none !important;
    display: none !important;
  }

  /* 4. Remove section bottom borders right above footer on mobile (Upper Line) */
  main > section:last-of-type,
  main > div:last-of-type,
  section:last-of-type,
  .models-section,
  .faq-accordion-list,
  .dev-section,
  .tribute-section,
  .community-section,
  .jobs-grid,
  .dynamic-jd-wrapper,
  .phil2-contact-section,
  .phil-status-contact,
  .related-videos,
  .event-detail-body,
  .gallery-large,
  .event-quote,
  .event-meta,
  .md-code-tablet,
  .session-header-row {
    border-bottom: none !important;
  }


/* ════════════════════════════════════════════════
   MOBILE FOOTER OVERRIDES (<= 1024px)
════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  body .footer,
  body footer.footer,
  body footer#footer,
  body footer#footer-mobile,
  .footer,
  #footer,
  #footer-mobile {
    position: relative !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    margin: 32px 0 0 0 !important;
    padding: 0 !important;
    background: #1c1414 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-sizing: border-box !important;
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    z-index: 10 !important;
  }

  
  /* Remove section bottom border right above footer on mobile to eliminate upper line */
  main > section:last-of-type,
  main > div:last-of-type,
  section:last-of-type,
  .phil2-mobile-page-wrapper > main > section:last-of-type,
  .phil-mobile-page-wrapper > main > section:last-of-type,
  .sbox-page section:last-of-type,
  .page-section:last-of-type,
  .faq-section,
  .get-started-section,
  .community-section,
  .related-videos,
  .phil2-contact-section {
    border-bottom: none !important;
  }

  body .footer .footer-inner,
  body footer#footer-mobile .footer-inner,
  .footer-inner {
    width: calc(100% - calc(var(--px, 24px) * 2)) !important;
    max-width: var(--max-w, 1376px) !important;
    margin: 0 auto !important;
    padding: 32px 20px !important;
    box-sizing: border-box !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    height: auto !important;
  }

  /* Top Nav Row */
  body .footer .footer-nav-row,
  body footer#footer-mobile .footer-nav-row,
  .footer-nav-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-nav-links,
  body footer#footer-mobile .footer-nav-links,
  .footer-nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-nav-link,
  body footer#footer-mobile .footer-nav-link,
  .footer-nav-link {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  /* Social Icons */
  body .footer .footer-socials,
  body footer#footer-mobile .footer-socials,
  .footer-socials {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
  }

  body .footer .social-icon,
  body footer#footer-mobile .social-icon,
  .social-icon {
    width: 32px !important;
    height: 32px !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  body .footer .social-icon svg path,
  body .footer .social-icon svg circle,
  body footer#footer-mobile .social-icon svg path,
  body footer#footer-mobile .social-icon svg circle,
  .social-icon svg path,
  .social-icon svg circle {
    stroke: #000000 !important;
    fill: #000000 !important;
  }

  body .footer .social-icon svg path[fill="none"],
  body footer#footer-mobile .social-icon svg path[fill="none"],
  .social-icon svg path[fill="none"] {
    fill: none !important;
  }

  /* Middle Row: Addresses & Logos */
  body .footer .footer-bottom-row,
  body footer#footer-mobile .footer-bottom-row,
  .footer-bottom-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Addresses: Left (Bengaluru) & Right (Palo Alto) */
  body .footer .footer-addresses,
  body footer#footer-mobile .footer-addresses,
  .footer-addresses {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    padding: 0 !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
    order: 1 !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-address:first-child,
  body footer#footer-mobile .footer-address:first-child,
  .footer-address:first-child {
    flex: 1 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  body .footer .footer-address:last-child,
  body .footer .footer-address:nth-child(2),
  body footer#footer-mobile .footer-address:last-child,
  body footer#footer-mobile .footer-address:nth-child(2),
  .footer-address:last-child,
  .footer-address:nth-child(2) {
    flex: 1 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  body .footer .footer-city,
  body footer#footer-mobile .footer-city,
  .footer-city {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    margin: 0 !important;
  }

  body .footer .footer-addr-text,
  body footer#footer-mobile .footer-addr-text,
  .footer-addr-text {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }

  /* ZIROHLabs Logo: Below Addresses, Left Aligned */
  body .footer .footer-ziroh,
  body footer#footer-mobile .footer-ziroh,
  .footer-ziroh {
    order: 2 !important;
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    margin-bottom: 24px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    display: block !important;
    text-align: left !important;
  }

  body .footer .ziroh-logo,
  body footer#footer-mobile .ziroh-logo,
  .ziroh-logo {
    height: 28px !important;
    width: auto !important;
    display: block !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  /* Big K. Square Logo: Below ZIROHLabs Logo, Left Aligned */
  body .footer .footer-big-logo,
  body footer#footer-mobile .footer-big-logo,
  .footer-big-logo {
    order: 3 !important;
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    display: block !important;
  }

  body .footer .big-k-square,
  body footer#footer-mobile .big-k-square,
  .big-k-square {
    width: 72px !important;
    height: 72px !important;
    border-radius: 4px !important;
    display: block !important;
    margin-left: 0 !important;
  }

  /* Bottom Legal Section */
  body .footer .footer-legal,
  body footer#footer-mobile .footer-legal,
  .footer-legal {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-legal-links,
  body footer#footer-mobile .footer-legal-links,
  .footer-legal-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    order: 1 !important;
    width: 100% !important;
  }

  body .footer .footer-legal-links a,
  body footer#footer-mobile .footer-legal-links a,
  .footer-legal-links a {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  body .footer .footer-copyright,
  body footer#footer-mobile .footer-copyright,
  .footer-copyright {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 !important;
    order: 2 !important;
    width: 100% !important;
    text-align: left !important;
  }
}


