/* =========================================================================
   SMADY — AI-Powered Sales Strategy Platform
   ========================================================================= */

.sm-page {
  --sm-navy-900:    #002d5c;
  --sm-navy-800:    #003366;
  --sm-navy-700:    #004c70;
  --sm-blue-500:    #0077b6;
  --sm-blue-600:    #0096c7;
  --sm-teal-400:    #00b4d8;
  --sm-orange:      #ff4a17;
  --sm-orange-hover:#e03e0f;
  --sm-ink:         #0d1b2a;
  --sm-slate-600:   #4a5568;
  --sm-slate-400:   #64748b;
  --sm-mist-50:     #f8fafc;
  --sm-mist-100:    #e8f3f8;
  --sm-line:        #e2e7f0;
  --sm-line-dark:   #cbd5e1;
  --sm-white:       #ffffff;

  --sm-font-display: "Poppins", "Segoe UI", Arial, sans-serif;
  --sm-font-body:    "Inter", "Segoe UI", Arial, sans-serif;

  --sm-radius-sm:   8px;
  --sm-radius-md:   14px;
  --sm-radius-lg:   22px;
  --sm-radius-pill: 999px;

  --sm-shadow-card: 0 4px 20px rgba(0, 45, 92, 0.05), 0 12px 32px -16px rgba(0, 45, 92, 0.08);
  --sm-shadow-lift: 0 15px 40px -15px rgba(0, 45, 92, 0.15);

  --sm-container: 1180px;
  --sm-gutter:    clamp(20px, 5vw, 64px);
  --sm-transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);

  font-family: var(--sm-font-body);
  color: var(--sm-ink);
  background: var(--sm-white);
  -webkit-font-smoothing: antialiased;
}

.sm-page *,
.sm-page *::before,
.sm-page *::after {
  box-sizing: border-box;
}

.sm-page p  { margin: 0; }
.sm-page h1,
.sm-page h2,
.sm-page h3,
.sm-page h4 {
  font-family: var(--sm-font-display);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ── Container ── */
.sm-container {
  max-width: var(--sm-container);
  margin-inline: auto;
  padding-inline: var(--sm-gutter);
}

/* ── Typography helpers ── */
.sm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sm-font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sm-orange);
  margin-bottom: 14px;
}

.sm-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sm-orange);
  box-shadow: 0 0 0 4px rgba(255, 74, 23, 0.18);
}

.sm-h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  color: var(--sm-navy-900);
  max-width: 720px;
  line-height: 1.15;
}

.sm-lede {
  font-size: clamp(15px, 1.5vw, 17.5px);
  color: var(--sm-slate-600);
  max-width: 620px;
  margin-top: 16px;
  line-height: 1.65;
}

/* ── Sections ── */
.sm-section {
  padding-block: clamp(56px, 9vw, 108px);
  background: var(--sm-white);
}

.sm-section--light {
  background: var(--sm-mist-50);
}

.sm-section-head {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.sm-section-head--center {
  text-align: center;
  margin-inline: auto;
}

.sm-section-head--center .sm-h2 {
  margin-inline: auto;
}

.sm-section-head--center .sm-lede {
  margin-inline: auto;
}

/* ── Scroll reveal ── */
.sm-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.sm-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════
   COMING SOON BANNER
   ══════════════════════════════════════════════════════ */
.sm-coming-banner {
  background: linear-gradient(90deg, #ff4a17 0%, #ff6b3d 50%, #ff4a17 100%);
  background-size: 200% 100%;
  animation: smShimmer 4s ease-in-out infinite;
  padding: 14px 0;
  text-align: center;
}

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

.sm-coming-banner p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  font-family: var(--sm-font-display);
}

/* ══════════════════════════════════════════════════════
   HERO — white background, matching NexVigil style
   ══════════════════════════════════════════════════════ */
.sm-hero {
  position: relative;
  background: var(--sm-white);
  color: var(--sm-ink);
  overflow: hidden;
  padding-block: clamp(64px, 10vw, 110px) clamp(48px, 7vw, 90px);
}

/* Subtle grid background like NexVigil hero */
.sm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 119, 182, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 119, 182, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 60% at 70% 30%, black, transparent);
  pointer-events: none;
}

.sm-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

/* Kicker pill — same style as NexVigil */
.sm-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sm-font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sm-orange);
  background: rgba(255, 74, 23, 0.1);
  border: 1px solid rgba(255, 74, 23, 0.3);
  padding: 8px 14px;
  border-radius: var(--sm-radius-pill);
  margin-bottom: 22px;
}

.sm-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sm-orange);
  animation: smPulseDot 1.8s ease-in-out infinite;
}

@keyframes smPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.8); }
}

.sm-hero h2 {
  font-family: var(--sm-font-display);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--sm-navy-900);
  max-width: 16ch;
  margin-bottom: 10px;
}

