/* theme.css — Landing page-specific styles.
   Does NOT own nav, footer, or CSS variables (those live in shared.css). */

/* ── HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 120px 48px 100px;
  text-align: center;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,20,0.4) 0%, rgba(8,10,20,0.95) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.hero-sub {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 40px;
}

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

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 6px 32px var(--accent-glow), 0 0 0 2px rgba(99,102,241,0.3);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent2);
}

.btn--full {
  display: block;
  text-align: center;
  width: 100%;
}

/* ── SECTION SHARED ────────────────────────────── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 16px;
  text-align: center;
}

.section-headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 56px;
  text-align: center;
}

/* ── ADVANTAGES ──────────────────────────────────── */
.advantages {
  padding: 96px 48px;
  border-top: 1px solid var(--border);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.advantage-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.advantage-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(6,182,212,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent2);
}

.advantage-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.advantage-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── PRICING ─────────────────────────────────────── */
.pricing {
  padding: 96px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Selected state — glow border + slight scale */
.pricing-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(99, 102, 241, 0.12);
  transform: scale(1.03);
}

.pricing-card.is-selected:hover {
  transform: scale(1.03) translateY(-2px);
}

/* Dim non-selected siblings when any card is selected */
.pricing-grid.has-selection .pricing-card:not(.is-selected) {
  opacity: 0.55;
}

.pricing-grid.has-selection .pricing-card:not(.is-selected):hover {
  opacity: 0.85;
}

/* Selected card button becomes solid gradient */
.pricing-card.is-selected .btn {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 16px;
  border-radius: 20px;
}

.pricing-tier {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.pricing-period {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '\2713\0020'; color: var(--accent2); font-weight: 600; }

/* ── SECURITY ───────────────────────────────────── */
.security {
  padding: 96px 48px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.security-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}

.security-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent2);
  margin-bottom: 16px;
}

.security-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.security-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero, .advantages, .pricing, .security {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero { padding-top: 80px; padding-bottom: 64px; min-height: auto; }
  .advantage-grid, .security-grid { grid-template-columns: 1fr; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
}
