/* ===========================
   RESET & BASE STYLES
   =========================== */

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

:root {
  --color-bg: #000000;
  --color-text: #ffffff;
  --color-text-muted: #b5b5b5;
  --color-text-light: #d1d1d1;
  --color-accent: #1E7BFF;
  --font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 1.3;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

ul {
  list-style: none;
}

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

.page-width {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===========================
   HEADER
   =========================== */

.site-header {
  background: var(--color-bg);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-item--logo {
  flex: 0 0 auto;
}

.site-header__logo a {
  display: block;
}

.logo-desktop {
  display: block;
  max-width: 200px;
}

.logo-mobile {
  display: none;
}

.header-item--navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.site-nav__link {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.header-item--icons .site-nav {
  gap: 1rem;
}

/* ===========================
   HERO SECTION
   =========================== */

.ampd-hero {
  background: #000;
}

.ampd-hero-title {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0rem 2rem 2rem;
  text-align: center;
}

.ampd-hero-title h1 {
  color: #ffffff;
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  line-height: 1.15;
  margin: 0 auto;
  max-width: 900px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ampd-hero-title .engine {
  position: relative;
  display: inline-block;
}

.ampd-hero-title .tm {
  position: absolute;
  top: -0.18em;
  right: -0.35em;
  font-size: 0.55em;
  opacity: 0.7;
}

.ampd-hero-visual-wrap {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
}

.ampd-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://cdn.shopify.com/s/files/1/0902/5372/1965/files/OrgLanding.png?v=1768943645');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top;
  z-index: 1;
}

.ampd-hero-bottomfade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.55) 30%,
    rgba(0,0,0,0.25) 55%,
    rgba(0,0,0,0) 75%
  );
  z-index: 2;
}

.ampd-hero-statement {
  position: absolute;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  bottom: 5rem;
  width: 100%;
  padding: 0 2rem;
}

.ampd-hero-statement-inner {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.ampd-hero-statement-text {
  color: #d1d1d1;
  font-size: 1.05rem;
  line-height: 1.5;
  letter-spacing: 0.005em;
}

/* New hero copy structure */
.ampd-hero-copy {
  color: #d1d1d1;
  font-size: 1.05rem;
  line-height: 1.5;
  letter-spacing: 0.005em;
}

.ampd-hero-line {
  margin-bottom: 0.25rem;
}

.ampd-hero-line--primary {
  font-weight: 600;
  color: #ffffff;
}

.ampd-hero-line--secondary {
  color: #d1d1d1;
}

.ampd-hero-cta {
  background: #1E7BFF;
  color: #ffffff;
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  font-size: 0.78rem;
  border-radius: 4px;
  white-space: nowrap;
  line-height: 1;
  transition: background 0.2s ease;
}

.ampd-hero-cta:hover {
  background: #0d6efd;
  opacity: 1;
}

/* ===========================
   LOGO CAROUSEL
   =========================== */

.ampd-logo-carousel {
  display: block;
  width: 100%;
  overflow: hidden;
  background-color: #000000;
  padding: 40px 0;
}

.ampd-logo-carousel__track {
  display: flex;
  gap: 100px;
  animation: logo-scroll 45s linear infinite;
  will-change: transform;
}

.ampd-logo-carousel__track:hover {
  animation-play-state: paused;
}

.ampd-logo-carousel__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 80px;
}

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

@keyframes logo-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * (150px + 100px) * 3));
  }
}

/* ===========================
   PILLARS SECTION
   =========================== */

.ampd-pillars {
  background: #000;
  padding: 4rem 2rem;
}

.ampd-pillars-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ampd-pillars-header {
  text-align: center;
  margin-bottom: 4rem;
}

.ampd-pillars-header h2 {
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 650;
  margin-bottom: 0.75rem;
}

.ampd-pillars-header p {
  color: #9a9a9a;
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

.ampd-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  text-align: center;
}

.ampd-pillar-icon {
  height: 250px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ampd-pillar-icon img {
  height: 100%;
  width: auto;
}

.ampd-pillar h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 650;
  margin-bottom: 0.75rem;
}

.ampd-pillar p {
  color: #b5b5b5;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 320px;
  margin: 0 auto;
}

