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

:root {
  --bg-main: #05060a;
  --accent: #2f7dff;
  --accent-soft: rgba(47, 125, 255, 0.7);
  --text-main: #f5f5f7;
  --text-muted: #9ba0b5;
  --danger: #ff5252;
  --border-subtle: rgba(255,255,255,0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-strong: 0 28px 80px rgba(0,0,0,0.85);
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.65);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.section.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.bg-stars {
  background: url("../assets/starscape.jpg") center/cover no-repeat fixed;
}

.bg-window {
  background: url("../assets/window-city.jpg") center/cover no-repeat;
}

.bg-city {
  background: url("../assets/city-lights.jpg") center/cover no-repeat fixed;
}

.dark {
  background-color: #020309;
}

.overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.overlay.strong {
  background: radial-gradient(circle at top, rgba(47,125,255,0.45), transparent 55%),
              radial-gradient(circle at bottom, rgba(0,0,0,0.98), #000);
}

.overlay.soft {
  background: radial-gradient(circle at top left, rgba(47,125,255,0.32), transparent 55%),
              radial-gradient(circle at bottom right, rgba(0,0,0,0.9), #000);
}

/* Header / Nav */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  background: linear-gradient(to right, rgba(5, 6, 10, 0.98), rgba(5, 6, 10, 0.92));
  border-bottom: 1px solid rgba(47, 125, 255, 0.35);
  backdrop-filter: blur(14px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.25rem;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 80px;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.9);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  gap: 1.05rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  align-items: center;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.2rem;
  display: inline-flex;
  align-items: center;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #5ef2ff);
  transition: width 0.2s ease-out;
}

.main-nav a:hover {
  color: #ffffff;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a.active {
  color: #ffffff;
}

.main-nav a.active::after {
  width: 100%;
}

.main-nav a.login-link {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(144, 160, 200, 0.6);
  background: radial-gradient(circle at top left, rgba(47, 125, 255, 0.35), rgba(8, 12, 24, 0.96));
  box-shadow: 0 10px 26px rgba(0,0,0,0.85);
  color: #ffffff;
}

.main-nav a.login-link::after { display: none; }

/* Hero */

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 6rem;
}

.hero-kicker {
  color: var(--danger);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  margin-bottom: 1.3rem;
}

h1 {
  font-size: clamp(2.3rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.accent {
  background: linear-gradient(120deg, #5ef2ff, var(--accent), #b2fffb);
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 800;
}

.hero-sub {
  margin-top: 1.1rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.hero-body {
  margin-top: 1.1rem;
  max-width: 580px;
  color: var(--text-main);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease-out;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #5ef2ff);
  color: #020308;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
}

.btn.outline {
  background: rgba(4, 6, 14, 0.7);
  color: var(--text-main);
  border-color: rgba(144, 160, 200, 0.4);
  box-shadow: var(--shadow-soft);
}

.btn.outline:hover {
  background: rgba(15, 24, 44, 0.95);
  border-color: var(--accent-soft);
}

/* Layout */

.grid-two {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: center;
}

.copy-block {
  background: radial-gradient(circle at top left, rgba(47, 125, 255, 0.08), transparent 55%),
              rgba(5, 7, 15, 0.95);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-strong);
}

.copy-block p {
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.copy-block h2 {
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1.4rem;
}

/* Side panel for Jose */

.jose-card {
  background: rgba(5, 8, 18, 0.96);
  border-radius: 20px;
  border: 1px solid rgba(120, 150, 255, 0.6);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.jose-photo {
  width: 100%;
  max-height: 360px;
  overflow: hidden;
}

.jose-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jose-body {
  padding: 1.4rem 1.5rem 1.5rem;
}

.jose-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.jose-title {
  font-size: 0.82rem;
  color: rgba(160, 180, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.7rem;
}

/* Pain vs Flex grid */

.pain-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2.1rem;
}

.pain-card {
  border-radius: var(--radius-md);
  padding: 1.4rem 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.pain-card.bad {
  background: rgba(40, 10, 10, 0.96);
  border: 1px solid rgba(255, 90, 90, 0.7);
}

.pain-card.good {
  background: rgba(6, 11, 26, 0.96);
  border: 1px solid rgba(120, 170, 255, 0.75);
}

.pain-card h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}

.pain-card ul {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
}

.pain-card li {
  margin-bottom: 0.35rem;
}

/* Blueprint steps */

.steps-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.step-card {
  background: rgba(5, 8, 18, 0.96);
  border-radius: var(--radius-md);
  border: 1px solid rgba(115, 136, 210, 0.55);
  padding: 1.4rem 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.step-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(160, 180, 255, 0.9);
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* Roster */

.roster-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.agent-card {
  background: rgba(5, 8, 18, 0.96);
  border-radius: var(--radius-md);
  border: 1px solid rgba(100, 130, 210, 0.6);
  padding: 1.4rem 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.agent-name {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.agent-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

/* CTA */

.section h2.section-title {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.2rem;
}

/* Footer */

.site-footer {
  background: #020207;
  border-top: 1px solid rgba(80, 100, 160, 0.55);
  padding: 1.8rem 0;
}

.footer-content {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-logo img {
  width: 46px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.85);
}

/* Responsive */

@media (max-width: 900px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.75rem;
  }

  .section {
    padding: 5.2rem 0;
  }

  .grid-two,
  .pain-grid,
  .steps-grid,
  .roster-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    padding-top: 6rem;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}


/* Flex Mentorship Network header */
.fmn-header {
  background: #000;
  padding: 32px 0 8px;
}

.fmn-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fmn-logo {
  max-width: 360px;
  width: 100%;
  height: auto;
}


.hero-keep90 {
  margin-top: 8px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f5f5f5;
}

.hero-keep90 strong {
  font-weight: 600;
}

/* Improve Flex Mentorship logo visibility on mobile */
.fmn-header {
  padding: 56px 0 16px;
}

@media (max-width: 640px) {
  .fmn-header {
    padding-top: 72px;
    padding-bottom: 20px;
  }
  .fmn-logo {
    max-width: 260px;
  }
}


/* Large mobile spacing for FMN logo */
.fmn-logo-wrapper {
    display: block;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .fmn-logo-wrapper {
        padding-top: 130px !important;
        margin-top: 20px !important;
    }
    .fmn-logo-wrapper img {
        max-width: 75%;
        height: auto;
    }
}


/* FRE + Flex Mentorship dual logo row */
.fmn-logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.fre-logo-wrapper img.fre-logo {
  max-width: 260px;
  height: auto;
}


/* Enlarge mentorship logo to match FRE height */
.fmn-logo-wrapper img.fmn-logo {
    max-width: 320px !important;
    height: auto !important;
}

/* Electric statement bands */

.electric-band {
  padding: 4.5rem 0;
  background: radial-gradient(circle at 20% 20%, rgba(47, 125, 255, 0.22), transparent 55%),
              radial-gradient(circle at 80% 60%, rgba(94, 242, 255, 0.12), transparent 55%),
              linear-gradient(180deg, #000 0%, #040615 55%, #000 100%);
}

.electric-band .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.electric-band-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 40%, rgba(47, 125, 255, 0.28), transparent 60%),
    radial-gradient(circle at 50% 110%, rgba(0, 0, 0, 0.98), #000 70%);
  filter: blur(0px);
}

.electric-title {
  margin: 0 auto;
  max-width: 980px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  line-height: 1.12;
  font-size: clamp(2.05rem, 4.2vw, 3.7rem);

  background: linear-gradient(90deg, var(--accent), #5ef2ff, #ffffff, var(--accent));
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow:
    0 0 18px rgba(47, 125, 255, 0.55),
    0 0 48px rgba(94, 242, 255, 0.22);

  animation: electricSheen 12s ease-in-out infinite;
}

.electric-sub {
  margin-top: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  color: rgba(245, 245, 247, 0.92);
  text-shadow: 0 0 16px rgba(47, 125, 255, 0.32);
}

.electric-foot {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
}

@keyframes electricSheen {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
  .electric-band {
    padding: 3.6rem 0;
  }

  .electric-title {
    letter-spacing: 0.12em;
  }
}
