:root {
  --bg-900: #070C11;
  --bg-800: #0A0A2A;
  --bg-700: #0f1419;
  --primary: #0066FF;
  --primary-hover: #0052CC;
  --ink: #c0bfbf;
  --muted: #e9e9e9;
  --glass: rgba(255,255,255,0.08);
  --glass-hover: rgba(255,255,255,0.12);
  --border: rgba(255,255,255,0.1);
  --border-light: rgba(255,255,255,0.06);
  --border-light: transparent;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.2);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body { height: 100%; }
html { scroll-behavior: smooth; }

/* Global smooth transitions for interactive elements */
a, button, .btn, .card, .carousel-card, .solution-card, .impact-card,
.problem-item, .contact-item, .news-link, .team-avatar, .nextgen-item,
.momentum-item, .carousel-btn, .carousel-dot {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--ink);
  background: var(--bg-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary); }

/* Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  transition: all var(--transition-base);
}

.nav.nav-transparent { background: transparent; }
.nav.nav-colored {
  background: rgba(7,13,19,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.nav .brand { display: flex; align-items: center; }
.nav .brand img { height: 36px; width: auto; border-radius: var(--radius-sm); }

.nav .links { display: flex; gap: 0.25rem; }
.nav .links a {
  padding: 0.5rem 1rem;
  border-radius: 980px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  transition: all var(--transition-fast);
}
.nav .links a:hover { background: var(--glass); color: var(--ink); }
.nav .links a.active { background: var(--glass-hover); }

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.menu-toggle span:nth-child(1) { margin-bottom: 6px; }
.menu-toggle span:nth-child(2) { margin-bottom: 6px; }

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav { padding: 0.75rem 1rem; }
  .menu-toggle { display: flex; }

  .nav .links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(7,13,19,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }

  .nav .links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav .links a {
    font-size: 1.5rem;
    padding: 1rem 2rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: white;
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--glass);
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--glass-hover);
  color: var(--ink);
  transform: scale(1.02);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero .video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(1) saturate(0.9);
  z-index: 0;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,13,19,0.5) 0%, rgba(7,13,19,0.6) 50%, rgba(7,13,19,0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 900px;
  gap: 1.5rem;
}

.hero .headline {
  position: relative;
  z-index: 2;
  font-size: clamp(2.5rem, 15vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
  mix-blend-mode:difference;
  text-align: center;
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

.hero .subhead {
  max-width: 640px;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--muted);
  line-height: 1.5;
  font-weight: 400;
}

.hero .actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

/* Hero fade-in animations */
.hero .headline,
.hero .subhead,
.hero .actions {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero .headline {
  animation-delay: 0.2s;
}

.hero .subhead {
  animation-delay: 0.5s;
}

.hero .actions {
  animation-delay: 0.8s;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .hero .headline { font-size: clamp(2rem, 10vw, 2.8rem); }
  .hero .subhead { font-size: 1rem; }
  .hero .actions { flex-direction: column; width: 100%; max-width: 280px; }
  .hero .actions .btn { width: 100%; }
}

/* Sections */
.section {
  scroll-margin-top: 80px;
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.is-visible {
  opacity: 1;
  transform: none;
}

.section .title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--ink);
}

.section .desc {
  color: var(--muted);
  max-width: 680px;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 3rem;
}

/* Grid System */
.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(12, minmax(0,1fr));
}

.grid.cols-3 > * { grid-column: span 4; }
.grid.cols-2 > * { grid-column: span 6; }

@media (max-width: 900px) {
  .grid.cols-3 > * { grid-column: span 6; }
  .grid.cols-2 > * { grid-column: span 12; }
}

@media (max-width: 600px) {
  .grid.cols-3 > * { grid-column: span 12; }
}

/* Cards */
.card {
  background: var(--glass);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-base);
}

