/* ─── Oprel Landing Page ─── */

:root {
  --background: #050505;
  --foreground: #FFFFFF;
  --muted-foreground: #7A7788;
  --border: rgba(124, 58, 237, 0.15);
  --primary: #7C3AED;
  --primary-foreground: #FFFFFF;
  --card: rgba(11, 11, 13, 0.6);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 99px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-xl);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 24px rgba(124,58,237,0.35);
}
.btn-primary:hover {
  background: #6D28D9;
  box-shadow: 0 0 32px rgba(124,58,237,0.5);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--foreground);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}

.btn-lg { height: 56px; padding: 0 36px; font-size: 16px; }

/* ── Section base ── */
section { padding: 140px 0; position: relative; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 16px;
  border-radius: var(--radius-xl);
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.22);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(5,5,5,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: background 0.3s;
}

.navbar.scrolled {
  background: rgba(5,5,5,0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-brand-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: var(--muted-foreground);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--foreground); }


/* ── Hero ── */
.hero-section {
  padding-top: 180px;
  padding-bottom: 120px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-2 {
  top: 300px;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.08) 0%, transparent 65%);
}

.hero-inner { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.2);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #7C3AED;
  box-shadow: 0 0 8px rgba(124,58,237,0.8);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px rgba(124,58,237,0.8); }
  50% { box-shadow: 0 0 14px rgba(124,58,237,1), 0 0 24px rgba(124,58,237,0.5); }
}

.hero-title {
  font-size: 76px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--muted-foreground);
  max-width: 580px;
  margin: 0 auto 52px;
  line-height: 1.65;
}

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

.hero-image-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124,58,237,0.35), rgba(124,58,237,0.05));
  position: relative;
  box-shadow: 0 48px 100px -20px rgba(124,58,237,0.2), 0 0 0 1px rgba(124,58,237,0.1);
}

.hero-image-glow {
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 80px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.25) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}

.hero-image {
  border-radius: 19px;
  width: 100%;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: rgba(124,58,237,0.3);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-title {
  font-size: 19px;
  font-weight: 600;
}

.feature-desc {
  font-size: 15px;
  color: var(--muted-foreground);
  line-height: 1.65;
}

kbd {
  display: inline;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 13px;
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
}

/* ── How It Works ── */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}

.step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 48px 0;
}

.step-row-reverse { direction: rtl; }
.step-row-reverse > * { direction: ltr; }

.step-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(124,58,237,0.4);
}

.step-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 16px;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.step-desc strong { color: var(--foreground); }
.step-desc em { color: rgba(255,255,255,0.6); font-style: normal; }

.step-visual {
  height: 320px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
}

.step-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.step-visual:hover img { transform: scale(1.03); }

/* ── Pricing ── */
.pricing-section {
  background: linear-gradient(180deg, transparent, rgba(124,58,237,0.04) 50%, transparent);
}

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

.pricing-card {
  padding: 36px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.pricing-card:hover {
  border-color: rgba(124,58,237,0.25);
  transform: translateY(-4px);
}

.pricing-card.featured {
  background: rgba(124,58,237,0.06);
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 0 60px rgba(124,58,237,0.12);
  transform: translateY(-8px);
}

.pricing-card.featured:hover { transform: translateY(-12px); }

.featured-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 3px 14px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tier-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 16px;
}

.tier-price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.tier-period {
  font-size: 13px;
  color: var(--muted-foreground);
  margin-bottom: 20px;
  height: 20px;
}

.tier-period-inline {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted-foreground);
}

.tier-desc {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 28px;
  min-height: 44px;
  line-height: 1.55;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex: 1;
}

.tier-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.feature-check {
  color: var(--primary);
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}

.pricing-btn { width: 100%; }

/* ── About ── */
.about-section {
  background: rgba(255,255,255,0.015);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.about-text {
  font-size: 22px;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin-bottom: 40px;
}

.about-text strong { color: var(--foreground); font-weight: 600; }

.origin-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

/* ── Footer ── */
.footer {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--muted-foreground);
  font-size: 14px;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--foreground); }

.copyright {
  color: rgba(255,255,255,0.25);
  font-size: 13px;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .step-row { grid-template-columns: 1fr; gap: 36px; }
  .step-row-reverse { direction: ltr; }
  .hero-title { font-size: 52px; }
  .section-title { font-size: 38px; }
}

@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .hero-title { font-size: 40px; }
  .hero-subtitle { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
  .about-text { font-size: 18px; }
}
