/* ============================================
   Signal Engine — Page-Specific Styles
   Extends styles.css (loaded as base)
   ============================================ */

/* Page background override */
.se-page {
  background: url('./images/top_bg.svg') no-repeat;
  background-position: top right;
  background-size: contain;
}

/* ---- Faded Background Images ---- */
.se-bg-section {
  position: relative;
  overflow: hidden;
}

.se-bg-float {
  position: absolute;
  width: 60%;
  max-width: 700px;
  height: auto;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  filter: blur(1px);
}

.se-bg-float-right {
  right: -10%;
  top: 10%;
}

.se-bg-float-left {
  left: -10%;
  top: 20%;
}

.se-bg-float-bottom {
  top: auto;
  bottom: -10%;
}

/* Ensure content sits above background floats */
.se-bg-section > .container,
.se-bg-section > .border-horizontal {
  position: relative;
  z-index: 1;
}

/* ---- Hero Section ---- */
.se-hero {
  position: relative;
  padding-top: 145px;
  padding-bottom: 156px;
  text-align: center;
}

.se-bg-hero {
  display: block;
  width: 100%;
  max-width: 988px;
  height: auto;
  margin: 0 auto;
}

.se-hero > .container {
  position: relative;
  z-index: 1;
}

.se-hero-content {
  max-width: 820px;
  width: 100%;
  margin: -80px auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  position: relative;
}

.se-hero-content h1 {
  font-size: 64px;
  line-height: 100%;
}

.se-hero-desc {
  font-size: 20px;
  line-height: 150%;
  max-width: 600px;
}

/* ---- Product Overview (right panel content) ---- */
.se-product-right {
  justify-content: center;
}

.se-product-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.se-product-content p {
  font-family: "SF UI Display";
  font-size: 18px;
  font-weight: 300;
  line-height: 160%;
}

.se-product-visual {
  width: 100%;
}

.se-product-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.se-logo-png {
  mix-blend-mode: lighten;
}

.se-delivery-channels {
  padding-top: 16px;
}

/* ---- How It Works: Step Visuals (SVG images) ---- */
.auto-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ---- Intelligence Gap: layout fix ---- */
#gap .sprawl_content {
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

#gap .sprawl_content span {
  text-align: center;
  line-height: 140%;
}

/* ---- Intelligence Gap: Stat ---- */
.se-gap-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 40px 0;
}

.se-stat-number {
  font-family: "SF UI Display";
  font-size: 120px;
  font-weight: 500;
  line-height: 100%;
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: -4px;
}

.se-gap-stat p {
  font-family: "SF UI Display";
  font-size: 16px;
  font-weight: 300;
  max-width: 300px;
}

/* ---- What Sellers Get: Content box images ---- */
.se-content-icon {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: none;
  padding: 20px 16px;
}

.se-content-icon img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ---- What Sales Leaders Get: 3-column grid ---- */
.se-leaders-section {
  padding-top: 120px;
}

.se-leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 120px;
}

.se-leader-card {
  max-width: 100%;
  margin-top: 10px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 32px 16px;
}

.se-leader-card h3 {
  margin-bottom: 16px;
}

/* ---- How We Score: 3-column scoring cards ---- */
.se-scoring-section {
  padding-top: 120px;
}

.se-scoring-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 40px;
}

