/* ══════════════════════════════════════
   PAYOWER — SHARED STYLESHEET
   ══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── VARIABLES ── */
:root {
  --bg:        #f5f6fa;
  --bg2:       #ffffff;
  --bg3:       #eef0f7;
  --text:      #0d1240;
  --text2:     #4b5279;
  --text3:     #8890b5;
  --blue:      #1d4cff;
  --blue-b:    #2563ff;
  --blue-dk:   #0a1a6b;
  --blue-lt:   #dce6ff;
  --border:    rgba(29,76,255,0.12);
  --shadow:    0 4px 32px rgba(29,76,255,0.08);
  --shadow-lg: 0 20px 80px rgba(29,76,255,0.14);
  --card:      #ffffff;
  --nav-bg:    rgba(245,246,250,0.88);
  --radius:    20px;
  --radius-lg: 28px;
}

[data-theme="dark"] {
  --bg:        #060b1e;
  --bg2:       #0d1535;
  --bg3:       #111b3e;
  --text:      #e8ecff;
  --text2:     #8893bf;
  --text3:     #4b5580;
  --blue:      #4a78ff;
  --blue-b:    #5d8bff;
  --blue-dk:   #3366ff;
  --blue-lt:   #1a2860;
  --border:    rgba(74,120,255,0.18);
  --shadow:    0 4px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 80px rgba(0,0,0,0.5);
  --card:      #0d1535;
  --nav-bg:    rgba(6,11,30,0.92);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── TYPOGRAPHY ── */
h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--text);
}
h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1.1;
}
h3 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
p { line-height: 1.75; color: var(--text2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 20px;
}
.eyebrow img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 20px;
}

