/* ============================================================
   SmartPort — Public Website CSS
   ============================================================ */
:root{--pub-bg:#0f172a;--pub-bg-2:#1e293b;--pub-border:#1e3a5f;--pub-text:#e2e8f0;--pub-muted:#94a3b8;--pub-accent:#3b82f6;--pub-radius:8px;--pub-font:'Inter',-apple-system,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body.sp-public{margin:0;font-family:var(--pub-font);background:var(--pub-bg);color:var(--pub-text)}
.container{max-width:1200px;margin:0 auto;padding:0 2rem}
/* Navbar */
.sp-pub-nav{position:fixed;top:0;left:0;right:0;z-index:100;padding:1rem 0;border-bottom:1px solid transparent;transition:background .3s,border-color .3s}
.sp-pub-nav.scrolled{background:rgba(15,23,42,.95);backdrop-filter:blur(10px);border-color:var(--pub-border)}
.sp-pub-nav__inner{display:flex;align-items:center;gap:2rem}
.sp-pub-logo{display:flex;align-items:center;gap:.5rem;font-size:1.125rem;font-weight:800;color:var(--pub-text);text-decoration:none}
.sp-pub-logo__mark{font-size:1.5rem;color:var(--pub-accent)}
.sp-pub-nav__links{display:flex;list-style:none;gap:1.5rem;margin:0;padding:0;flex:1}
.sp-pub-nav__links a{color:#94a3b8;text-decoration:none;font-size:.9375rem;font-weight:500;transition:color .15s}
.sp-pub-nav__links a:hover{color:var(--pub-text)}
.sp-pub-nav__actions{display:flex;gap:.5rem;margin-left:auto}
.sp-pub-nav__hamburger{display:none;flex-direction:column;gap:4px;background:none;border:none;cursor:pointer;padding:.5rem}
.sp-pub-nav__hamburger span{display:block;width:22px;height:2px;background:var(--pub-text);border-radius:1px}
/* Buttons */
.sp-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.5625rem 1.25rem;border-radius:var(--pub-radius);font-size:.9375rem;font-weight:600;cursor:pointer;text-decoration:none;border:1.5px solid transparent;transition:all .15s;white-space:nowrap}
.sp-btn--primary{background:var(--pub-accent);color:#fff;border-color:var(--pub-accent)}
.sp-btn--primary:hover{background:#2563eb}
.sp-btn--outline{background:transparent;color:var(--pub-text);border-color:rgba(148,163,184,.4)}
.sp-btn--outline:hover{border-color:var(--pub-accent);color:var(--pub-accent)}
.sp-btn--outline-light{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.2)}
.sp-btn--outline-light:hover{background:rgba(255,255,255,.15)}
.sp-btn--lg{padding:.875rem 2rem;font-size:1.0625rem;border-radius:10px}
.sp-btn--full{width:100%;text-align:center;display:block}
/* Hero */
.sp-hero{position:relative;overflow:hidden;padding:8rem 0 5rem;background:linear-gradient(135deg,#0f172a 0%,#0d2347 50%,#0a1a3a 100%)}
.sp-hero--sm{padding:6rem 0 3rem}
.sp-hero__bg{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 80% 60% at 50% 0%,rgba(59,130,246,.12),transparent 70%)}
.sp-hero__inner{position:relative;z-index:1;text-align:center}
.sp-hero__badge{display:inline-block;padding:.375rem .875rem;background:rgba(59,130,246,.15);border:1px solid rgba(59,130,246,.3);border-radius:99px;font-size:.8125rem;font-weight:600;color:#93c5fd;letter-spacing:.04em;margin-bottom:1.25rem}
.sp-hero__headline{font-size:clamp(2.25rem,6vw,3.75rem);font-weight:800;line-height:1.1;margin:0 0 1.25rem;background:linear-gradient(135deg,#e2e8f0,#93c5fd);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.sp-hero__sub{font-size:1.125rem;color:#94a3b8;max-width:600px;margin:0 auto 2rem;line-height:1.65}
.sp-hero__actions{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}
.sp-hero__stats{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap;margin-top:3.5rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.08)}
.sp-hero__stat{text-align:center}
.sp-hero__stat-val{display:block;font-size:1.875rem;font-weight:800;color:var(--pub-text)}
.sp-hero__stat-label{display:block;font-size:.8125rem;color:#94a3b8}
/* Sections */
.sp-section{padding:5rem 0}
.sp-section--white{background:var(--pub-bg)}
.sp-section--dark{background:#08111f}
.sp-section--light{background:var(--pub-bg-2)}
.sp-section--cta{background:linear-gradient(135deg,#1e3a5f,#0f172a);text-align:center}
.sp-section--cta__inner{max-width:640px;margin:0 auto}
.sp-section--cta h2{font-size:2rem;font-weight:700;margin-bottom:.75rem}
.sp-section--cta p{color:#94a3b8;font-size:1.0625rem;margin-bottom:2rem}
.sp-section__header{text-align:center;max-width:640px;margin:0 auto 3rem}
.sp-section__header h2{font-size:2rem;font-weight:700;margin:0 0 .75rem}
.sp-section__header p{color:#94a3b8;font-size:1rem}
.sp-section__header--left{text-align:left;max-width:none;margin:0 0 2rem}
/* Modules grid */
.sp-modules-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.25rem}
.sp-module-card{background:var(--pub-bg-2);border:1px solid var(--pub-border);border-radius:10px;padding:1.5rem;transition:border-color .2s,transform .2s}
.sp-module-card:hover{border-color:rgba(59,130,246,.4);transform:translateY(-2px)}
.sp-module-card__icon{font-size:2rem;margin-bottom:.875rem}
.sp-module-card h3{font-size:1rem;font-weight:700;margin:0 0 .5rem}
.sp-module-card p{font-size:.875rem;color:#94a3b8;margin:0;line-height:1.6}
/* Split */
.sp-split{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.sp-split__text h2{font-size:1.75rem;font-weight:700;margin-bottom:1rem}
.sp-split__text p{color:#94a3b8;font-size:.9375rem;line-height:1.7;margin-bottom:1rem}
.sp-checklist{list-style:none;padding:0;margin:0 0 1.5rem;display:flex;flex-direction:column;gap:.5rem}
.sp-checklist li{display:flex;align-items:center;gap:.625rem;font-size:.9375rem;color:#cbd5e1}
.sp-checklist li::before{content:'✓';color:#22c55e;font-weight:700;flex-shrink:0}
/* Dashboard preview */
.sp-dashboard-preview{background:#0b1526;border:1px solid #1e3a5f;border-radius:12px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.sp-dp__header{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#0f172a;border-bottom:1px solid #1e3a5f}
.sp-dp__dot{width:10px;height:10px;border-radius:50%}
.sp-dp__dot--red{background:#ef4444}.sp-dp__dot--yellow{background:#f59e0b}.sp-dp__dot--green{background:#22c55e}
.sp-dp__title{font-size:.8125rem;color:#64748b;margin-left:.25rem}
.sp-dp__content{padding:1.25rem}
.sp-dp__kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;margin-bottom:1rem}
.sp-dp__kpi{background:#1e293b;border-radius:6px;padding:.625rem;text-align:center}
.sp-dp__kpi--alert{border:1px solid rgba(239,68,68,.3)}
.sp-dp__val{display:block;font-size:1.25rem;font-weight:800;color:#e2e8f0}
.sp-dp__lbl{display:block;font-size:.6875rem;color:#64748b}
.sp-dp__bar-chart{display:flex;align-items:flex-end;gap:3px;height:60px;padding:0 0 .5rem}
.sp-dp__bar{flex:1;border-radius:2px 2px 0 0;background:rgba(59,130,246,.3)}
.sp-dp__bar--active{background:var(--pub-accent)}
.sp-dp__vessels{display:flex;flex-direction:column;gap:.375rem;margin-top:.75rem}
.sp-dp__vessel{font-size:.75rem;padding:.375rem .625rem;border-radius:4px}
.sp-dp__vessel--ops{background:rgba(59,130,246,.12);color:#93c5fd}
.sp-dp__vessel--berthed{background:rgba(20,184,166,.1);color:#5eead4}
.sp-dp__vessel--anchor{background:rgba(245,158,11,.1);color:#fcd34d}
/* Auth */
.sp-auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem;background:linear-gradient(135deg,#0f172a,#0d1f3c)}
.sp-auth-card{background:#1e293b;border:1px solid #2d4a6b;border-radius:12px;padding:2.5rem;width:100%;max-width:520px}
.sp-auth-card__header{text-align:center;margin-bottom:1.75rem}
.sp-auth-card__header h1{font-size:1.5rem;font-weight:700;margin:1rem 0 .25rem}
.sp-auth-card__header p{color:#94a3b8}
.sp-auth-card__footer{margin-top:1.5rem}
.sp-auth-demo-creds{background:rgba(0,0,0,.2);border-radius:8px;padding:1rem}
.sp-auth-demo-creds h4{font-size:.875rem;font-weight:700;margin:0 0 .75rem;color:#94a3b8}
.sp-demo-creds-table{width:100%;border-collapse:collapse;font-size:.8125rem}
.sp-demo-creds-table td{padding:.375rem .25rem;border-bottom:1px solid rgba(255,255,255,.05)}
.sp-demo-creds-table td:last-child,.sp-demo-creds-table td:nth-child(2){font-family:monospace;font-size:.8rem;color:#94a3b8}
.sp-auth-card--error{text-align:center}
/* Form elements */
.sp-form__group{display:flex;flex-direction:column;gap:.375rem;margin-bottom:1rem}
.sp-form__label{font-size:.8125rem;font-weight:500;color:#94a3b8}
.sp-form__input,.sp-form__select,.sp-form__textarea{background:rgba(0,0,0,.3);border:1px solid #2d4a6b;border-radius:6px;color:#e2e8f0;padding:.625rem .875rem;font-size:.9375rem;font-family:var(--pub-font);width:100%;transition:border-color .15s}
.sp-form__input:focus,.sp-form__select:focus,.sp-form__textarea:focus{outline:none;border-color:var(--pub-accent);box-shadow:0 0 0 3px rgba(59,130,246,.15)}
.sp-form__error{font-size:.75rem;color:#f87171}
.sp-form__errors{background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.25);border-radius:6px;padding:.75rem 1rem;margin-bottom:1rem;color:#f87171;font-size:.875rem}
.sp-form__checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#94a3b8;cursor:pointer}
.sp-form__grid--2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.sp-form__group--full{grid-column:1/-1}
.sp-form__textarea{resize:vertical;min-height:100px}
/* Table */
.sp-table{width:100%;border-collapse:collapse;font-size:.875rem}
.sp-table th{padding:.625rem .75rem;background:rgba(0,0,0,.2);color:#94a3b8;font-weight:600;text-align:left;border-bottom:1px solid var(--pub-border)}
.sp-table td{padding:.625rem .75rem;border-bottom:1px solid rgba(30,58,95,.4)}
.sp-table__mono{font-family:monospace;font-size:.8rem}
/* Pricing */
.sp-pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-top:2rem}
.sp-pricing-card{background:var(--pub-bg-2);border:1px solid var(--pub-border);border-radius:12px;padding:2rem}
.sp-pricing-card--featured{border-color:var(--pub-accent);background:rgba(59,130,246,.05)}
.sp-pricing-card__tier{font-size:.875rem;font-weight:700;color:var(--pub-accent);text-transform:uppercase;letter-spacing:.08em;margin-bottom:.5rem}
.sp-pricing-card__price{font-size:1.625rem;font-weight:800;margin-bottom:.75rem}
.sp-pricing-card__desc{color:#94a3b8;font-size:.9375rem;margin-bottom:1.25rem}
.sp-pricing-card__features{list-style:none;padding:0;margin:0 0 1.75rem;display:flex;flex-direction:column;gap:.5rem;font-size:.9375rem;color:#cbd5e1}
/* Feature sections */
.sp-feature-section{margin-bottom:3rem}
.sp-feature-section h2{font-size:1.375rem;font-weight:700;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--pub-border)}
/* Alerts */
.sp-alert--success{background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.25);color:#86efac;padding:.75rem 1rem;border-radius:8px}
/* Footer */
.sp-pub-footer{background:#080f1c;border-top:1px solid var(--pub-border);padding:4rem 0 2rem}
.sp-pub-footer__grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2.5rem;margin-bottom:2rem}
.sp-pub-footer__brand p{font-size:.875rem;color:#64748b;margin:1rem 0;line-height:1.6}
.sp-pub-footer__copy{font-size:.8125rem;color:#475569}
.sp-pub-footer__links h4{font-size:.875rem;font-weight:700;margin:0 0 1rem;color:#94a3b8}
.sp-pub-footer__links ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.625rem}
.sp-pub-footer__links a{color:#64748b;text-decoration:none;font-size:.875rem}
.sp-pub-footer__links a:hover{color:#94a3b8}
.sp-pub-footer__links li{color:#64748b;font-size:.875rem}
/* Responsive */
@media(max-width:768px){
  .sp-split{grid-template-columns:1fr}
  .sp-pub-footer__grid{grid-template-columns:1fr 1fr}
  .sp-pub-nav__links{display:none}
  .sp-pub-nav__hamburger{display:flex}
}

/* Culltron public landing polish */
.sp-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 18% 12%,rgba(34,211,238,.26),transparent 34%),radial-gradient(circle at 82% 0%,rgba(20,184,166,.20),transparent 34%),linear-gradient(135deg,#06111f 0%,#081827 48%,#031018 100%)}
.sp-hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(34,211,238,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(34,211,238,.06) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 76%);pointer-events:none}
.sp-hero__badge{border:1px solid rgba(34,211,238,.35);background:rgba(34,211,238,.10);color:#67e8f9;box-shadow:0 0 32px rgba(34,211,238,.16)}
.sp-hero__headline{background:linear-gradient(90deg,#fff,#a5f3fc,#14b8a6);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 0 40px rgba(20,184,166,.08)}
.sp-hero__stat{background:rgba(8,20,34,.64);border:1px solid rgba(34,211,238,.18);backdrop-filter:blur(18px);box-shadow:0 24px 70px rgba(0,0,0,.26)}
.sp-module-card{background:linear-gradient(145deg,rgba(15,23,42,.94),rgba(8,47,73,.58));border:1px solid rgba(34,211,238,.18);box-shadow:0 20px 70px rgba(0,0,0,.22)}
.sp-module-card:hover{transform:translateY(-6px);border-color:rgba(34,211,238,.42);box-shadow:0 30px 100px rgba(8,145,178,.22)}
.sp-pub-logo__text{letter-spacing:-.04em}