.sm-hero-headline {
  font-family: var(--sm-font-display);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  color: var(--sm-slate-400);
  margin-bottom: 22px;
}

.sm-hero-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--sm-slate-600);
  max-width: 52ch;
  margin-bottom: 32px;
}

/* Hero flow tags — pill-style like NexVigil */
.sm-hero-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.sm-hero-flow span {
  font-family: var(--sm-font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sm-navy-900);
  background: var(--sm-mist-50);
  border: 1px solid var(--sm-line-dark);
  padding: 6px 12px;
  border-radius: var(--sm-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.sm-hero-flow span:not(:last-child)::after {
  content: "→";
  color: var(--sm-blue-500);
  margin-left: 6px;
}

/* ── CTA Buttons ── */
.sm-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.sm-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: var(--sm-font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: var(--sm-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

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

.sm-btn--primary {
  background: linear-gradient(135deg, #ff4a17 0%, #e03e0f 100%);
  color: var(--sm-white);
  box-shadow: 0 8px 25px rgba(255, 74, 23, 0.35);
}

.sm-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 74, 23, 0.45);
  color: #fff;
}

.sm-btn--ghost {
  background: transparent;
  color: var(--sm-blue-500);
  border: 2px solid var(--sm-blue-500);
}

.sm-btn--ghost:hover {
  border-color: var(--sm-blue-500);
  background: var(--sm-blue-500);
  transform: translateY(-1px);
  color: #fff;
}

/* ══════════════════════════════════════════════════════
   HERO VISUAL — Pipeline card (light, similar to NexVigil)
   Uses a dark-blue mini-card like nv-hero-visual but
   only as a contained widget, not full bg
   ══════════════════════════════════════════════════════ */
.sm-hero-visual {
  position: relative;
}

.sm-pipeline-card {
  background: linear-gradient(145deg, #0b1f3f 0%, #0d264d 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--sm-radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px -15px rgba(11, 31, 63, 0.4);
}

.sm-pipeline-title {
  font-family: var(--sm-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sm-pipeline-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: smPulseDot 1.8s ease-in-out infinite;
}

.sm-pipeline-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sm-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--sm-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: var(--sm-transition);
}

.sm-step-item:hover {
  background: rgba(255, 74, 23, 0.1);
  border-color: rgba(255, 74, 23, 0.25);
}

.sm-step-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.sm-step-icon--orange { background: rgba(255, 74,  23, 0.18); }
.sm-step-icon--blue   { background: rgba(59,  130, 246, 0.18); }
.sm-step-icon--green  { background: rgba(34,  197, 94,  0.18); }
.sm-step-icon--purple { background: rgba(168, 85,  247, 0.18); }
.sm-step-icon--teal   { background: rgba(20,  184, 166, 0.18); }
.sm-step-icon--yellow { background: rgba(234, 179, 8,   0.18); }

.sm-step-info {
  flex: 1;
  min-width: 0;
}

.sm-step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  display: block;
  margin-bottom: 1px;
  font-family: var(--sm-font-display);
}

.sm-step-desc {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.3);
}

.sm-step-badge {
  font-family: var(--sm-font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--sm-radius-pill);
  flex-shrink: 0;
}

.sm-step-badge--ai   { background: rgba(255, 74, 23, 0.22); color: #ff7a52; }
.sm-step-badge--done { background: rgba(34, 197, 94, 0.22); color: #4ade80; }
.sm-step-badge--soon { background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.35); }

/* ══════════════════════════════════════════════════════
   THE PROBLEM — light section
   ══════════════════════════════════════════════════════ */
.sm-problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.sm-problem-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sm-problem-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--sm-radius-md);
  background: var(--sm-mist-50);
  border: 1px solid var(--sm-line);
  transition: transform var(--sm-transition), box-shadow var(--sm-transition);
}

.sm-problem-card:hover {
  transform: translateX(4px);
  box-shadow: var(--sm-shadow-lift);
}

.sm-problem-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--sm-blue-500), var(--sm-teal-400));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sm-white);
  box-shadow: 0 5px 16px rgba(0, 119, 182, 0.25);
}

.sm-problem-card h4 {
  font-family: var(--sm-font-display);
  font-size: 15px;
  font-weight: 650;
  color: var(--sm-navy-900);
  margin: 0 0 4px;
}

.sm-problem-card p {
  font-size: 13.5px;
  color: var(--sm-slate-600);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════
   HOW IT WORKS — 4-step cards
   ══════════════════════════════════════════════════════ */
.sm-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.sm-step-card {
  background: var(--sm-white);
  border: 1px solid var(--sm-line);
  border-radius: var(--sm-radius-md);
  padding: 26px 24px;
  box-shadow: var(--sm-shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sm-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sm-shadow-lift);
}

.sm-step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sm-blue-500), var(--sm-teal-400));
  color: var(--sm-white);
  font-family: var(--sm-font-display);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0, 119, 182, 0.3);
}

