/* ISO Partner Program Page Styles */

/* Override global light theme for this dark page */
body:has(.iso-page) {
  background: var(--navy) !important;
  color: var(--white) !important;
}
.iso-page {
  background: var(--navy);
  color: var(--white);
  --navy2: #041230;
  --card-bg: rgba(255,255,255,0.08);
  --card-border: rgba(45,212,168,0.22);
  --muted: rgba(255,255,255,0.55);
  --radius: 16px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}
.iso-page section { background: var(--navy); }
.iso-page section.alt { background: var(--navy2) !important; }

/* HERO */
.iso-page .hero {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px 24px 80px; text-align: center; position: relative; overflow: hidden;
}
.iso-page .hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(45,212,168,0.11) 0%, transparent 65%),
              radial-gradient(ellipse 45% 35% at 85% 85%, rgba(45,212,168,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.iso-page .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(45,212,168,0.1); border: 1px solid rgba(45,212,168,0.25);
  border-radius: 100px; padding: 6px 16px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 28px;
}
.iso-page .eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }
.iso-page .hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; line-height: 1.1; max-width: 860px; margin-bottom: 24px; }
.iso-page .hero h1 em { font-style: italic; color: var(--teal); }
.iso-page .hero p { font-size: 1.1rem; color: var(--muted); max-width: 560px; line-height: 1.75; margin-bottom: 44px; }
.iso-page .actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.iso-page .btn-primary { background: var(--teal); color: var(--navy); padding: 14px 32px; border-radius: 10px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: var(--transition); display: inline-block; }
.iso-page .btn-primary:hover { background: #25b890; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(45,212,168,0.25); }
.iso-page .btn-ghost { border: 1px solid rgba(45,212,168,0.35); color: var(--white); padding: 14px 32px; border-radius: 10px; font-weight: 500; font-size: 0.95rem; text-decoration: none; transition: var(--transition); display: inline-block; }
.iso-page .btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.iso-page .hero-stats { display: flex; gap: 48px; flex-wrap: wrap; justify-content: center; margin-top: 72px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.07); width: 100%; max-width: 700px; }
.iso-page .stat-item { text-align: center; }
.iso-page .stat-num { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--teal); line-height: 1; }
.iso-page .stat-label { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 6px; }

/* TICKER */
.iso-page .ticker-wrap { overflow: hidden; background: rgba(45,212,168,0.06); border-top: 1px solid rgba(45,212,168,0.12); border-bottom: 1px solid rgba(45,212,168,0.12); padding: 14px 0; }
.iso-page .ticker-track { display: flex; white-space: nowrap; animation: iso-ticker 38s linear infinite; }
.iso-page .ticker-track span { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); padding: 0 32px; }
.iso-page .ticker-track span::after { content: '\2726'; opacity: 0.5; }
@keyframes iso-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* SECTIONS */
.iso-page section { padding: 100px 24px; }
.iso-page .alt { background: var(--navy2); }
.iso-page .container { max-width: 1120px; margin: 0 auto; }
.iso-page .sec-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.iso-page .sec-title { font-family: 'Playfair Display', serif; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.iso-page .sec-title em { font-style: italic; color: var(--teal); }
.iso-page .sec-sub { font-size: 1.05rem; color: var(--muted); max-width: 580px; line-height: 1.75; }

/* OPPORTUNITY */
.iso-page .opp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; align-items: start; }
.iso-page .big-stats { display: flex; flex-direction: column; gap: 20px; }
.iso-page .big-stat-card {
  background: var(--card-bg); border: 1px solid var(--card-border); border-left: 3px solid var(--teal);
  border-radius: var(--radius); padding: 28px 28px 28px 32px;
  display: flex; align-items: center; gap: 24px;
}
.iso-page .bsn { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--teal); line-height: 1; white-space: nowrap; }
.iso-page .bst { font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.5; }
.iso-page .stat-context { font-size: 0.85rem; color: var(--muted); line-height: 1.75; }
.iso-page .solution-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 20px; padding: 36px; }
.iso-page .solution-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 14px; }
.iso-page .solution-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.iso-page .sol-row { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(45,212,168,0.12); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; font-size: 0.88rem; font-weight: 600; }
.iso-page .sol-row:last-child { margin-bottom: 0; }
.iso-page .sol-icon { color: var(--teal); font-size: 0.9rem; width: 22px; text-align: center; font-family: monospace; }

