/* ========================================
   Generic Landing Page Mockup — Design System
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --off-white: #f5f5f7;
  --grey-100: #e5e5e5;
  --grey-200: #c5c5c5;
  --grey-400: #8a8a8a;
  --grey-600: #555555;
  --grey-800: #2a2a2a;
  --black: #0a0a0a;
  --dark-bg: #111113;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

/* ========================================
   Header / Navigation
   ======================================== */

.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s var(--ease-smooth), backdrop-filter 0.3s;
}

.nav-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
  transition: color 0.3s;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: inherit;
  flex: 0 0 auto;
}

.brand-mark::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 6px 0 0 currentColor, 0 6px 0 currentColor, 6px 6px 0 currentColor;
  transform: translate(-3px, -3px);
}

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

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  letter-spacing: -0.01em;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--grey-100);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Scrolled Nav Inverse Adjustments */
.nav-header.scrolled .nav-logo {
  color: var(--black);
}
.nav-header.scrolled .nav-links a {
  color: var(--grey-600);
}
.nav-header.scrolled .nav-links a:hover {
  color: var(--black);
}
.nav-header.scrolled .btn-outline {
  border-color: var(--grey-200);
  color: var(--black);
}
.nav-header.scrolled .btn-outline:hover {
  background: var(--off-white);
  border-color: var(--grey-400);
}
.nav-header.scrolled .btn-primary {
  background: var(--black);
  color: var(--white);
}
.nav-header.scrolled .btn-primary:hover {
  background: var(--grey-800);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  position: relative;
  height: 92vh;
  margin: 12px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 56px 64px;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(0, 0, 0, 0.15) 60%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  gap: 48px;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 12px 26px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s var(--ease-smooth);
}

.hero-cta:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out);
}

.hero-cta:hover svg {
  transform: translateX(3px);
}

.hero-categories {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-category {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 6px 0;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}

.hero-category::after {
  content: '↗';
  margin-left: 6px;
  opacity: 0;
  transition: opacity 0.2s;
}

.hero-category:hover {
  color: rgba(255, 255, 255, 0.9);
}

.hero-category:hover::after {
  opacity: 1;
}

.hero-category.active {
  color: var(--white);
}

/* ========================================
   Logo Strip
   ======================================== */

.logo-strip {
  padding: 64px 80px;
  text-align: center;
}

.logo-strip p {
  font-size: 0.85rem;
  color: var(--grey-400);
  margin-bottom: 32px;
}

.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.logos span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--grey-200);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.logos span:hover {
  color: var(--grey-600);
}

/* ========================================
   Statement Section
   ======================================== */

.statement {
  padding: 80px 80px 48px;
}

.statement h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--black);
  max-width: 900px;
}

/* ========================================
   Product Grid
   ======================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px 80px 80px;
}

.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--off-white);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.product-card-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-card-image {
  transform: scale(1.03);
}

.product-card-body {
  padding: 24px 20px;
}

.product-card-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.product-card-body p {
  font-size: 0.82rem;
  color: var(--grey-600);
  line-height: 1.5;
}

.product-card-actions {
  display: flex;
  gap: 8px;
  padding: 0 20px 20px;
}

.btn-sm {
  font-size: 0.75rem;
  padding: 7px 14px;
  border-radius: 100px;
  font-weight: 500;
  border: 1px solid var(--grey-200);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-sm:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ========================================
   Research Section (Dark)
   ======================================== */

.research {
  margin: 0 12px;
  border-radius: var(--radius-xl);
  background: var(--dark-bg);
  color: var(--white);
  padding: 96px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
  overflow: hidden;
}

.research::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.research-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 24px;
}

.research-mission h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
}

.research-mission .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.research-mission .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.research-links {
  display: flex;
  flex-direction: column;
}

.research-link {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s;
}

.research-link:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.research-link:hover {
  padding-left: 8px;
}

.research-link h4 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.research-link p {
  font-size: 0.8rem;
  color: var(--grey-400);
  line-height: 1.45;
  max-width: 420px;
}

.research-link .arrow {
  font-size: 1.1rem;
  color: var(--grey-400);
  transition: transform 0.3s var(--ease-out), color 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
  margin-top: 4px;
}

.research-link:hover .arrow {
  transform: translate(3px, -3px);
  color: var(--white);
}

/* ========================================
   Feature Rows
   ======================================== */

.features {
  padding: 120px 80px;
}

.features-header {
  margin-bottom: 72px;
}

.features-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.feature-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.feature-image-wrap:hover img {
  transform: scale(1.04);
}

.feature-text h3 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.feature-text p {
  font-size: 0.95rem;
  color: var(--grey-600);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 480px;
}

.feature-text .btn {
  font-size: 0.82rem;
}

/* ========================================
   Partners Section
   ======================================== */

.partners {
  padding: 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.partner-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  cursor: pointer;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.partner-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.3;
}

.partner-card p {
  font-size: 0.82rem;
  color: var(--grey-600);
  line-height: 1.55;
  margin-bottom: 20px;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
  margin: 0 12px;
  border-radius: var(--radius-xl);
  background: var(--dark-bg);
  padding: 120px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  font-size: 1rem;
  color: var(--grey-400);
  margin-bottom: 36px;
  position: relative;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--black);
  padding: 14px 32px;
  font-size: 0.9rem;
  position: relative;
}

.cta-section .btn-primary:hover {
  background: var(--grey-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 80px 80px 40px;
  margin-top: 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey-400);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--white);
}

/* ========================================
   Scroll Animations
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.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
   ======================================== */

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

  .research {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 48px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .partners {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-header { padding: 14px 20px; }
  .nav-actions .btn-outline { display: none; }

  .hero {
    height: min(680px, 70vh);
    min-height: 560px;
    padding: 32px 24px;
    margin: 8px;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-categories {
    display: none;
  }

  .statement, .product-grid, .features, .partners {
    padding-left: 24px;
    padding-right: 24px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    padding: 48px 24px 32px;
  }

  .cta-section {
    padding: 80px 24px;
  }
}

@media (max-width: 520px) {
  .nav-actions { display: none; }
}
