@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Premium Palette */
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.1);
  --text: #0f172a;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-offset: #f8fafc;
  --border: rgba(15, 23, 42, 0.08);
  
  /* Glassmorphism Tokens */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

  /* Fonts */
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Spacing & Radius */
  --container: 1200px;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.1;
  font-weight: 800;
}

h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.brand-mark {
  background: var(--primary);
  color: white;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition);
}

.nav a:hover { color: var(--accent); }

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2); }

/* Hero */
.hero {
  padding: 180px 0 100px;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent),
              radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.03), transparent);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 1.5rem 0 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.125rem;
}

.btn.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.4);
}

.btn.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(59, 130, 246, 0.5);
}

.btn.soft {
  background: var(--bg-offset);
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn.soft:hover { background: #f1f5f9; }

.hero-image-wrapper {
  position: relative;
  z-index: 10;
}

.hero-image-wrapper img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: 0 40px 100px -20px rgba(15, 23, 42, 0.2);
  border: 4px solid var(--glass-bg);
}

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

.section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-head h2 { margin-bottom: 1rem; }

/* Feature Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  padding: 3rem 2rem;
  background: var(--bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
}

.card-num {
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent-soft);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

/* Footer & CTA */
.footer {
  background: var(--primary);
  color: white;
  padding: 80px 0 40px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer p { color: rgba(255, 255, 255, 0.6); max-width: 400px; }

.footer-links {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-links a:hover { color: white; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hero { padding-top: 140px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}
