/* ====== Tema (Theme) ====== */
:root {
  --bg: #070b18;
  --panel-1: #0f162b;
  --panel-2: #111a33;
  --text: #e8f0ff;
  --muted: #a6b1c3;
  --brand: #22c9aa;
  --accent: #0ea5e9;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --shadow-soft: 0 6px 18px rgba(0,0,0,.25);
  --header-bg: rgba(7,11,24,.55);
  --header-bg-opaque: rgba(7,11,24,.9);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Segoe UI, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, Oxygen, Ubuntu, Cantarell, "Noto Sans", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1100px, 92vw); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.site-header.scrolled {
  background: var(--header-bg-opaque);
  box-shadow: var(--shadow-soft);
  border-color: rgba(255,255,255,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.brand-name {
  font-weight: 700;
  letter-spacing: .2px;
}
.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.nav a { opacity: .9; }
.nav a:hover { opacity: 1; }

/* Buttons */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #061019;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 24px rgba(34,201,170,.28);
}
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.2);
  box-shadow: var(--shadow-soft);
}
.btn-primary {
  /* (uses default --btn-bg which is brand color) */
}

/* Hero Section */
.hero {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 96px);
  overflow: clip;
}
.hero-inner {
  text-align: center;
  display: grid;
  gap: 20px;
  place-items: center;
}
.hero-title {
  margin: 0;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.hero-subtitle {
  margin: 0 auto;
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 18px);
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
}
.hero-bg {
  pointer-events: none;
  position: absolute;
  inset: -20% -10% -30% -10%;
  background:
    radial-gradient(700px 700px at 20% 15%, rgba(34,201,170,.12), transparent 60%),
    radial-gradient(700px 700px at 80% 25%, rgba(14,165,233,.12), transparent 60%),
    radial-gradient(900px 900px at 50% 100%, rgba(34,201,170,.08), transparent 60%);
  filter: blur(8px) saturate(120%);
}

/* Section Titles */
.section-title {
  font-size: clamp(22px, 3.2vw, 28px);
  margin: 0 0 20px;
}

/* Features Grid */
.features { padding: 24px 0 80px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: linear-gradient(180deg, var(--panel-1), var(--panel-2));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  min-height: 180px;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(34,201,170,.25);
}
.feature-emoji {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 12px;
}
.feature-title {
  margin: 0 0 8px;
  font-size: 18px;
}
.feature-desc {
  margin: 0;
  color: var(--muted);
}

/* User Roles Tabs */
.roles { padding: 0 0 80px; }
.role-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.tab { cursor: pointer; }
.tab.is-active {
  background: var(--brand) !important;
  color: #061019 !important;
}
.role-panels {
  background: linear-gradient(180deg, var(--panel-1), var(--panel-2));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 20px;
}
.role-panel { display: none; }
.role-panel.is-active { display: block; }
.muted { color: var(--muted); }
/* List styling within role panels */
.role-panel ul {
  list-style: disc;
  margin: 8px 0 0 20px;
}
.role-panel ul li {
  margin-bottom: 4px;
}


/* (Optional) Social proof logos section 
.social-proof { padding: 0 0 80px; }
.logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: center;
  opacity: .9;
}
.logos img {
  max-height: 50px;
  justify-self: center;
  filter: grayscale(1);
  opacity: .8;
}
.logos img:hover {
  opacity: 1;
  filter: none;
} 
*/

/* Contact & Cards */
.contact { padding: 0 0 90px; }
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: linear-gradient(180deg, var(--panel-1), var(--panel-2));
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.card {
  background: linear-gradient(180deg, var(--panel-1), var(--panel-2));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 16px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
}
.footer-inner {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 16px;
}
.footer-links a { opacity: .9; }
.footer-links a:hover { opacity: 1; }

/* Responsive Adjustments */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header-inner { padding: 12px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .footer-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Utility: image object-fit helpers */
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.img-contain { width: 100%; height: auto; object-fit: contain; }

/* Utility: fixed aspect ratio boxes (e.g., 16:9, 4:3, 1:1) */
.aspect { position: relative; width: 100%; }
.aspect > img,
.aspect > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aspect-16x9 { padding-top: 56.25%; }  /* 16:9 ratio */
.aspect-4x3  { padding-top: 75%; }
.aspect-1x1  { padding-top: 100%; }


