/* ==========================================================================
   WacPad Design System - Sleek Pro Dark Theme
   ========================================================================== */

:root {
  --bg: #07090e;
  --card-bg: #0f131d;
  --card-hover: #161c2b;
  --card-border: #1e293b;
  --card-border-active: #38bdf8;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #8494a7;
  
  --accent: #38bdf8;
  --accent-rgb: 56, 189, 248;
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  --accent-glow: rgba(56, 189, 248, 0.25);
  
  --pro-gold: #f59e0b;
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.2);
  --error: #ef4444;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(30, 41, 59, 0.6);
  position: sticky;
  top: 0;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-brand span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  list-style: none;
}

.nav-links a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:not(.btn):hover {
  color: var(--text-main);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #07090e;
  box-shadow: 0 4px 20px var(--accent-glow);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(56, 189, 248, 0.4);
  opacity: 1;
}

.btn-secondary {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--card-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn-pro,
.nav-links a.btn-pro {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #07090e;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.btn-pro:hover,
.nav-links a.btn-pro:hover {
  box-shadow: 0 6px 28px rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
  color: #07090e;
}

.btn-block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-pro {
  background: rgba(245, 158, 11, 0.12);
  color: var(--pro-gold);
  border-color: rgba(245, 158, 11, 0.35);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 5rem 0 3.5rem;
  text-align: center;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 1.25rem 0 1.5rem;
  background: linear-gradient(180deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* ==========================================================================
   Downloads Section
   ========================================================================== */
.downloads-section {
  padding: 4rem 0 3.5rem;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.download-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.download-card:hover {
  background: var(--card-hover);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.download-card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--accent);
}

.download-card-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.download-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.download-meta {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.download-specs {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
  width: 100%;
  flex-grow: 1;
}

.download-specs li {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.download-specs li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
}

/* ==========================================================================
   Specs Strip
   ========================================================================== */
.specs-strip {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  margin-bottom: 5rem;
}

.spec-item {
  text-align: center;
}

.spec-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.spec-val.accent {
  color: var(--accent);
}

.spec-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.section-title {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}

.section-title h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all 0.2s ease;
}

.card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
  padding: 4rem 0 6rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.12);
  background: linear-gradient(180deg, #161c2b 0%, var(--card-bg) 100%);
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-header {
  margin-bottom: 1.25rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 1.25rem 0 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  min-height: 2.8rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.9rem;
}

.pricing-features li.disabled {
  color: var(--text-dim);
}

.pricing-features .check {
  color: var(--success);
  font-weight: bold;
}

.pricing-features .cross {
  color: var(--text-dim);
}

.pricing-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.pricing-footer .btn {
  height: 52px;
  min-height: 52px;
  font-size: 1rem;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.75rem;
  min-height: 2.5rem;
  line-height: 1.35;
}

/* ==========================================================================
   License Success / Delivery Page
   ========================================================================== */
.success-container {
  max-width: 640px;
  margin: 4rem auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.license-box {
  background: #07090e;
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 2rem 0 1.5rem;
  text-align: left;
}

.license-box label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.license-key-text {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
  word-break: break-all;
  user-select: all;
  background: transparent;
  border: none;
  width: 100%;
}

.activation-guide {
  background: var(--card-hover);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: left;
  margin: 2rem 0;
}

.activation-guide h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.activation-guide ol {
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  border-top: 1px solid var(--card-border);
  padding: 3.5rem 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

footer a {
  color: var(--text-muted);
}

footer a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Responsiveness
   ========================================================================== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--card-border);
  color: var(--text-main);
  font-size: 1.5rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .specs-strip {
    flex-direction: column;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 1.5rem;
    min-width: 220px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 200;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  .nav-links.show {
    display: flex;
  }
}

