/* ── PocketTeam Marketing — Brand-Aligned ── */

:root {
  /* Primary */
  --orange-500: #FF8500;
  --orange-400: #FF9A2E;
  --orange-300: #FFB866;
  --orange-200: #FFD6A3;
  --orange-100: #FFF0DD;
  --orange-600: #D96F00;
  --orange-700: #A65500;

  --blue-500: #0090E8;
  --blue-400: #33A8F0;
  --blue-300: #66BFF5;
  --blue-200: #99D6F9;
  --blue-100: #E0F2FE;

  /* Accent */
  --cyan-500: #50C5D7;
  --cyan-400: #73D3E1;
  --cyan-100: #E5F8FA;

  /* Neutrals */
  --gray-950: #0F1116;
  --gray-900: #1A1D24;
  --gray-800: #2A2E38;
  --gray-700: #3D4351;
  --gray-600: #555D6E;
  --gray-500: #727D8F;
  --gray-400: #9BA3B0;
  --gray-300: #C1C7CF;
  --gray-200: #E2E5E9;
  --gray-100: #F2F3F5;
  --gray-50:  #F8F9FA;
  --white:    #FFFFFF;

  /* Semantic */
  --error: #EF4444;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(15,17,22,0.06);
  --shadow-md:  0 4px 12px rgba(15,17,22,0.08);
  --shadow-lg:  0 12px 32px rgba(15,17,22,0.12);
  --shadow-xl:  0 24px 56px rgba(15,17,22,0.16);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--gray-50);
  line-height: 1.6;
}

body.modal-open { overflow: hidden; }

a { color: inherit; }

/* ── HEADER ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 64px;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(15, 17, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 17, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 64px;
}

.site-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.site-mark .mark-orange { color: var(--orange-500); }
.site-mark .mark-blue { color: var(--blue-500); }

.site-mark svg {
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── BUTTONS ── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1;
}

.button-primary {
  color: #fff;
  background: var(--orange-500);
  box-shadow: 0 4px 16px rgba(255, 133, 0, 0.25);
}

.button-primary:hover {
  background: var(--orange-600);
  box-shadow: 0 8px 24px rgba(255, 133, 0, 0.3);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--gray-300);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.button-outline {
  color: var(--gray-700);
  background: transparent;
  border: 1.5px solid var(--gray-300);
}

.button-outline:hover {
  border-color: var(--orange-500);
  color: var(--orange-500);
}

.button-ghost {
  color: var(--gray-400);
  background: transparent;
  padding: 8px 16px;
}

.button-ghost:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button-login {
  color: var(--gray-400);
  background: transparent;
  padding: 8px 16px;
  font-size: 0.875rem;
}

.button-login:hover {
  color: var(--white);
}

/* ── HERO ── */

.hero-wrap {
  background: linear-gradient(180deg, var(--gray-950) 0%, var(--gray-900) 100%);
  position: relative;
  overflow: hidden;
}

.hero-wrap::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 133, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-wrap::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 144, 232, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 2.5rem 6rem;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange-400);
  padding: 6px 14px;
  background: rgba(255, 133, 0, 0.08);
  border: 1px solid rgba(255, 133, 0, 0.15);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 20ch;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-300) 50%, var(--cyan-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray-400);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.hero-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 100px;
}

/* ── CONTENT SECTIONS ── */

.page-body {
  background: var(--gray-50);
  position: relative;
}

.page-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, var(--gray-900) 0%, var(--gray-50) 100%);
  pointer-events: none;
}

.section-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-card {
  position: relative;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 3rem clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 1.5rem;
}

.section-card:first-child {
  margin-top: -2rem;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange-500);
  margin-bottom: 0.5rem;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 0;
}

/* ── CONTRAST / PAIN-SOLUTION ── */

.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.contrast-col {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.contrast-col h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.contrast-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contrast-col li {
  font-size: 0.925rem;
  line-height: 1.55;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-600);
}

.contrast-col li::before {
  position: absolute;
  left: 0;
  top: 0.15em;
  font-size: 0.8rem;
}

.contrast-pain {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}

.contrast-pain h3 { color: var(--gray-500); }

.contrast-pain li::before {
  content: "\2715";
  color: var(--error);
}

.contrast-solution {
  background: linear-gradient(180deg, var(--orange-100) 0%, rgba(255, 240, 221, 0.3) 100%);
  border: 1px solid rgba(255, 133, 0, 0.15);
}

.contrast-solution h3 { color: var(--orange-600); }

