@import url('https://fonts.cdnfonts.com/css/d-din');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-darkest: #000000;
  --bg-dark: #050505;
  --text-white: #ffffff;
  --text-muted: #8e8e93;
  --text-dimmed: rgba(255, 255, 255, 0.65);
  --border-color: rgba(255, 255, 255, 0.15);
  --font-bebas: 'D-DIN', 'Barlow Condensed', 'Arial-Condensed', sans-serif;
  --font-body: 'Barlow', 'Inter', 'Helvetica Neue', sans-serif;
  --font-heading: 'D-DIN', 'Barlow Condensed', 'Arial-Condensed', sans-serif;
  --header-height: 80px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #1c1c1e;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-darkest);
  color: var(--text-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow: hidden;
  background-color: var(--bg-darkest);
}

/* Main Container */
.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

/* Content Section */
.snap-section {
  position: relative;
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 60px) 10% 80px 10%;
  overflow: hidden;
}

/* Class-based Monochrome Backgrounds (No images, pure CSS depth) */
.section-hero {
  background: radial-gradient(circle at 70% 30%, #0d0d12 0%, #000000 80%);
}

.section-problem {
  background: #000000;
}

.section-solution {
  background: radial-gradient(circle at 30% 70%, #0d0d12 0%, #000000 80%);
}

.section-team {
  background: #000000;
}

.section-final {
  background: radial-gradient(circle at center, #0e0e14 0%, #000000 100%);
}

/* Subtle grid overlay */
.snap-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Minimal Header Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  z-index: 100;
  transition: background-color 0.3s ease;
}

.scroll-container:scroll .main-header {
  background-color: rgba(0, 0, 0, 0.9);
}

.header-container {
  max-width: 100%;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--text-white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.site-logo:hover {
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  gap: 40px;
  margin-left: auto;
}

.nav-item {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-white);
  text-decoration: none;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
  transition: opacity 0.3s ease;
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-white);
  transition: width 0.25s ease;
}

.nav-item:hover {
  opacity: 0.8;
}

.nav-item:hover::after {
  width: 100%;
}

.header-actions {
  display: none;
}

/* Call to Action Button */
.cta-btn {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  padding: 14px 32px;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 0px;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  display: inline-block;
  cursor: pointer;
  text-align: center;
  border: 1px solid transparent;
}

.border-btn {
  border-color: var(--text-white);
  color: var(--text-white);
  background-color: transparent;
  padding: 16px 40px;
}

.border-btn:hover {
  background-color: var(--text-white);
  color: var(--bg-darkest);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle .bar {
  width: 20px;
  height: 2px;
  background-color: var(--text-white);
  transition: all 0.3s ease;
}

/* Slide Content Layout */
.slide-content {
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-top: 3vh;
}

.slide-header-group {
  max-width: 800px;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 46px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.15;
}

.slide-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 400;
  color: var(--text-white);
  line-height: 1.4;
  margin-bottom: 18px;
}

.slide-desc-text {
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 300;
  color: var(--text-dimmed);
  line-height: 1.6;
  max-width: 640px;
}

.text-large {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: var(--text-dimmed);
  font-weight: 300;
  max-width: 780px;
}

.slide-footer-group {
  width: 100%;
  margin-top: auto;
  margin-bottom: 2vh;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Clean Stats display */
.stats-row {
  display: flex;
  gap: 60px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.stat-box {
  display: flex;
  flex-direction: column;
  max-width: 550px;
}

.stat-num-container {
  display: flex;
  align-items: baseline;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: clamp(56px, 7.5vw, 88px);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.0;
}

.stat-unit {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-white);
  margin-left: 2px;
}

.stat-lbl {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-dimmed);
  margin-top: 6px;
  white-space: nowrap;
}

/* --- Solution Section Layout --- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin: 4vh 0;
  animation: fadeInUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.solution-item {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 24px;
}

.solution-item h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--text-white);
}

.solution-item p {
  font-size: 14px;
  color: var(--text-dimmed);
  line-height: 1.6;
  font-weight: 300;
}

.solution-footer-text {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-white);
}

/* --- Team Section Layout --- */
.team-affiliations {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--text-white);
  margin-top: 14px;
  text-transform: uppercase;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 4vh;
  max-width: 800px;
}

