:root {
  --bg-global: #0f172a;
  --bg-card: #1e293b;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --accent-hover: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --border-color: #334155;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-global);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.saas-navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.navbar-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  justify-content: center;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 0 80px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.hero-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50px;
  margin-bottom: 24px;
}

.badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #60a5fa;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-bottom: 40px;
}

.dashboard-preview {
  width: 100%;
  max-width: 900px;
  margin: 40px 0;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.mockup-window {
  background: #0f172a;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mockup-header {
  padding: 16px;
  background: #1e293b;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.mockup-window img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-wrapper {
  width: 100%;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--accent-gradient);
  transition: var(--transition-smooth);
  animation: pulseGlow 2s infinite ease-in-out;
  border: none;
  width: min(100%, 300px);
}

.cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  animation-play-state: paused;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(59, 130, 246, 0.3); transform: scale(1); }
  50% { box-shadow: 0 0 25px rgba(139, 92, 246, 0.6); transform: scale(1.02); }
}

.features-container {
  width: 100%;
}

.features-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  border-color: #60a5fa;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.site-footer {
  text-align: center;
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .navbar-container { justify-content: flex-start; }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}