/*
Theme Name: StarNama Premium
Theme URI: https://starnama.com/
Author: StarNama
Description: Lightweight modern WordPress theme for StarNama
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: starnama-premium
*/

:root{
  --sn-bg:#07111f;
  --sn-bg-2:#0b1b2f;
  --sn-card:#132235;
  --sn-card-2:#101d2e;
  --sn-text:#ffffff;
  --sn-muted:#aebed0;
  --sn-line:rgba(255,255,255,.10);
  --sn-blue:#2aabee;
  --sn-green:#10a37f;
  --sn-cyan:#06b6d4;
  --sn-purple:#6366f1;
  --sn-shadow:0 22px 55px rgba(0,0,0,.28);
  --sn-radius:26px;
}

body.sn-light{
  --sn-bg:#f6f9fc;
  --sn-bg-2:#edf4fb;
  --sn-card:#ffffff;
  --sn-card-2:#f7fbff;
  --sn-text:#0b1625;
  --sn-muted:#526173;
  --sn-line:rgba(15,23,42,.12);
  --sn-shadow:0 20px 45px rgba(15,23,42,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:radial-gradient(circle at top left, rgba(42,171,238,.18), transparent 34%), linear-gradient(135deg,var(--sn-bg),var(--sn-bg-2));
  color:var(--sn-text);
  line-height:1.65;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.sn-container{width:min(1180px, calc(100% - 32px));margin:0 auto}

/* Header */
.sn-header{
  position:sticky;top:0;z-index:1000;
  background:rgba(7,17,31,.72);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--sn-line);
}
body.sn-light .sn-header{background:rgba(246,249,252,.78)}
.sn-nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.sn-brand{display:flex;align-items:center;gap:13px;font-weight:900;letter-spacing:-.5px;font-size:23px}
.sn-logo-mark{width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,var(--sn-blue),#22c55e);display:grid;place-items:center;box-shadow:0 12px 28px rgba(42,171,238,.28)}
.sn-logo-mark svg{width:27px;height:27px}
.sn-menu{display:flex;align-items:center;gap:8px;list-style:none;margin:0;padding:0}
.sn-menu a{display:inline-flex;padding:10px 14px;border-radius:999px;color:var(--sn-muted);font-weight:750;font-size:14.5px;transition:.22s ease}
.sn-menu a:hover{color:var(--sn-text);background:rgba(255,255,255,.08)}
body.sn-light .sn-menu a:hover{background:rgba(42,171,238,.09)}
.sn-actions{display:flex;align-items:center;gap:10px}
.sn-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border-radius:999px;font-weight:850;border:1px solid var(--sn-line);transition:.22s ease;cursor:pointer}
.sn-btn-primary{background:linear-gradient(135deg,var(--sn-blue),var(--sn-green));color:#fff;box-shadow:0 12px 28px rgba(42,171,238,.22)}
.sn-btn-primary:hover{transform:translateY(-2px);box-shadow:0 18px 35px rgba(42,171,238,.30)}
.sn-theme-toggle,.sn-mobile-toggle{width:44px;height:44px;border-radius:15px;border:1px solid var(--sn-line);background:rgba(255,255,255,.06);color:var(--sn-text);cursor:pointer;font-size:18px}
.sn-mobile-toggle{display:none}

/* Hero */
.sn-hero{padding:76px 0 54px;position:relative;overflow:hidden}
.sn-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center}
.sn-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border-radius:999px;background:rgba(42,171,238,.12);border:1px solid rgba(42,171,238,.25);color:#8bd7ff;font-weight:850;font-size:13px}
body.sn-light .sn-kicker{color:#0874a9}
.sn-hero h1{font-size:clamp(38px,5vw,68px);line-height:1.02;margin:18px 0 18px;letter-spacing:-2px}
.sn-gradient-text{background:linear-gradient(135deg,#ffffff,#7dd3fc,#34d399);-webkit-background-clip:text;background-clip:text;color:transparent}
body.sn-light .sn-gradient-text{background:linear-gradient(135deg,#0f172a,#0284c7,#059669);-webkit-background-clip:text;background-clip:text;color:transparent}
.sn-hero p{font-size:18px;color:var(--sn-muted);max-width:690px;margin:0 0 26px}
.sn-hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.sn-btn-soft{background:rgba(255,255,255,.07);color:var(--sn-text)}
.sn-btn-soft:hover{background:rgba(255,255,255,.12);transform:translateY(-2px)}
body.sn-light .sn-btn-soft{background:#fff}
.sn-hero-panel{border:1px solid var(--sn-line);border-radius:32px;background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.045));box-shadow:var(--sn-shadow);padding:24px;position:relative}
.sn-status-card{border-radius:24px;background:var(--sn-card);padding:20px;border:1px solid var(--sn-line)}
.sn-status-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid var(--sn-line)}
.sn-status-row:last-child{border-bottom:0}
.sn-dot{width:12px;height:12px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 7px rgba(34,197,94,.13)}
.sn-status-label{color:var(--sn-muted);font-size:14px}.sn-status-value{font-weight:900}

/* Cards */
.sn-section{padding:44px 0}.sn-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.sn-section-head h2{font-size:clamp(27px,3vw,42px);line-height:1.1;margin:0;letter-spacing:-1px}.sn-section-head p{margin:8px 0 0;color:var(--sn-muted);max-width:680px}
.sn-tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.sn-tool-card{display:flex;gap:19px;align-items:flex-start;padding:26px;min-height:246px;border-radius:var(--sn-radius);background:rgba(255,255,255,.055);border:1px solid var(--sn-line);box-shadow:var(--sn-shadow);transition:.28s ease}.sn-tool-card:hover{transform:translateY(-7px);border-color:rgba(42,171,238,.48);background:rgba(255,255,255,.08)}body.sn-light .sn-tool-card{background:#fff}.sn-tool-icon{flex:0 0 68px;width:68px;height:68px;border-radius:22px;display:grid;place-items:center;box-shadow:0 13px 30px rgba(0,0,0,.24)}.sn-tool-icon svg{width:39px;height:39px;display:block}.sn-telegram{background:#2AABEE}.sn-openai{background:#10A37F}.sn-api{background:linear-gradient(135deg,#6366F1,#06B6D4)}.sn-tool-content h3{margin:2px 0 9px;font-size:22px;line-height:1.25;letter-spacing:-.4px}.sn-tool-content p{margin:0 0 20px;color:var(--sn-muted);font-size:15px}.sn-tool-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 19px;border-radius:999px;background:#fff;color:#07111f;font-size:14.5px;font-weight:900;box-shadow:0 8px 20px rgba(255,255,255,.08);transition:.22s ease}.sn-tool-btn:hover{background:var(--sn-blue);color:#fff;transform:translateY(-2px)}body.sn-light .sn-tool-btn{background:#0b1625;color:#fff}.sn-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.sn-feature{padding:22px;border-radius:22px;background:rgba(255,255,255,.055);border:1px solid var(--sn-line)}body.sn-light .sn-feature{background:#fff}.sn-feature strong{display:block;font-size:17px;margin-bottom:6px}.sn-feature span{color:var(--sn-muted);font-size:14px}

/* Content */
.sn-main{padding:42px 0}.sn-content-card{background:rgba(255,255,255,.06);border:1px solid var(--sn-line);border-radius:26px;padding:30px;box-shadow:var(--sn-shadow)}body.sn-light .sn-content-card{background:#fff}.sn-content-card h1,.sn-content-card h2,.sn-content-card h3{letter-spacing:-.5px}.sn-content-card p{color:var(--sn-muted)}

/* Footer */
.sn-footer{margin-top:58px;background:linear-gradient(180deg,rgba(7,17,31,.68),#050b14);border-top:1px solid var(--sn-line);position:relative;overflow:hidden}.sn-footer:before{content:"";position:absolute;inset:-80px auto auto 10%;width:420px;height:420px;background:radial-gradient(circle,rgba(42,171,238,.20),transparent 65%);pointer-events:none}.sn-footer-top{position:relative;padding:48px 0 26px}.sn-footer-brand{display:grid;grid-template-columns:1.2fr .8fr .8fr .8fr;gap:30px}.sn-footer h3,.sn-footer h4{margin:0 0 12px}.sn-footer p,.sn-footer a{color:#aebed0}.sn-footer a:hover{color:#fff}.sn-footer-links{display:grid;gap:9px}.sn-footer-bottom{position:relative;border-top:1px solid rgba(255,255,255,.08);padding:18px 0;color:#94a3b8;font-size:14px}.sn-footer-bottom-inner{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.sn-mini-social{display:flex;gap:10px;margin-top:16px}.sn-mini-social a{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.09)}.sn-mini-social svg{width:22px;height:22px}

@media(max-width:1050px){.sn-hero-grid,.sn-tools-grid{grid-template-columns:1fr}.sn-feature-grid{grid-template-columns:repeat(2,1fr)}.sn-footer-brand{grid-template-columns:1fr 1fr}.sn-menu{display:none}.sn-mobile-toggle{display:inline-grid;place-items:center}.sn-header.sn-open .sn-menu{display:flex;position:absolute;left:16px;right:16px;top:84px;flex-direction:column;align-items:stretch;padding:16px;border-radius:22px;background:var(--sn-card);border:1px solid var(--sn-line);box-shadow:var(--sn-shadow)}.sn-header.sn-open .sn-menu a{width:100%}}
@media(max-width:560px){.sn-nav{height:70px}.sn-brand span{font-size:19px}.sn-actions .sn-btn-primary{display:none}.sn-hero{padding:50px 0 34px}.sn-hero-actions{flex-direction:column}.sn-btn{width:100%}.sn-tool-card{flex-direction:column;min-height:auto}.sn-feature-grid,.sn-footer-brand{grid-template-columns:1fr}.sn-section-head{display:block}.sn-content-card{padding:22px}}

/* =========================================================
   StarNama Front Page Premium Additions
   Added for the professional front-page.php layout
   ========================================================= */

.sn-front-page{
  overflow:hidden;
}

.sn-hero-copy{
  position:relative;
  z-index:2;
}

.sn-hero-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:26px;
  max-width:760px;
}

.sn-hero-stats div{
  padding:15px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.055);
  border:1px solid var(--sn-line);
  box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.sn-hero-stats strong{
  display:block;
  color:var(--sn-text);
  font-size:18px;
  line-height:1.2;
  font-weight:900;
}

.sn-hero-stats span{
  display:block;
  color:var(--sn-muted);
  font-size:13px;
  margin-top:4px;
}

body.sn-light .sn-hero-stats div{
  background:#fff;
}

.sn-checker-shortcode{
  margin-top:18px;
}

.sn-checker-shortcode form,
.sn-checker-shortcode .site-status-checker,
.sn-checker-shortcode .wpssc-wrap,
.sn-checker-shortcode .wpssc-search-box,
.sn-checker-shortcode .wpssc-form{
  width:100%;
}

.sn-checker-shortcode input[type="text"],
.sn-checker-shortcode input[type="url"],
.sn-checker-shortcode input[type="search"],
.sn-checker-shortcode input[type="email"]{
  width:100%;
  min-height:46px;
  border-radius:14px;
  border:1px solid var(--sn-line);
  background:rgba(255,255,255,.95);
  color:#07111f;
  padding:0 14px;
  outline:none;
}

.sn-checker-shortcode button,
.sn-checker-shortcode input[type="submit"]{
  min-height:46px;
  border:0;
  border-radius:14px;
  padding:0 18px;
  background:linear-gradient(135deg,var(--sn-blue),var(--sn-green));
  color:#fff;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 12px 26px rgba(42,171,238,.24);
}

.sn-status-card h2{
  margin:0 0 10px;
  font-size:24px;
  letter-spacing:-.6px;
}

.sn-status-card p{
  color:var(--sn-muted);
  margin:0 0 18px;
}

/* API / Documentation blocks */
.sn-api-docs{
  scroll-margin-top:95px;
}

.sn-api-hero-card{
  margin-bottom:24px;
  background:
    radial-gradient(circle at top left, rgba(42,171,238,.16), transparent 36%),
    radial-gradient(circle at bottom right, rgba(16,163,127,.12), transparent 36%),
    rgba(255,255,255,.06);
}

.sn-docs-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
  margin-bottom:24px;
}

.sn-api-docs .sn-content-card{
  margin-bottom:24px;
}

.sn-api-docs h2,
.sn-faq-block h2,
.sn-docs-cta h2{
  font-size:clamp(26px,3vw,42px);
  line-height:1.15;
  margin:14px 0 14px;
  letter-spacing:-1px;
}

.sn-api-docs h3,
.sn-faq-block h3{
  font-size:21px;
  line-height:1.3;
  margin:26px 0 8px;
}

.sn-api-docs ul,
.sn-faq-block ul{
  margin:16px 0 0;
  padding-left:22px;
  color:var(--sn-muted);
}

.sn-api-docs li,
.sn-faq-block li{
  margin:8px 0;
}

.sn-api-docs pre{
  width:100%;
  overflow:auto;
  padding:20px;
  border-radius:18px;
  background:#050b14;
  color:#d7eefc;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03);
  line-height:1.65;
  white-space:pre;
}

.sn-api-docs code{
  font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;
  font-size:14px;
}

.sn-api-docs p code,
.sn-api-docs li code,
.sn-api-docs td code{
  background:rgba(42,171,238,.12);
  border:1px solid rgba(42,171,238,.18);
  color:#7dd3fc;
  padding:3px 7px;
  border-radius:8px;
}

.sn-table-wrap{
  overflow:auto;
  border-radius:20px;
  border:1px solid var(--sn-line);
  margin-top:18px;
}

.sn-table-wrap table{
  width:100%;
  border-collapse:collapse;
  min-width:650px;
  background:rgba(255,255,255,.035);
}

.sn-table-wrap th,
.sn-table-wrap td{
  padding:15px 16px;
  text-align:left;
  border-bottom:1px solid var(--sn-line);
  vertical-align:top;
}

.sn-table-wrap th{
  color:var(--sn-text);
  background:rgba(255,255,255,.06);
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.sn-table-wrap td{
  color:var(--sn-muted);
}

.sn-table-wrap tr:last-child td{
  border-bottom:0;
}

.sn-feature[href]{
  display:block;
  transition:.25s ease;
}

.sn-feature[href]:hover{
  transform:translateY(-4px);
  border-color:rgba(42,171,238,.42);
  background:rgba(255,255,255,.08);
}

.sn-docs-cta{
  text-align:center;
  padding:46px 30px;
  background:
    radial-gradient(circle at top left, rgba(42,171,238,.22), transparent 36%),
    radial-gradient(circle at bottom right, rgba(16,163,127,.18), transparent 36%),
    rgba(255,255,255,.06);
}

.sn-docs-cta p{
  max-width:780px;
  margin-left:auto;
  margin-right:auto;
}

.sn-docs-cta .sn-hero-actions{
  justify-content:center;
}

body.sn-light .sn-api-hero-card,
body.sn-light .sn-docs-cta{
  background:#fff;
}

body.sn-light .sn-api-docs pre{
  background:#07111f;
  color:#d7eefc;
}

body.sn-light .sn-table-wrap table{
  background:#fff;
}

body.sn-light .sn-table-wrap th{
  background:#f3f8fd;
}

body.sn-light .sn-feature[href]:hover{
  background:#f8fbff;
}

/* Accessibility / polish */
.sn-btn:focus-visible,
.sn-tool-btn:focus-visible,
.sn-menu a:focus-visible,
.sn-theme-toggle:focus-visible,
.sn-mobile-toggle:focus-visible{
  outline:3px solid rgba(42,171,238,.45);
  outline-offset:3px;
}

::selection{
  background:rgba(42,171,238,.35);
  color:#fff;
}

@media(max-width:900px){
  .sn-docs-grid{
    grid-template-columns:1fr;
  }

  .sn-hero-stats{
    grid-template-columns:1fr;
  }
}

@media(max-width:560px){
  .sn-hero h1{
    letter-spacing:-1.2px;
  }

  .sn-api-docs pre{
    padding:16px;
    font-size:13px;
  }

  .sn-api-docs code{
    font-size:13px;
  }

  .sn-table-wrap table{
    min-width:560px;
  }

  .sn-docs-cta{
    padding:30px 20px;
  }
}
.sn-premium-footer{
  margin-top:70px;
  padding:0;
  background:
    radial-gradient(circle at 15% 0%, rgba(42,171,238,.22), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(16,163,127,.16), transparent 30%),
    linear-gradient(180deg, rgba(7,17,31,.92), #050b14);
  border-top:1px solid var(--sn-line);
}

.sn-footer-cta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:28px;
  padding:38px;
  margin:54px 0 34px;
  border-radius:30px;
  background:linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:var(--sn-shadow);
}

.sn-footer-cta h2{
  margin:14px 0 10px;
  font-size:clamp(28px,3vw,44px);
  line-height:1.12;
  letter-spacing:-1.2px;
}

.sn-footer-cta p{
  margin:0;
  max-width:760px;
  color:var(--sn-muted);
}

.sn-footer-cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.sn-footer-grid{
  display:grid;
  grid-template-columns:1.4fr repeat(4, .8fr);
  gap:28px;
  padding:18px 0 36px;
}

.sn-footer-about{
  padding-right:18px;
}

.sn-footer-logo{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px;
}

.sn-footer-logo strong{
  font-size:24px;
  letter-spacing:-.7px;
}

.sn-footer-about p{
  margin:0;
  color:var(--sn-muted);
  max-width:380px;
}

.sn-footer-social{
  display:flex;
  gap:10px;
  margin-top:18px;
}

.sn-footer-social a{
  width:44px;
  height:44px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  transition:.22s ease;
}

.sn-footer-social a:hover{
  transform:translateY(-3px);
  background:rgba(42,171,238,.18);
  border-color:rgba(42,171,238,.38);
}

.sn-footer-social svg{
  width:23px;
  height:23px;
  display:block;
}

.sn-footer-col h4{
  margin:0 0 14px;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#fff;
}

.sn-footer-col{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.sn-footer-col a{
  color:#aebed0;
  font-size:14.5px;
  transition:.2s ease;
}

.sn-footer-col a:hover{
  color:#fff;
  transform:translateX(3px);
}

.sn-premium-footer .sn-footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  padding:20px 0;
  border-top:1px solid rgba(255,255,255,.09);
  color:#94a3b8;
  font-size:14px;
}

body.sn-light .sn-premium-footer{
  background:
    radial-gradient(circle at 15% 0%, rgba(42,171,238,.16), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(16,163,127,.10), transparent 30%),
    linear-gradient(180deg, #eef6fd, #ffffff);
}

body.sn-light .sn-footer-cta{
  background:#fff;
}

body.sn-light .sn-footer-col h4{
  color:#0b1625;
}

body.sn-light .sn-footer-col a,
body.sn-light .sn-footer-about p{
  color:#526173;
}

body.sn-light .sn-footer-col a:hover{
  color:#0284c7;
}

@media(max-width:1050px){
  .sn-footer-cta{
    flex-direction:column;
    align-items:flex-start;
  }

  .sn-footer-cta-actions{
    justify-content:flex-start;
  }

  .sn-footer-grid{
    grid-template-columns:1fr 1fr;
  }

  .sn-footer-about{
    grid-column:1 / -1;
  }
}

@media(max-width:560px){
  .sn-footer-cta{
    padding:26px;
    margin-top:38px;
  }

  .sn-footer-cta-actions,
  .sn-footer-cta-actions .sn-btn{
    width:100%;
  }

  .sn-footer-grid{
    grid-template-columns:1fr;
  }

  .sn-premium-footer .sn-footer-bottom{
    align-items:flex-start;
  }
}

/* =========================================================
   StarNama Plugin Pages Theme Compatibility Layer
   Add this at the END of main theme CSS
   ========================================================= */

/* API Dashboard / Pricing / Login */
.starnama-api-wrap,
.sn-profile-wrap{
  color:var(--sn-text) !important;
}

.starnama-api-shell,
.sn-profile-shell{
  background:rgba(255,255,255,.055) !important;
  border:1px solid var(--sn-line) !important;
  box-shadow:var(--sn-shadow) !important;
}

.starnama-api-hero,
.sn-profile-hero{
  background:
    radial-gradient(circle at top left, rgba(42,171,238,.24), transparent 36%),
    radial-gradient(circle at bottom right, rgba(16,163,127,.16), transparent 34%),
    linear-gradient(135deg,var(--sn-bg),var(--sn-bg-2)) !important;
}

.starnama-api-body,
.sn-profile-body{
  background:transparent !important;
}

.starnama-card,
.starnama-stat,
.starnama-plan,
.starnama-login-card,
.sn-profile-card,
.sn-profile-login,
.sn-profile-shortcut{
  background:var(--sn-card) !important;
  color:var(--sn-text) !important;
  border:1px solid var(--sn-line) !important;
  box-shadow:var(--sn-shadow) !important;
}

.starnama-card h2,
.starnama-card h3,
.starnama-stat strong,
.starnama-plan h3,
.starnama-price,
.starnama-login-card h2,
.sn-profile-card h2,
.sn-profile-card h3,
.sn-profile-login h2,
.sn-profile-shortcut strong{
  color:var(--sn-text) !important;
}

.starnama-card p,
.starnama-stat small,
.starnama-stat em,
.starnama-plan li,
.starnama-muted,
.sn-profile-card p,
.sn-profile-login p,
.sn-profile-shortcut span{
  color:var(--sn-muted) !important;
}

.starnama-btn,
.sn-profile-btn{
  border-radius:999px !important;
  font-weight:850 !important;
}

.starnama-btn-primary,
.sn-profile-btn-primary{
  background:linear-gradient(135deg,var(--sn-blue),var(--sn-green)) !important;
  color:#fff !important;
}

.starnama-btn-blue{
  background:linear-gradient(135deg,var(--sn-blue),var(--sn-cyan)) !important;
}

.starnama-btn-light,
.sn-profile-btn-light,
.starnama-google{
  background:rgba(255,255,255,.07) !important;
  color:var(--sn-text) !important;
  border:1px solid var(--sn-line) !important;
}

.starnama-api-key-box,
.starnama-code,
.sn-profile-note{
  background:#050b14 !important;
  border:1px solid rgba(255,255,255,.10) !important;
  color:#d7eefc !important;
}

.starnama-api-key-box textarea,
.sn-profile-form input,
.sn-profile-readonly input{
  background:rgba(255,255,255,.06) !important;
  color:var(--sn-text) !important;
  border:1px solid var(--sn-line) !important;
}

.sn-profile-form span,
.sn-profile-readonly span{
  color:var(--sn-muted) !important;
}

/* Light mode compatibility */
body.sn-light .starnama-api-shell,
body.sn-light .sn-profile-shell,
body.sn-light .starnama-card,
body.sn-light .starnama-stat,
body.sn-light .starnama-plan,
body.sn-light .starnama-login-card,
body.sn-light .sn-profile-card,
body.sn-light .sn-profile-login,
body.sn-light .sn-profile-shortcut{
  background:#fff !important;
  color:var(--sn-text) !important;
}

body.sn-light .starnama-api-body,
body.sn-light .sn-profile-body{
  background:#f6f9fc !important;
}

body.sn-light .starnama-btn-light,
body.sn-light .sn-profile-btn-light,
body.sn-light .starnama-google{
  background:#fff !important;
  color:#0b1625 !important;
}

body.sn-light .starnama-api-key-box,
body.sn-light .starnama-code,
body.sn-light .sn-profile-note{
  background:#07111f !important;
  color:#d7eefc !important;
}

body.sn-light .starnama-api-key-box textarea,
body.sn-light .sn-profile-form input,
body.sn-light .sn-profile-readonly input{
  background:#f7fbff !important;
  color:#0b1625 !important;
}
/* =========================================================
   StarNama Plugin Pages - DARK MODE FINAL FIX
   Put this AFTER the previous compatibility CSS
   ========================================================= */

body:not(.sn-light) .starnama-api-wrap,
body:not(.sn-light) .sn-profile-wrap{
  color:#ffffff !important;
}

body:not(.sn-light) .starnama-api-shell,
body:not(.sn-light) .sn-profile-shell{
  background:linear-gradient(135deg,#07111f,#0b1b2f) !important;
  border:1px solid rgba(255,255,255,.10) !important;
}

body:not(.sn-light) .starnama-api-body,
body:not(.sn-light) .sn-profile-body{
  background:rgba(7,17,31,.96) !important;
}

body:not(.sn-light) .starnama-card,
body:not(.sn-light) .starnama-stat,
body:not(.sn-light) .starnama-plan,
body:not(.sn-light) .starnama-login-card,
body:not(.sn-light) .sn-profile-card,
body:not(.sn-light) .sn-profile-login,
body:not(.sn-light) .sn-profile-shortcut{
  background:#132235 !important;
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,.10) !important;
}

body:not(.sn-light) .starnama-card h1,
body:not(.sn-light) .starnama-card h2,
body:not(.sn-light) .starnama-card h3,
body:not(.sn-light) .starnama-stat strong,
body:not(.sn-light) .starnama-plan h3,
body:not(.sn-light) .starnama-price,
body:not(.sn-light) .starnama-login-card h2,
body:not(.sn-light) .sn-profile-card h1,
body:not(.sn-light) .sn-profile-card h2,
body:not(.sn-light) .sn-profile-card h3,
body:not(.sn-light) .sn-profile-login h2,
body:not(.sn-light) .sn-profile-shortcut strong{
  color:#ffffff !important;
}

body:not(.sn-light) .starnama-card p,
body:not(.sn-light) .starnama-stat small,
body:not(.sn-light) .starnama-stat em,
body:not(.sn-light) .starnama-plan li,
body:not(.sn-light) .starnama-muted,
body:not(.sn-light) .sn-profile-card p,
body:not(.sn-light) .sn-profile-login p,
body:not(.sn-light) .sn-profile-shortcut span,
body:not(.sn-light) .sn-profile-readonly small{
  color:#aebed0 !important;
}

body:not(.sn-light) .starnama-plan ul,
body:not(.sn-light) .starnama-plan li{
  color:#aebed0 !important;
}

body:not(.sn-light) .starnama-progress{
  background:rgba(255,255,255,.12) !important;
}

body:not(.sn-light) .starnama-api-key-box,
body:not(.sn-light) .starnama-code,
body:not(.sn-light) .sn-profile-note{
  background:#050b14 !important;
  color:#d7eefc !important;
  border:1px solid rgba(255,255,255,.12) !important;
}

body:not(.sn-light) .starnama-api-key-box textarea,
body:not(.sn-light) .sn-profile-form input,
body:not(.sn-light) .sn-profile-readonly input{
  background:#0b1625 !important;
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,.14) !important;
}

body:not(.sn-light) .sn-profile-form input::placeholder,
body:not(.sn-light) .starnama-api-key-box textarea::placeholder{
  color:#94a3b8 !important;
}

body:not(.sn-light) .sn-profile-form span,
body:not(.sn-light) .sn-profile-readonly span{
  color:#8bd7ff !important;
}

body:not(.sn-light) .starnama-btn-light,
body:not(.sn-light) .sn-profile-btn-light,
body:not(.sn-light) .starnama-google{
  background:rgba(255,255,255,.07) !important;
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,.12) !important;
}

body:not(.sn-light) .starnama-google:hover,
body:not(.sn-light) .starnama-btn-light:hover,
body:not(.sn-light) .sn-profile-btn-light:hover{
  background:rgba(255,255,255,.12) !important;
  color:#ffffff !important;
}

body:not(.sn-light) .sn-profile-shortcut:hover{
  background:#101d2e !important;
  border-color:rgba(42,171,238,.45) !important;
}

body:not(.sn-light) .starnama-alert.starnama-success,
body:not(.sn-light) .starnama-success,
body:not(.sn-light) .sn-profile-success{
  background:rgba(34,197,94,.12) !important;
  color:#bbf7d0 !important;
  border-color:rgba(34,197,94,.35) !important;
}

body:not(.sn-light) .starnama-alert.starnama-danger,
body:not(.sn-light) .starnama-danger,
body:not(.sn-light) .sn-profile-danger{
  background:rgba(239,68,68,.12) !important;
  color:#fecaca !important;
  border-color:rgba(239,68,68,.35) !important;
}
/* =========================================================
   StarNama API / Plugin Pages - DARK TEXT VISIBILITY FIX
   MUST BE THE LAST CSS BLOCK
   ========================================================= */

body:not(.sn-light) .starnama-api-wrap *,
body:not(.sn-light) .sn-profile-wrap *{
  border-color:rgba(255,255,255,.10);
}

body:not(.sn-light) .starnama-api-wrap,
body:not(.sn-light) .starnama-api-wrap h1,
body:not(.sn-light) .starnama-api-wrap h2,
body:not(.sn-light) .starnama-api-wrap h3,
body:not(.sn-light) .starnama-api-wrap h4,
body:not(.sn-light) .starnama-api-wrap h5,
body:not(.sn-light) .starnama-api-wrap h6,
body:not(.sn-light) .starnama-api-wrap strong,
body:not(.sn-light) .starnama-api-wrap b,
body:not(.sn-light) .starnama-api-wrap label,
body:not(.sn-light) .starnama-api-wrap th,
body:not(.sn-light) .sn-profile-wrap,
body:not(.sn-light) .sn-profile-wrap h1,
body:not(.sn-light) .sn-profile-wrap h2,
body:not(.sn-light) .sn-profile-wrap h3,
body:not(.sn-light) .sn-profile-wrap h4,
body:not(.sn-light) .sn-profile-wrap h5,
body:not(.sn-light) .sn-profile-wrap h6,
body:not(.sn-light) .sn-profile-wrap strong,
body:not(.sn-light) .sn-profile-wrap b,
body:not(.sn-light) .sn-profile-wrap label,
body:not(.sn-light) .sn-profile-wrap th{
  color:#ffffff !important;
}

body:not(.sn-light) .starnama-api-wrap p,
body:not(.sn-light) .starnama-api-wrap span,
body:not(.sn-light) .starnama-api-wrap small,
body:not(.sn-light) .starnama-api-wrap em,
body:not(.sn-light) .starnama-api-wrap li,
body:not(.sn-light) .starnama-api-wrap td,
body:not(.sn-light) .starnama-api-wrap a:not(.starnama-btn):not(.sn-btn),
body:not(.sn-light) .sn-profile-wrap p,
body:not(.sn-light) .sn-profile-wrap span,
body:not(.sn-light) .sn-profile-wrap small,
body:not(.sn-light) .sn-profile-wrap em,
body:not(.sn-light) .sn-profile-wrap li,
body:not(.sn-light) .sn-profile-wrap td,
body:not(.sn-light) .sn-profile-wrap a:not(.sn-profile-btn):not(.sn-btn){
  color:#b8c7d9 !important;
}

body:not(.sn-light) .starnama-api-wrap table,
body:not(.sn-light) .starnama-api-wrap thead,
body:not(.sn-light) .starnama-api-wrap tbody,
body:not(.sn-light) .starnama-api-wrap tr,
body:not(.sn-light) .starnama-api-wrap td,
body:not(.sn-light) .starnama-api-wrap th{
  background:transparent !important;
  color:#b8c7d9 !important;
  border-color:rgba(255,255,255,.08) !important;
}

body:not(.sn-light) .starnama-api-wrap th{
  color:#ffffff !important;
}

body:not(.sn-light) .starnama-api-wrap .starnama-plan,
body:not(.sn-light) .starnama-api-wrap .starnama-card,
body:not(.sn-light) .starnama-api-wrap .starnama-stat,
body:not(.sn-light) .sn-profile-wrap .sn-profile-card{
  background:#132235 !important;
}

body:not(.sn-light) .starnama-api-wrap .starnama-price,
body:not(.sn-light) .starnama-api-wrap .starnama-price *,
body:not(.sn-light) .starnama-api-wrap .starnama-plan h3,
body:not(.sn-light) .starnama-api-wrap .starnama-plan strong{
  color:#ffffff !important;
}

body:not(.sn-light) .starnama-api-wrap .starnama-plan li{
  color:#b8c7d9 !important;
}

body:not(.sn-light) .starnama-api-wrap .starnama-plan li:before{
  color:#22c55e !important;
}

body:not(.sn-light) .sn-footer-cta h1,
body:not(.sn-light) .sn-footer-cta h2,
body:not(.sn-light) .sn-footer-cta h3,
body:not(.sn-light) .sn-footer-cta strong{
  color:#ffffff !important;
}

body:not(.sn-light) .sn-footer-cta p,
body:not(.sn-light) .sn-footer-cta span{
  color:#b8c7d9 !important;
}

body:not(.sn-light) .sn-brand,
body:not(.sn-light) .sn-brand span,
body:not(.sn-light) .sn-brand strong{
  color:#ffffff !important;
}
/* =========================================================
   FINAL FIX: plugin H1, pricing table, theme toggle icon
   Put this as the very LAST CSS block
   ========================================================= */

/* Header theme toggle button */
.sn-theme-toggle{
  position:relative !important;
  display:inline-grid !important;
  place-items:center !important;
  color:#ffffff !important;
  background:rgba(255,255,255,.07) !important;
  border:1px solid rgba(255,255,255,.12) !important;
}



body.sn-light .sn-theme-toggle{
  color:#0b1625 !important;
  background:#ffffff !important;
  border-color:rgba(15,23,42,.12) !important;
}


/* Theme toggle final */
.sn-theme-toggle{
  font-size:0 !important;
  position:relative !important;
  display:inline-grid !important;
  place-items:center !important;
  width:44px !important;
  height:44px !important;
  border-radius:15px !important;
}

.sn-theme-toggle::after{
  content:"☾";
  font-size:18px !important;
  color:#ffffff !important;
  line-height:1;
}

body.sn-light .sn-theme-toggle::after{
  content:"☀";
  color:#0b1625 !important;
}

/* Plugin page H1 without class */
body:not(.sn-light) .starnama-api-wrap > h1,
body:not(.sn-light) .starnama-api-wrap h1:first-child,
body:not(.sn-light) main .starnama-api-wrap h1{
  color:#ffffff !important;
  opacity:1 !important;
  text-shadow:0 2px 18px rgba(0,0,0,.25);
}

body.sn-light .starnama-api-wrap > h1,
body.sn-light .starnama-api-wrap h1:first-child,
body.sn-light main .starnama-api-wrap h1{
  color:#0b1625 !important;
}

/* Pricing table below plans */
body:not(.sn-light) .starnama-api-plans-table,
body:not(.sn-light) table.starnama-api-plans-table{
  width:100% !important;
  margin-top:28px !important;
  background:#101d2e !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:22px !important;
  overflow:hidden !important;
  box-shadow:0 18px 42px rgba(0,0,0,.22) !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
}

body:not(.sn-light) .starnama-api-plans-table thead,
body:not(.sn-light) .starnama-api-plans-table tbody,
body:not(.sn-light) .starnama-api-plans-table tr{
  background:transparent !important;
}

body:not(.sn-light) .starnama-api-plans-table th{
  background:rgba(255,255,255,.07) !important;
  color:#ffffff !important;
  font-weight:900 !important;
  border-bottom:1px solid rgba(255,255,255,.10) !important;
  padding:16px 18px !important;
  text-align:left !important;
}

body:not(.sn-light) .starnama-api-plans-table td{
  background:transparent !important;
  color:#b8c7d9 !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
  padding:15px 18px !important;
}

body:not(.sn-light) .starnama-api-plans-table tr:last-child td{
  border-bottom:0 !important;
}

body:not(.sn-light) .starnama-api-plans-table td:first-child,
body:not(.sn-light) .starnama-api-plans-table td strong,
body:not(.sn-light) .starnama-api-plans-table td b{
  color:#ffffff !important;
  font-weight:850 !important;
}

/* Light mode table */
body.sn-light .starnama-api-plans-table,
body.sn-light table.starnama-api-plans-table{
  width:100% !important;
  margin-top:28px !important;
  background:#ffffff !important;
  border:1px solid rgba(15,23,42,.12) !important;
  border-radius:22px !important;
  overflow:hidden !important;
  box-shadow:0 18px 42px rgba(15,23,42,.08) !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
}

body.sn-light .starnama-api-plans-table th{
  background:#f3f8fd !important;
  color:#0b1625 !important;
  font-weight:900 !important;
  padding:16px 18px !important;
}

body.sn-light .starnama-api-plans-table td{
  background:#ffffff !important;
  color:#526173 !important;
  border-bottom:1px solid rgba(15,23,42,.08) !important;
  padding:15px 18px !important;
}

body.sn-light .starnama-api-plans-table td:first-child,
body.sn-light .starnama-api-plans-table td strong,
body.sn-light .starnama-api-plans-table td b{
  color:#0b1625 !important;
}

/* Mobile table scroll */
.starnama-api-plans-table{
  display:table;
}

@media(max-width:760px){
  .starnama-api-plans-table{
    display:block !important;
    overflow-x:auto !important;
    white-space:nowrap !important;
  }
}


/* Contact page form styling */
.sn-content-card form,
.page-template-default form,
.entry-content form{
  max-width:720px;
  margin-top:26px;
  padding:28px;
  border-radius:26px;
  background:rgba(255,255,255,.055);
  border:1px solid var(--sn-line);
  box-shadow:var(--sn-shadow);
}

.sn-content-card form label,
.page-template-default form label,
.entry-content form label{
  display:block;
  margin:18px 0 8px;
  color:var(--sn-text);
  font-weight:800;
  font-size:15px;
}

.sn-content-card input,
.sn-content-card textarea,
.page-template-default input,
.page-template-default textarea,
.entry-content input,
.entry-content textarea{
  width:100%;
  max-width:100%;
  border:1px solid rgba(255,255,255,.12);
  background:#0b1625;
  color:#ffffff;
  border-radius:16px;
  padding:14px 16px;
  font-size:15px;
  outline:none;
  transition:.22s ease;
}

.sn-content-card input:focus,
.sn-content-card textarea:focus,
.page-template-default input:focus,
.page-template-default textarea:focus,
.entry-content input:focus,
.entry-content textarea:focus{
  border-color:rgba(42,171,238,.65);
  box-shadow:0 0 0 4px rgba(42,171,238,.14);
}

.sn-content-card textarea,
.page-template-default textarea,
.entry-content textarea{
  min-height:180px;
  resize:vertical;
}

.sn-content-card input[type="submit"],
.page-template-default input[type="submit"],
.entry-content input[type="submit"],
.sn-content-card button[type="submit"],
.page-template-default button[type="submit"],
.entry-content button[type="submit"]{
  width:auto;
  margin-top:20px;
  border:0;
  cursor:pointer;
  border-radius:999px;
  padding:13px 24px;
  background:linear-gradient(135deg,var(--sn-blue),var(--sn-green));
  color:#fff;
  font-weight:900;
  box-shadow:0 12px 28px rgba(42,171,238,.25);
}

.sn-content-card input[type="submit"]:hover,
.page-template-default input[type="submit"]:hover,
.entry-content input[type="submit"]:hover,
.sn-content-card button[type="submit"]:hover,
.page-template-default button[type="submit"]:hover,
.entry-content button[type="submit"]:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(42,171,238,.34);
}

/* Light mode */
body.sn-light .sn-content-card form,
body.sn-light .page-template-default form,
body.sn-light .entry-content form{
  background:#ffffff;
}

body.sn-light .sn-content-card input,
body.sn-light .sn-content-card textarea,
body.sn-light .page-template-default input,
body.sn-light .page-template-default textarea,
body.sn-light .entry-content input,
body.sn-light .entry-content textarea{
  background:#f7fbff;
  color:#0b1625;
  border-color:rgba(15,23,42,.14);
}