:root {
  --bg: #030407;
  --bg-card: #0a0c14;
  --border: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.15);
  --accent: #00f2ff;
  --accent-soft: rgba(0, 242, 255, 0.1);
  --purple: #b163ff;
  --text-main: #ffffff;
  --text-dim: #94a3b8;
  --text-muted: #475569;
  --sans: 'Plus Jakarta Sans', sans-serif;
  --mono: 'Space Mono', monospace;
  --shadow-glow: 0 0 40px rgba(0, 242, 255, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Background Effects */
#canvas-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg);
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 242, 255, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(177, 99, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
  opacity: 0.15;
  pointer-events: none;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(3, 4, 7, 0.8);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a:not(.nav-btn) {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:not(.nav-btn):hover,
.nav-links a.active:not(.nav-btn) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}

.nav-btn {
  background: var(--accent);
  color: #000 !important;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  margin-left: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 242, 255, 0.3);
}

/* Hero Section */
header {
  padding: 180px 6% 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 32px;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  max-width: 950px;
}

h1 span {
  background: linear-gradient(to bottom right, var(--accent), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.3rem;
  color: var(--text-dim);
  max-width: 700px;
  margin-bottom: 48px;
}

.hero-note {
  margin-top: -28px;
  margin-bottom: 72px;
  color: var(--text-dim);
  font-size: 0.98rem;
  max-width: 720px;
  text-align: center;
}

.cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 100px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 10px 40px rgba(0, 242, 255, 0.15);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-bright);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Clean Software Image Display */
.hero-image-wrap {
  width: 100%;
  max-width: 940px;
  position: relative;
  border-radius: 16px;
  background: var(--bg-card);
  padding: 8px;
  border: 1px solid var(--border-bright);
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.software-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* What It Does */
#what-it-does {
  padding: 80px 6% 40px;
}

#what-it-does .what-it-does-inner {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 48px;
  box-shadow: var(--shadow-glow);
}

#what-it-does h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

#what-it-does p {
  color: var(--text-dim);
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.75;
}

/* Features Section */
section {
  padding: 120px 6%;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 48px;
  border-radius: 24px;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

/* Showcase & Carousel */
.carousel-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  max-width: 940px;
  margin: 0 auto;
}

.carousel-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.carousel-img-wrap img {
  max-width: 92%;
  max-height: 88%;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s;
}

.maximize-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-bright);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(12px);
  transition: all 0.2s;
}

.maximize-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.carousel-info {
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.carousel-text h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.carousel-text p {
  color: var(--text-dim);
  font-size: 1rem;
}

.c-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
  padding-bottom: 4px;
}

.c-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
}

/* Modal Arrows */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  cursor: pointer;
  z-index: 2010;
  backdrop-filter: blur(10px);
  transition: all 0.2s;
  padding-bottom: 6px;
}

.modal-nav:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.modal-nav.prev {
  left: 40px;
}

.modal-nav.next {
  right: 40px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.modal.active {
  display: flex;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  opacity: 0.6;
  z-index: 2020;
}

.modal-img {
  max-width: 85%;
  max-height: 85%;
  border-radius: 16px;
  box-shadow: 0 0 100px rgba(0, 242, 255, 0.15);
  transition: opacity 0.3s;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-bright);
}

.price-card.pro {
  border-color: var(--accent);
  position: relative;
  background: radial-gradient(circle at top right, rgba(0, 242, 255, 0.05), transparent);
}

.price-card.pro::after {
  content: "LIFETIME LICENSE";
  position: absolute;
  top: 32px;
  right: 32px;
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
}

.price-card.org {
  border-color: var(--accent);
  position: relative;
  background: radial-gradient(circle at top right, rgba(0, 242, 255, 0.05), transparent);
}

.price-card.org::after {
  content: "YEARLY LICENSE";
  position: absolute;
  top: 32px;
  right: 32px;
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
}

.price-card h4 {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.price-card .cost {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
  color: #fff;
}

.price-caveat {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.4;
}

.price-card ul {
  list-style: none;
  margin-bottom: 48px;
  flex-grow: 1;
}

.price-card li {
  padding: 12px 0;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}

.price-card li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  font-family: var(--mono);
}

footer {
  padding: 100px 6% 60px;
  border-top: 1px solid var(--border);
  text-align: center;
  background: rgba(3, 4, 7, 0.8);
  backdrop-filter: blur(24px);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-action {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font: inherit;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.footer-action:hover {
  color: var(--text-dim);
}

.copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--mono);
  opacity: 0.6;
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2200;
  display: none;
  justify-content: center;
  pointer-events: none;
}

.cookie-consent.active {
  display: flex;
}

.cookie-consent__panel {
  pointer-events: auto;
  width: min(100%, 920px);
  background: rgba(10, 12, 20, 0.96);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(24px);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-consent__copy {
  max-width: 62ch;
}

.cookie-consent__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cookie-consent__text {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.cookie-consent__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-consent__btn {
  border: 1px solid var(--border-bright);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-radius: 10px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-consent__btn.primary {
  background: var(--accent);
  color: #000;
  border-color: transparent;
}

.cookie-consent__btn:hover {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  nav {
    height: auto;
    min-height: 80px;
    padding: 12px 16px 14px;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a:not(.nav-btn) {
    white-space: nowrap;
    flex: 0 0 auto;
    padding: 10px 14px;
  }

  .nav-btn {
    margin-left: auto;
  }

  header {
    padding: 150px 16px 80px;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .cta-group {
    margin-bottom: 72px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-secondary {
    margin-left: 0;
  }

  .hero-image-wrap {
    max-width: 100%;
  }

  #what-it-does {
    padding: 56px 16px 24px;
  }

  #what-it-does .what-it-does-inner {
    padding: 36px 24px;
    border-radius: 20px;
  }

  #what-it-does p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .carousel-info {
    flex-direction: column;
    gap: 32px;
    text-align: center;
    padding: 32px;
  }

  .price-card {
    padding: 40px;
  }

  .modal-nav {
    display: none;
  }

  .modal {
    padding: 20px;
  }

  footer {
    padding: 72px 16px 40px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
  }

  .footer-links a,
  .footer-action {
    width: min(100%, 280px);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid var(--border-bright);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
  }

  .footer-links a:hover,
  .footer-action:hover {
    background: rgba(255, 255, 255, 0.08);
  }
}