.se-scoring-card {
  padding: 32px 16px;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.se-scoring-card::before {
  position: absolute;
  content: '';
  background: #242424;
  top: -10px;
  width: 100%;
  height: 1px;
  left: 0;
}

.se-scoring-card:hover {
  background: linear-gradient(0deg, #090909 0%, rgba(19, 19, 19, 0.30) 100%);
}

.se-scoring-card-number {
  font-family: "SF UI Display";
  font-size: 48px;
  font-weight: 500;
  line-height: 100%;
  color: rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.se-scoring-card h3 {
  color: #FFF;
  font-family: "SF UI Display";
  font-size: 28px;
  font-weight: 500;
  line-height: 100%;
  margin: 0 0 16px 0;
}

.se-scoring-card p {
  color: rgba(255, 255, 255, 0.60);
  font-family: "SF UI Display";
  font-size: 16px;
  font-weight: 300;
  line-height: 160%;
}

.se-scoring-summary {
  max-width: 800px;
  padding-bottom: 120px;
}

.se-scoring-summary p {
  font-family: "SF UI Display";
  font-size: 16px;
  font-weight: 300;
  line-height: 160%;
}

/* ---- Signal Categories: highlight text ---- */
.se-signal-card {
  min-height: auto;
}

.se-signal-card .get-in-touch-card-content {
  gap: 16px;
}

.se-signal-highlight {
  color: rgba(255, 255, 255, 0.90) !important;
  font-style: italic;
  font-size: 14px !important;
  font-weight: 400 !important;
}

/* ---- Data Isolation / Deploy: photo ---- */
.se-deploy-right {
  display: flex;
  align-items: stretch;
}

.se-deploy-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

/* ---- Built by Stringit ---- */
.se-ventures-section {
  padding-top: 120px;
  padding-bottom: 0;
}

.se-ventures-content {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 120px 0;
}

.se-ventures-content h2 {
  max-width: 600px;
}

.se-ventures-content p {
  font-family: "SF UI Display";
  font-size: 18px;
  font-weight: 300;
  line-height: 160%;
  max-width: 680px;
}

.se-ventures-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.se-ventures-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.se-ventures-logo a {
  display: block;
  transition: opacity 0.3s;
}

.se-ventures-logo a:hover {
  opacity: 0.8;
}

.se-ventures-logo-circle {
  position: relative;
  width: 200px;
  height: 200px;
}

.se-ventures-logo-circle .logo-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ============================================
   RESPONSIVE OVERRIDES
   ============================================ */

@media (max-width: 1280px) {
  .se-hero-content h1 {
    font-size: 52px;
  }

  .se-scoring-card h3,
  .se-leader-card h3 {
    font-size: 24px;
  }
}

@media (max-width: 1024px) {
  .se-hero {
    padding-top: 160px;
    padding-bottom: 80px;
  }

  .se-hero-content h1 {
    font-size: 46px;
  }

  .se-leaders-section,
  .se-scoring-section {
    padding-top: 80px;
  }

  .se-leaders-grid,
  .se-scoring-grid {
    gap: 16px;
  }

  .se-scoring-summary {
    padding-bottom: 80px;
  }

  .se-leaders-grid {
    padding-bottom: 80px;
  }

  .se-ventures-content {
    padding: 80px 0;
  }

  .se-bg-float {
    width: 50%;
    opacity: 0.02;
  }
}

@media (max-width: 820px) {
  .se-hero {
    padding-top: 120px;
    padding-bottom: 60px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .se-hero-content {
    max-width: 500px;
  }

  .se-hero-content h1 {
    font-size: 40px;
  }

  .se-hero-desc {
    font-size: 16px;
  }

  .se-ventures-logo-circle {
    width: 160px;
    height: 160px;
  }

  .se-ventures-inner {
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .se-page {
    background: url('./images/mob_bg.svg') no-repeat;
    background-position: top right;
    background-size: contain;
  }

  .se-hero {
    padding-top: 100px;
    padding-bottom: 48px;
  }

  .se-hero-content h1 {
    font-size: 36px;
  }

  .se-leaders-grid,
  .se-scoring-grid {
    grid-template-columns: 1fr;
    padding-bottom: 60px;
  }

  .se-leader-card,
  .se-scoring-card {
    padding: 24px 12px;
  }

  .se-leaders-section,
  .se-scoring-section {
    padding-top: 60px;
  }

  .se-scoring-summary {
    padding-bottom: 60px;
  }

  .se-ventures-content {
    padding: 60px 0;
  }

  .se-ventures-inner {
    flex-direction: column;
    gap: 40px;
  }

  .se-ventures-logo-circle {
    width: 140px;
    height: 140px;
  }

  .se-stat-number {
    font-size: 80px;
  }

  .se-gap-stat {
    padding: 20px 0;
  }

  .se-hero-content {
    margin-top: 0;
  }

  .se-bg-float {
    width: 80%;
    opacity: 0.02;
  }
}

@media (max-width: 650px) {
  .se-hero-content h1 {
    font-size: 32px;
  }

  .se-deploy-photo {
    min-height: 300px;
  }

  .se-scoring-card h3 {
    font-size: 22px;
  }
}

/* ============================================
   CONTACT FORM MODAL
   ============================================ */
.se-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.se-modal-overlay.active {
  display: flex;
}

.se-modal {
  background: #0D0D0D;
  border: 1px solid #1E1E1E;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  padding: 40px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.se-modal h3 {
  font-family: "SF UI Display", sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 8px 0;
}

.se-modal-subtitle {
  font-family: "SF UI Display", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 150%;
  margin: 0 0 32px 0;
}

.se-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.se-modal-close:hover {
  color: #fff;
}

.se-modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.se-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.se-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.se-form-field label {
  font-family: "SF UI Display", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}

.se-form-field input,
.se-form-field textarea {
  background: #000;
  border: 1px solid #242424;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: "SF UI Display", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.se-form-field input::placeholder,
.se-form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.15);
}

.se-form-field input:focus,
.se-form-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.se-form-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 100px;
  font-family: "SF UI Display", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  align-self: flex-start;
  margin-top: 8px;
}

.se-form-submit:hover {
  opacity: 0.85;
}

.se-form-submit .btn-logo {
  width: 24px;
  height: 24px;
}

.se-form-submit .btn-logo .logo-img {
  width: 24px;
  height: 24px;
}

.se-form-success {
  text-align: center;
  padding: 40px 0;
}

.se-form-success h3 {
  margin-bottom: 12px;
}

@media (max-width: 520px) {
  .se-modal {
    padding: 28px 20px;
  }

  .se-form-row {
    grid-template-columns: 1fr;
  }
}