/* ── LAYOUT ── */
.page-wrap { padding-top: 68px; }
.container  { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section    { position: relative; z-index: 1; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 64px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ── BACKGROUND BLOBS ── */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
.blob-1 { width: 600px; height: 600px; background: var(--blue); top: -120px; right: -120px; }
.blob-2 { width: 420px; height: 420px; background: #3366ff; bottom: 80px; left: -120px; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img.icon { width: 44px; height: 44px; object-fit: contain; border-radius: 11px; }
.nav-logo img.text { height: 32px; object-fit: contain; transition: filter 0.3s; }
[data-theme="dark"] .nav-logo img.text { filter: brightness(0) invert(1); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { background: var(--blue-lt); color: var(--blue); }
.nav-links > li > a .chevron {
  font-size: 10px;
  opacity: 0.6;
  transition: transform 0.2s;
}
.nav-links > li.open > a .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  z-index: 300;
}
.nav-dropdown.open {
  display: block;
  animation: dropIn 0.18s ease forwards;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:hover { background: var(--blue-lt); color: var(--blue); }
.nav-dropdown a .di {
  width: 30px; height: 30px;
  background: var(--blue-lt);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
  transition: background 0.15s;
}
.nav-dropdown a:hover .di { background: var(--blue); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-sm  { font-size: 14px; padding: 9px 18px; border-radius: 10px; }
.btn-md  { font-size: 15px; padding: 13px 24px; border-radius: 12px; }
.btn-lg  { font-size: 16px; padding: 16px 32px; border-radius: 14px; font-family: 'Sora', sans-serif; font-weight: 600; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dk) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(29,76,255,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(29,76,255,0.48); }

.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1.5px solid transparent;
}
.btn-ghost:hover { background: var(--bg3); color: var(--text); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); background: var(--blue-lt); color: var(--blue); }

.btn-white {
  background: #fff;
  color: var(--blue-dk);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.15); }

/* Theme toggle */
.theme-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.theme-btn:hover { background: var(--blue-lt); }

/* ── CARDS ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-4px); }

.card-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--blue-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  transition: background 0.2s;
}
.card:hover .card-icon { background: var(--blue); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(140deg, #1d4cff 0%, #0a1a6b 100%);
  padding: 110px 32px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .eyebrow { color: rgba(255,255,255,0.65); }
.page-hero h1 { color: #fff; margin-bottom: 20px; }
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #93c5fd, #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p { color: rgba(255,255,255,0.72); font-size: 18px; max-width: 580px; margin: 0 auto; }

/* ── SECTION HEADINGS ── */
.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center p { margin: 16px auto 0; max-width: 560px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p  { font-size: 17px; max-width: 560px; }

/* ── FEATURE NUM ── */
.feat-num {
  font-family: 'Sora', sans-serif;
  font-size: 11px; font-weight: 700;
  color: var(--text3);
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

/* ── BLUE BANNER ── */
.blue-banner {
  background: linear-gradient(135deg, #1d4cff 0%, #0a1a6b 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
}
.blue-banner h2 { color: #fff; margin-bottom: 14px; }
.blue-banner p  { color: rgba(255,255,255,0.72); font-size: 17px; margin-bottom: 32px; }

/* ── WAITLIST FORM ── */
.waitlist-row {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 14px;
}
.waitlist-input {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  padding: 15px 20px;
  border-radius: 13px;
  border: 1.5px solid var(--border);
  background: var(--bg2);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-input::placeholder { color: var(--text3); }
.waitlist-input:focus { border-color: var(--blue); }
.waitlist-note { font-size: 13px; color: var(--text3); text-align: center; }

/* ── CHECK LIST ── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.check-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; font-weight: 500; color: var(--text);
}
.check-list li::before {
  content: '✓';
  width: 24px; height: 24px;
  background: var(--blue-lt);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}

/* ── WAITLIST ANIMATIONS ── */
@keyframes successPop {
  0%   { transform: scale(0.92); opacity: 0; }
  60%  { transform: scale(1.04); }
  100% { transform: scale(1);    opacity: 1; }
}
@keyframes inputShake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-6px); }
  40%     { transform: translateX(6px); }
  60%     { transform: translateX(-4px); }
  80%     { transform: translateX(4px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.wl-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
  padding: 64px 0 0;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 0 32px 48px;
}
.footer-brand-desc {
  font-size: 14px; color: var(--text3);
  line-height: 1.75; margin-top: 14px;
  max-width: 210px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo img.icon { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.footer-logo img.text { height: 28px; object-fit: contain; transition: filter 0.3s; }
[data-theme="dark"] .footer-logo img.text { filter: brightness(0) invert(1); }

.footer-col h4 {
  font-family: 'Sora', sans-serif;
  font-size: 11.5px; font-weight: 700;
  color: var(--text);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 14px;
  color: var(--text3); text-decoration: none;
  margin-bottom: 11px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px; color: var(--text3);
  flex-wrap: wrap; gap: 10px;
}

/* ── PRICING CARDS ── */
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue), var(--shadow-lg);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-label {
  font-family: 'Sora', sans-serif;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text3); margin-bottom: 14px;
}
.plan-label.accent { color: var(--blue); }
.price-big {
  font-family: 'Sora', sans-serif;
  font-size: 52px; font-weight: 800;
  color: var(--text); letter-spacing: -2px;
  line-height: 1;
}
.price-period { font-size: 16px; color: var(--text3); font-weight: 400; letter-spacing: 0; }
.price-desc { font-size: 15px; color: var(--text2); margin: 14px 0 24px; line-height: 1.6; }
.price-feats { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.price-feats li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text2); }
.price-feats li::before { content: "✓"; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* ── TEAM CARDS ── */
.team-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; }
.team-avatar { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg,var(--blue),var(--blue-dk)); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.team-name { font-family: 'Sora',sans-serif; font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--blue); font-weight: 600; margin-bottom: 12px; }
.team-bio { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ── BLOG CARDS ── */
.blog-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-img { height: 172px; display: flex; align-items: center; justify-content: center; font-size: 46px; }
.blog-body { padding: 24px; }
.blog-tag { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 10px; }
.blog-title { font-family: 'Sora',sans-serif; font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.35; }
.blog-excerpt { font-size: 14px; color: var(--text2); line-height: 1.65; margin-bottom: 14px; }
.blog-meta { font-size: 12px; color: var(--text3); }

/* ── DOC SIDEBAR ── */
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
.doc-sidebar { position: sticky; top: 84px; }
.doc-nav-section { font-size: 11px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; padding: 14px 12px 6px; }
.doc-nav a {
  display: block; font-size: 14px; color: var(--text2);
  text-decoration: none; padding: 8px 12px;
  border-radius: 8px; margin-bottom: 2px;
  border-left: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.doc-nav a:hover { background: var(--blue-lt); color: var(--blue); border-left-color: var(--blue); }
.doc-content h3 { font-family:'Sora',sans-serif; font-size:20px; font-weight:700; color:var(--text); margin: 36px 0 12px; }
.doc-content h3:first-child { margin-top: 0; }
.doc-content p { color:var(--text2); line-height:1.8; margin-bottom:16px; }
.code-block {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--text);
  overflow-x: auto;
  margin: 16px 0;
  line-height: 1.75;
}

/* ── LEGAL ── */
.legal-wrap { max-width: 780px; margin: 0 auto; }
.legal-wrap h3 { font-family:'Sora',sans-serif; font-size:19px; font-weight:700; color:var(--text); margin: 36px 0 12px; }
.legal-wrap h3:first-child { margin-top: 0; }
.legal-wrap p  { color:var(--text2); line-height:1.85; margin-bottom:14px; font-size:15px; }
.legal-wrap ul { padding-left: 22px; margin-bottom: 16px; }
.legal-wrap ul li { color:var(--text2); line-height:1.8; margin-bottom:8px; font-size:15px; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); cursor: pointer; }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-family:'Sora',sans-serif; font-size:17px; font-weight:600; color:var(--text); gap: 16px; }
.faq-arrow { color: var(--blue); font-size: 18px; flex-shrink: 0; transition: transform 0.25s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding-bottom: 20px; font-size:15px; color:var(--text2); line-height:1.8; }
.faq-item.open .faq-a { display: block; }

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center;
  font-family: 'Sora',sans-serif;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-blue { background: linear-gradient(135deg,var(--blue),var(--blue-dk)); color: #fff; }
.badge-lt   { background: var(--blue-lt); color: var(--blue); border: 1px solid var(--border); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-sidebar { position: static; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section-pad { padding: 64px 0; }
  .container { padding: 0 20px; }
  .blue-banner { padding: 40px 28px; }
  .waitlist-row { flex-direction: column; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: 90px 20px 60px; }
}