/* ===========================
   SCIENCE CTA
   =========================== */

.ampd-science-cta {
  text-align: center;
  margin: 80px 0;
}

.ampd-outline-btn {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid #ffffff;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ampd-outline-btn:hover {
  background: rgba(255,255,255,0.08);
}

/* ===========================
   MODULES SECTION
   =========================== */

.ampd-modules {
  background: #000;
  padding: 4rem 1rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ampd-modules-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ampd-modules-list {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.ampd-module {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.ampd-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.ampd-text h3 {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: #fff;
}

.ampd-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #b5b5b5;
}

.ampd-modules-visual img {
  width: 100%;
  max-width: 480px;
  display: block;
  margin-left: auto;
}

/* ===========================
   CTA BUTTON
   =========================== */

.ampd-cta-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 60px 0;
}

.ampd-cta-culture {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.85rem;
  border-radius: 6px;
  background: #2f80ed;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.ampd-cta-culture:hover {
  background: #256ddb;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(47, 128, 237, 0.35);
  opacity: 1;
}

.ampd-cta-culture:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(47, 128, 237, 0.25);
}

/* ===========================
   TESTIMONIAL
   =========================== */

.ampd-testimonial {
  background: #000;
  padding: 4rem 1.5rem;
  display: flex;
  justify-content: center;
}

.ampd-testimonial-inner {
  max-width: 760px;
  width: 100%;
  text-align: center;
}

.ampd-testimonial-quote {
  margin: 0 0 2.75rem;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.55;
  font-weight: 400;
  color: #f1f1f1;
}

.ampd-testimonial-author {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: #ffffff;
  opacity: 0.95;
}

