/* ── Modern Variables ─────────────────────────────────────── */
:root {
  --brand-primary: #8b5cf6;
  --brand-secondary: #0ea5e9;
  --brand-accent: #10b981;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
}

/* ── Typography & Text ────────────────────────────────────── */
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero-container {
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.badge-promo {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 500;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Mock App Preview (Modern SaaS look) ───────────────────── */
.app-preview-container {
  position: relative;
  z-index: 10;
}

.app-preview-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.app-browser {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease;
}

.browser-header {
  background: #0f172a;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.browser-content {
  background: #0f172a;
  padding: 1.5rem;
}

.preview-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 1rem;
}

/* ── Feature Cards ────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.glass-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(30, 41, 59, 0.6);
}

.icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-card {
  border-radius: 2rem;
  padding: 2.5rem;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, rgba(30, 41, 59, 0.6) 100%);
  border-color: var(--brand-primary);
  position: relative;
  overflow: hidden;
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
}

/* ── CTA ──────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(14, 165, 233, 0.1) 100%);
  border-radius: 2.5rem;
  padding: 4rem 2rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  margin-top: 6rem;
  text-align: center;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-modern {
  padding: 0.8rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-brand {
  background: var(--brand-primary);
  color: #fff;
  border: none;
  box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.3);
}

.btn-brand:hover {
  background: #7c3aed;
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.4);
  color: #fff;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
