:root{
  --bg:#0b1220;
  --bg2:#0f1a30;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.08);
  --line:rgba(255,255,255,.12);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.58);

  --accent:#f5a623;
  --accent2:#4fd1c5;
  --shadow:0 20px 70px rgba(0,0,0,.35);

  --radius:18px;
  --max:1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }

html{
  -webkit-text-size-adjust: 100%;
}

body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1100px 700px at 15% 8%, rgba(79,209,197,.18), transparent 60%),
    radial-gradient(900px 650px at 88% 22%, rgba(245,166,35,.16), transparent 55%),
    radial-gradient(1200px 800px at 50% 120%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  min-height:100vh;
}

img, svg, video{
  max-width:100%;
  height:auto;
}

a{ color:inherit; text-decoration:none; }
.container{ width:100%; max-width:var(--max); margin:0 auto; padding: 0 18px; }

/* Tap target best practice */
.link, .btn, .soc{
  min-height: 44px;
}

/* NAV */
.nav{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:240px;
  text-decoration:none;
}
.brand:hover{ opacity: .95; }

.logo{
  width:66px; height:66px; border-radius:14px;

  display:grid; place-items:center;
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
  overflow:hidden;
}
.logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:8px;
  display:block;
}
.logo span{
  font-weight:800;
  letter-spacing:.08em;
  font-size:11px;
  color: rgba(255,255,255,.74);
}

.brand h1{
  margin:0;
  font-size:16px;
  letter-spacing:.2px;
  line-height:1.1;
}
.brand small{
  display:block;
  margin-top:3px;
  color: var(--muted2);
  font-size:12px;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.link{
  color: rgba(255,255,255,.78);
  font-size:13.5px;
  padding:10px 10px;
  border-radius:12px;
  border:1px solid transparent;
  display:inline-flex;
  align-items:center;
}
.link:hover{
  color: rgba(255,255,255,.95);
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-weight:650;
  font-size:13.5px;
  cursor:pointer;
  white-space: nowrap;
}
.btn:hover{ background: rgba(255,255,255,.09); }
.btn.primary{
  border:none;
  color:#0b1220;
  background: linear-gradient(135deg, var(--accent), rgba(245,166,35,.75));
  box-shadow: 0 16px 36px rgba(245,166,35,.18);
}
.btn.primary:hover{ filter: brightness(1.02); }

/* COMMON LAYOUT */
.page{ padding:48px 0 18px; }

.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(79,209,197,.25);
  background: rgba(79,209,197,.10);
  color: rgba(255,255,255,.88);
  font-size:12.5px;
}
.pill i{
  width:8px; height:8px; border-radius:99px;
  background: var(--accent2);
  display:inline-block;
  box-shadow: 0 0 0 4px rgba(79,209,197,.12);
}

