/* BusinessCopilot — shared styles (common + desktop)
   Dark navy + gold accent. Clean, startup-friendly.
*/

:root{
  --bg1:#0b1020;
  --bg2:#0d1328;

  --card:#0f172a;
  --text:#e5e7eb;
  --muted:#9aa4b2;

  --accent:#152B49;
  --accent2:#E5AA4E;

  --line:rgba(255,255,255,.12);
  --line2:rgba(255,255,255,.10);

  --shadow:0 14px 30px rgba(0,0,0,.35);
  --radius:18px;
  --maxw:1100px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(229,170,78,.16), transparent 55%),
    radial-gradient(900px 520px at 80% 15%, rgba(21,43,73,.35), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
}

a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%; height:auto}

.container{
  max-width:var(--maxw);
  margin:0 auto;
  padding:22px 18px 64px;
}

.card{
  background:rgba(15,23,42,.78);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  backdrop-filter: blur(10px);
}

/* =========================
   HEADER (2 rows)
   ========================= */

.header{
  padding:0;
  overflow:hidden;
  background:
    radial-gradient(900px 220px at 20% 0%, rgba(229,170,78,.26), transparent 60%),
    radial-gradient(900px 220px at 80% 0%, rgba(21,43,73,.55), transparent 62%),
    linear-gradient(90deg, rgba(21,43,73,.78), rgba(15,23,42,.74));
  border-bottom: 1px solid rgba(229,170,78,.40);
}

.header-row1{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px 10px;
}

.header-row2{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:10px 16px 14px;
  border-top:1px solid var(--line2);
  background: rgba(11,16,32,.16);
}

/* Brand block */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.logo-wrap{
  display:inline-flex;
  padding:6px;
  border-radius:14px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}

.brand img{
  width:46px;
  height:46px;
  border-radius:12px;
  display:block;
}

/* Title + tagline */
.brand-title{
  display:flex;
  flex-direction:column;
  line-height:1.12;
  min-width:0;
}
.brand-title strong{
  font-size:1.02rem;
  letter-spacing:.2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand-title span{
  font-size:.84rem;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Badge */
.brand-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.78rem;
  color:rgba(255,255,255,.88);
  padding:6px 10px;
  border-radius:999px;
  background: rgba(229,170,78,.10);
  border: 1px solid rgba(229,170,78,.30);
}
.dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background: var(--accent2);
  box-shadow: 0 0 0 3px rgba(229,170,78,.18);
}

/* Language pills */
.lang{
  display:inline-flex;
  gap:8px;
  align-items:center;
  flex-shrink:0;
}
.lang a{
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  font-size:.86rem;
  text-decoration:none;
}
.lang a:hover{
  background: rgba(255,255,255,.09);
  text-decoration:none;
}
.lang a.active{
  background: rgba(229,170,78,.16);
  border-color: rgba(229,170,78,.45);
}

/* Nav buttons */
.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  font-size:.93rem;
  font-weight:650;
  text-decoration:none;
  min-height:42px;
}

.nav a.active{
  background: rgba(229,170,78,.16);
  border-color: rgba(229,170,78,.45);
}

.nav a:hover{
  background: rgba(255,255,255,.09);
  border-color: rgba(229,170,78,.22);
  text-decoration:none;
}

.nav a:active{ transform: translateY(1px); }

.nav .nav-cta{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.14);
}

/* =========================
   HERO + CONTENT
   ========================= */

.hero{ padding:34px 18px 22px; }

.hero-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:18px;
  align-items:start;
}

.h-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(229,170,78,.28);
  background: rgba(229,170,78,.10);
  color: rgba(255,255,255,.92);
  font-size:.9rem;
}

h1{
  margin:14px 0 10px;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  letter-spacing:-.6px;
  line-height:1.08;
}

.lead{
  margin:0 0 18px;
  color: rgba(229,231,235,.92);
  font-size: clamp(1.03rem, 1.5vw, 1.16rem);
  line-height:1.5;
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0 6px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight:700;
  text-decoration:none;
  min-height:44px;
}

.btn:hover{ background: rgba(255,255,255,.10); text-decoration:none; }
.btn:active{ transform: translateY(1px); }

.btn.primary{
  background: linear-gradient(180deg, rgba(229,170,78,.96), rgba(197,133,42,.92));
  border-color: rgba(229,170,78,.60);
  color:#0b1020;
}
.btn.primary:hover{ filter: brightness(1.02); }

.btn.ghost{
  background: rgba(21,43,73,.40);
  border-color: rgba(21,43,73,.75);
}

.kpis{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.kpi{
  padding:16px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}
.kpi strong{
  display:block;
  font-size:1.02rem;
  margin-bottom:6px;
}
.kpi span{
  color: var(--muted);
  font-size:.94rem;
  line-height:1.45;
}

.section{
  margin-top:18px;
  padding:18px;
}
.section h2{
  margin:0 0 10px;
  font-size:1.25rem;
  letter-spacing:-.2px;
}
.section p{
  margin:0;
  color: rgba(229,231,235,.92);
  line-height:1.55;
}

.bullets{
  margin:12px 0 0;
  padding-left:18px;
  color: rgba(229,231,235,.92);
}
.bullets li{
  margin:8px 0;
  line-height:1.45;
}

.muted{ color: var(--muted); }

.grid-2{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.module{
  padding:14px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}
.module .title{ font-weight:800; margin-bottom:6px; }
.module .desc{ color: var(--muted); line-height:1.45; }

hr.sep{
  border:0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  margin:0;
}

/* Footer */
.footer{
  margin-top:18px;
  padding:16px 18px;
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-start;
}
.footer small{ color: var(--muted); line-height:1.45; }
.footer a{ color: rgba(229,170,78,.96); }

/* =========================
   DESKTOP LAYOUT
   ========================= */

@media (min-width: 860px){
  .hero{ padding:46px 22px 24px; }
  .hero-grid{ grid-template-columns: 1.35fr .85fr; }
  .grid-2{ grid-template-columns: 1fr 1fr; }
  .footer{ flex-direction:row; align-items:center; justify-content:space-between; }
}


/* visibility helpers */
.mobile-only{ display:none; }
.desktop-only{ display:block; }

/* Desktop sticky (optional) */
.header{
  position: sticky;
  top: 0;
  z-index: 999;
}

.mobile-only{ display:none; }
.desktop-only{ display:block; }