/* =========================================================
   50 BY FRIDAY AI — LANDING PAGE
   ========================================================= */

/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {
  --black: #000000;
  --ink: #050706;
  --ink-soft: #0b100d;
  --panel: #101612;
  --panel-light: #151c17;

  --white: #ffffff;
  --off-white: #f3f6f4;
  --text: #f5f7f5;
  --text-muted: #aab5ad;
  --dark-text: #111713;
  --dark-muted: #5c6860;

  --fridai-green: #1db954;
  --fridai-green-bright: #45f17f;
  --fridai-green-dark: #0d6b32;

  --bridge-blue: #46c2c1;
  --bridge-blue-bright: #68efec;
  --bridge-blue-dark: #167d7d;

  --border-dark: rgba(255, 255, 255, 0.12);
  --border-light: rgba(12, 25, 17, 0.12);

  --shadow-dark:
    0 30px 80px rgba(0, 0, 0, 0.4);

  --shadow-green:
    0 20px 60px rgba(29, 185, 84, 0.16);

  --shadow-blue:
    0 20px 60px rgba(70, 194, 193, 0.16);

  --site-width: 1240px;
  --site-padding: clamp(20px, 4vw, 54px);

  --radius-small: 10px;
  --radius-medium: 18px;
  --radius-large: 28px;

  --transition:
    180ms ease;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;

  color: var(--dark-text);
  background: var(--off-white);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

p {
  text-wrap: pretty;
}

::selection {
  color: #001506;
  background: var(--fridai-green-bright);
}


/* =========================================================
   SHARED UTILITIES
   ========================================================= */

.site-shell {
  width: min(
    calc(100% - (var(--site-padding) * 2)),
    var(--site-width)
  );

  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;

  padding: 11px 16px;

  color: var(--black);
  background: var(--white);
  border-radius: 6px;

  font-weight: 800;

  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 22px;

  color: var(--text-muted);

  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 1px;

  background: var(--fridai-green-bright);
  box-shadow: 0 0 12px rgba(69, 241, 127, 0.65);
}

.eyebrow.dark {
  color: var(--dark-muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  min-height: 52px;
  padding: 14px 22px;

  border: 1px solid transparent;
  border-radius: 8px;

  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;

  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.site-navigation a:focus-visible,
.platform-link:focus-visible,
.support-card a:focus-visible,
.text-link:focus-visible {
  outline: 3px solid rgba(104, 239, 236, 0.55);
  outline-offset: 4px;
}

.button-primary {
  color: #031307;
  background: var(--fridai-green-bright);

  box-shadow:
    0 10px 35px rgba(29, 185, 84, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.button-primary:hover {
  background: #61f692;
  box-shadow:
    0 14px 45px rgba(29, 185, 84, 0.3);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-dark);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.button-light {
  flex-shrink: 0;

  color: var(--black);
  background: var(--white);
}

.button-light:hover {
  background: var(--off-white);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;

  border-bottom: 1px solid transparent;

  transition:
    background var(--transition),
    border-color var(--transition),
    backdrop-filter var(--transition);
}

.site-header.is-scrolled {
  background: rgba(2, 5, 3, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  min-height: 82px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;

  color: var(--white);
}

.brand-mark {
  display: grid;
  place-items: center;

  width: 43px;
  height: 43px;
  padding: 2px;

  background:
    linear-gradient(
      145deg,
      rgba(29, 185, 84, 0.16),
      rgba(70, 194, 193, 0.05)
    );

  border: 1px solid rgba(69, 241, 127, 0.5);
  border-radius: 12px;

  box-shadow:
    inset 0 0 18px rgba(29, 185, 84, 0.1),
    0 0 20px rgba(29, 185, 84, 0.16);
}

.brand-mark img {
  display: block;

  width: 35px;
  height: 35px;

  object-fit: contain;

  filter:
    brightness(1.18)
    saturate(1.75)
    contrast(1.08)
    drop-shadow(0 0 4px rgba(69, 241, 127, 0.9))
    drop-shadow(0 0 9px rgba(29, 185, 84, 0.5));
}


.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 0.97rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand-copy span {
  margin-top: 5px;

  color: var(--text-muted);

  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
}

.site-navigation a {
  color: rgba(255, 255, 255, 0.74);

  font-size: 0.86rem;
  font-weight: 700;

  transition: color var(--transition);
}

.site-navigation a:hover {
  color: var(--white);
}

.site-navigation .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 15px;

  color: var(--white);

  border: 1px solid rgba(69, 241, 127, 0.45);
  border-radius: 7px;

  background: rgba(29, 185, 84, 0.08);
}

.site-navigation .nav-cta:hover {
  color: #061309;
  background: var(--fridai-green-bright);
}

.menu-toggle {
  display: none;

  width: 44px;
  height: 44px;
  padding: 11px;

  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: 9px;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 100%;
  height: 2px;
  margin-block: 5px;

  background: currentColor;

  transition:
    transform var(--transition),
    opacity var(--transition);
}


/* =========================================================
   HERO — DUAL PLATFORM
   ========================================================= */

.hero-dual {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: 100vh;
  padding:
    clamp(135px, 16vh, 170px)
    0
    clamp(70px, 9vw, 110px);

  color: var(--white);
  background:
    linear-gradient(
      145deg,
      #000000 0%,
      #040805 48%,
      #07110d 100%
    );
}

.hero-dual-grid {
  position: absolute;
  inset: 0;
  z-index: -3;

  opacity: 0.26;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    );

  background-size: 42px 42px;

  mask-image:
    linear-gradient(
      to bottom,
      black,
      rgba(0, 0, 0, 0.4)
    );
}

.hero-dual-glow {
  position: absolute;
  z-index: -2;

  width: 480px;
  height: 480px;

  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.18;
  pointer-events: none;
}

.hero-dual-glow-left {
  top: 16%;
  left: -140px;
  background: var(--fridai-green);
}

.hero-dual-glow-right {
  top: 15%;
  right: -140px;
  background: var(--bridge-blue);
}

.hero-dual-shell {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.hero-dual-intro {
  width: 100%;
  max-width: none;
  text-align: center;
}

.hero-dual-intro .eyebrow {
  justify-content: center;
}

.hero-dual-intro h1 {
  width: 100%;
  max-width: none;
  margin: 0;

  font-size: clamp(3rem, 6.4vw, 6.6rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.02;
  text-align: center;
}

.hero-dual-intro h1 span {
  display: inline;

  color: transparent;

  background:
    linear-gradient(
      92deg,
      var(--fridai-green-bright),
      #d9ffe7 45%,
      var(--bridge-blue-bright)
    );

  background-clip: text;
  -webkit-background-clip: text;

  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;

  padding-inline: 0.04em;
  margin-inline: -0.04em;
}

.hero-dual-description {
  max-width: 700px;
  margin-bottom: 0;

  color: rgba(255, 255, 255, 0.68);

  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.75;
}

.hero-dual-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.hero-platform {
  position: relative;
  overflow: hidden;

  min-height: 560px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.015)
    );

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35);

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.hero-platform:hover {
  transform: translateY(-6px);
}

.hero-platform-fridai:hover {
  border-color: rgba(69, 241, 127, 0.34);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35),
    0 0 60px rgba(29, 185, 84, 0.12);
}

.hero-platform-bridge:hover {
  border-color: rgba(104, 239, 236, 0.34);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35),
    0 0 60px rgba(70, 194, 193, 0.12);
}

.hero-platform-grid {
  position: absolute;
  inset: 0;
  z-index: 0;

  opacity: 0.16;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );

  background-size: 32px 32px;
}

.hero-platform-fridai {
  background:
    radial-gradient(
      circle at 20% 15%,
      rgba(29, 185, 84, 0.11),
      transparent 28%
    ),
    linear-gradient(
      145deg,
      rgba(4, 10, 6, 0.95),
      rgba(8, 18, 11, 0.98)
    );
}

.hero-platform-bridge {
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(104, 239, 236, 0.12),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      rgba(5, 12, 12, 0.95),
      rgba(9, 21, 21, 0.98)
    );
}