.ampd-testimonial-logo img {
  display: block;
  margin: 0 auto;
  max-width: 110px;
  height: auto;
  opacity: 0.9;
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
  background: #000;
  padding: 3rem 0 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__section {
  margin-bottom: 2rem;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.social-icons svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.site-footer__copyright {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===========================
   PDF MODAL
   =========================== */

.ampd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100000;
}

.ampd-overlay.active {
  display: flex;
}

.ampd-modal {
  background: #ffffff;
  width: 94%;
  max-width: 900px;
  height: 80vh;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ampd-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.ampd-close-btn {
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  line-height: 1;
}

.ampd-modal-body {
  flex: 1;
  background: #f5f5f5;
}

.ampd-pdf-frame {
  width: 100%;
  height: 100%;
  border: none;
}

body.ampd-lock {
  overflow: hidden;
}

/* ===========================
   RESPONSIVE - DESKTOP
   =========================== */

@media (min-width: 1025px) {
  .ampd-hero-statement {
    max-width: 600px;
    bottom: 4rem;
  }

  .ampd-hero-statement-inner {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .ampd-hero-statement-text,
  .ampd-hero-copy {
    max-width: 520px;
    text-align: center;
  }
}

/* ===========================
   RESPONSIVE - TABLET
   =========================== */

@media (max-width: 1024px) {
  .ampd-hero-statement {
    max-width: 520px;
    padding: 0;
    bottom: 4.25rem;
  }

  .ampd-hero-statement-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .ampd-hero-statement-text,
  .ampd-hero-copy {
    max-width: 420px;
    text-align: center;
  }

  .ampd-modules-inner {
    gap: 3rem;
  }
}

/* ===========================
   RESPONSIVE - MOBILE
   =========================== */

@media (max-width: 900px) {
  body {
    font-size: 16px;
  }

  .page-width {
    padding: 0 1.5rem;
  }

  /* Header - centered layout */
  .header-layout {
    justify-content: center !important;
    gap: 0 !important;
  }

  .header-item--logo {
    position: static !important;
    transform: none !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
    max-width: 120px;
    margin: 0 auto;
  }

  .header-item--navigation,
  .header-item--icons {
    display: none !important;
  }

  .header-item--icons .site-nav {
    gap: 0.5rem;
  }

  /* Hero */
  .ampd-hero-visual-wrap {
    min-height: 70vh;
  }

  .ampd-hero-statement {
    bottom: 3.25rem;
    max-width: 100%;
    padding: 0 1.5rem;
  }

  .ampd-hero-statement-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    row-gap: 1rem;
  }

  .ampd-hero-statement-text {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .ampd-hero-copy {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .ampd-hero-line {
    margin-bottom: 0.25rem;
  }

  /* Logo Carousel */
  .ampd-logo-carousel__item {
    width: 105px;
    height: 56px;
  }

  /* Pillars */
  .ampd-pillars {
    padding: 2rem 1.5rem;
  }

  .ampd-pillars-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Modules */
  .ampd-modules {
    padding: 3rem 1.5rem 5rem;
    background-image: url("https://cdn.shopify.com/s/files/1/0902/5372/1965/files/MGLOWING.png?v=1768960920");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 360px auto;
  }

  .ampd-modules::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
  }

  .ampd-modules-visual {
    display: none;
  }

  .ampd-modules-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .ampd-modules-list {
    max-width: 420px;
    margin: 0 auto;
    gap: 1.75rem;
  }

  .ampd-module {
    align-items: flex-start;
    gap: 1.25rem;
  }

  .ampd-icon img {
    width: 80px;
    height: 80px;
  }

  /* Testimonial */
  .ampd-testimonial {
    padding: 3rem 1rem;
  }

  .ampd-testimonial-quote {
    font-size: 1.25rem;
    margin-bottom: 2.25rem;
  }

  .ampd-testimonial-logo img {
    max-width: 90px;
  }

  /* Footer */
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  /* Modal */
  .ampd-modal {
    width: 100%;
    height: 100vh;
    max-width: none;
    border-radius: 0;
  }

  .ampd-modal-header {
    padding: 14px 16px;
  }

  .ampd-modal-body {
    height: calc(100vh - 56px);
  }

  .ampd-close-btn {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .ampd-cta-culture {
    font-size: 0.9rem;
    padding: 0.85rem 1.6rem;
  }

  .site-nav {
    font-size: 0.9rem;
  }
}

/* ===========================
   PILOT PROGRAM PAGE
   =========================== */

.pilot-program-page {
  background: #000;
  min-height: 100vh;
}

.pilot-hero {
  padding: 8rem 0 4rem;
  text-align: center;
}

.pilot-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.pilot-intro {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
}

.pilot-description {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.pilot-form-section {
  padding: 4rem 0 6rem;
}

.page-width--narrow {
  max-width: 800px;
}

.pilot-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group--full {
  grid-column: 1 / -1;
}

.pilot-form label {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.pilot-form input,
.pilot-form select,
.pilot-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  transition: all 0.2s ease;
}

.pilot-form input:focus,
.pilot-form select:focus,
.pilot-form textarea:focus {
  outline: none;
  border-color: rgba(30, 123, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(30, 123, 255, 0.1);
}

.pilot-form input::placeholder,
.pilot-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.pilot-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.pilot-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  margin-top: 2rem;
  text-align: center;
}

.btn--large {
  padding: 1rem 3rem;
  font-size: 1.125rem;
  min-width: 200px;
}

.form-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
}

.form-success svg {
  margin-bottom: 1.5rem;
}

.form-success h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #10b981;
}

.form-success p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.pilot-expect {
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pilot-expect h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 4rem;
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.expect-card {
  text-align: center;
  padding: 2rem;
}

.expect-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #1E7BFF 0%, #00D4FF 100%);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.expect-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.expect-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .pilot-hero {
    padding: 6rem 0 3rem;
  }

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

  .pilot-intro {
    font-size: 1.125rem;
  }

  .pilot-description {
    font-size: 1rem;
  }

  .pilot-form {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .expect-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .expect-card {
    padding: 1.5rem 1rem;
  }
}


/* Button Styles for Pilot Form */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.btn--primary {
  background: linear-gradient(135deg, #1E7BFF 0%, #00D4FF 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(30, 123, 255, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 123, 255, 0.4);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.btn--large {
  padding: 1rem 3rem;
  font-size: 1.125rem;
}

/* ===========================
   HEADER CENTERING FIX
   =========================== */

/* Desktop: centered logo using absolute positioning */
@media (min-width: 901px) {
  .header-layout {
    position: relative;
    min-height: 64px;
  }

  .header-item--logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Mobile centering is handled in the main mobile breakpoint above at line ~900 */