/* =========================================================
   The Josh Trader — Premium Dark Landing Page
   ========================================================= */

/* --- CSS Variables --- */
:root {
  --bg: #0b0d11;
  --bg-elevated: #111318;
  --card: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.06);
  --accent-orange: #ff5722;
  --accent-orange-glow: rgba(255, 87, 34, 0.35);
  --accent-cyan: #00d4ff;
  --accent-cyan-glow: rgba(0, 212, 255, 0.25);
  --accent-purple: #a855f7;
  --accent-purple-glow: rgba(168, 85, 247, 0.25);
  --text: #ffffff;
  --text-muted: #8b929a;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --transition: 0.25s ease;
  --container: 1140px;
  --header-h: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.text-orange { color: var(--accent-orange); }
.text-cyan   { color: var(--accent-cyan); }
.text-purple { color: var(--accent-purple); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 0.75rem;
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  max-width: none;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-header__title {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header__desc {
  color: var(--text-muted);
  max-width: 55ch;
  margin-inline: auto;
}

.section-header--row .section-header__desc {
  margin-inline: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn--primary {
  background: var(--accent-orange);
  color: #fff;
  box-shadow: 0 0 24px var(--accent-orange-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px var(--accent-orange-glow);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}

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

.btn--outline-orange {
  background: transparent;
  color: var(--accent-orange);
  border: 1px solid var(--accent-orange);
  box-shadow: 0 0 0 transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.btn--outline-orange:hover {
  background: rgba(255, 87, 34, 0.12);
  box-shadow: 0 0 20px var(--accent-orange-glow);
  transform: translateY(-2px);
}

/* Visually hidden — accessible labels */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 13, 17, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.header--scrolled {
  background: rgba(11, 13, 17, 0.95);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  display: block;
  height: clamp(47px, 5.85vw, 57px);
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
}

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

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--text);
}

.header__cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 13, 17, 0.55) 0%, rgba(11, 13, 17, 0.82) 55%, var(--bg) 100%),
    url("../images/hero-header.svg") center top / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 1;
}

.hero__glow--orange {
  width: 600px;
  height: 400px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 87, 34, 0.12) 0%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--card);
  margin-bottom: 1.75rem;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw + 0.5rem, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.125rem);
  max-width: 58ch;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

/* Hero lead-capture form */
.hero__form {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.hero__form-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.375rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.hero__form-row:focus-within {
  border-color: rgba(255, 87, 34, 0.4);
  box-shadow: 0 0 24px rgba(255, 87, 34, 0.12);
}

.hero__form-input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: transparent;
  border: none;
  outline: none;
  border-radius: var(--radius-pill);
}

.hero__form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}

.hero__form-submit {
  flex-shrink: 0;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  transition: background var(--transition), box-shadow var(--transition), color var(--transition), transform var(--transition), opacity var(--transition);
}

.hero__form-submit:disabled {
  opacity: 0.9;
  cursor: not-allowed;
  transform: none;
}

.hero__form-submit--success {
  background: #10b981;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
}

.hero__form-submit--success:hover {
  transform: none;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
}

.hero__form-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  opacity: 0.85;
}

.hero__form-error {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #f87171;
  text-align: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.hero__form-error:not([hidden]) {
  opacity: 1;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  display: block;
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* --- Value Proposition --- */
.value-prop {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.value-prop__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 87, 34, 0.04) 0%, transparent 35%);
  pointer-events: none;
}

.value-prop .section-header {
  position: relative;
  z-index: 1;
}

.value-prop__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .value-prop__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.value-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
}

.value-card--orange:hover {
  border-color: rgba(255, 87, 34, 0.45);
  box-shadow: 0 8px 32px rgba(255, 87, 34, 0.12);
}

.value-card--cyan:hover {
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
}

.value-card--purple:hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.1);
}

.value-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

.value-card__icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.value-card__icon--orange {
  color: var(--accent-orange);
  background: rgba(255, 87, 34, 0.08);
}

.value-card__icon--cyan {
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
}

.value-card__icon--purple {
  color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.08);
}

.value-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.625rem;
}