.hero-platform-inner {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  height: 100%;
  padding: clamp(28px, 4vw, 42px);
}

.hero-platform-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 240px;
  margin-bottom: 25px;
}

.hero-platform-logo {
  display: block;
  max-width: 100%;
  height: auto;

  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.hero-platform:hover .hero-platform-logo {
  transform: translateY(-3px) scale(1.02);
}

.hero-platform-logo-fridai {
  width: min(100%, 440px);
  filter:
    brightness(1.02)
    saturate(1.08)
    drop-shadow(0 0 18px rgba(29, 185, 84, 0.08));
}

.hero-platform-logo-bridge {
  width: min(100%, 430px);
  filter:
    brightness(1.04)
    saturate(1.03)
    drop-shadow(0 0 18px rgba(70, 194, 193, 0.09));
}

.hero-platform-copy {
  max-width: 510px;
}

.hero-platform-kicker {
  margin-bottom: 14px;

  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-platform-fridai .hero-platform-kicker {
  color: var(--fridai-green-bright);
}

.hero-platform-bridge .hero-platform-kicker {
  color: var(--bridge-blue-bright);
}

.hero-platform-copy h2 {
  margin-bottom: 16px;

  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 840;
  letter-spacing: -0.045em;
}

.hero-platform-copy p:not(.hero-platform-kicker) {
  margin-bottom: 26px;

  color: rgba(255, 255, 255, 0.66);
  line-height: 1.76;
  font-size: 0.97rem;
}

.hero-platform-button {
  min-height: 50px;
  width: fit-content;
}

.hero-platform-button-fridai {
  color: #031307;
  background: var(--fridai-green-bright);
  box-shadow:
    0 10px 35px rgba(29, 185, 84, 0.2);
}

.hero-platform-button-fridai:hover {
  background: #61f692;
}

.hero-platform-button-bridge {
  color: #041110;
  background: var(--bridge-blue-bright);
  box-shadow:
    0 10px 35px rgba(70, 194, 193, 0.2);
}

.hero-platform-button-bridge:hover {
  background: #82f5f2;
}

.hero-dual-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;

  width: 42px;
}

.hero-connector-line {
  width: 1px;
  flex: 1;
  min-height: 90px;

  background:
    linear-gradient(
      to bottom,
      rgba(69, 241, 127, 0.18),
      rgba(255, 255, 255, 0.16),
      rgba(104, 239, 236, 0.18)
    );
}

.hero-connector-core {
  width: 12px;
  height: 12px;

  border-radius: 999px;
  background: #ffffff;

  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.05),
    0 0 20px rgba(255, 255, 255, 0.32);
}

