@font-face {
  font-family: "Basier Circle";
  src: url("assets/fonts/BasierCircle-Regular.woff2") format("woff2");

  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Basier Circle";
  src: url("assets/fonts/BasierCircle-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Basier Circle";
  src: url("assets/fonts/BasierCircle-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* 1. VARIABLES & RESET */
:root {
  --button-surface-primary: #09090a;
  --button-surface-alternative: #ffffff;
  --text-inverted: #ffffff;
  --text-primary: #09090a;
  --text-secondary: #878787;
  --light-gray: #f5f5f5;
  --container-width: 1240px;
  --side-padding: 20px; /* Default padding for smaller screens */
  --font-main: "Basier Circle", sans-serif;
}

/* Screen-reader only class for accessible hiding */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-weight: 400;
  font-family: var(--font-main);
  background-color: var(--button-surface-primary);
  color: var(--text-inverted);
  line-height: 1.6;
  padding-bottom: 88px; /* Account for fixed newsletter section */
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400; /* or whatever weight you want for headings */
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  /* padding: 0 var(--side-padding); */
}
/* 2. GENERAL LAYOUT & TYPOGRAPHY */

.container {
  max-width: 2200px;
  padding: 0 64px;
}

section {
  padding: 120px 0;
  text-align: center;
}

h2 {
  font-size: 48px;
  line-height: 54px;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 2.5rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 28px 15px;

  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--button-surface-primary);
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #5b5b5e;
}

.btn-light {
  background-color: var(--button-surface-alternative);
  color: var(--text-primary);
  height: 52px;
  width: 114px;
}
/* .btn-light:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
} */

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);

  border-color: rgba(255, 255, 255, 0.3);
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* 3. HEADER */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 80px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

header.header-scrolled {
  position: fixed;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px); /* For Safari support */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.header-inverted .logo img {
  /* This filter assumes the original SVG is white. It inverts it to black. */
  filter: invert(1);
}

header.header-inverted .btn-light {
  background-color: var(--button-surface-primary);
  color: var(--text-inverted);
}

header.header-inverted .btn-light:hover {
  background-color: #222; /* Dark gray for hover */
}

nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo img {
  height: 32px; /* Control logo size */
  transition: filter 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 40px;
  font-weight: 400;
}

.nav-btn {
  display: inline-block;
  padding: 16px 28px;

  font-style: normal;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fff;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.header-inverted .nav-btn {
  color: var(--text-primary);
}

.nav-btn:hover,
.nav-btn:focus {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.schedule-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 14px 28px;
  gap: 8px;
  width: 189px;
  height: 52px;
  background: #ffffff;
  border-radius: 0;
  width: 180px;
  white-space: nowrap;
  color: var(--text-primary);
  transition: background-color 0.3s ease;
}

.schedule-btn:hover {
  background-color: #c5c5c9;
}
.schedule-btn .plus-icon img {
  width: 16px;
  height: 16px;
  display: block;
  filter: none;
}
header.header-inverted .schedule-btn .plus-icon img {
  filter: invert(1);
}

header.header-inverted .schedule-btn:hover {
  background-color: #5b5b5e;
}

.nav-links a {
  text-decoration: none;
}

.cta-button {
  background-color: #ffffff;
  color: var(--text-primary);
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #c5c5c9;
}

/* 4. SECTION-SPECIFIC STYLING (BASIC) */

/* Hero */
#hero {
  position: relative;
  height: 748px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  background-color: var(--button-surface-primary);
  padding-top: 240px;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.6) 50%,
    rgba(10, 10, 10, 0.8) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 100%;
}

.hero-content h1 {
  font-size: 72px;
  line-height: 78px;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  width: 1600px;
}

.hero-content p,
.vision-points p,
.adoption-points p,
.who-points p,
.content-points p,
.wim-item p,
.sd-item p,
.modal-body p,
.form-group label {
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.015em;

  max-width: none;
  margin: 0;
}

#hero .hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

/* Sections with white background */
#space-edge-ai,
#adoption,
#integrations,
#investors {
  background-color: var(--light-gray);
  color: var(--text-primary);
}
#integrations .container,
#investors .container {
  flex-direction: column;
}
#space-edge-ai {
  background-color: #ffffff;
  background-image: url("assets/images/space_edge_AI.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 1130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

#space-edge-ai .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

#space-edge-ai h2,
#vision h2,
#product-overview h2,
#who-is-it-for .who-title h2,
.space-edge-ai-content h2,
#use-cases h2,
#integrations h2,
#investors h2,
#i-could-have h2,
#connect h2 {
  font-style: normal;
  font-size: 72px;
  line-height: 78px;
  letter-spacing: -0.04em;
}

#space-edge-ai h2 {
  margin-bottom: 48px;
  color: var(--text-primary);
}
#space-edge-ai h2 span {
  color: var(--text-secondary);
}

#space-edge-ai p {
  margin: 0;
  font-style: normal;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

#space-edge-ai p:first-of-type {
  padding-bottom: 20px;
}

#space-edge-ai p:last-of-type {
  padding-top: 20px;
}

#space-edge-ai p:not(:first-of-type):not(:last-of-type) {
  padding: 20px 0;
}

#vision .container p {
  max-width: none;
}