.card{
  background: linear-gradient(180deg, var(--card), rgba(255,255,255,.04));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

h2{
  margin: 0 0 8px;
  font-size: 36px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.sub{
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 75ch;
}

.grid{
  display:grid;
  grid-template-columns: 1fr .55fr;
  gap: 14px;
  margin-top: 14px;
  align-items:start;
}

/* ===== Marketing/Homepage Enhancements ===== */

/* Single source of truth for hero */
.hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

section{
  padding: 18px 0;
}

.section-title{
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.features{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.feature{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.feature .icon{
  width: 40px; height: 40px; border-radius: 14px;
  background: rgba(245,166,35,.12);
  border: 1px solid rgba(245,166,35,.25);
  display:grid; place-items:center;
  margin-bottom: 10px;
  font-size: 18px;
}

.feature h4{ margin:0 0 6px; font-size: 15.5px; }
.feature p{ margin:0; color: var(--muted); line-height:1.6; font-size: 13.5px; }

/* ===== Homepage Layout ===== */

.hero-pad{ padding: 62px 0 28px; }

.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  align-items: stretch;
}

.h-title{
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.h-sub{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 62ch;
}

.hero-cta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.note{
  margin-top: 12px;
  color: rgba(255,255,255,.55);
  font-size: 12.5px;
  line-height: 1.5;
}

/* Right-side preview */
.preview{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.preview .mini{
  background: linear-gradient(180deg, var(--card2), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.mini h3{
  margin:0 0 8px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}

.mini p{
  margin:0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.kpi{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.kpi .box{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding: 10px 12px;
}

.kpi .big{ font-weight: 780; font-size: 16px; }
.kpi .lbl{ color: rgba(255,255,255,.58); font-size: 12.5px; margin-top: 2px; }

/* Two-column content sections */
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* TOC */
.toc{ position:sticky; top:84px; }
.toc h3{
  margin:0 0 10px;
  font-size:13px;
  letter-spacing:.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.toc a{
  display:block;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.78);
  font-size:13.5px;
  margin-bottom:8px;
}
.toc a:hover{ background: rgba(255,255,255,.08); color: rgba(255,255,255,.92); }

h3.section{
  margin: 18px 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

p{ color: var(--muted); line-height: 1.7; margin: 0 0 10px; }
ul{ margin: 0 0 12px 18px; color: var(--muted); line-height: 1.7; }
li{ margin: 6px 0; }

.callout{
  border-radius: 18px;
  border: 1px solid rgba(245,166,35,.22);
  background: rgba(245,166,35,.09);
  padding: 14px;
  margin-top: 12px;
  color: rgba(255,255,255,.85);
  font-size: 13.5px;
  line-height: 1.6;
}
.callout strong{ color: rgba(255,255,255,.92); }

code{
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 12.5px;
}

/* FOOTER */
.footer{
  margin-top: 22px;
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.08);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  align-items:start;
}
.foot-muted{
  color: rgba(255,255,255,.58);
  line-height: 1.6;
  font-size: 13.5px;
  margin: 8px 0 0;
}
.social{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}
.soc{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.82);
  font-size: 13.5px;
}
.soc:hover{ background: rgba(255,255,255,.08); }
.soc svg{ width:16px; height:16px; opacity:.9; }

.tiny{
  margin-top:16px;
  color: rgba(255,255,255,.44);
  font-size:12.5px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:space-between;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top:14px;
}
.tiny a{
  color: rgba(255,255,255,.62);
  border-bottom: 1px dashed rgba(255,255,255,.24);
}
.tiny a:hover{ color: rgba(255,255,255,.9); }

/* Teal callouts (matches older version) */
.callout-teal{
  border: 1px solid rgba(79,209,197,.24);
  background: rgba(79,209,197,.08);
}
.callout-teal p{ margin: 6px 0 0; }

/* ============================= */
/* Responsive breakpoints        */
/* ============================= */

@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
  .features{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }

  /* Nav becomes stacked + scrollable chip row */
  .nav-inner{
    flex-direction:column;
    align-items:stretch;
  }
  .brand{
    min-width:0;
  }
  .nav-links{
    width:100%;
    justify-content:flex-start;
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom:6px;
    gap:8px;
  }
  .nav-links::-webkit-scrollbar{
    height: 6px;
  }
  .nav-links::-webkit-scrollbar-thumb{
    background: rgba(255,255,255,.12);
    border-radius: 999px;
  }
  .link, .btn{ flex: 0 0 auto; }
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .social{ justify-content:flex-start; }

  section{ padding: 14px 0; }
  .section-title{ font-size: 22px; }
}

@media (max-width: 600px){
  .hero-pad{ padding: 42px 0 18px; }
  .card{ padding: 18px; }

  .h-title{
    font-size: 34px;
    line-height: 1.06;
  }
  .h-sub{
    font-size: 15px;
    max-width: 100%;
  }

  .btn{
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13.25px;
  }
}

/* Safety: ensure Tailwind dark buttons stay readable if marketing CSS loads */
button.bg-gray-900,
a.bg-gray-900,
.bg-gray-900.text-white {
  color: #fff !important;
}

/* ============================= */
/* App buttons: stronger CTA feel */
/* ============================= */

/* Secondary button: clearer shape + contrast */
.btn{
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.94);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  transform: translateY(0);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, filter .15s ease;
}

.btn:hover{
  background: rgba(255,255,255,.11);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}

.btn:active{
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.btn:focus{
  outline: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.18), 0 0 0 4px rgba(79,209,197,.20);
}

/* Primary button: solid CTA with punch */
.btn.primary{
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 780;
  letter-spacing: .2px;
  color:#0b1220 !important;
  border: none;
  background: linear-gradient(135deg, var(--accent), rgba(245,166,35,.92));
  box-shadow: 0 18px 40px rgba(245,166,35,.22), 0 10px 24px rgba(0,0,0,.25);
  transform: translateY(0);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.btn.primary:hover{
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(245,166,35,.26), 0 12px 28px rgba(0,0,0,.28);
}

.btn.primary:active{
  transform: translateY(0);
  box-shadow: 0 14px 30px rgba(245,166,35,.20), 0 8px 18px rgba(0,0,0,.22);
}

.btn.primary:focus{
  outline: none;
  box-shadow: 0 18px 40px rgba(245,166,35,.22), 0 0 0 4px rgba(245,166,35,.25);
}

/* Ensure buttons never look like plain links */
a.btn{ text-decoration:none; }

/* Boxed mini section (right-hand hero card) */
.mini.boxed {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.mini.boxed h3 {
  margin-top: 0;
}

.mini + .mini {
  margin-top: 16px;
}

/* Force the boxed section background inside the hero preview card */
.preview .card .mini.boxed{
  background: #f3f4f6;   /* slightly darker than f9fafb */
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 20px;
}

/* Hero preview: add a boxed + spaced style without affecting other minis */
.preview .mini.mini-spaced{
  margin-top: 16px; /* creates space from the first mini */
  padding: 18px 20px; /* more breathing room inside */
  border-radius: 16px;

  /* keep dark theme look (no white background) */
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
}

/* Optional: tighten heading spacing inside the spaced box */
.preview .mini.mini-spaced h3{
  margin-top: 0;
}

[x-cloak] { display: none !important; }

/* --- Trusted By / Customer Logos --- */
.trust {
  padding: 64px 0;
}

.trust-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.trust-item {
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
}

.trust-item img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  opacity: .95;
  filter: grayscale(1);
  transition: transform .15s ease, filter .15s ease, opacity .15s ease;
}

.trust-item:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-1px);
}

.trust-note {
  margin-top: 10px;
  font-size: 13px;
  opacity: .75;
}

/* Responsive */
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.pricing-card {
  text-align: center;
  position: relative;
}

.pricing-card .price {
  font-size: 42px;
  font-weight: 700;
}

.pricing-card .term {
  color: #666;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.plan-features li {
  margin-bottom: 8px;
}

.plan-addon {
  margin: 12px 0 18px;
  font-size: 14px;
  color: #444;
}

.pricing-card.featured {
  border: 2px solid var(--primary, #3a9d8f);
}

.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary, #3a9d8f);
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
}

.btn.full {
  width: 100%;
}