.hero-dual-footer {
  display: flex;
  align-items: center;
  gap: 18px;

  color: rgba(255, 255, 255, 0.56);
}

.hero-dual-footer p {
  margin: 0;

  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.hero-dual-footer-line {
  flex: 1;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.18),
      transparent
    );
}

/* subtle floating motion */
.hero-platform-logo-wrap {
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-platform-bridge .hero-platform-logo-wrap {
  animation-delay: 0.8s;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* =========================================================
   HERO RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .hero-dual-stage {
    grid-template-columns: 1fr;
  }

  .hero-dual-connector {
    display: none;
  }

  .hero-platform {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .hero-dual {
    padding-top: 125px;
    padding-bottom: 70px;
  }

  .hero-dual-intro h1 {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .hero-platform-inner {
    padding: 24px 20px 24px;
  }

  .hero-platform-logo-wrap {
    min-height: 180px;
    margin-bottom: 18px;
  }

  .hero-platform-copy h2 {
    font-size: 2.2rem;
  }

  .hero-platform-button {
    width: 100%;
  }

  .hero-dual-footer {
    flex-direction: column;
  }

  .hero-dual-footer-line {
    width: 100%;
  }
}


/* =========================================================
   MAIN BRAND BANNER
   ========================================================= */

.brand-banner {
  position: relative;

  margin: 0;
}

.banner-glow {
  position: absolute;
  inset: 15% 8% -8%;

  background:
    linear-gradient(
      90deg,
      rgba(29, 185, 84, 0.25),
      rgba(70, 194, 193, 0.26)
    );

  filter: blur(65px);
  opacity: 0.48;
  pointer-events: none;
}

.banner-frame {
  position: relative;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-medium);

  background: var(--black);

  box-shadow:
    var(--shadow-dark),
    0 0 0 1px rgba(69, 241, 127, 0.05),
    0 0 70px rgba(70, 194, 193, 0.08);

  transform:
    perspective(1200px)
    rotateX(var(--banner-rotate-x, 0deg))
    rotateY(var(--banner-rotate-y, 0deg));

  transition:
    transform 200ms ease,
    border-color var(--transition),
    box-shadow var(--transition);

  will-change: transform;
}

.banner-frame::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 2;

  background:
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(255, 255, 255, 0.06) 46%,
      transparent 54%
    );

  transform: translateX(-130%);
  transition: transform 800ms ease;
  pointer-events: none;
}