/* HOW IT WORKS */
.iso-page .steps-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 56px; position: relative; }
.iso-page .steps-row::before { content: ''; position: absolute; top: 32px; left: calc(16.6% + 16px); right: calc(16.6% + 16px); height: 1px; background: rgba(45,212,168,0.3); pointer-events: none; }
.iso-page .step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; }
.iso-page .step-circle { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--teal); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--teal); background: var(--navy2); position: relative; z-index: 1; margin-bottom: 20px; }
.iso-page .step-circle.active { background: var(--teal); color: var(--navy); }
.iso-page .step-label { display: inline-block; background: rgba(45,212,168,0.12); border-radius: 6px; padding: 5px 14px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.iso-page .step-desc { font-size: 0.87rem; color: var(--muted); line-height: 1.7; }
.iso-page .steps-note { margin-top: 40px; background: var(--card-bg); border: 1px solid var(--card-border); border-left: 3px solid var(--teal); border-radius: var(--radius); padding: 20px 24px; display: flex; align-items: flex-start; gap: 14px; }
.iso-page .steps-note-icon { color: var(--teal); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.iso-page .steps-note p { font-size: 0.87rem; color: rgba(255,255,255,0.8); line-height: 1.65; }
.iso-page .steps-note strong { color: var(--teal); }

/* COMMISSION */
.iso-page .comm-banner { background: var(--card-bg); border: 1px solid var(--card-border); border-left: 3px solid var(--teal); border-radius: var(--radius); padding: 28px 32px; display: flex; gap: 56px; margin-top: 48px; flex-wrap: wrap; align-items: center; }
.iso-page .comm-item { display: flex; align-items: baseline; gap: 12px; }
.iso-page .comm-pct { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; color: var(--teal); }
.iso-page .comm-word { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--teal); }
.iso-page .comm-desc { font-size: 0.9rem; color: rgba(255,255,255,0.8); line-height: 1.55; }
.iso-page .comm-div { width: 1px; background: rgba(45,212,168,0.2); align-self: stretch; min-height: 48px; }
.iso-page .scenarios { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.iso-page .scenario-card { background: rgba(10,28,68,0.9); border: 1px solid rgba(45,212,168,0.28); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; }
.iso-page .sc-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.iso-page .sc-premise { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 16px; font-size: 0.87rem; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }
.iso-page .sc-premise strong { color: var(--white); }
.iso-page .sc-arrow { text-align: center; font-size: 1.4rem; color: var(--teal); margin-bottom: 16px; }
.iso-page .sc-result { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; color: var(--teal); text-align: center; line-height: 1; }
.iso-page .sc-result-label { text-align: center; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* TECH STACK */
.iso-page .stack-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.iso-page .stack-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px; padding: 32px 28px; transition: var(--transition); position: relative; overflow: hidden; }
.iso-page .stack-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--teal), transparent); opacity: 0; transition: opacity var(--transition); }
.iso-page .stack-card:hover { border-color: rgba(45,212,168,0.3); transform: translateY(-3px); }
.iso-page .stack-card:hover::before { opacity: 1; }
.iso-page .stack-icon { width: 44px; height: 44px; background: rgba(45,212,168,0.1); border: 1px solid rgba(45,212,168,0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: 18px; color: var(--teal); font-family: monospace; font-weight: 700; }
.iso-page .stack-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.iso-page .stack-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }

/* VERTICALS */
.iso-page .vert-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.iso-page .vert-card { background: var(--card-bg); border: 1px solid var(--card-border); border-top: 2px solid rgba(45,212,168,0.3); border-radius: 18px; padding: 28px; transition: var(--transition); }
.iso-page .vert-card:hover { border-top-color: var(--teal); background: rgba(255,255,255,0.06); }
.iso-page .vert-icon { font-size: 1.5rem; margin-bottom: 12px; }
.iso-page .vert-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.iso-page .vert-desc { font-size: 0.81rem; color: var(--muted); line-height: 1.6; }
.iso-page .vert-footer { margin-top: 32px; background: rgba(45,212,168,0.07); border: 1px solid rgba(45,212,168,0.2); border-radius: 12px; padding: 16px 20px; font-size: 0.87rem; color: var(--teal); font-weight: 500; text-align: center; display: flex; align-items: center; justify-content: center; gap: 10px; }