.vision-content,
.adoption-content,
.who-content {
  display: flex;
  align-items: flex-start;
  gap: 100px;
  text-align: left;
}
.vision-content {
  flex: 1;
  gap: 202px;
}

.adoption-title,
.who-title {
  flex: 1;
}

.vision-points,
.adoption-points,
.who-points {
  display: flex;
  flex-direction: column;
}

.vision-points {
  width: 100%;
}

.vision-points p,
.adoption-points p,
.who-points p,
.content-points p {
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.vision-points p:first-child,
.adoption-points p:first-child,
.who-points p:first-child {
  padding-top: 0;
}

.vision-points p:last-child,
.adoption-points p:last-child,
.who-points p:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Darker Sections */
#vision,
#adoption {
  background-color: var(--button-surface-primary);
  height: 760px;
  padding: 120px 0;
  display: flex;
}
#vision {
  height: 792px;
  align-items: center;
}
#vision p,
#adoption p {
  width: 100%;
}

#adoption h2,
#vision h2,
#who-is-it-for .who-title h2 {
  width: 491px;
}

#adoption h2 span {
  color: var(--text-secondary);
}

#vision h2 {
  width: 491px;
  margin-bottom: 48px;
}

/* Product Overview Section */
#product-overview {
  background-color: var(--button-surface-primary);
  padding: 120px 0;
  overflow: hidden;
}

#product-overview h2 {
  margin-bottom: 0;
  text-align: left;
}

#product-overview .container {
  flex-direction: column;
  gap: 240px;
}

#product-overview .container > *:nth-child(2) {
  margin-top: -120px; /* Reduce the gap before the second child */
}

.content-component {
  display: flex;
  justify-content: space-between;
  gap: 203px;
}

.content-component .reverse {
  flex-direction: row-reverse;
}

.component-image img {
  width: 1004px;
  height: 568px;
}

.component-video video {
  width: 1004px;
  height: 568px;
  object-fit: cover;
}

.component-content {
  width: 100%;
  text-align: left;
}

.component-content h3 {
  font-size: 48px;
  line-height: 54px;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.content-points {
  display: flex;
  flex-direction: column;
}

.content-points p:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.image-gallery {
  width: 2072px;
  height: 352px;
  position: relative;
  display: flex;
  gap: 64px;
  overflow: hidden;
  align-self: center;
}

.gallery-image {
  flex: 1;
  position: relative;
}

.gallery-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

#why-it-matters,
#spacedock {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#why-it-matters {
  background-color: var(--button-surface-primary);
  height: 1090.75px;
}

#why-it-matters-heading {
  font-size: 72px;
  line-height: 78px;
  letter-spacing: -0.04em;
}

#spacedock {
  background-color: #ffffff; /* Unify color */
  color: var(--text-primary);
  height: 798px;
  padding-bottom: 64px; /* Adjust padding for seamless transition */
}

#spacedock h2 span {
  color: var(--text-secondary);
}

#why-it-matters .container,
#spacedock .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 120px; /* Space between heading and items */
}

.wim-items-container,
.sd-items-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  /* gap: 32px; Space between items */
}
.wim-items-container {
  gap: 64px;
}
.wim-item,
.sd-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1;
}

.wim-item img {
  display: block;
  width: 100%;
  height: 564px;
  object-fit: cover;
  margin-bottom: 24px;
}

.wim-item:nth-child(3) img {
  background: rgba(255, 255, 255, 0.12);
}

/* Specific styles for #spacedock images */
#spacedock .sd-item img {
  height: 360px;
  width: 360px;
  object-fit: cover;
  border-radius: 12px;
}

.wim-item p {
}

.sd-item p {
  color: var(--text-primary);
}

#merge-video {
  height: 798.33px;
  padding: 0;
  overflow: hidden;
  position: relative;
}

#merge-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Who is it for section */
#who-is-it-for {
  background: var(--button-surface-primary);
  padding: 240px 0 120px;
  height: 1140.5px;
}
#who-is-it-for .who-title h2 {
  text-align: left;
  margin-bottom: 80px;
}
#who-is-it-for .who-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
#who-is-it-for .who-points {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 129px;
}
#who-is-it-for .who-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 637.33px;
  height: 438.5px;
}
#who-is-it-for .who-item img {
  width: 100%;
  height: 358.5px;
  object-fit: cover;
  margin-bottom: 16px;
}
#who-is-it-for .who-text {
  font-style: normal;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.015em;
  text-align: left;
}
#who-is-it-for .who-text strong {
  font-weight: 500;
}
#who-is-it-for .who-schedule-btn {
  text-align: left;
  align-self: flex-start;
}

/* 5. FOOTER */
footer {
  background-color: var(--button-surface-primary);
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 40px;
  height: 58px;
  display: flex;
  align-items: center;
}

.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