.brand-banner:hover .banner-frame::before {
  transform: translateX(130%);
}

.brand-banner:hover .banner-frame {
  border-color: rgba(104, 239, 236, 0.28);

  box-shadow:
    var(--shadow-dark),
    0 0 75px rgba(70, 194, 193, 0.12);
}

.banner-frame img {
  width: 100%;
  height: auto;
}

.brand-banner figcaption {
  position: absolute;

  width: 1px;
  height: 1px;
  overflow: hidden;

  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  margin-top: 28px;

  color: rgba(255, 255, 255, 0.45);

  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-scroll-indicator span {
  width: 46px;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      var(--fridai-green-bright),
      var(--bridge-blue-bright)
    );
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section-heading {
  margin-bottom: clamp(40px, 6vw, 74px);
}

.section-heading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  gap: clamp(35px, 7vw, 100px);
  align-items: end;
}

.section-heading h2,
.principles-heading h2 {
  max-width: 760px;
  margin-bottom: 0;

  color: var(--dark-text);

  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 850;
  letter-spacing: -0.055em;
}

.section-heading-grid > p {
  margin-bottom: 5px;

  color: var(--dark-muted);

  font-size: 1rem;
  line-height: 1.8;
}


/* =========================================================
   PLATFORM SECTION
   ========================================================= */

.platform-section {
  position: relative;

  padding:
    clamp(90px, 11vw, 155px)
    0;

  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(29, 185, 84, 0.08),
      transparent 25%
    ),
    radial-gradient(
      circle at 90% 35%,
      rgba(70, 194, 193, 0.1),
      transparent 27%
    ),
    var(--off-white);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.platform-card {
  position: relative;
  isolation: isolate;

  display: flex;
  flex-direction: column;

  min-height: 610px;
  padding: clamp(26px, 4vw, 45px);
  overflow: hidden;

  color: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-large);

  box-shadow: var(--shadow-dark);

  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.platform-card:hover {
  transform: translateY(-8px);
}

.platform-card-fridai {
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(69, 241, 127, 0.16),
      transparent 26%
    ),
    linear-gradient(
      145deg,
      #030604,
      #0a160e
    );
}

.platform-card-fridai:hover {
  border-color: rgba(69, 241, 127, 0.38);
  box-shadow:
    var(--shadow-dark),
    var(--shadow-green);
}

