:root {
  --bg: #050509;
  --bg-alt: #0b0b12;
  --card: #11111a;
  --card-alt: #151521;
  --accent: #7b5cff;
  --accent-soft: rgba(123, 92, 255, 0.2);
  --text: #f5f5ff;
  --muted: #9a9ab5;
  --border: #232338;
  --danger: #ff4b5c;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.6);
  --transition: 0.18s ease-out;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #15152a 0, #050509 55%);
  color: var(--text);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 9, 0.96),
    rgba(5, 5, 9, 0.7),
    transparent
  );
  border-bottom: 1px solid rgba(35, 35, 56, 0.7);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--text);
  transition: background var(--transition), border-color var(--transition),
    transform var(--transition), box-shadow var(--transition), color var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #7b5cff, #b36bff);
  box-shadow: 0 12px 30px rgba(123, 92, 255, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(123, 92, 255, 0.7);
}

.btn-outline {
  border-color: var(--border);
  background: rgba(10, 10, 18, 0.8);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(20, 20, 35, 0.9);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(20, 20, 35, 0.9);
}

/* Hero */

.hero {
  padding: 72px 0 64px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(15, 15, 30, 0.9);
  border: 1px solid rgba(123, 92, 255, 0.4);
  color: var(--muted);
  font-size: 12px;
}

.hero h1 {
  margin: 18px 0 10px;
  font-size: 40px;
  line-height: 1.1;
}

.hero-sub {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-bullets li::before {
  content: "• ";
  color: var(--accent);
}

/* Hero card */

.hero-card {
  background: radial-gradient(circle at top left, #26264a 0, #11111a 45%, #050509 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 92, 255, 0.4);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(5, 5, 9, 0.9);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f57;
}

.dot.yellow {
  background: #febc2e;
}

.dot.green {
  background: #28c840;
}

.hero-card-body {
  padding: 14px 16px 18px;
}

.hero-card-title {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.hero-code {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: #050509;
  border: 1px solid rgba(35, 35, 56, 0.9);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  color: #e2e2ff;
  overflow-x: auto;
}

/* Sections */

.section {
  padding: 56px 0;
}

.section-alt {
  background: radial-gradient(circle at top, #0b0b14 0, #050509 60%);
}

.section h2 {
  font-size: 26px;
  margin: 0 0 8px;
}

.section-sub {
  margin: 0 0 24px;
  color: var(--muted);
}

/* Grid */

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Cards */

.card {
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 16px 16px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition), background var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  border-color: rgba(123, 92, 255, 0.6);
  background: var(--card-alt);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Pricing */

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  position: relative;
}

.pricing-card-featured {
  background: radial-gradient(circle at top, #26264a 0, #151521 55%);
  border-color: rgba(123, 92, 255, 0.8);
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price {
  margin: 10px 0 10px;
  font-size: 22px;
  font-weight: 600;
}

.price span {
  font-size: 12px;
  color: var(--muted);
}

.list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.list li {
  margin-bottom: 4px;
}

.list li::before {
  content: "✓ ";
  color: var(--accent);
}

.pricing-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

/* Why Us */

#why-us p {
  color: var(--muted);
}

/* FAQ */

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 10px 12px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Showcases */

.showcase-card .showcase-thumb {
  height: 120px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7b5cff, #ff4b5c);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  font-size: 13px;
  font-weight: 500;
}

/* CTA */

.section-cta {
  background: radial-gradient(circle at top, #26264a 0, #050509 60%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  padding: 18px 0 22px;
  background: #050509;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a:hover {
  color: var(--text);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    font-size: 32px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