.contrast-solution li {
  color: var(--gray-800);
}

.contrast-solution li::before {
  content: "\2713";
  color: var(--orange-500);
  font-weight: 700;
}

/* ── STEPS ── */

.accent-panel {
  background:
    linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
  border-color: var(--gray-200);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.step-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--gray-900);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.925rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── FEATURES ── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.feature-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--orange-100);
  color: var(--orange-600);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-900);
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── PRICING ── */

.pricing-single {
  max-width: 32rem;
  margin: 2rem auto 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.pricing-single::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange-500) 0%, var(--blue-500) 50%, var(--cyan-500) 100%);
}

.tier-price {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gray-900);
}

.tier-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-500);
  font-family: var(--font-body);
}

.tier-features {
  list-style: none;
  margin: 1.5rem 0 0;
  text-align: left;
}

.tier-features li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.925rem;
  color: var(--gray-700);
  line-height: 1.5;
  border-bottom: 1px solid var(--gray-100);
}

.tier-features li:last-child { border-bottom: none; }

.tier-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--orange-500);
  font-weight: 700;
  font-size: 0.85rem;
}

.pricing-cta {
  width: 100%;
  margin-top: 1.5rem;
  padding: 14px 28px;
  font-size: 1rem;
}

.pricing-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ── FINAL CTA ── */

.final-cta-wrap {
  background: var(--gray-900);
  position: relative;
  overflow: hidden;
}

.final-cta-wrap::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 133, 0, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
  text-align: center;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin: 0 auto;
}

.final-cta p {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--gray-400);
}

.final-cta .button-primary {
  margin-top: 1.5rem;
  padding: 14px 32px;
  font-size: 1rem;
}

/* ── FOOTER ── */

.footer-wrap {
  background: var(--gray-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2.5rem;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.site-footer p { margin: 0; }

.site-footer a {
  color: var(--gray-500);
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover { color: var(--gray-300); }

/* ── MODAL ── */

.modal-shell {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
  background: rgba(15, 17, 22, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.modal-shell.is-open { display: flex; }

.signup-modal {
  position: relative;
  width: min(28rem, 100%);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-xl);
  cursor: default;
}

.signup-modal h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  font-size: 1.2rem;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}

.signup-form {
  margin-top: 1.5rem;
}

.field-group {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--gray-900);
}

.field-group input {
  height: 2.75rem;
  padding: 0 0.875rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-900);
  font: inherit;
  font-weight: 400;
  font-size: 1rem;
  transition: all 0.15s;
}

.field-group input::placeholder {
  color: var(--gray-400);
}

.field-group input:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(255, 133, 0, 0.15);
}

.form-message {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  background: rgba(254, 242, 242, 0.96);
  color: #991b1b;
  line-height: 1.5;
  font-size: 0.875rem;
}

.form-message a { font-weight: 600; }

.submit-button {
  width: 100%;
  margin-top: 1rem;
  height: 2.75rem;
}

.modal-footer {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.modal-cancel {
  width: 100%;
  height: 2.75rem;
  color: var(--gray-700);
  background: transparent;
  border: 1.5px solid var(--gray-200);
}

.modal-cancel:hover {
  background: var(--gray-50);
}

.modal-login-link {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
}

.modal-login-link a {
  font-weight: 600;
  color: var(--orange-500);
  text-decoration: none;
}

.modal-login-link a:hover { text-decoration: underline; }

/* ── ANIMATIONS ── */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero .eyebrow { animation: fade-up 0.7s ease-out both; }
.hero h1 { animation: fade-up 0.7s ease-out 0.1s both; }
.hero-copy { animation: fade-up 0.7s ease-out 0.2s both; }
.hero-actions { animation: fade-up 0.7s ease-out 0.3s both; }
.hero-pills { animation: fade-up 0.7s ease-out 0.4s both; }

/* ── RESPONSIVE ── */

@media (max-width: 720px) {
  .header-inner {
    padding: 0 1rem;
  }

  .hero {
    padding: 4rem 1.25rem 3.5rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .section-wrap {
    padding: 0 1rem;
  }

  .section-card {
    padding: 1.75rem 1.25rem;
  }

  .contrast-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .pricing-single {
    padding: 2rem 1.25rem;
  }

  .final-cta {
    padding: 3.5rem 1.25rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 1.25rem 1rem;
  }

  .modal-shell {
    align-items: flex-end;
    padding: 0;
  }

  .signup-modal {
    width: 100%;
    padding: 1.5rem 1rem 2rem;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 85dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