.platform-card-bridge {
  background:
    radial-gradient(
      circle at 86% 15%,
      rgba(104, 239, 236, 0.17),
      transparent 27%
    ),
    linear-gradient(
      145deg,
      #041010,
      #0a1b1b
    );
}

.platform-card-bridge:hover {
  border-color: rgba(104, 239, 236, 0.4);
  box-shadow:
    var(--shadow-dark),
    var(--shadow-blue);
}

.platform-card-grid {
  z-index: -1;

  opacity: 0.22;
  background-size: 36px 36px;

  mask-image:
    linear-gradient(
      150deg,
      black,
      transparent 72%
    );
}

.platform-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin-bottom: auto;
}

.platform-number {
  color: rgba(255, 255, 255, 0.28);

  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.platform-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 7px 10px;

  color: rgba(255, 255, 255, 0.73);
  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;

  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.platform-status span {
  width: 6px;
  height: 6px;

  border-radius: 999px;
}

.platform-card-fridai .platform-status span {
  background: var(--fridai-green-bright);
  box-shadow: 0 0 10px var(--fridai-green-bright);
}

.platform-card-bridge .platform-status span {
  background: var(--bridge-blue-bright);
  box-shadow: 0 0 10px var(--bridge-blue-bright);
}

.platform-card-content {
  position: relative;
  z-index: 2;

  margin-top: 110px;
}

.platform-label {
  margin-bottom: 15px;

  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.platform-card-fridai .platform-label {
  color: var(--fridai-green-bright);
}

.platform-card-bridge .platform-label {
  color: var(--bridge-blue-bright);
}

.platform-card h3 {
  margin-bottom: 22px;

  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 830;
  line-height: 1.08;
  letter-spacing: -0.052em;

  /* Reserve exactly three lines of space */
  height: 3.24em;

  /* Limit titles to three lines */
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
@media (min-width: 981px) {
  .platform-card-fridai h3 {
    max-width: 390px;
  }
}

.platform-card-content > p {
  max-width: 570px;
  margin-bottom: 25px;

  color: rgba(255, 255, 255, 0.65);

  font-size: 0.96rem;
  line-height: 1.75;
}

.platform-features {
  display: grid;
  gap: 10px;

  margin: 0 0 34px;
  padding: 0;

  list-style: none;
}

.platform-features li {
  position: relative;

  padding-left: 20px;

  color: rgba(255, 255, 255, 0.82);

  font-size: 0.86rem;
  font-weight: 650;
}

.platform-features li::before {
  content: "";

  position: absolute;
  top: 0.67em;
  left: 0;

  width: 7px;
  height: 1px;
}

.platform-card-fridai .platform-features li::before {
  background: var(--fridai-green-bright);
}

.platform-card-bridge .platform-features li::before {
  background: var(--bridge-blue-bright);
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;

  font-size: 0.88rem;
  font-weight: 850;

  transition:
    gap var(--transition),
    color var(--transition);
}

.platform-card-fridai .platform-link {
  color: var(--fridai-green-bright);
}

.platform-card-bridge .platform-link {
  color: var(--bridge-blue-bright);
}

.platform-link:hover {
  gap: 18px;
}

.platform-card-accent {
  position: absolute;
  right: -80px;
  bottom: -85px;
  z-index: -1;

  width: 270px;
  aspect-ratio: 1;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.platform-card-accent::before,
.platform-card-accent::after {
  content: "";

  position: absolute;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}

.platform-card-accent::before {
  inset: 28px;
}

.platform-card-accent::after {
  inset: 58px;
}


/* =========================================================
   SUPPORTING SERVICES
   ========================================================= */

.support-section {
  position: relative;
  overflow: hidden;

  padding:
    clamp(90px, 11vw, 150px)
    0;

  color: var(--white);
  background:
    linear-gradient(
      140deg,
      #020403,
      #08100b 55%,
      #071413
    );
}

.support-line {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--fridai-green-bright),
      var(--bridge-blue-bright),
      transparent
    );

  opacity: 0.5;
}

.support-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(45px, 8vw, 110px);
  align-items: start;
}

.support-intro {
  position: sticky;
  top: 130px;
}

.support-intro h2 {
  margin-bottom: 25px;

  font-size: clamp(2.3rem, 4.6vw, 4.25rem);
  font-weight: 850;
  letter-spacing: -0.055em;
}

.support-intro > p:last-child {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
}

.support-grid {
  display: grid;
  gap: 18px;
}

.support-card {
  position: relative;

  padding: clamp(27px, 4vw, 40px);

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018)
    );

  border: 1px solid var(--border-dark);
  border-radius: var(--radius-medium);

  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.support-card:hover {
  transform: translateX(8px);

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.025)
    );

  border-color: rgba(104, 239, 236, 0.3);
}

