:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  
  --bg-canvas: #f2f5fa;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-card: rgba(255, 255, 255, 0.76);
  --bg-glass-card-hover: rgba(255, 255, 255, 0.92);
  --bg-glass-pill: rgba(255, 255, 255, 0.85);

  --text-main: #0f172a;
  --text-muted: #526079;

  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-border-subtle: rgba(226, 232, 240, 0.8);
  --glass-border-highlight: rgba(255, 255, 255, 0.95);

  --shadow-liquid-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-liquid-md: 0 12px 32px -4px rgba(31, 38, 135, 0.08);
  --shadow-liquid-lg: 0 24px 64px -6px rgba(15, 23, 42, 0.12);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --spring-easing: cubic-bezier(0.16, 1, 0.3, 1);
  --accent-primary: #6366f1;
  --accent-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
  --glow-color: rgba(99, 102, 241, 0.25);
  --mesh-orb-1: rgba(99, 102, 241, 0.18);
  --mesh-orb-2: rgba(219, 39, 119, 0.16);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-canvas: #060911;
    --bg-glass: rgba(18, 24, 38, 0.72);
    --bg-glass-card: rgba(23, 31, 48, 0.76);
    --bg-glass-card-hover: rgba(29, 39, 60, 0.88);
    --bg-glass-pill: rgba(30, 41, 59, 0.85);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    --glass-border: rgba(255, 255, 255, 0.14);
    --glass-border-subtle: rgba(255, 255, 255, 0.08);
    --glass-border-highlight: rgba(255, 255, 255, 0.22);

    --shadow-liquid-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
    --shadow-liquid-md: 0 16px 40px -4px rgba(0, 0, 0, 0.55);
    --shadow-liquid-lg: 0 24px 64px -6px rgba(0, 0, 0, 0.75);

    --mesh-orb-1: rgba(99, 102, 241, 0.24);
    --mesh-orb-2: rgba(219, 39, 119, 0.22);
  }
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Liquid Glow */
body::before {
  content: "";
  position: fixed;
  top: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, var(--mesh-orb-1) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  bottom: -15%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, var(--mesh-orb-2) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: -2;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 10px 20px;
  z-index: 999;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-liquid-md);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Header */
.hero-header {
  padding: 20px 0 84px 0;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  margin-bottom: 64px;
  background: var(--bg-glass);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-liquid-sm);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 4px 12px var(--glow-color);
}

/* Hero Content */
.hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-glass-pill);
  border: 1px solid var(--glass-border);
  color: var(--accent-primary);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  box-shadow: var(--shadow-liquid-sm);
  backdrop-filter: blur(16px);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-main) 65%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s var(--spring-easing);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.975);
}

.btn-primary, .btn-hero {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--glow-color);
}

.btn-primary:hover, .btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--glow-color);
  opacity: 0.95;
}

.btn-hero {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

.btn-secondary {
  background: var(--bg-glass-pill);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-liquid-sm);
}

.btn-secondary:hover {
  background: var(--bg-glass-card-hover);
  border-color: var(--glass-border-highlight);
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px auto;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Verticals Glass Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.vertical-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-liquid-md);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--spring-easing);
  position: relative;
  overflow: hidden;
}

.vertical-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-liquid-lg);
  border-color: var(--glass-border-highlight);
}

.card-badge {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.vertical-card:nth-child(1) .card-badge { color: #e11d48; }
.vertical-card:nth-child(2) .card-badge { color: #8b5cf6; }
.vertical-card:nth-child(3) .card-badge { color: #059669; }

.card-title {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.6;
}

.card-features {
  list-style: none;
  margin-bottom: 28px;
}

.card-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px dashed var(--glass-border-subtle);
}

.card-cta {
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}

.vertical-card:nth-child(1) .card-cta { color: #e11d48; }
.vertical-card:nth-child(2) .card-cta { color: #8b5cf6; }
.vertical-card:nth-child(3) .card-cta { color: #059669; }

.vertical-card:hover .card-cta {
  gap: 12px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-item {
  background: var(--bg-glass-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-liquid-sm);
  transition: transform 0.25s var(--spring-easing);
}

.feature-item:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-highlight);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 36px 0;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