.footer-left,
.footer-right {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.footer-left {
  gap: 32px;
}

.footer-right {
  gap: 32px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-social a,
.footer-contact a {
  font-size: 14px;
  line-height: 18px;
  letter-spacing: -0.018em; /* -1.8% */

  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-social a:hover,
.footer-contact a:hover {
  opacity: 0.7;
}

.footer-link {
  font-style: normal;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: -0.018em;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-link:hover {
  opacity: 0.7;
}

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black with opacity - the backdrop */
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fefefe;
  padding: 0; /* Remove old padding, will be handled by header/body */
  border: 1px solid #888;
  width: 684px; /* Fixed width */
  border-radius: 10px;
  position: relative;
  color: var(--text-primary); /* Ensure text is readable */
  max-height: 90vh; /* Limit height to 90% of viewport height */
  overflow-y: auto; /* Only allow vertical scrolling if content is too tall */
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 8px 20px;
  height: 58px;
}

.modal-header h4 {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.03em; /* -3% */
  margin: 0;
}

.modal-body {
  padding: 16px 20px 20px;
}

.modal-body p {
  color: var(--text-primary);
  margin: 0;
}

.modal-body p a {
  color: #007aff; /* A standard blue link color */
  text-decoration: underline;
}

/* Form Styles */
#contactForm {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: row; /* Label and input in a row */
  align-items: flex-start; /* Align items to the top */
  gap: 6px; /* Space between label and input */
}

.input-with-error {
  position: relative;
  width: 100%;
}

.form-group label {
  width: 100px; /* Give label a fixed width for alignment */
  flex-shrink: 0; /* Prevent label from shrinking */
  padding-top: 8px; /* Add padding to vertically align with input */
}

.form-group.message-group {
  align-items: flex-start; /* Keep label at the top for textarea */
}

.form-group.message-group label {
  padding-top: 12px; /* Align with first line of textarea */
}

.form-group input,
.form-group textarea {
  width: 528px;
  height: 48px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;

  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.02em; /* -2% */
  box-sizing: border-box; /* Important for padding and border */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Custom focus style to replace default outline */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e0e0e0;
  box-shadow: none;
}

/* Error state styles */
.error-container {
  /* position: absolute; <-- REMOVED */
  /* top: 100%; <-- REMOVED */
  /* left: 0; <-- REMOVED */
  display: none; /* Hidden by default */
  align-items: center;
  gap: 8px; /* Space between icon and text */
  margin-top: 6px;
}

.error-container .error-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.error-container .error-message {
  font-size: 13px;
  line-height: 16px;
  letter-spacing: -0.02em; /* -2% */
  color: #cd3535;
}

.form-group input.error {
  border-color: #cd3535;
}

.form-group input.error:focus {
  border-color: #cd3535;
}

.form-footer {
  display: flex;
  justify-content: flex-end; /* Align button to the right */
  margin-top: 20px;
}

#submitButton:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Specific style for the message textarea */
.form-group textarea {
  min-height: 48px; /* Match the height of other inputs */
  height: auto;
  resize: none; /* Remove the browser's default resize handle */
  overflow: hidden; /* Prevent scrollbar from appearing */
}

.close-button {
  color: #aaa;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px; /* Adjusted for centering the 'x' for now */
  line-height: 1;
  font-weight: normal;
  border-radius: 4px; /* Optional: for slightly rounded corners */
  transition: background-color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
  background-color: #f0f0f0; /* Light gray background on hover */
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.form-group.message-group label {
  height: auto; /* Remove fixed height */
  display: block; /* Change to block */
}

.error-container {
  padding-left: 0; /* Remove left padding on mobile */
  margin-top: 8px;
}

/* =================================== */
/*  RESPONSIVE MEDIA QUERIES           */
/* =================================== */

#integrations,
#investors {
  background-color: #ffffff; /* Unify color */
  height: 510px;
  padding-top: 0; /* Adjust padding for seamless transition */
  padding-bottom: 64px; /* Adjust padding for seamless transition */
}

#integrations h3,
#investors h3 {
  margin-bottom: 40px;
  color: var(--text-primary);

  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.03em;
  text-align: left;
}

#build-with {
  background-color: #ffffff; /* Unify color */
  height: 390px;
  padding-top: 0; /* Adjust padding for seamless transition */
  padding-bottom: 120px; /* To balance the removed top padding */
}

#build-with h3 {
  margin-bottom: 40px;
  color: var(--text-primary);

  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.03em;
  text-align: left;
}

.logo-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
}

#build-with .logo-container {
  justify-content: flex-start;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-blend-bg {
  mix-blend-mode: multiply;
}

.logo-luminosity {
  mix-blend-mode: luminosity;
}

/* 9. Team Section */
#team {
  background-color: var(--button-surface-primary);

  padding-top: 240px;
  padding-bottom: 120px;
}

#team .container {
  flex-direction: column;
  gap: 120px; /* Increased gap */
}

#team h2 {
  font-style: normal;
  font-size: 72px;
  line-height: 78px;
  letter-spacing: -0.04em;

  text-align: left;
  max-width: unset;
}