.sm-step-card h3 {
  font-size: 18px;
  font-weight: 650;
  color: var(--sm-navy-900);
  margin-bottom: 10px;
}

.sm-step-card p {
  font-size: 14.5px;
  color: var(--sm-slate-600);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════
   EXECUTION FEATURES — 3-col card grid
   ══════════════════════════════════════════════════════ */
.sm-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sm-feature-card {
  background: var(--sm-white);
  border: 1px solid var(--sm-line);
  border-radius: var(--sm-radius-md);
  padding: 26px 24px;
  box-shadow: var(--sm-shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sm-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sm-shadow-lift);
}

.sm-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sm-blue-500), var(--sm-teal-400));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--sm-white);
  box-shadow: 0 5px 18px rgba(0, 119, 182, 0.25);
  transition: transform 0.2s ease;
}

.sm-feature-card:hover .sm-feature-icon {
  transform: scale(1.08);
}

.sm-feature-card h3 {
  font-size: 17px;
  font-weight: 650;
  color: var(--sm-navy-900);
  margin-bottom: 9px;
}

.sm-feature-card p {
  font-size: 14.5px;
  color: var(--sm-slate-600);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════
   JOURNEY / PIPELINE — light grey gradient (NexVigil final-cta style)
   ══════════════════════════════════════════════════════ */
.sm-journey {
  padding-block: clamp(56px, 9vw, 108px);
  background: linear-gradient(135deg, var(--sm-mist-50) 0%, var(--sm-mist-100) 100%);
  position: relative;
  overflow: hidden;
}

.sm-journey::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 60% 40%, rgba(0, 180, 216, 0.08), transparent 55%);
  pointer-events: none;
}

.sm-journey .sm-h2  { color: var(--sm-navy-900); }
.sm-journey .sm-lede { color: var(--sm-slate-600); }

.sm-journey-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 48px 0 20px;
  position: relative;
}

.sm-journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
}

/* Journey nodes — white card style */
.sm-journey-node {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--sm-white);
  border: 1px solid var(--sm-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(0, 45, 92, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sm-journey-step:hover .sm-journey-node {
  border-color: var(--sm-orange);
  box-shadow: 0 8px 20px rgba(255, 74, 23, 0.18);
  transform: scale(1.1) translateY(-3px);
}

.sm-journey-label {
  font-family: var(--sm-font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sm-slate-400);
  text-align: center;
  max-width: 68px;
}

.sm-journey-arrow {
  color: var(--sm-blue-500);
  font-size: 1rem;
  padding: 0 2px;
  margin-bottom: 26px;
  opacity: 0.5;
}

.sm-journey-caption {
  text-align: center;
  font-size: 14px;
  color: var(--sm-slate-400);
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════
   WHY SMADY — 3-col bordered cards
   ══════════════════════════════════════════════════════ */
.sm-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sm-why-card {
  background: var(--sm-white);
  border: 1px solid var(--sm-line);
  border-top: 3px solid var(--sm-orange);
  border-radius: var(--sm-radius-md);
  padding: 26px 24px;
  box-shadow: var(--sm-shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sm-why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sm-shadow-lift);
}

.sm-why-card h3 {
  font-size: 17px;
  font-weight: 650;
  color: var(--sm-navy-900);
  margin-bottom: 10px;
}

.sm-why-card p {
  font-size: 14.5px;
  color: var(--sm-slate-600);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════
   FINAL CTA — light grey gradient card (NexVigil style)
   ══════════════════════════════════════════════════════ */
.sm-final-cta {
  background: linear-gradient(135deg, var(--sm-mist-50) 0%, var(--sm-mist-100) 100%);
  color: var(--sm-ink);
  border: 1px solid var(--sm-line);
  border-radius: var(--sm-radius-lg);
  padding: clamp(40px, 7vw, 76px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 45, 92, 0.06);
}

.sm-final-cta::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(0, 180, 216, 0.1), transparent 55%);
  pointer-events: none;
}

.sm-final-cta > * {
  position: relative;
}

.sm-final-cta .sm-h2 {
  color: var(--sm-navy-900);
  margin-inline: auto;
}

.sm-final-cta .sm-lede {
  color: var(--sm-slate-600);
  margin-inline: auto;
}

.sm-final-cta .sm-cta-row {
  justify-content: center;
}

/* ══════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════ */
@keyframes smShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .sm-page * {
    animation: none !important;
    transition: none !important;
  }
  .sm-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .sm-features-grid,
  .sm-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sm-hero-grid,
  .sm-problem-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .sm-steps-grid,
  .sm-features-grid,
  .sm-why-grid {
    grid-template-columns: 1fr;
  }

  .sm-hero-visual { display: none; }

  .sm-journey-strip { gap: 4px; }

  .sm-final-cta { padding: 40px 24px; }

  .sm-btn {
    width: 100%;
    justify-content: center;
  }

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