:root {
  --sep-bg: #07111f;
  --sep-bg-soft: #0d1b2f;
  --sep-surface: rgba(255, 255, 255, 0.08);
  --sep-surface-strong: rgba(255, 255, 255, 0.12);
  --sep-card: #ffffff;
  --sep-text: #0e1726;
  --sep-muted: #64748b;
  --sep-white: #ffffff;
  --sep-line: rgba(148, 163, 184, 0.22);
  --sep-primary: #6d5dfc;
  --sep-primary-dark: #4f46e5;
  --sep-accent: #10b981;
  --sep-warning: #f59e0b;
  --sep-danger: #ef4444;
  --sep-radius-xl: 28px;
  --sep-radius-lg: 20px;
  --sep-radius-md: 14px;
  --sep-shadow: 0 24px 80px rgba(2, 6, 23, 0.18);
  --sep-container: 1180px;
  --sep-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.sep-exchange-theme {
  margin: 0;
  background: #f5f7fb;
  color: var(--sep-text);
  font-family: var(--sep-font);
  line-height: 1.65;
}
body.admin-bar .sep-site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.sep-container {
  width: min(var(--sep-container), calc(100% - 40px));
  margin-inline: auto;
}
.sep-skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 99999;
  background: var(--sep-primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
}
.sep-skip-link:focus { top: 16px; }

.sep-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.sep-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.sep-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 205px;
}
.sep-brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sep-primary), #14b8a6);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.25);
}
.sep-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.sep-brand-text strong { font-size: 16px; letter-spacing: -0.03em; }
.sep-brand-text small { color: var(--sep-muted); font-size: 12px; }
.custom-logo-link img { max-height: 52px; width: auto; display: block; }

.sep-primary-nav { margin-left: auto; }
.sep-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.sep-menu a {
  display: inline-flex;
  padding: 10px 13px;
  border-radius: 999px;
  color: #334155;
  font-weight: 700;
  font-size: 14px;
}
.sep-menu a:hover,
.sep-menu .current-menu-item > a {
  background: rgba(109, 93, 252, 0.11);
  color: var(--sep-primary-dark);
}
.sep-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sep-login-link {
  font-weight: 800;
  color: #334155;
  padding: 10px 6px;
}
.sep-header-cta,
.sep-theme-btn,
.sep-theme-auth-card .login-submit input,
.sep-theme-panel .sep-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sep-primary), var(--sep-primary-dark));
  color: #fff;
  min-height: 46px;
  padding: 12px 20px;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(79, 70, 229, 0.28);
  cursor: pointer;
}
.sep-theme-btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: none;
}
.sep-theme-link {
  color: var(--sep-primary-dark);
  font-weight: 900;
}
.sep-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(15,23,42,0.1);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  margin-left: auto;
}
.sep-menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #0f172a;
  border-radius: 999px;
}
.sep-menu-toggle em { position: absolute; opacity: 0; pointer-events: none; }

.sep-landing-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(109, 93, 252, 0.38), transparent 30%),
    radial-gradient(circle at 84% 20%, rgba(16, 185, 129, 0.28), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #0c1630 48%, #111827 100%);
  color: #fff;
  padding: 94px 0 76px;
}
.sep-landing-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% -10%;
  height: 280px;
  background: rgba(255,255,255,0.08);
  filter: blur(60px);
  transform: rotate(-4deg);
}
.sep-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}
.sep-theme-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(109, 93, 252, 0.12);
  color: #6757ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sep-landing-hero .sep-theme-eyebrow,