.team-rows {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.team-row {
  display: flex;
  flex-direction: row;
  gap: 48px;
  margin-bottom: 0;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 192px;
}

.team-member img {
  width: 120px; /* Portrait image size */
  height: 120px;
  object-fit: cover;
}

.team-member-info {
  display: flex;
  flex-direction: column;
  width: 203px;
  text-align: left; /* Align text to the left */
  gap: 4px; /* Gap between name and title */
}

.team-member-info h4 {
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.025em; /* -2.5% */
}

.team-member-info p {
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.02em; /* -2% */
  color: #8a8a8d;
}

.title-gray {
  color: var(--text-secondary);
}

/* Toast Notification Styles */
#toast-container {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.toast-notification {
  width: 358px;
  height: 48px;
  padding: 8px 8px 8px 12px;
  border-radius: 12px; /* Corrected to match spec */
  border: 1px solid;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-notification.success {
  background-color: #dff2e5;
  border-color: #00c74124; /* Corrected to match spec */
}

.toast-notification.error {
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.toast-notification .toast-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-notification .toast-icon img {
  width: 100%;
  height: 100%;
}

.toast-notification.success .toast-icon {
  /* Style is now handled by the SVG itself */
}

.toast-notification.error .toast-icon img {
  width: 18px;
  height: 12px;
}

.toast-notification p {
  font-weight: 500;
  font-size: 14px;
  flex-grow: 1;
  margin: 0;
}

.toast-notification.success p {
  color: #03290e;
}

.toast-notification.error p {
  color: #721c24;
}

.toast-notification .toast-close {
  width: 32px;
  height: 32px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.toast-notification .toast-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.toast-notification .toast-close img {
  width: 12px;
  height: 12px;
}

.learn-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 191px;
  height: 64px;
  border: 1px solid var(--Border-10, #ffffff29);
  border-radius: 0;
  background: transparent;
  color: var(--Text-Secondary, #c5c5c9);
  margin-top: 40px;
  font-style: normal;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.02em;
  opacity: 1;
  padding: 20px 32px;
  gap: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.learn-more-btn:hover,
.learn-more-btn:focus {
  background-color: rgba(255, 255, 255, 0.16);
}
.learn-more-btn .plus-icon {
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.learn-more-btn .plus-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.wim-item h3 {
  font-style: normal;
  font-size: 40px;
  line-height: 46px;
  letter-spacing: -0.04em;
  margin: 0 0 8px 0;
}

.space-edge-ai-content {
  width: 907px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 80px;
}

.space-edge-ai-content h2 {
  color: var(--text-primary);
  margin-bottom: 48px;
  text-align: left;
  width: 100%;
}

.space-edge-ai-paragraphs {
  width: 907px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.space-edge-ai-paragraph {
  width: 907px;
  max-width: 100%;
  opacity: 1;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;

  font-style: normal;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 0;
  box-sizing: border-box;
  background: transparent;
}

.space-edge-ai-paragraph.last {
  border-bottom: none;
  padding-bottom: 0;
}

.space-edge-ai-paragraph:nth-child(2) {
  padding-top: 20px;
}

/* Who is it for section schedule button */
.who-section-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 224px;
  height: 64px;
  border: 1px solid var(--Border-10, #ffffff29);
  border-radius: 0;
  background: transparent;
  color: var(--Text-Secondary, #c5c5c9);

  font-style: normal;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.02em;
  opacity: 1;
  padding: 20px 32px;
  gap: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.who-section-btn:hover,
.who-section-btn:focus {
  background-color: rgba(255, 255, 255, 0.16);
}
.who-section-btn .plus-icon {
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.who-section-btn .plus-icon img {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

.who-section-btn .plus-icon {
  filter: invert(1);
}
.who-content {
  gap: 0;
}

#who-is-it-for .who-item img[src*="w3.png"] {
  transform: scaleX(-1);
}

/* Use Cases Section */
#use-cases {
  background-color: var(--button-surface-primary);
  position: relative;
}

#use-cases::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/images/use-cases.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

#use-cases::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #09090a 0%, rgba(9, 9, 10, 0) 43.2%);
  z-index: 1;
  pointer-events: none;
}
#use-cases .use-cases-content {
  position: relative;
  z-index: 2;
}

#use-cases h2 {
  margin-bottom: 80px;
  text-align: left;
}

#use-cases .use-cases-paragraphs {
  width: 908px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

#use-cases .use-cases-paragraph {
  width: 908px;
  max-width: 100%;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  font-style: normal;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.015em;

  text-align: left;
  box-sizing: border-box;
  background: transparent;
}

#use-cases .use-cases-paragraph.last {
  border-bottom: none;
  padding-bottom: 0;
}

#use-cases .use-cases-paragraph:nth-child(2) {
  padding-top: 20px;
}

/* Integrations Section */
#integrations,
#investors {
  padding: 240px 0 120px;
  height: auto;
}

#integrations h2,
#investors h2 {
  color: var(--text-primary);
  margin-bottom: 40px;
  text-align: left;
}

.integrations-items-container {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

#integrations .integrations-items,
#investors .integrations-items {
  display: flex;
  /* justify-content: space-between; */
  align-items: flex-start;
  gap: 40px;
}

#integrations .integration-item,
#investors .integration-item {
  width: 213px;
  height: 285px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#integrations .integration-logo,
#investors .integration-logo {
  width: 213px;
  height: 213px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#integrations .integration-logo img,
#investors .integration-logo img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

#integrations .integration-text,
#investors .integration-text {
  font-style: normal;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  text-align: center;
  margin: 0;
}

.integrations-part-2 {
  padding: 0 !important;
  height: 285px !important;
}

.investors {
  padding: 120px 0 !important;
  height: 576px !important;
}

.investors .integration-item {
  height: 213px !important;
}

/* I could have Section */
#i-could-have {
  background: #ffffff;
  padding: 120px 0;
  height: 640px;
  display: flex;
  align-items: center;
}

#i-could-have .container {
  height: 100%;
}