/* SAAS BRANDS */
.iso-page .saas-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.iso-page .saas-card { background: #f5f7f9; border: 1px solid rgba(45,212,168,0.35); border-top: 2px solid var(--teal); border-radius: 20px; padding: 36px 28px; display: flex; flex-direction: column; transition: var(--transition); color: var(--navy); }
.iso-page .saas-card:hover { border-color: rgba(45,212,168,0.6); transform: translateY(-3px); }
.iso-page .saas-logo-wrap { height: 48px; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.iso-page .saas-wordmark { font-family: 'DM Sans', sans-serif; font-weight: 800; font-size: 1.375rem; letter-spacing: -0.03em; color: #000000; line-height: 1; }
/* Body sets color:white !important; SVG <text> uses currentColor — force brand wordmarks black */
.iso-page .saas-card .saas-logo-wrap svg { color: #000000; }
.iso-page .saas-card .saas-logo-wrap svg text { fill: #000000 !important; }
.iso-page .saas-brand { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; color: var(--navy); }
.iso-page .saas-url { font-size: 0.75rem; color: #0a9e78; font-family: monospace; letter-spacing: 0.03em; margin-bottom: 18px; }
.iso-page .saas-ptitle { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.iso-page .saas-desc { font-size: 0.83rem; color: #4a5568; line-height: 1.7; flex: 1; }
.iso-page .saas-plans { font-size: 0.82rem; color: #2d3748; border-left: 2px solid var(--teal); padding-left: 12px; margin: 16px 0; }
.iso-page .saas-cta { display: block; text-align: center; background: rgba(45,212,168,0.15); border: 1px solid rgba(45,212,168,0.4); border-radius: 8px; padding: 12px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #0a7a5e; margin-top: 20px; }

/* PARTNER STORIES */
.iso-page .stories-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.iso-page .story-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; transition: var(--transition); }
.iso-page .story-card:hover { border-color: rgba(45,212,168,0.3); }
.iso-page .story-partner { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.iso-page .story-type { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.iso-page .story-body { font-size: 0.84rem; color: var(--muted); line-height: 1.7; flex: 1; }
.iso-page .story-body strong { color: var(--white); }
.iso-page .story-result { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.07); text-align: center; }
.iso-page .story-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--teal); }
.iso-page .story-num-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* WHY MOJAVE */
.iso-page .why-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 64px; }
.iso-page .why-hed { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; }
.iso-page .why-hed .teal { color: var(--teal); }
.iso-page .why-checks { display: flex; flex-direction: column; gap: 16px; }
.iso-page .why-row { display: flex; gap: 18px; align-items: flex-start; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 14px; padding: 20px 22px; transition: var(--transition); }
.iso-page .why-row:hover { border-color: rgba(45,212,168,0.25); }
.iso-page .why-tick { width: 28px; height: 28px; flex-shrink: 0; background: rgba(45,212,168,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--teal); font-size: 0.85rem; font-weight: 700; }
.iso-page .why-text strong { font-size: 0.92rem; display: block; margin-bottom: 3px; }
.iso-page .why-text span { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* PARTNERS */
.iso-page .partners-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 56px; }
.iso-page .partner-pill { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 16px 28px; font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.75); transition: var(--transition); }
.iso-page .partner-pill:hover { border-color: rgba(45,212,168,0.35); color: var(--white); }

/* CTA */
.iso-page .cta-section { text-align: center; padding: 120px 24px; background: linear-gradient(135deg, rgba(45,212,168,0.09) 0%, rgba(2,14,40,0) 60%); border-top: 1px solid rgba(45,212,168,0.12); }
.iso-page .cta-section .sec-title { max-width: 780px; margin: 0 auto 16px; }
.iso-page .cta-tagline { font-size: 1.05rem; color: var(--teal); font-weight: 500; margin-bottom: 40px; }
.iso-page .cta-contact { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; margin-top: 36px; font-size: 0.9rem; color: var(--muted); }
.iso-page .cta-contact a { color: var(--teal); text-decoration: none; font-weight: 500; }
.iso-page .cta-contact a:hover { text-decoration: underline; }

/* REVEAL */
.iso-page .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.iso-page .reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .iso-page .opp-grid,
  .iso-page .scenarios,
  .iso-page .stack-grid,
  .iso-page .vert-grid,
  .iso-page .saas-grid,
  .iso-page .stories-grid,
  .iso-page .why-split { grid-template-columns: 1fr; }
  .iso-page .steps-row { grid-template-columns: 1fr; gap: 40px; }
  .iso-page .steps-row::before { display: none; }
  .iso-page .comm-banner { flex-direction: column; gap: 24px; }
  .iso-page .comm-div { display: none; }
  .iso-page .why-split { gap: 40px; }
  .iso-page .hero { padding: 100px 16px 60px; }
  .iso-page .hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
  .iso-page .hero-stats { gap: 24px; }
  .iso-page section { padding: 60px 16px; }
  .iso-page .cta-section { padding: 80px 16px; }
  .iso-page .comm-banner { padding: 24px 20px; }
  .iso-page .scenario-card { padding: 24px; }
  .iso-page .sc-result { font-size: 2rem; }
  .iso-page .bsn { font-size: 2.2rem; }
  .iso-page .comm-pct { font-size: 2rem; }
}

@media (max-width: 600px) {
  .iso-page .hero-stats { flex-direction: column; gap: 20px; }
  .iso-page .actions { flex-direction: column; align-items: center; }
  .iso-page .cta-contact { flex-direction: column; gap: 16px; }
  .iso-page .partner-pill { padding: 12px 20px; font-size: 0.82rem; }
  .iso-page .big-stat-card { flex-direction: column; text-align: center; padding: 20px; }
}