.support-icon {
  display: grid;
  place-items: center;

  width: 45px;
  height: 45px;
  margin-bottom: 27px;

  background:
    linear-gradient(
      145deg,
      var(--fridai-green-bright),
      var(--bridge-blue-bright)
    );

  border-radius: 9px;

  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.14);
}

.support-icon-logo {
  display: block;

  width: 45px;
  height: 45px;
  object-fit: contain;

  filter:
    brightness(0)
    saturate(100%)
    contrast(1.05);
}

.support-kicker {
  margin-bottom: 12px;

  color: var(--bridge-blue-bright);

  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.support-card h3 {
  max-width: 580px;
  margin-bottom: 17px;

  font-size: clamp(1.6rem, 3vw, 2.45rem);
  font-weight: 820;
}

.support-card > p:not(.support-kicker) {
  margin-bottom: 27px;

  color: rgba(255, 255, 255, 0.61);
  line-height: 1.75;
}

.support-card a {
  display: inline-flex;
  align-items: center;
  gap: 11px;

  color: var(--white);

  font-size: 0.84rem;
  font-weight: 850;

  transition:
    color var(--transition),
    gap var(--transition);
}

.support-card a:hover {
  gap: 16px;
  color: var(--fridai-green-bright);
}


/* =========================================================
   PRINCIPLES
   ========================================================= */

.principles-section {
  padding:
    clamp(90px, 11vw, 150px)
    0;

  background:
    linear-gradient(
      180deg,
      #f5f8f6,
      #eaf0ec
    );
}

.principles-heading {
  max-width: 780px;
  margin-bottom: clamp(45px, 7vw, 80px);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  border-top: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
}

.principle-card {
  min-height: 330px;
  padding: clamp(24px, 3vw, 34px);

  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);

  transition:
    background var(--transition),
    transform var(--transition);
}

.principle-card:hover {
  position: relative;
  z-index: 2;

  background: var(--white);

  box-shadow: 0 20px 55px rgba(20, 35, 25, 0.08);
  transform: translateY(-5px);
}