#i-could-have .i-could-have-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  justify-content: space-between;
  height: 100%;
}

#i-could-have h2 {
  color: var(--text-primary);
  margin-bottom: 0;
  text-align: left;
}

#i-could-have .i-could-have-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

#i-could-have .i-could-have-text {
  font-style: normal;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.015em;
  color: #878787;
  text-align: left;
  margin: 0;
}

#i-could-have .i-could-have-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.testimonial-text {
  transition: opacity 0.5s ease-in-out;
}

/* Dot Button Styling */
.dot-button {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.dot-button:hover {
  background-color: #0000000a;
}

.dot-button svg {
  width: 8px;
  height: 8px;
}

#connect {
  padding-top: 120px;
  padding-bottom: 0;
  height: 542px;
  background: var(--button-surface-primary);
}
#connect .connect-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
#connect h2 {
  color: #fff;
  margin-bottom: 0;
  text-align: left;
}
.connect-btn {
  background: var(--button-surface-alternative);
  color: var(--text-primary);
  border: 1px solid transparent;
  box-shadow: none;
  font-size: 16px;

  border-radius: 999px;
  padding: 13px 28px 15px;
  transition: all 0.3s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}
.connect-btn:hover {
  background: #f0f0f0;
  color: var(--text-primary);
}

.newsletter-section {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1d1d1e;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 0;
}

.newsletter-text {
  font-style: normal;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  padding: 0;
}

.newsletter-input {
  width: 270px;
  height: 40px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0 12px;

  font-size: 16px;
  color: #6d6e71;
  background: transparent;
  outline: none;
}

.newsletter-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
}

.newsletter-input::placeholder {
  color: #878787;
  opacity: 1;
}

.newsletter-subscribe {
  width: 100px;
  height: 40px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: none;
  border-radius: 0;

  font-size: 16px;

  cursor: pointer;
  transition: background 0.2s;
  margin-right: 16px;
}

.newsletter-subscribe:hover {
  background: rgba(255, 255, 255, 0.24);
}

.newsletter-close {
  width: 40px;
  height: 40px;
  background: transparent;
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 28px;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.newsletter-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* Legal pages layout */
.legal-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
}
.legal-content {
  width: 1112px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 40px;
}
.legal-content h1 {
  font-size: 72px;
  margin-bottom: 64px;
  font-family: var(--font-main);
  font-weight: 400;
}
.legal-item {
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
}
.legal-item-title {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.1px;
  vertical-align: middle;
  margin-bottom: 8px;
}
.legal-item-paragraph {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.012em;
}