.value-card__text {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* --- Philosophy / Pain Point --- */
.philosophy {
  position: relative;
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.philosophy__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 768px) {
  .philosophy__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.philosophy__title {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.philosophy__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.philosophy__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.philosophy__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--accent-orange);
  background: rgba(255, 87, 34, 0.08);
  border: 1px solid rgba(255, 87, 34, 0.2);
  margin-top: 0.125rem;
}

.philosophy__approach {
  color: var(--text);
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  line-height: 1.75;
  max-width: 52ch;
  padding: 1.25rem 1.375rem;
  background: rgba(0, 212, 255, 0.05);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.philosophy__visual {
  display: flex;
  justify-content: center;
}

.philosophy__visual-inner {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  position: relative;
}

.philosophy__visual-inner::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.3), rgba(168, 85, 247, 0.3));
  z-index: 0;
  opacity: 0.5;
}

.philosophy__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Founder / About Me --- */
.founder {
  position: relative;
}

.founder__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 768px) {
  .founder__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.founder__visual {
  display: flex;
  justify-content: center;
}

.founder__image-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  padding: 3px;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.5), rgba(0, 212, 255, 0.4), rgba(168, 85, 247, 0.5));
  box-shadow:
    0 0 40px rgba(255, 87, 34, 0.12),
    0 0 60px rgba(0, 212, 255, 0.08);
}

.founder__image-wrap::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: calc(var(--radius-lg) - 2px);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

.founder__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 3px);
  border: 2px solid rgba(11, 13, 17, 0.8);
}

.founder__title {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.founder__text {
  color: var(--text-muted);
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
  line-height: 1.75;
  max-width: 55ch;
  margin-bottom: 1.125rem;
}

.founder__signature {
  margin-top: 0.5rem;
  font-family: 'Caveat', cursive;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--accent-orange);
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  .founder__visual {
    order: -1;
  }

  .founder__image-wrap {
    max-width: 320px;
    margin-inline: auto;
  }
}

/* --- Telegram CTA --- */
.telegram-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 6rem);
}

.telegram-cta__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(168, 85, 247, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
    var(--bg);
  pointer-events: none;
}

.telegram-cta__float {
  position: absolute;
  color: var(--accent-cyan);
  opacity: 0.06;
  filter: blur(1px);
  pointer-events: none;
}

.telegram-cta__float--1 {
  top: 15%;
  left: 8%;
  transform: rotate(-15deg);
}

.telegram-cta__float--2 {
  bottom: 10%;
  right: 12%;
  transform: rotate(20deg);
  opacity: 0.04;
}

.telegram-cta__float--3 {
  top: 40%;
  right: 25%;
  transform: rotate(-8deg);
  opacity: 0.05;
}

.telegram-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.telegram-cta__title {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.telegram-cta__text {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 58ch;
  margin-inline: auto;
}

.btn--telegram {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: linear-gradient(135deg, #229ed9, #1a8bc4);
  color: #fff;
  box-shadow: 0 0 32px rgba(34, 158, 217, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn--telegram:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 48px rgba(34, 158, 217, 0.45);
}

.btn--telegram .btn__icon {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .philosophy__visual {
    order: -1;
  }

  .philosophy__visual-inner {
    max-width: 320px;
    margin-inline: auto;
  }
}

/* --- About --- */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 420px;
}

.about__image-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-purple));
  opacity: 0.4;
  z-index: 0;
}

.about__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 2px solid var(--bg);
}

.about__title {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.125rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.about__content p {
  color: var(--text-muted);
  max-width: 55ch;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about__content p strong {
  color: var(--text);
  font-weight: 600;
}

.about__features {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.about__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border);
}

.about__feature-icon--orange { color: var(--accent-orange); }
.about__feature-icon--cyan   { color: var(--accent-cyan); }
.about__feature-icon--purple { color: var(--accent-purple); }

/* --- Strategy Cards --- */
.strategy {
  position: relative;
  overflow: hidden;
}

.strategy__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.strategy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.strategy-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
  display: flex;
  flex-direction: column;
}

.strategy-card:hover {
  background: var(--card-hover);
  transform: translateY(-4px);
}