.card:hover {
  background: var(--glass-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card.variant-accent {
  border-left: 3px solid var(--primary);
}

.card.variant-soft {
  background: rgba(255,255,255,0.04);
}

.card.variant-outline {
  background: transparent;
  border: 1px dashed var(--border);
}

.card.feature {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
}

.card .thumb {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card .name {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--ink);
}

.card .text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Stripe Layout */
.stripe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .stripe { grid-template-columns: 1fr; }
}

/* Solution Feature Cards - Clean Modern Style */
.solution-card {
  background: var(--glass);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s ease;
}

.solution-card:hover {
  background: var(--glass-hover);
  border-color: var(--border);
}

.solution-name {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.solution-text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .solution-card {
    padding: 2rem;
  }

  .solution-name {
    font-size: 1.25rem;
  }
}

/* Horizontal Scroller */
.scroller {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.scroller::-webkit-scrollbar { height: 6px; }
.scroller::-webkit-scrollbar-track { background: var(--border-light); border-radius: 3px; }
.scroller::-webkit-scrollbar-thumb { background: var(--glass-hover); border-radius: 3px; }

.scroller > .card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

/* Products Carousel */
.carousel-container {
  position: relative;
  margin: 0 -2rem;
  padding: 0 2rem;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  will-change: transform;
}

.carousel-track:active {
  cursor: grabbing;
}

.carousel-track.is-dragging {
  transition: none;
}

.carousel-card {
  flex: 0 0 320px;
  background: var(--glass);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s ease;
}

.carousel-card:hover {
  background: var(--glass-hover);
 
}

.carousel-thumb {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display:none;
  background: rgba(255,255,255,0.04);
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  pointer-events: none;
}

.carousel-card:hover .carousel-thumb img {
  transform: scale(1.08);
}

.carousel-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}

.carousel-text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Carousel Navigation */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--border-light);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .carousel-container {
    margin: 0 -1rem;
    padding: 0 1rem;
  }

  .carousel-card {
    flex: 0 0 280px;
  }

  .carousel-thumb {
    height: 150px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }
}

/* Avatar */
.avatar {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

/* Footer */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-light);
  background: rgba(7,13,19,0.6);
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.footer .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 980px;
  background: var(--glass);
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.footer .contact {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer .contact a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer .contact a:hover {
  color: var(--ink);
}

/* Section-specific styles */
.section-about .title { margin-bottom: 0.75rem; }
.section-about .desc { font-size: 1.15rem; }

/* Utility */
.page-wrap { padding-top: 72px; }

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* About Section Layout */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.about-text .title {
  margin-bottom: 1rem;
}

.about-text .desc {
  margin-bottom: 2rem;
}

.about-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-block {
  padding: 1.5rem;
  background: var(--glass);
  border-radius: var(--radius-md);
}

.about-block-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.about-block-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.about-banner {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2rem;
}

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

@media (max-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: -1;
    height: 250px;
  }
}

/* Modern Cards for Problem Section */
.card-modern {
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-modern:hover {
  background: var(--glass);
  transform: translateY(-8px);
}

.card-modern-thumb {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.card-modern-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-modern:hover .card-modern-thumb img {
  transform: scale(1.08);
}

.card-modern-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}

.card-modern-text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Next-Gen Projects Section */
.section-nextgen {
  background: linear-gradient(180deg, transparent 0%, rgba(0,102,255,0.05) 50%, transparent 100%);
  position: relative;
}

.nextgen-header {
  text-align: center;
  margin-bottom: 3rem;
}

.nextgen-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--primary) 0%, #00d4ff 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 980px;
  margin-bottom: 1.5rem;
}

.nextgen-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.nextgen-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
}

.nextgen-item.nextgen-featured {
  grid-column: span 2;
  height: 350px;
}

.nextgen-item .nextgen-image {
  position: absolute;
  inset: 0;
}

.nextgen-item .nextgen-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nextgen-item:hover .nextgen-image img {
  transform: scale(1.12);
}

.nextgen-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(7,13,19,0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: all 0.4s ease;
}

.nextgen-item:hover .nextgen-overlay {
  background: linear-gradient(180deg, rgba(0,102,255,0.2) 0%, rgba(7,13,19,0.98) 100%);
}