@media (max-width: 767px) {
  section {
    padding: 100px 0;
  }

  #hero {
    height: 908px;
    padding-top: 180px;
  }
  .container {
    width: 100%;
    padding: 0 24px;
  }
  .nav-links {
    display: none;
  }
  .logo img {
    width: 126.95px;
    height: 18.77px;
  }

  .schedule-btn {
    background: transparent;
    color: #fff;
  }
  .schedule-btn .plus-icon {
    filter: invert(1);
  }

  header.header-inverted .schedule-btn {
    color: var(--text-primary);
    background: transparent;
  }
  .hero-content {
    width: 100%;
  }
  .hero-content h1 {
    font-size: 48px;
    line-height: 54px;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    width: 100%;
  }
  .hero-content p {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -0.01em;
    margin-bottom: 40px;
  }

  #why-it-matters {
    height: 1398px;
    padding-top: 120px;
  }

  #why-it-matters-heading {
    font-size: 48px;
    line-height: 54px;
    letter-spacing: -0.04em;
    margin-bottom: 120px;
    text-align: left;
  }

  #why-it-matters .container {
    gap: 0;
  }
  .wim-items-container {
    flex-direction: column;
    gap: 64px;
  }

  .wim-item img {
    height: 260px;
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: 0;
    left: 0;
    right: 0;
    position: relative;
    display: block;
    object-fit: cover;
  }

  .wim-item h3 {
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -0.03em;
  }

  .wim-item p {
    font-size: 18px;
    line-height: 28px;
  }

  #vision {
    height: 880px;
    align-items: flex-start;
  }
  #vision h2 {
    font-size: 48px;
    line-height: 54px;
    letter-spacing: -0.04em;
    margin-bottom: 120px;
    width: 100%;
  }

  #vision p {
    width: 100%;
    font-size: 18px;
    line-height: 28px;
  }
  .vision-content {
    flex-direction: column;
    margin-bottom: 0;
    gap: 0;
    width: 100%;
  }
  #product-overview .container {
    gap: 120px;
  }
  #product-overview h2 {
    font-size: 48px;
    line-height: 54px;
    letter-spacing: -0.04em;
  }

  .content-component {
    flex-direction: column;
    gap: 80px;
  }

  .component-video video {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    left: 0;
    right: 0;
    display: block;
    object-fit: cover;
    height: auto;
  }
  .component-content {
    width: 100%;
  }

  .component-content h3 {
    font-size: 34px;
    line-height: 40px;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
  }

  #product-overview-paragraphs {
    width: 100%;
  }

  .content-component.reverse {
    flex-direction: column-reverse;
  }

  .image-gallery {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: 0;
    margin-left: 0;
  }

  .image-gallery .gallery-image:not(:nth-child(3)) {
    display: none;
  }
  .image-gallery .gallery-image:nth-child(3) img {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    margin-left: 0;
    position: relative;
    left: 0;
    right: 0;
    display: block;
    object-fit: cover;
  }
  .component-image {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  .component-image img {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    display: block;
    height: auto;
    object-fit: cover;
  }
  #product-overview h2 {
    margin-bottom: 120px;
  }

  #space-edge-ai h2 {
    font-size: 48px;
    line-height: 54px;
    margin-bottom: 120px;
  }
  .space-edge-ai-content {
    margin-top: 20px;
  }

  #space-edge-ai p {
    font-size: 18px;
    line-height: 28px;
    width: 100%;
  }
  #space-edge-ai {
    height: 1548px;
    background-image: url("assets/images/space-edge-ai-mobile.png");
    background-position: center bottom;
    background-size: 126% auto;
    background-repeat: no-repeat;
    position: relative;
  }

  #space-edge-ai::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 1) 60%,
      rgba(255, 255, 255, 0.9) 70%,
      rgba(255, 255, 255, 0.7) 80%,
      rgba(255, 255, 255, 0.3) 90%,
      rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
  }

  #space-edge-ai .container {
    position: relative;
    z-index: 2;
  }

  #who-is-it-for {
    height: 1636.12px;
    padding-top: 120px;
  }
  #who-is-it-for .who-item {
    width: 100%;
  }

  #who-is-it-for .who-points {
    flex-direction: column;
    align-items: flex-start;
    gap: 80px;
    margin-bottom: 80px;
  }

  #who-is-it-for .who-title h2,
  #use-cases h2 {
    font-size: 48px;
    line-height: 54px;
  }
  #who-is-it-for .who-title h2 {
    width: 100%;
  }
  #who-is-it-for .who-item img {
    height: 260px;
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: 0;
    left: 0;
    right: auto;
    position: relative;
    display: block;
    object-fit: cover;
    transform: none;
  }
  #who-is-it-for .who-text {
    font-size: 18px;
    line-height: 28px;
  }

  #use-cases h2,
  #integrations h2,
  #investors h2,
  #i-could-have h2 {
    font-size: 48px;
    line-height: 54px;
  }
  #use-cases {
    background-color: var(--button-surface-primary);
    background-image: none;
    position: relative;
    height: 954px;
  }

  #use-cases .use-cases-paragraphs {
    width: 100%;
  }
  #use-cases .use-cases-paragraph {
    width: 100%;
    font-size: 18px;
    line-height: 28px;
  }

  #use-cases {
    height: 954px;
    background-image: url("assets/images/use-cases.png");
    background-position: center bottom;
    background-size: 200% auto;
    background-repeat: no-repeat;
    position: relative;
  }

  #use-cases::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #000000, #000000),
      linear-gradient(180deg, #09090a 61.52%, rgba(9, 9, 10, 0) 83.22%);
    opacity: 0.8;
    z-index: 1;
  }

  #integrations h2,
  #investors h2 {
  }

  #integrations {
    height: auto;
    padding-top: 120px;
    padding-bottom: 40px;
  }

  #investors {
    height: auto !important;
  }
  #integrations .integrations-items,
  #investors .integrations-items {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  #integrations .integration-item,
  #investors .integration-item {
    width: 100%;
    height: 224px !important;
    justify-content: center;
    gap: 16px;
  }

  #integrations .integration-logo,
  #investors .integration-logo {
    height: auto !important;
    max-height: 180px;
    min-height: 100px;
    width: 100%;
  }

  /* Mobile-specific logo height classes */
  .gravitics-logo img {
    height: 23.04px;
  }

  .impulse-logo img {
    height: 37.21px;
  }

  .hubble-logo img {
    height: 60.25px;
  }

  .space-cloud-logo img {
    height: 45.24px;
  }

  .oligo-logo img {
    height: 72.89px;
  }

  .confers-logo img {
    height: 47.44px;
  }

  .cosmic-logo img {
    height: 75.22px;
  }

  .aerospace-logo img {
    height: 56.23px;
  }

  .blue-pacific-logo img {
    height: 209.1px;
  }

  .reka-logo img {
    height: 52.07px;
  }

  .axiom-logo img {
    height: 97.27px;
  }
  .integrations-part-2 {
    padding: 0 !important;
    height: auto !important;
  }
  #team {
    padding-top: 120px;
  }
  #team h2 {
    font-size: 48px;
    line-height: 54px;
    margin-bottom: 80px;
  }
  #team .container {
    flex-direction: column;
    gap: 0;
  }
  .team-row {
    flex-direction: column;
  }
  .team-member {
    flex-direction: row;
    width: 100%;
  }
  #connect h2 {
    font-size: 48px;
    line-height: 54px;
  }
  .connect-button {
    background: var(--button-surface-alternative);
    color: var(--text-primary);
  }
  .container .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-container {
    flex-direction: column;
    height: auto;
    margin-bottom: 40px;
  }
  .footer-left,
  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
  }
  .footer-left {
    margin-bottom: 24px;
  }

  footer {
    height: auto;
  }

  body {
    padding-bottom: 186px; /* Account for fixed newsletter section on mobile */
  }
  .newsletter-section {
    height: 186px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  .newsletter-container {
    flex-direction: column;
    padding: 0 24px;
    max-width: 100%;
    margin: 0 auto;
  }

  .newsletter-input {
    width: 210px;
  }
  .legal-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
  }
  .legal-content {
    width: 100%;
    padding: 0 24px;
  }
  .legal-content h1 {
    font-size: 40px;
    line-height: 46px;
    margin-bottom: 0;
  }
  .legal-item {
    margin-bottom: 0;
  }
}