.strategy-card--orange:hover { border-color: rgba(255, 87, 34, 0.4); }
.strategy-card--cyan:hover   { border-color: rgba(0, 212, 255, 0.4); }
.strategy-card--purple:hover { border-color: rgba(168, 85, 247, 0.4); }

.strategy-card__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-orange);
  background: rgba(255, 87, 34, 0.12);
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.strategy-card__badge--cyan {
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.12);
}

.strategy-card__badge--purple {
  color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.12);
}

.strategy-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.strategy-card__desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.strategy-card__metrics {
  display: flex;
  gap: 1.5rem;
  padding-block: 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.strategy-card__metrics dt {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.125rem;
}

.strategy-card__metrics dd {
  font-size: 1rem;
  font-weight: 700;
}

.strategy-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.strategy-card--orange .strategy-card__link:hover { color: var(--accent-orange); }
.strategy-card--cyan .strategy-card__link:hover   { color: var(--accent-cyan); }
.strategy-card--purple .strategy-card__link:hover { color: var(--accent-purple); }

/* --- Tools --- */
.tools__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.tool-card:hover {
  background: var(--card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.tool-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.tool-card__icon--orange { color: var(--accent-orange); background: rgba(255, 87, 34, 0.08); }
.tool-card__icon--cyan   { color: var(--accent-cyan); background: rgba(0, 212, 255, 0.08); }
.tool-card__icon--purple { color: var(--accent-purple); background: rgba(168, 85, 247, 0.08); }

.tool-card__header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.5rem;
}

.tool-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
}

.tool-card__tag {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
}

.tool-card__tag--pro {
  color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.15);
}

.tool-card__tag--new {
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.15);
}

.tool-card__tag--free {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
}

.tool-card__desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tool-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.tool-card:hover .tool-card__link {
  color: var(--accent-orange);
}

/* --- Resources --- */
.resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.resource-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.375rem;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.resource-card:hover {
  background: var(--card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.resource-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  margin-bottom: 0.875rem;
  border: 1px solid var(--border);
}

.resource-card__icon--orange { color: var(--accent-orange); background: rgba(255, 87, 34, 0.08); }
.resource-card__icon--cyan   { color: var(--accent-cyan); background: rgba(0, 212, 255, 0.08); }
.resource-card__icon--purple { color: var(--accent-purple); background: rgba(168, 85, 247, 0.08); }

.resource-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.resource-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}

.resource-card__tag {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.resource-card__tag--free {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
}

.resource-card__tag--premium {
  color: var(--accent-orange);
  background: rgba(255, 87, 34, 0.12);
}

.resource-card__desc {
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.55;
  margin-bottom: 0.875rem;
}

.resource-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.resource-card:hover .resource-card__link {
  color: var(--accent-cyan);
}

/* --- FAQ --- */
.faq__list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq__item[open] {
  border-color: var(--border-hover);
}

.faq__question {
  padding: 1.125rem 1.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--transition);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__question:hover {
  color: var(--accent-orange);
}

.faq__answer {
  padding: 0 1.375rem 1.125rem;
}

.faq__answer p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 65ch;
}

/* --- CTA --- */
.cta {
  position: relative;
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255, 87, 34, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
}

.cta__title {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
}

.cta__desc {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Social Strip --- */
.social-strip {
  padding-block: 1rem;
  border-top: 1px solid var(--border);
}

.social-strip__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 5vw, 3rem);
}

.social-strip__link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  opacity: 0.35;
  transition: color var(--transition), opacity var(--transition), transform var(--transition);
}

.social-strip__link:hover {
  color: var(--text);
  opacity: 1;
  transform: scale(1.15);
}

.social-strip__link:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 4px;
  border-radius: 4px;
  opacity: 1;
}

.social-strip__link svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* --- Footer --- */
.footer {
  padding-block: 1rem;
  border-top: 1px solid var(--border);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0;
  border-top: none;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: var(--text);
}

/* =========================================================
   Responsive — Mobile First Breakpoints
   ========================================================= */

