@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&display=swap');

:root {
  --bg: #06030f;
  --bg-2: #0d0820;
  --fg: #F2EFE8;
  --fg-sub: #C8C3B8;
  --fg-muted: rgba(242,239,232,0.5);
  --accent-1: #6366f1;
  --accent-2: #a855f7;
  --accent-3: #fcd34d;
  --gradient-text: linear-gradient(to left, #fcd34d, #a855f7, #6366f1);
  --glass-bg: rgba(255,255,255,0.03);
  --glass-border: rgba(255,255,255,0.08);
  --radius: 12px;
  --font-display: 'General Sans', sans-serif;
  --font-body: system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { 
  overflow-x: hidden; 
  max-width: 100%;
}
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* LIQUID GLASS */
.liquid-glass {
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.05) 30%,
    rgba(255,255,255,0) 50%,
    rgba(255,255,255,0.05) 70%,
    rgba(255,255,255,0.18) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease;
}
.navbar.scrolled {
  background: rgba(6,3,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.navbar-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-logo .logo-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gradient-text);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #000;
}
.navbar-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.navbar-links a {
  font-size: 14px;
  color: var(--fg-sub);
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--fg); }
.navbar-links a.active { color: var(--fg); }
.navbar-cta {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.navbar-cta:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
}

/* GRADIENT TEXT */
.grad {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background: rgba(255,255,255,0.06);
  color: var(--fg);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}
.btn-primary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--fg-sub);
  border: 1px solid var(--glass-border);
}
.btn-ghost:hover { color: var(--fg); border-color: rgba(255,255,255,0.2); }

/* SECTIONS */
section { padding: 96px 48px; max-width: 1200px; margin: 0 auto; }
.section-full { max-width: none; padding: 96px 0; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--fg);
}
.section-sub {
  font-size: 18px;
  color: var(--fg-sub);
  max-width: 560px;
  margin-top: 16px;
  line-height: 1.7;
}

/* DIVIDER */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--glass-border), transparent);
  margin: 0 48px;
}

/* CARDS */
.card {
  padding: 32px;
  border-radius: var(--radius);
}
.card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 20px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.2);
}

/* MARQUEE */
.marquee-wrap {
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 22s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: var(--fg-muted);
  font-size: 15px;
  font-weight: 500;
}
.marquee-logo {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  color: var(--fg);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
footer .foot-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
footer .foot-links {
  display: flex; gap: 28px; list-style: none;
}
footer .foot-links a {
  font-size: 13px;
  color: var(--fg-muted);
  transition: color 0.2s;
}
footer .foot-links a:hover { color: var(--fg); }
footer .foot-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar { padding: 16px 24px; }
  .navbar-links { display: none; }
  section { padding: 64px 24px; }
  .divider { margin: 0 24px; }
  footer { padding: 40px 24px; flex-direction: column; align-items: flex-start; }
  .foot-links { display: none; }
}

/* SCROLL ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}
