/* ===== Variables ===== */
:root {
  --swix-dark: #0f172a;
  --swix-blue: #1e3a8a;
  --swix-accent: #2563eb;
  --swix-accent-hover: #1d4ed8;
  --text-primary: #0f172a;
  --text-muted: #475569;
  --bg: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --radius: 12px;
  --radius-btn: 10px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--swix-dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--swix-accent); }
.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--swix-accent); }
@media (max-width: 768px) {
  .nav { display: none; }
}

/* ===== Hero ===== */
.hero {
  padding: 8rem 1.25rem 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

/* Hero content (left) */
.hero-content { max-width: 36rem; }
.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0 0 1.25rem;
}
.hero-title-accent {
  color: var(--swix-accent);
  position: relative;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

/* Buttons & dropdown */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.btn-primary {
  background: var(--swix-accent);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--swix-accent-hover);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--swix-accent);
  outline-offset: 2px;
}

.dropdown-wrap {
  position: relative;
  display: inline-block;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  padding: 0.5rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu[hidden] { display: none; }
.dropdown-menu:not([hidden]).is-open { display: block; }
.dropdown-item {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.dropdown-item:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--swix-accent);
}

/* Social proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.avatars {
  display: flex;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--swix-accent), var(--swix-blue));
  border: 2px solid #fff;
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
.social-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Hero image (right) */
.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  order: -1;
}
@media (min-width: 900px) {
  .hero-image-wrap { order: 0; }
}
.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