/* 768px — Tablet */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(11, 13, 17, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .nav__link {
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .header__cta {
    display: none;
  }

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

  .about__image-wrap {
    max-width: 320px;
    margin-inline: auto;
  }

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

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

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

  .section-header--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__stat-divider {
    display: none;
  }

  .hero__stats {
    gap: 2rem;
  }
}

/* 480px — Small phones */
@media (max-width: 480px) {
  .resources__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero__form-row {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .hero__form-input {
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    text-align: center;
  }

  .hero__form-submit {
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta__actions .btn {
    width: 100%;
  }
}

/* 1024px — ensure nav visible on larger tablets in landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav__list {
    gap: 1.25rem;
  }

  .nav__link {
    font-size: 0.8125rem;
  }

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

  .strategy__grid .strategy-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin-inline: auto;
  }
}

/* 1440px — Large desktop */
@media (min-width: 1440px) {
  :root {
    --container: 1240px;
  }
}

/* =========================================================
   Strategy Detail Pages
   ========================================================= */

.strategy-page-wrap {
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent-orange);
}

.breadcrumb__sep {
  opacity: 0.4;
}

.breadcrumb__current {
  color: var(--text);
}

.strategy-page {
  position: relative;
  max-width: 780px;
  margin-inline: auto;
}

.strategy-page__hero {
  margin-bottom: 2.5rem;
}

.strategy-page__badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.strategy-page__title {
  font-size: clamp(1.75rem, 3.5vw + 0.5rem, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.strategy-page__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.strategy-page__metrics div {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.strategy-page__metrics dt {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.strategy-page__metrics dd {
  font-size: 1.125rem;
  font-weight: 700;
}

.strategy-page__body {
  color: var(--text-muted);
  line-height: 1.75;
}

.strategy-page__body p {
  margin-bottom: 1.25rem;
  max-width: 68ch;
}

.strategy-page__body h2 {
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.5rem);
  font-weight: 700;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.strategy-page__body h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.75rem;
  margin-bottom: 0.625rem;
}

.strategy-page__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.strategy-page__list li {
  position: relative;
  padding-left: 1.375rem;
  max-width: 68ch;
}

.strategy-page__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-orange);
}

.strategy-page--cyan .strategy-page__list li::before {
  background: var(--accent-cyan);
}

.strategy-page--purple .strategy-page__list li::before {
  background: var(--accent-purple);
}

.strategy-page__list strong {
  color: var(--text);
  font-weight: 600;
}

.pro-tip {
  margin-top: 2rem;
  padding: 1.375rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-orange);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.pro-tip--cyan {
  border-left-color: var(--accent-cyan);
}

.pro-tip--purple {
  border-left-color: var(--accent-purple);
}

.pro-tip__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
}

.pro-tip--cyan .pro-tip__label {
  color: var(--accent-cyan);
}

.pro-tip--purple .pro-tip__label {
  color: var(--accent-purple);
}

.pro-tip a {
  color: var(--accent-orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}

.pro-tip--cyan a {
  color: var(--accent-cyan);
}

.pro-tip--purple a {
  color: var(--accent-purple);
}

.pro-tip a:hover {
  opacity: 0.85;
}

.strategy-related {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.strategy-related__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.strategy-related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.strategy-related__link {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.strategy-related__link:hover {
  background: var(--card-hover);
  border-color: var(--border-hover);
  color: var(--text);
}

.strategy-page-cta {
  margin-top: clamp(3rem, 6vw, 4rem);
}

@media (max-width: 768px) {
  .strategy-related__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Legal Pages --- */
.legal-page-wrap {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 4rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.legal-page {
  max-width: 720px;
  margin-inline: auto;
}

.legal-page__header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-page__title {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
  text-transform: uppercase;
}

.legal-page__body {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.legal-page__section {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.legal-page__section:last-child {
  margin-bottom: 0;
}

.legal-page__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.875rem;
}

.legal-page__body p {
  margin-bottom: 1rem;
  max-width: 68ch;
}

.legal-page__body p:last-child {
  margin-bottom: 0;
}

.footer__legal a[aria-current="page"] {
  color: var(--text);
}