.principle-number {
  display: block;

  margin-bottom: 80px;

  color: var(--fridai-green-dark);

  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.principle-card h3 {
  margin-bottom: 15px;

  font-size: 1.32rem;
  font-weight: 830;
  line-height: 1.18;

  /* Reserve exactly two lines */
  height: 2.36em;

  /* Limit longer headings to two lines */
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.principle-card p {
  margin-bottom: 0;

  color: var(--dark-muted);

  font-size: 0.91rem;
  line-height: 1.72;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
  position: relative;
  overflow: hidden;

  padding:
    clamp(100px, 12vw, 170px)
    0;

  color: var(--white);
  background:
    radial-gradient(
      circle at 18% 50%,
      rgba(29, 185, 84, 0.13),
      transparent 28%
    ),
    linear-gradient(
      140deg,
      #000000,
      #08100b
    );
}

.about-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(55px, 10vw, 135px);
  align-items: center;
}

.about-visual {
  display: grid;
  place-items: center;
}

.about-orbit {
  position: relative;

  display: grid;
  place-items: center;

  width: min(100%, 470px);
  aspect-ratio: 1;
}

.orbit-ring {
  position: absolute;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.orbit-ring-one {
  inset: 3%;
}

.orbit-ring-two {
  inset: 16%;

  border-color: rgba(69, 241, 127, 0.21);
}

.orbit-ring-three {
  inset: 29%;

  border-color: rgba(104, 239, 236, 0.22);
}

.orbit-center {
  position: relative;
  z-index: 2;

  display: grid;
  place-items: center;

  width: 35%;
  aspect-ratio: 1;

  background:
    linear-gradient(
      145deg,
      rgba(69, 241, 127, 0.15),
      rgba(70, 194, 193, 0.1)
    );

  border: 1px solid rgba(104, 239, 236, 0.3);
  border-radius: 50%;

  box-shadow:
    0 0 60px rgba(29, 185, 84, 0.13),
    inset 0 0 30px rgba(255, 255, 255, 0.03);
}

.orbit-center strong {
  color: var(--white);

  font-size: clamp(2.4rem, 5vw, 4.3rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.orbit-center span {
  color: var(--text-muted);

  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orbit-node {
  position: absolute;

  width: 13px;
  height: 13px;

  border-radius: 50%;
}

.orbit-node-one {
  top: 16.8%;
  right: 16.8%;

  width: 13px;
  height: 13px;

  background: var(--bridge-blue-bright);
  border-radius: 50%;

  box-shadow:
    0 0 10px var(--bridge-blue-bright),
    0 0 22px rgba(104, 239, 236, 0.7);

  /*
   * Centers the dot directly over the orbit line
   * rather than positioning its corner on the line.
   */
  transform: translate(50%, -50%);
}

.orbit-node-two {
  bottom: 16.8%;
  left: 16.8%;

  width: 13px;
  height: 13px;

  background: var(--fridai-green-bright);
  border-radius: 50%;

  box-shadow:
    0 0 10px var(--fridai-green-bright),
    0 0 22px rgba(69, 241, 127, 0.7);

  /* Center the dot directly over the orbit line */
  transform: translate(-50%, 50%);
}

.about-copy h2 {
  margin-bottom: 25px;

  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 850;
  letter-spacing: -0.058em;
}

.about-copy .about-lead {
  margin-bottom: 24px;

  color: var(--white);

  font-size: clamp(1.2rem, 2vw, 1.48rem);
  font-weight: 650;
  line-height: 1.5;
}

.about-copy > p:not(.eyebrow):not(.about-lead) {
  color: rgba(255, 255, 255, 0.61);
  line-height: 1.78;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-top: 15px;

  color: var(--fridai-green-bright);

  font-size: 0.91rem;
  font-weight: 850;

  transition: gap var(--transition);
}

.text-link:hover {
  gap: 17px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  padding:
    clamp(75px, 9vw, 115px)
    0;

  color: var(--white);

  background:
    linear-gradient(
      110deg,
      #0f7437,
      #1db954 45%,
      #2baead 100%
    );
}

.cta-grid {
  opacity: 0.18;
  mask-image: none;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;

  padding:
    clamp(30px, 5vw, 60px);

  background: rgba(0, 0, 0, 0.17);

  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-large);

  backdrop-filter: blur(8px);
}

.cta-copy {
  max-width: 730px;
}

.cta-copy .eyebrow {
  color: rgba(255, 255, 255, 0.73);
}

.cta-copy .eyebrow span {
  background: var(--white);
  box-shadow: none;
}

.cta-copy h2 {
  margin-bottom: 18px;

  font-size: clamp(2.2rem, 4.4vw, 4rem);
  font-weight: 850;
  letter-spacing: -0.055em;
}

.cta-copy > p:last-child {
  margin-bottom: 0;

  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding:
    75px
    0
    28px;

  color: var(--white);
  background: var(--black);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;

  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-top > p {
  max-width: 440px;
  margin-bottom: 0;

  color: var(--text-muted);
  line-height: 1.75;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 40px;

  padding: 50px 0;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links strong {
  margin-bottom: 8px;

  color: var(--white);

  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links a {
  width: fit-content;

  color: var(--text-muted);

  font-size: 0.88rem;

  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--fridai-green-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;

  padding-top: 25px;
  border-top: 1px solid var(--border-dark);
}

.footer-bottom p {
  margin-bottom: 0;

  color: rgba(255, 255, 255, 0.42);

  font-size: 0.73rem;
}


/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(25px);

  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {
  .section-heading-grid,
  .support-shell,
  .about-shell {
    grid-template-columns: 1fr;
  }

  .section-heading-grid {
    gap: 25px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 550px;
  }

  .support-intro {
    position: static;
    max-width: 720px;
  }

  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-visual {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
  }

  .about-orbit {
    width: min(100%, 420px);
  }
  .about-copy {
    max-width: 750px;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 820px) {
  .header-shell {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 102;
  }

  .menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-navigation {
    position: fixed;
    inset: 0;
    z-index: 101;

    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 26px;

    padding: 110px var(--site-padding) 50px;

    background:
      radial-gradient(
        circle at 15% 15%,
        rgba(29, 185, 84, 0.15),
        transparent 30%
      ),
      radial-gradient(
        circle at 85% 85%,
        rgba(70, 194, 193, 0.16),
        transparent 32%
      ),
      rgba(1, 4, 2, 0.98);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-12px);

    transition:
      opacity 220ms ease,
      visibility 220ms ease,
      transform 220ms ease;
  }

  .site-navigation.is-open {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
  }

  .site-navigation a {
    font-size: 1.5rem;
  }

  .site-navigation .nav-cta {
    margin-top: 10px;
    padding: 14px 18px;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 640px) {
  .hero-shell {
    padding-top: 130px;
    padding-bottom: 55px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-focus {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .banner-frame {
    border-radius: 12px;
  }

  .banner-frame img {
    min-height: 190px;
    object-fit: contain;
    background: var(--black);
  }

  .hero-scroll-indicator {
    justify-content: flex-start;
  }

  .platform-card {
    min-height: auto;
    padding: 27px 23px;
    border-radius: 20px;
  }

  .platform-card-content {
    margin-top: 100px;
  }

  .platform-card h3 {
    font-size: 2.15rem;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: auto;
  }

  .principle-number {
    margin-bottom: 45px;
  }

  .support-card:hover {
    transform: translateY(-4px);
  }

  .about-orbit {
    width: min(100%, 360px);
  }

  .about-section .about-orbit .orbit-center > strong,
  .about-section .about-orbit .orbit-center > span {
    display: none !important;
    visibility: hidden !important;
  }

  /* Keep the nucleus visual, but remove its text on phones */
  .orbit-center strong,
  .orbit-center span {
    display: none;
  }

  .cta-panel {
    padding: 28px 23px;
    border-radius: 20px;
  }

  .cta-panel .button {
    width: 100%;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 420px) {
  .brand-copy span {
    display: none;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .platform-card-top {
    align-items: flex-start;
    flex-direction: column;
  }
}



/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;

    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .banner-frame {
    transform: none !important;
  }
}

/* =========================================================
   ABOUT ORBIT — PHONE
   ========================================================= */

@media (max-width: 640px) {

  .about-orbit .orbit-center strong,
  .about-orbit .orbit-center span {
    display: none !important;
  }

}

/* =========================================================
   ABOUT ORBIT — TABLET + MOBILE
   Preserve nucleus/rings/nodes, remove center text
   ========================================================= */

@media (max-width: 1024px) {

  .about-orbit .orbit-center > strong,
  .about-orbit .orbit-center > span {
    display: none !important;
  }

}