.sep-final-cta .sep-theme-eyebrow,
.sep-safety-section .sep-theme-eyebrow {
  background: rgba(255,255,255,0.12);
  color: #c7d2fe;
}
.sep-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  margin: 20px 0 22px;
  letter-spacing: -0.07em;
}
.sep-hero-copy p {
  max-width: 680px;
  color: rgba(226, 232, 240, 0.9);
  font-size: 18px;
  margin: 0 0 28px;
}
.sep-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.sep-trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.sep-trust-row span {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  color: rgba(226,232,240,0.92);
  background: rgba(255,255,255,0.06);
  font-size: 13px;
  font-weight: 800;
}
.sep-hero-card {
  position: relative;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
  box-shadow: 0 30px 100px rgba(0,0,0,0.36);
  border-radius: 34px;
  padding: 26px;
  backdrop-filter: blur(18px);
}
.sep-card-toolbar { display: flex; gap: 8px; margin-bottom: 20px; }
.sep-card-toolbar span { width: 11px; height: 11px; border-radius: 999px; background: rgba(255,255,255,0.5); }
.sep-balance-preview {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  display: grid;
  gap: 3px;
}
.sep-balance-preview small { color: rgba(226,232,240,0.8); font-weight: 800; }
.sep-balance-preview strong { font-size: 56px; line-height: 1; letter-spacing: -0.06em; }
.sep-balance-preview em { color: #86efac; font-style: normal; font-weight: 900; }
.sep-mini-task {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
}
.sep-mini-task span { color: #86efac; font-weight: 900; }
.sep-mini-task.is-hot { background: rgba(109,93,252,0.28); }
.sep-progress-shell {
  height: 9px;
  margin-top: 20px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
}
.sep-progress-shell i { display: block; height: 100%; background: linear-gradient(90deg, #86efac, #22d3ee); border-radius: inherit; }

.sep-feature-band {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.sep-feature-band article {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--sep-shadow);
}
.sep-feature-band strong { display: block; font-size: 32px; letter-spacing: -0.05em; }
.sep-feature-band span { color: var(--sep-muted); font-weight: 800; }

.sep-section { padding: 86px 0; }
.sep-section-heading { text-align: center; max-width: 770px; margin: 0 auto 34px; }
.sep-section-heading-inline { max-width: none; text-align: left; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.sep-section-heading h2,
.sep-final-cta h2,
.sep-safety-grid h2,
.sep-app-title h1,
.sep-page-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.sep-section-heading p,
.sep-safety-grid p,
.sep-final-cta p,
.sep-app-title p,
.sep-page-hero p { color: var(--sep-muted); margin: 0; }
.sep-steps-grid,
.sep-platform-grid,
.sep-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sep-step-card,
.sep-platform-card,
.sep-price-card,
.sep-theme-panel,
.sep-post-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(15,23,42,0.06);
}
.sep-step-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--sep-primary), #14b8a6);
  font-weight: 900;
}
.sep-step-card h3,
.sep-platform-card h3,
.sep-price-card h3 { margin: 18px 0 8px; font-size: 22px; letter-spacing: -0.03em; }
.sep-step-card p,
.sep-platform-card p,
.sep-price-card p { color: var(--sep-muted); margin: 0; }
.sep-platform-grid { grid-template-columns: repeat(3, 1fr); }
.sep-platform-card span {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 38px;
  border-radius: 12px;
  background: rgba(109, 93, 252, 0.1);
  color: var(--sep-primary-dark);
  font-weight: 900;
}
.sep-safety-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.22), transparent 30%),
    linear-gradient(135deg, #08111f, #111827);
  color: #fff;
  padding: 90px 0;
}
.sep-safety-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.sep-safety-grid p { color: rgba(226,232,240,0.78); }
.sep-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.sep-check-list li {
  position: relative;
  padding: 16px 18px 16px 50px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.08);
  font-weight: 800;
}
.sep-check-list li::before {
  content: "✓";
  position: absolute;
  left: 17px;
  top: 15px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--sep-accent);
  color: #fff;
}
.sep-price-card { position: relative; overflow: hidden; }
.sep-price-card h3 { font-size: 36px; }
.sep-price-card > span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(109,93,252,0.1);
  color: var(--sep-primary-dark);
  font-weight: 900;
  font-size: 12px;
}
.sep-price-card a { display: inline-flex; margin-top: 20px; color: var(--sep-primary-dark); font-weight: 900; }
.sep-price-card.is-featured {
  background: linear-gradient(135deg, #111827, #312e81);
  color: #fff;
  transform: translateY(-8px);
}
.sep-price-card.is-featured p { color: rgba(226,232,240,0.78); }
.sep-price-card.is-featured a { color: #a7f3d0; }
.sep-price-card.is-featured > span { background: rgba(255,255,255,0.12); color: #c7d2fe; }
.sep-final-cta {
  text-align: center;
  padding: 96px 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(109,93,252,0.34), transparent 35%),
    linear-gradient(135deg, #07111f, #111827);
  color: #fff;
}
.sep-final-cta p { color: rgba(226,232,240,0.78); max-width: 720px; margin: 0 auto 26px; }

.sep-page-hero {
  background: linear-gradient(135deg, #07111f, #111827);
  color: #fff;
  padding: 72px 0;
}
.sep-page-hero p { color: rgba(226,232,240,0.8); }
.sep-page-content,
.sep-post-list { padding: 54px 0 84px; }
.sep-page-content :where(h2,h3) { letter-spacing: -0.04em; }
.sep-single-content { max-width: 860px; }
.sep-app-shell { padding: 54px 0 86px; }
.sep-app-title { margin-bottom: 26px; }
.sep-login-shell { min-height: 70vh; display: grid; align-items: center; }
.sep-theme-auth-wrap { display: grid; place-items: center; }
.sep-theme-auth-card {
  width: min(100%, 520px);
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--sep-shadow);
}
.sep-theme-auth-card h1 { margin: 18px 0 10px; line-height: 1.05; letter-spacing: -0.05em; }
.sep-theme-auth-card p { color: var(--sep-muted); }
.sep-theme-auth-card label { display: block; font-weight: 800; color: #334155; margin-bottom: 7px; }
.sep-theme-auth-card input[type="text"],
.sep-theme-auth-card input[type="password"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 14px;
  padding: 10px 14px;
  background: #f8fafc;
}
.sep-theme-auth-card .login-remember label { display: flex; align-items: center; gap: 8px; }
.sep-theme-auth-card .login-submit input { width: 100%; }
.sep-theme-auth-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-weight: 800; color: var(--sep-primary-dark); }
.sep-post-list { display: grid; gap: 18px; }
.sep-post-card h2 { margin: 0 0 8px; }
.sep-post-card p { color: var(--sep-muted); }

/* Plugin compatibility styling */
.sep-wrap {
  --plugin-card: #ffffff;
  color: var(--sep-text);
}
.sep-wrap .sep-hero,
.sep-wrap .sep-panel,
.sep-wrap .sep-card,
.sep-wrap .sep-task-card {
  border-radius: 24px !important;
  border: 1px solid rgba(15,23,42,0.08) !important;
  box-shadow: 0 18px 50px rgba(15,23,42,0.07) !important;
}
.sep-wrap .sep-hero {
  background: linear-gradient(135deg, #111827, #312e81) !important;
  color: #fff !important;
}
.sep-wrap .sep-hero p { color: rgba(226,232,240,0.78) !important; }
.sep-wrap .sep-button,
.sep-wrap button.sep-button {
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--sep-primary), var(--sep-primary-dark)) !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 28px rgba(79,70,229,0.22) !important;
}
.sep-wrap .sep-button-light {
  background: rgba(109,93,252,0.1) !important;
  color: var(--sep-primary-dark) !important;
  box-shadow: none !important;
}
.sep-wrap .sep-kicker { color: #a5b4fc !important; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 900; }
.sep-wrap .sep-task-card h3,
.sep-wrap .sep-panel h3 { letter-spacing: -0.03em; }
.sep-wrap input,
.sep-wrap select,
.sep-wrap textarea {
  border-radius: 14px !important;
  border-color: rgba(15,23,42,0.12) !important;
}
.sep-wrap .sep-badge { border-radius: 999px !important; }
.sep-wrap .sep-table-wrap { border-radius: 16px; overflow: auto; }

.sep-site-footer {
  background: #07111f;
  color: #cbd5e1;
  padding: 56px 0 24px;
}
.sep-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 34px;
}
.sep-footer-brand { color: #fff; margin-bottom: 14px; }
.sep-site-footer p { margin: 12px 0 0; color: #94a3b8; }
.sep-site-footer h3 { margin: 0 0 14px; color: #fff; }
.sep-footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sep-footer-menu a { color: #cbd5e1; font-weight: 800; }
.sep-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 42px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: #94a3b8;
  font-size: 14px;
}

@media (max-width: 980px) {
  body.admin-bar .sep-site-header { top: 46px; }
  .sep-menu-toggle { display: block; }
  .sep-primary-nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: none;
    padding: 14px;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 22px;
    box-shadow: var(--sep-shadow);
  }
  .sep-primary-nav.is-open { display: block; }
  .sep-menu { display: grid; gap: 4px; }
  .sep-menu a { justify-content: center; }
  .sep-header-actions { display: none; }
  .sep-hero-grid,
  .sep-safety-grid,
  .sep-footer-grid { grid-template-columns: 1fr; }
  .sep-feature-band,
  .sep-steps-grid,
  .sep-platform-grid,
  .sep-pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .sep-section-heading-inline { align-items: start; flex-direction: column; }
}
@media (max-width: 640px) {
  .sep-container { width: min(100% - 28px, var(--sep-container)); }
  .sep-header-inner { min-height: 70px; }
  .sep-brand { min-width: auto; }
  .sep-brand-text small { display: none; }
  .sep-landing-hero { padding: 62px 0 58px; }
  .sep-hero-copy h1 { font-size: 42px; }
  .sep-hero-copy p { font-size: 16px; }
  .sep-feature-band,
  .sep-steps-grid,
  .sep-platform-grid,
  .sep-pricing-grid { grid-template-columns: 1fr; }
  .sep-section { padding: 58px 0; }
  .sep-safety-section,
  .sep-final-cta { padding: 62px 0; }
  .sep-price-card.is-featured { transform: none; }
  .sep-footer-bottom { display: grid; }
}
