:root {
  --bg: #09090b;
  --surface: #111114;
  --surface-2: #18181b;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-soft: rgba(16, 185, 129, 0.12);
  --accent-border: rgba(16, 185, 129, 0.35);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --container: 1180px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent {
  color: var(--accent);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.7);
  flex-shrink: 0;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-desktop a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.2px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.2px) rotate(-45deg);
}

.mobile-drawer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px 24px;
}

.mobile-nav a:not(.btn) {
  padding: 8px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 15px 24px;
  font-size: 0.96rem;
}

.btn-block {
  width: 100%;
  padding: 14px 20px;
}

.btn-primary {
  background: var(--accent);
  color: #052e1f;
  font-weight: 700;
}

.btn-primary:hover {
  background: #34d399;
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background: var(--surface-2);
  border-color: var(--accent-border);
}

.btn-card {
  width: 100%;
  padding: 13px 18px;
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-strong);
  margin-top: auto;
}

.btn-card:hover {
  background: var(--accent);
  color: #052e1f;
  border-color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 84px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 460px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(9, 9, 11, 0) 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 860px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: #6ee7b7;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin: 0 auto 36px;
  max-width: 680px;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--text);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-value {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: #0c0c0f;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.section-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Template Showcase Cards */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.template-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.template-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
}

.template-preview {
  position: relative;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #141418;
  border-bottom: 1px solid var(--border);
}

.browser-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.browser-url {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.template-preview img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.sector-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: 6px;
  background: rgba(9, 9, 11, 0.86);
  border: 1px solid var(--border-strong);
  font-size: 0.76rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.template-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.template-title {
  margin: 0 0 10px;
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.template-desc {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.theme-block {
  margin-bottom: 22px;
}

.theme-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.theme-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.theme-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.theme-pill:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.swatch {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

/* Packages */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.package-card.is-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.07) 0%, var(--surface) 45%);
  box-shadow: 0 20px 50px -28px rgba(16, 185, 129, 0.45);
}

.package-ribbon {
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #052e1f;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.package-head {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.package-tier {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.package-name {
  margin: 0 0 10px;
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.package-summary {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.package-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.package-features li {
  position: relative;
  padding-left: 24px;
  font-size: 0.93rem;
  color: #e4e4e7;
}

.package-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.process-card {
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.process-title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.process-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Contact */
.section-contact {
  padding-top: 24px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 36px;
  align-items: center;
  padding: 44px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, var(--surface) 55%);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
}

.contact-title {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.contact-desc {
  margin: 0 0 22px;
  color: var(--text-muted);
  max-width: 540px;
}

.sector-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sector-chip {
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sector-chip:hover {
  color: var(--text);
  border-color: var(--accent-border);
}

.sector-chip.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: #6ee7b7;
}

.contact-action-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: rgba(9, 9, 11, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.contact-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.contact-meta strong {
  color: var(--text);
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .templates-grid,
  .packages-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    grid-template-columns: 1fr;
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .nav-desktop,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 68px 0 60px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .metric-divider {
    width: 100%;
    height: 1px;
  }

  .section {
    padding: 64px 0;
  }

  .templates-grid,
  .packages-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 24px;
  }

  .contact-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .template-card {
    transition: none;
  }
}