@media (min-width: 1700px) and (max-width: 2200px) {
  .container {
    max-width: 1600px;
  }

  #why-it-matters {
    height: 958px;
  }

  .wim-item img {
    height: 432px;
  }

  .wim-item {
    max-width: 768px;
  }

  .component-video video {
    height: 432px;
    width: 768px;
    object-fit: cover;
  }

  .component-image img {
    height: 432px;
    width: 768px;
  }

  #who-is-it-for {
    height: 1052px;
  }

  #who-is-it-for .who-item {
    width: 480px;

    height: 350px;
  }
  #who-is-it-for .who-item img {
    width: 480px;
    height: 270px;
  }
}

@media (min-width: 1280px) and (max-width: 1699px) {
  .container {
    max-width: 1200px;
    padding: 0;
  }

  .hero-content h1 {
    width: 100%;
  }

  #space-edge-ai h2,
  #vision h2,
  #product-overview h2,
  #who-is-it-for .who-title h2,
  .space-edge-ai-content h2,
  #use-cases h2,
  #integrations h2,
  #investors h2,
  #i-could-have h2,
  #connect h2,
  .hero-content h1,
  #why-it-matters-heading {
    font-style: normal;
    font-size: 64px;
    line-height: 70px;
    letter-spacing: -0.022em;
  }

  #why-it-matters {
    height: 907.5px;
  }
  #why-it-matters-heading {
    text-align: left;
  }
  .wim-item img {
    height: 319.5px;
  }

  .wim-item {
    width: 568px;
  }

  #vision {
    height: 760px;
  }

  #vision h2 {
    width: 463px;
  }
  .vision-content {
    flex: 1;
    gap: 169px;
  }

  .component-video video {
    height: 322px;
    width: 568px;
    object-fit: cover;
  }

  .component-image img {
    height: 322px;
    width: 568px;
  }

  #who-is-it-for {
    height: 1052px;
  }

  #who-is-it-for .who-item {
    width: 357.33px;

    height: 313px;
  }
  #who-is-it-for .who-item img {
    width: 357.33px;
    height: 201px;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .container {
    max-width: 768px;
    padding: 0 24px;
  }
  #hero {
    height: 634px;
    padding-top: 180px;
  }
  .nav-links {
    display: none;
  }
  .schedule-btn {
    background: transparent;
    color: #fff;
  }
  .schedule-btn .plus-icon {
    filter: invert(1);
  }

  header.header-inverted .schedule-btn {
    color: var(--text-primary);
    background: transparent;
  }
  .hero-content h1 {
    width: 100%;
  }

  #space-edge-ai h2,
  #vision h2,
  #product-overview h2,
  #who-is-it-for .who-title h2,
  .space-edge-ai-content h2,
  #use-cases h2,
  #integrations h2,
  #investors h2,
  #i-could-have h2,
  #connect h2,
  .hero-content h1,
  #why-it-matters-heading {
    font-style: normal;
    font-size: 48px;
    line-height: 54px;
    letter-spacing: -0.03em;
  }

  #vision h2 {
    margin-bottom: 0;
  }

  .hero-content p,
  .vision-points p,
  .adoption-points p,
  .who-points p,
  .content-points p,
  .wim-item p,
  .sd-item p,
  .modal-body p,
  .form-group label {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -0.01em;
  }

  .hero-content p br {
    display: none;
  }

  #why-it-matters {
    height: 1715px;
  }
  #why-it-matters-heading {
    text-align: left;
  }

  .wim-items-container {
    flex-direction: column;
  }
  .wim-item img {
    height: 511px;
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: 0;
    left: 0;
    right: 0;
    position: relative;
    display: block;
    object-fit: cover;
  }

  .wim-item {
    width: 100%;
  }

  #vision {
    height: 688px;
  }

  #vision h2 {
    width: 100%;
  }
  .vision-content {
    flex: 1;
    gap: 120px;
    flex-direction: column;
  }
  .content-component {
    flex-direction: column;
    gap: 80px;
  }
  .content-component.reverse {
    flex-direction: column-reverse;
  }
  .vision-points p {
    width: 100%;
  }

  .component-content h3 {
    font-size: 34px;
    line-height: 40px;
    letter-spacing: -0.03em;
  }

  .component-video video {
    height: 434.49px;
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    left: 0;
    right: 0;
    display: block;
    object-fit: cover;
    height: auto;
  }

  .component-image {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }

  #product-overview .container {
    gap: 120px;
  }

  .component-image img {
    height: 434.49px;
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    display: block;
    height: auto;
    object-fit: cover;
  }

  #space-edge-ai {
    height: 1186px;
    background-image: url("assets/images/space-edge-ai-mobile.png");
    background-position: center bottom;
    background-size: 100% auto;
    background-repeat: no-repeat;
    position: relative;
  }

  #space-edge-ai::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.9) 30%,
      rgba(255, 255, 255, 0.7) 50%,
      rgba(255, 255, 255, 0.5) 70%,
      rgba(255, 255, 255, 0.3) 90%,
      rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
  }

  #space-edge-ai .container {
    position: relative;
    z-index: 2;
  }

  #who-is-it-for {
    height: auto;
  }

  #who-is-it-for .who-points {
    flex-direction: column;
    gap: 80px;
    margin-bottom: 80px;
  }

  #who-is-it-for .who-item {
    width: 100%;
    height: 504px;
  }
  #who-is-it-for .who-item img {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: 0;
    left: 0;
    right: auto;
    position: relative;
    display: block;
    object-fit: cover;
    transform: none;
    height: 432px;
  }

  #use-cases .use-cases-paragraph,
  #use-cases .use-cases-paragraphs {
    width: 100%;
  }

  #integrations .integrations-items,
  #investors .integrations-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: flex-start;
  }

  #integrations .integration-item,
  #investors .integration-item {
    width: calc(50% - 24px);
    flex: 0 0 calc(50% - 24px);
  }

  /* Override the container structure for tablet layout */
  #integrations .integrations-items-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: flex-start;
  }

  #integrations .integrations-items-container .integrations-items {
    display: contents;
  }

  #integrations .integrations-items-container .integration-item {
    width: calc(50% - 24px);
    flex: 0 0 calc(50% - 24px);
  }

  #team .team-rows {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: flex-start;
  }

  #team .team-row {
    display: contents;
  }

  #team .team-member {
    width: calc(50% - 24px);
    flex: 0 0 calc(50% - 24px);
  }

  #use-cases h2,
  #integrations h2,
  #investors h2,
  #i-could-have h2 {
    font-size: 48px;
    line-height: 54px;
  }
  #use-cases {
    height: 760px;
    background-image: url("assets/images/use-cases.png");
    background-position: center bottom;
    background-size: 100% auto;
    background-repeat: no-repeat;
    position: relative;
  }

  #use-cases::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #000000, #000000),
      linear-gradient(180deg, #09090a 100%, rgba(9, 9, 10, 0) 83.22%);
    opacity: 0.8;
    z-index: 1;
  }

  #use-cases .use-cases-paragraphs {
    width: 100%;
  }
  #use-cases .use-cases-paragraph {
    width: 100%;
    font-size: 18px;
    line-height: 28px;
  }
  #use-cases .use-cases-paragraphs {
    width: 100%;
  }
  #use-cases .use-cases-paragraph {
    width: 100%;
    font-size: 18px;
    line-height: 28px;
  }
  #integrations {
    height: auto;
    padding-top: 120px;
    padding-bottom: 40px;
  }

  #investors {
    height: auto !important;
  }

  #integrations .integration-item,
  #investors .integration-item {
    width: 100%;
    height: 224px !important;
    justify-content: center;
    gap: 16px;
  }

  #integrations .integration-logo,
  #investors .integration-logo {
    height: auto !important;
    max-height: 180px;
    min-height: 100px;
    width: 100%;
  }

  /* Mobile-specific logo height classes */

  .gravitics-logo img {
    height: 25.31px;
  }

  .impulse-logo img {
    height: 33.94px;
  }

  .hubble-logo img {
    height: 54.87px;
  }

  .space-cloud-logo img {
    height: 41.03px;
  }

  .oligo-logo img {
    height: 66.37px;
  }

  .confers-logo img {
    height: 43.22px;
  }

  .cosmic-logo img {
    height: 68.49px;
  }

  .aerospace-logo img {
    height: 50.49px;
  }

  .blue-pacific-logo img {
    height: 190.4px;
  }

  .reka-logo img {
    height: 47.41px;
  }

  .axiom-logo img {
    height: 88.58px;
  }
  .integrations-part-2 {
    padding: 0 !important;
    height: auto !important;
  }
  #team {
    padding-top: 120px;
  }
  #team h2 {
    font-size: 48px;
    line-height: 54px;
    margin-bottom: 80px;
  }
  #team .container {
    flex-direction: column;
    gap: 0;
  }
  .team-row {
    flex-direction: column;
  }
  .team-member {
    flex-direction: row;
    width: 100%;
  }

  .container .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-container {
    flex-direction: column;
    height: auto;
    margin-bottom: 40px;
  }
  .footer-left,
  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
  }
  .footer-left {
    margin-bottom: 24px;
  }

  footer {
    height: auto;
  }

  body {
    padding-bottom: 186px; /* Account for fixed newsletter section on mobile */
  }
  .newsletter-section {
    height: 186px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  .newsletter-container {
    flex-direction: column;
    padding: 0 24px;
    width: 768px;
    margin: 0 auto;
  }

  /* .image-gallery {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: 0;
    margin-left: 0;
    height: auto;
  } */

  /* .image-gallery .gallery-image:not(:nth-child(3)) {
    display: none;
  }
  .image-gallery .gallery-image:nth-child(3) img {
    width: 100%;
    max-width: none;
    min-width: auto;
    margin-left: 0;
    position: relative;
    left: 0;
    right: 0;
    display: block;
    object-fit: cover;
  } */

  /* .newsletter-input {
    width: 100%;
  } */

  /* .image-gallery {
    display: none;
  } */
}