.nextgen-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0,212,255,0.2);
  color: #00d4ff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  border: 1px solid rgba(0,212,255,0.3);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.nextgen-item .nextgen-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.nextgen-item.nextgen-featured .nextgen-title {
  font-size: 1.5rem;
}

.nextgen-item .nextgen-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

.nextgen-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.nextgen-tags span {
  padding: 0.25rem 0.75rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 980px;
  font-size: 0.75rem;
  color: var(--muted);
}

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

  .nextgen-item.nextgen-featured {
    grid-column: span 2;
    height: 300px;
  }
}

@media (max-width: 600px) {
  .nextgen-showcase {
    grid-template-columns: 1fr;
  }

  .nextgen-item.nextgen-featured {
    grid-column: span 1;
  }
}

/* Team Section */
.section-team .title {
  text-align: center;
  margin-bottom: 3rem;
}

.team-list {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.team-avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary);
  padding: 4px;
  background: var(--bg-900);
  transition: all 0.3s ease;
}

.team-member:hover .team-avatar {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 102, 255, 0.3);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.team-role {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Momentum & Recognition Section */
.section-momentum {
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
}

.momentum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}

.momentum-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
}

.momentum-item.momentum-featured {
  grid-column: span 2;
  grid-row: span 2;
  height: 100%;
}

.momentum-item.momentum-featured-2 {
  grid-column: span 2;

}

.momentum-image {
  position: absolute;
  inset: 0;
}

.momentum-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.momentum-item:hover .momentum-image img {
  transform: scale(1.08);
}

.momentum-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(7,13,19,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: background 0.3s ease;
}

.momentum-item:hover .momentum-overlay {
  background: linear-gradient(180deg, rgba(0,102,255,0.1) 0%, rgba(7,13,19,0.95) 100%);
}

.momentum-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 980px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.momentum-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.momentum-item.momentum-featured .momentum-title {
  font-size: 1.5rem;
}

.momentum-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

.momentum-text a {
  color: var(--primary);
  text-decoration: underline;
}

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

  .momentum-item.momentum-featured {
    grid-column: span 2;
    grid-row: span 1;
    height: 300px;
  }
}

@media (max-width: 600px) {
  .momentum-grid {
    grid-template-columns: 1fr;
  }

  .momentum-item.momentum-featured {
    grid-column: span 1;
  }
}

/* Impact Section - Clean Style */
.section-impact .title {
  text-align: center;
}