/* --- Team Member Card Layout --- */
.team-member-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 32px;
  height: auto;
  max-width: 380px;
  width: 100%;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.team-member-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
}

.member-card-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-member-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.member-role {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.member-social {
  display: flex;
  align-items: center;
}

.linkedin-icon-link {
  color: var(--text-muted);
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.linkedin-icon-link:hover {
  color: #ffffff;
  transform: scale(1.05);
}

/* --- Final Statement Section Layout --- */
.flex-center-content {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.final-statement-block {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.final-headline {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 54px);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.1;
  font-weight: 700;
}

.highlight-muted {
  color: var(--text-muted);
}

.final-subtext {
  font-size: clamp(14px, 1.8vw, 17px);
  color: var(--text-dimmed);
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 300;
}

.final-actions {
  margin-bottom: 20px;
}

.final-email-link {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-white);
  text-decoration: none;
  letter-spacing: 1.5px;
  transition: opacity 0.3s ease;
}

.final-email-link:hover {
  opacity: 0.7;
}

/* --- Minimal Footer Layout --- */
.main-footer {
  width: 100%;
  background-color: transparent;
  padding: 20px 0 0 0;
  z-index: 10;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  text-align: right;
}

.footer-logo {
  font-family: var(--font-bebas);
  font-size: 24px;
  letter-spacing: 4px;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--text-white);
}

.copyright {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-location {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .solution-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 4vh 0;
  }

  .team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 4vh;
  }

  .solution-item, .team-member-card {
    max-width: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 32px;
  }

  .snap-section {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .main-footer {
    padding-bottom: 20px;
  }
}

@media (max-width: 768px) {
  body {
    overflow: hidden;
  }

  .scroll-container {
    height: 100svh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    display: block;
  }

  .snap-section {
    height: 100svh;
    min-height: 100svh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: 80px 20px 20px 20px;
    justify-content: center; /* Center short sections (Hero, Problem) perfectly */
    width: 100%;
    overflow: hidden;
  }

  .slide-content {
    padding-top: 0; /* Remove unnecessary top padding on mobile to save space */
  }

  .section-solution, .section-team {
    justify-content: flex-start; /* Top-align tall sections so they don't cut off at the top */
  }

  .slide-title {
    font-size: 26px; /* Slightly larger for Hero */
    margin-bottom: 8px;
    line-height: 1.1;
  }

  .slide-subtitle {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .slide-desc-text, .text-large {
    font-size: 13px;
    line-height: 1.3;
  }

  .final-headline {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .main-header {
    height: 60px;
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.95);
  }

  .site-logo {
    font-size: 20px;
    letter-spacing: 3px;
  }

  .header-container {
    padding: 0 20px;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 0;
    gap: 10px;
  }

  .nav-item {
    font-size: 14px;
    padding: 8px 0;
  }

  .nav-menu.mobile-active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions {
    display: flex;
    align-items: center;
  }

  .stats-row {
    flex-direction: column;
    gap: 15px;
    margin-top: 5px;
  }

  .stat-val {
    font-size: 32px;
  }

  .stat-unit {
    font-size: 20px;
  }

  .stat-lbl {
    font-size: 11px;
    white-space: normal;
    margin-top: 2px;
  }

  .solution-grid {
    gap: 8px;
    margin: 10px 0;
  }

  .team-grid {
    gap: 10px;
    margin-top: 15px;
  }

  .solution-item, .team-member-card {
    padding: 10px 15px;
  }

  .solution-item h3 {
    font-size: 13px;
    margin-bottom: 3px;
  }

  .solution-item p {
    font-size: 11px;
    line-height: 1.25;
  }

  .team-member-card h3 {
    font-size: 15px;
  }

  .member-role {
    font-size: 10px;
  }

  #platform .slide-footer-group {
    display: none; /* Hide redundant footer text on mobile to save vertical space */
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 10px;
  }

  .footer-right {
    align-items: flex-start;
    text-align: left;
    gap: 5px;
  }
}
