:root {
  --flux-50: #F5F0FF;
  --flux-100: #EAE0FF;
  --flux-200: #CDB6FF;
  --flux-300: #B08CFF;
  --flux-400: #9A6BF2;
  --flux-500: #7C4DE0;
  --flux-600: #6234C4;
  --flux-700: #4C2A85;
  --flux-800: #361D5E;
  --flux-900: #1B0F2E;
  --thread-400: #F6C976;
  --thread-500: #F2B84B;

  --ink: #1B1526;
  --ink-muted: #675E78;
  --line: #E7E1F2;
  --surface: #FFFFFF;
  --surface-2: #FBF9FF;
  --app: #FAF8FF;

  --font-display: 'Sora', sans-serif;
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Fraunces', serif;

  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(27, 15, 46, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(76, 42, 133, 0.28);
  --shadow-lg: 0 24px 64px -24px rgba(76, 42, 133, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--app);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--flux-900);
}

p { line-height: 1.65; color: var(--ink-muted); margin: 0 0 16px; }

a { color: inherit; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--flux-500), var(--flux-600));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent;
  color: var(--flux-700);
  border-color: var(--flux-300);
}
.btn-outline:hover { background: var(--flux-50); }
.btn-ghost {
  background: var(--flux-50);
  color: var(--flux-700);
  padding: 10px 20px;
  font-size: 0.9rem;
}
.btn-ghost:hover { background: var(--flux-100); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--flux-800);
}
.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}
.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--flux-600); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--flux-700);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 88px 0 96px;
  background:
    radial-gradient(60% 60% at 85% 10%, var(--flux-100), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, var(--flux-50), transparent 60%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--flux-600);
  background: var(--flux-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  color: var(--flux-900);
}
.hero h1 em { color: var(--flux-500); font-style: normal; }
.hero .lead {
  font-size: 1.1rem;
  max-width: 46ch;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-cta.center { justify-content: center; }

.hero-visual {
  position: relative;
  height: 360px;
}
.mock-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 190px;
}
.mock-label { font-size: 0.78rem; color: var(--ink-muted); font-weight: 500; }
.mock-value { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--flux-800); }
.mock-trend { font-size: 0.8rem; color: #1E9E63; font-weight: 600; }
.mock-card-1 { top: 0; right: 0; }
.mock-card-2 { top: 150px; right: 140px; border-color: var(--thread-400); }
.mock-card-3 { top: 260px; right: -10px; }

/* Logos strip */
.logos-strip {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.logos-strip p {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--surface-2); }
.section-cta {
  background: linear-gradient(135deg, var(--flux-700), var(--flux-900));
}
.section-cta .section-title,
.section-cta .section-lead { color: #fff; }
.section-cta .section-lead { color: var(--flux-100); }
.section-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,0.4); }
.section-cta .btn-outline:hover { background: rgba(255,255,255,0.1); }

.section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); text-align: center; }
.section-lead {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}
.center-copy { text-align: center; }
.center-copy .section-title { margin-bottom: 12px; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--flux-50);
  border-radius: 12px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--flux-800);
}
.feature-card p { font-size: 0.92rem; margin: 0; }

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--flux-500);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
}

.kanban-mock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-md);
}
.kanban-col {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
}
.kanban-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--flux-600);
  margin-bottom: 4px;
}
.kanban-item {
  height: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.kanban-item-done { border-color: var(--thread-400); background: #FFF8EB; }

/* Footer */
.site-footer {
  background: var(--flux-900);
  color: var(--flux-200);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer .brand { color: #fff; }
.site-footer p { margin: 0; color: var(--flux-300); font-size: 0.85rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-visual { order: -1; }
}

@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }
  .nav.nav-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .feature-grid { grid-template-columns: 1fr; }
  .kanban-mock { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
}