.section-impact .desc {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.impact-card {
  background: var(--glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s ease;
}

.impact-card:hover {
  background: var(--glass-hover);
  
}

.impact-card.impact-card-large {
  grid-row: span 2;
}

.impact-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0,102,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.impact-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.impact-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.impact-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.impact-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.impact-label {
  font-size: 0.875rem;
  color: var(--muted);
}

/* News Links in Impact Card */
.impact-card.impact-card-news {
  grid-row: span 2;
}

.news-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.news-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  background: var(--glass);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  text-decoration: none;
}

.news-link:hover {
  background: var(--glass-hover);

  transform: translateX(4px);
}

.news-source {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.news-headline {
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-card.impact-card-large,
  .impact-card.impact-card-news {
    grid-row: span 1;
  }
}

/* Enhanced Section Fade-in Animations */
.section {
  opacity: 0;
  transform: translateY(50px);
}

.section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section .title,
.section .desc,
.section .about-layout,
.section .about-banner,
.section .grid,
.section .stripe,
.section .scroller,
.section .nextgen-header,
.section .nextgen-showcase,
.section .team-list,
.section .momentum-grid,
.section .impact-grid {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.is-visible .title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.section.is-visible .desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.section.is-visible .about-layout,
.section.is-visible .grid,
.section.is-visible .stripe,
.section.is-visible .scroller,
.section.is-visible .nextgen-header,
.section.is-visible .team-list,
.section.is-visible .momentum-grid,
.section.is-visible .impact-grid {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.section.is-visible .nextgen-showcase,
.section.is-visible .about-banner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* Staggered card animations */
.section.is-visible .card-modern,
.section.is-visible .nextgen-item,
.section.is-visible .momentum-item,
.section.is-visible .impact-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.section.is-visible .card-modern:nth-child(1),
.section.is-visible .nextgen-item:nth-child(1),
.section.is-visible .momentum-item:nth-child(1),
.section.is-visible .impact-card:nth-child(1) { animation-delay: 0.1s; }

.section.is-visible .card-modern:nth-child(2),
.section.is-visible .nextgen-item:nth-child(2),
.section.is-visible .momentum-item:nth-child(2),
.section.is-visible .impact-card:nth-child(2) { animation-delay: 0.2s; }

.section.is-visible .card-modern:nth-child(3),
.section.is-visible .nextgen-item:nth-child(3),
.section.is-visible .momentum-item:nth-child(3),
.section.is-visible .impact-card:nth-child(3) { animation-delay: 0.3s; }

.section.is-visible .card-modern:nth-child(4),
.section.is-visible .nextgen-item:nth-child(4),
.section.is-visible .momentum-item:nth-child(4),
.section.is-visible .impact-card:nth-child(4) { animation-delay: 0.4s; }

.section.is-visible .card-modern:nth-child(5),
.section.is-visible .nextgen-item:nth-child(5) { animation-delay: 0.5s; }

.section.is-visible .card-modern:nth-child(6),
.section.is-visible .nextgen-item:nth-child(6) { animation-delay: 0.6s; }

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

/* Problems List Section */
.section-problems {
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
}

.problems-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--glass);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.problem-item:hover {

}

.problem-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  opacity: 0.5;
  min-width: 60px;
  transition: opacity 0.3s ease;
}

.problem-item:hover .problem-number {
  opacity: 1;
}

.problem-content {
  flex: 1;
}

.problem-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.problem-text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .problems-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .problem-item {
    gap: 1rem;
    padding: 1.25rem;
  }

  .problem-number {
    font-size: 2rem;
    min-width: 50px;
  }
}

/* Magic Section - Modern Hexagonal Design */
.section-magic {
  position: relative;
  overflow: hidden;
}

.section-magic .title,
.section-magic .desc {
  text-align: center;
}

.section-magic .desc {
  margin-left: auto;
  margin-right: auto;
}

.magic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.magic-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  overflow: hidden;
}

.magic-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, #00d4ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.magic-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.5;
}

.magic-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.magic-card-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}


@media (max-width: 900px) {
  .magic-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .magic-card {
    padding: 2rem 1.5rem;
  }

  .magic-icon {
    width: 70px;
    height: 70px;
  }

  .magic-icon svg {
    width: 32px;
    height: 32px;
  }

  .magic-card-title {
    font-size: 1.2rem;
  }
}

/* Next-Gen List Section */
.nextgen-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nextgen-row {
  display: grid;
  grid-template-columns: 140px 1fr 2fr;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
}

.nextgen-row:last-child {
  border-bottom: none;
}

.nextgen-row-status {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(0,212,255,0.1);
  color: #00d4ff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  border: 1px solid rgba(0,212,255,0.2);
  white-space: nowrap;
}

.nextgen-row-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
}

.nextgen-row-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .nextgen-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.5rem;
  }

  .nextgen-row-status {
    width: fit-content;
  }
}

/* Contact Section - Modern Minimal */
.section-contact {
  text-align: center;
}

.contact-hero {
  margin-bottom: 3rem;
}

.contact-hero .title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.contact-hero .desc {
  margin-bottom: 0;
  width:100%;
  text-align: center;
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 2.5rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: var(--ink);
  min-width: 180px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
  background: var(--glass);
  color: var(--ink);
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
  background: var(--primary);
}

.contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover .contact-icon {
  color: white;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  opacity: 0.7;
}

.contact-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}

@media (max-width: 600px) {
  .contact-grid {
    flex-direction: column;
    align-items: center;
  }

  .contact-card {
    width: 100%;
    max-width: 280px;
    padding: 1.5rem 2rem;
  }

  .contact-icon {
    width: 56px;
    height: 56px;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}
