.partners-page { font-family: var(--font); color: var(--body); background: var(--white); }
.partners-page main:focus { outline: none; }

/* ── HERO ── */
.partner-hero { padding: 100px 0 80px; background: linear-gradient(168deg, #0c152d 0%, #132640 55%, #1A3B5C 100%); color: #fff; position: relative; overflow: hidden; }
.partner-hero::before { content: ''; position: absolute; top: -120px; right: -80px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(91,168,216,.15) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.partner-hero .container { position: relative; z-index: 1; }
.partner-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.partner-hero-h1 { font-size: clamp(32px, 4.5vw, 54px); font-weight: 700; color: #fff; line-height: 1.12; margin-bottom: 20px; }
.partner-hero-h1 em { font-style: normal; background: linear-gradient(135deg, #5BA8D8, #8DD0F5); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.partner-hero-desc { font-size: 18px; color: #8FAFC8; line-height: 1.65; margin-bottom: 36px; max-width: 480px; }
.partner-hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.partner-stat strong { display: block; font-size: 32px; font-weight: 700; color: var(--blue); line-height: 1.2; }
.partner-stat span { font-size: 13px; color: #6A8A9E; font-weight: 500; }

/* Network graphic */
.partner-network { position: relative; aspect-ratio: 1; max-width: 420px; margin: 0 auto; }
.p-ring { position: absolute; border: 1.5px solid rgba(91,168,216,.15); border-radius: 50%; animation: pRingPulse 4s ease-in-out infinite; }
.p-ring-1 { width: 100%; height: 100%; top: 0; left: 0; }
.p-ring-2 { width: 75%; height: 75%; top: 12.5%; left: 12.5%; animation-delay: 1s; }
.p-ring-3 { width: 50%; height: 50%; top: 25%; left: 25%; animation-delay: 2s; }
@keyframes pRingPulse { 0%, 100% { opacity: .3; transform: scale(1); } 50% { opacity: .7; transform: scale(1.03); } }
.p-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 40px rgba(91,168,216,.4); z-index: 2; }
.p-center img { height: 32px; filter: brightness(0) invert(1); }
.p-node { position: absolute; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); border: 1px solid rgba(91,168,216,.2); display: flex; align-items: center; justify-content: center; font-size: 22px; z-index: 2; animation: pNodeFloat 5s ease-in-out infinite; }
.p-node-1 { top: 5%; left: 50%; transform: translateX(-50%); animation-name: pNodeFloat1; }
.p-node-2 { top: 25%; right: 5%; animation-delay: .8s; }
.p-node-3 { bottom: 25%; right: 5%; animation-delay: 1.6s; }
.p-node-4 { bottom: 5%; left: 50%; transform: translateX(-50%); animation-name: pNodeFloat1; animation-delay: 2.4s; }
.p-node-5 { bottom: 25%; left: 5%; animation-delay: 3.2s; }
.p-node-6 { top: 25%; left: 5%; animation-delay: 4s; }
@keyframes pNodeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pNodeFloat1 { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }

/* ── TABS ── */
.partner-tabs-wrap { margin-top: 48px; }
.partner-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px; background: var(--bg); border-radius: 12px; border: 1px solid var(--border); margin-bottom: 36px; }
.partner-tab { flex: 1; min-width: 140px; padding: 14px 20px; border: none; background: none; font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 8px; transition: all .2s; display: flex; align-items: center; gap: 10px; justify-content: center; }
.partner-tab:hover { color: var(--blue); background: var(--blue-light); }
.partner-tab.active { background: var(--white); color: var(--blue); box-shadow: var(--shadow-sm); }
.tab-icon { font-size: 18px; }
.partner-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; animation: panelFade .35s ease; }
.partner-panel[hidden] { display: none; }
@keyframes panelFade { from { transform: translateY(8px); } to { transform: translateY(0); } }
.panel-content h3 { font-size: 26px; font-weight: 700; color: var(--dark); margin-bottom: 14px; line-height: 1.25; }
.panel-content > p { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.panel-perks { list-style: none; margin-bottom: 32px; padding: 0; }
.panel-perks li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--body); }
.panel-perks li:last-child { border-bottom: none; }
.perk-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.panel-perks li strong { font-weight: 600; color: var(--dark); }
.panel-highlight { background: linear-gradient(135deg, var(--blue-light) 0%, #E0F0FA 100%); border-radius: 16px; padding: 36px; border: 1px solid rgba(91,168,216,.15); }
[data-theme="dark"] .panel-highlight { background: linear-gradient(135deg, #0c152d 0%, #132640 100%); border-color: var(--border); }
.highlight-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--blue); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.panel-highlight h4 { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.panel-highlight p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }
.highlight-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hs-item { background: var(--white); border-radius: 10px; padding: 18px; text-align: center; border: 1px solid var(--border); }
.hs-item strong { display: block; font-size: 24px; font-weight: 700; color: var(--blue); }
.hs-item span { font-size: 12px; color: var(--muted); }

/* ── HOW STEPS ── */
.partner-how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; position: relative; }
.partner-how-steps::before { content: ''; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--border), var(--blue), var(--border)); z-index: 0; }
.partner-how-step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.partner-how-step .step-circle { width: 72px; height: 72px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 28px; box-shadow: 0 4px 20px rgba(91,168,216,.15); transition: transform .3s, box-shadow .3s; }
.partner-how-step:hover .step-circle { transform: translateY(-4px) scale(1.05); box-shadow: 0 8px 32px rgba(91,168,216,.25); }
.partner-how-step h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.partner-how-step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── REACH BANNER ── */
.reach-banner { margin-top: 48px; background: linear-gradient(135deg, #0c152d 0%, #1A3B5C 100%); border-radius: 20px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.reach-banner::after { content: ''; position: absolute; top: -40px; right: -40px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(91,168,216,.12) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.reach-left { position: relative; z-index: 1; }
.reach-left h3 { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 16px; line-height: 1.25; }
.reach-left > p { font-size: 16px; color: #6A8A9E; line-height: 1.7; margin-bottom: 28px; }
.reach-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reach-example { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 16px; display: flex; align-items: flex-start; gap: 12px; }
.re-icon { font-size: 20px; flex-shrink: 0; }
.reach-example strong { display: block; font-size: 14px; font-weight: 600; color: #D0E4F0; margin-bottom: 2px; }
.reach-example span { font-size: 12px; color: #6A8A9E; line-height: 1.4; }
.reach-right { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.reach-counter { width: 200px; height: 200px; border-radius: 50%; background: linear-gradient(135deg, rgba(91,168,216,.15), rgba(91,168,216,.05)); border: 2px solid rgba(91,168,216,.3); display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 20px; animation: counterPulse 3s ease-in-out infinite; }
@keyframes counterPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(91,168,216,.2); } 50% { box-shadow: 0 0 0 20px rgba(91,168,216,0); } }
.reach-counter .number { font-size: 56px; font-weight: 700; color: var(--blue); line-height: 1; }
.reach-counter .label { font-size: 14px; color: #6A8A9E; font-weight: 500; margin-top: 4px; }
.reach-note { font-size: 14px; color: #8FAFC8; text-align: center; max-width: 260px; line-height: 1.6; }

/* ── BENEFITS ── */
.partner-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.partner-benefit-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 32px 28px; position: relative; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.partner-benefit-card:hover { border-color: var(--blue); box-shadow: 0 8px 32px rgba(91,168,216,.12); transform: translateY(-3px); }
.partner-benefit-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), #8DD0F5); opacity: 0; transition: opacity .2s; }
.partner-benefit-card:hover::before { opacity: 1; }
.benefit-icon-lg { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.partner-benefit-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.partner-benefit-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── PROOF ── */
.partner-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.partner-proof-card { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 32px; }
.stars { color: #F5A623; font-size: 14px; margin-bottom: 14px; }
.partner-proof-card blockquote { font-size: 15px; color: var(--body); line-height: 1.7; margin: 0 0 24px; padding: 0; border: none; font-style: italic; }
.proof-author { display: flex; align-items: center; gap: 12px; }
.pa-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--blue); flex-shrink: 0; }
.proof-author strong { display: block; font-size: 14px; font-weight: 600; color: var(--dark); }
.proof-author span { font-size: 12px; color: var(--muted); }

/* ── FORM ── */
.partner-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-top: 48px; }
.form-left h3 { font-size: 24px; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.form-left > p { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.form-checklist { list-style: none; padding: 0; }
.form-checklist li { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 15px; color: var(--body); font-weight: 500; }
.check-icon { width: 24px; height: 24px; border-radius: 50%; background: color-mix(in oklab, var(--green) 15%, var(--white)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.check-icon svg { color: var(--green); }
.partner-form-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 40px; box-shadow: var(--shadow); }
.partner-form-card h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.partner-form-card .subtitle { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font); font-size: 14px; color: var(--dark); background: var(--white); outline: none; transition: border-color .15s; box-sizing: border-box; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--blue); }
.form-row input::placeholder, .form-row textarea::placeholder { color: #A8B8C8; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; padding: 14px; background: var(--blue); color: var(--white); border: none; border-radius: var(--radius-sm); font-family: var(--font); font-size: 16px; font-weight: 600; cursor: pointer; transition: background .15s; margin-top: 4px; }
.form-submit:hover { background: var(--blue-dark); }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }
/* ── FINAL CTA ── */
.partner-cta { background: #0c152d; color: #fff; text-align: center; padding: 100px 0; }
[data-theme="dark"] .partner-cta { background: #020510; }

.btn-white { background: #fff; color: #0c152d; font-family: var(--font); font-size: 16px; font-weight: 600; padding: 14px 28px; border-radius: var(--radius-sm); text-decoration: none; border: none; cursor: pointer; transition: all .15s; }
.btn-white:hover { background: #F0F6FB; }
.btn-ghost-white { background: none; color: rgba(255,255,255,.7); font-family: var(--font); font-size: 15px; font-weight: 500; padding: 14px 24px; border-radius: var(--radius-sm); text-decoration: none; border: 1.5px solid rgba(255,255,255,.2); transition: all .15s; }
.btn-ghost-white:hover { border-color: rgba(255,255,255,.5); color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .partner-hero-grid, .partner-panel, .reach-banner, .partner-form-grid { grid-template-columns: 1fr; }
  .partner-network { max-width: 280px; margin-top: 40px; }
  .partner-how-steps { grid-template-columns: 1fr 1fr; }
  .partner-how-steps::before { display: none; }
  .partner-benefits-grid, .partner-proof-grid { grid-template-columns: 1fr; }
  .reach-examples { grid-template-columns: 1fr; }
  .reach-right { margin-top: 32px; }
}
@media (max-width: 600px) {
  .partner-tabs { flex-direction: column; }
  .partner-how-steps { grid-template-columns: 1fr; }
  .highlight-stats { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .p-ring, .p-node, .partner-panel { animation: none; }
}
