@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto+Mono:wght@400;600&display=swap');

:root {
  --bg: #03050a;
  --panel: #0b0f17;
  --panel-light: #131a26;
  --text: #f3f5ff;
  --muted: #a0aac0;
  --accent: #56ccf2;
  --accent-2: #a66bff;
  --accent-3: #ff7a59;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(3, 5, 10, 0.35);
  --radius: 22px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top right, rgba(86, 204, 242, 0.25), transparent 45%),
    radial-gradient(circle at 20% 20%, rgba(255, 122, 89, 0.18), transparent 40%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--panel);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.25s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

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

.branding img {
  width: 42px;
  height: 42px;
}

.branding .brand {
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.brand-caption {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
}

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

.nav-links .nav-link {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s ease;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links .nav-link:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  padding: 6px;
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.hero {
  padding: clamp(60px, 12vw, 120px) 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.7rem, 5vw, 3.8rem);
  margin: 0 0 12px;
  line-height: 1.12;
  letter-spacing: 0.04em;
}

.hero-content p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 540px;
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cta.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: var(--shadow);
}

.cta.secondary {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-art {
  width: 100%;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 30px;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(40px, 8vw, 80px) 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section p {
  color: var(--muted);
}

.section-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--panel);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  margin: 0;
}

.license-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--panel);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.license-panel strong {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  margin-top: 24px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-grid .socials {
  display: flex;
  gap: 14px;
}

.footer-grid .socials a {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.hero, .section, .footer {
  position: relative;
  z-index: 1;
}

.badge {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 0;
    padding: 24px;
    flex-direction: column;
    background: var(--panel);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 100;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }
}

pre {
  margin: 0;
  padding: 24px;
  border-radius: 22px;
  background: rgba(12, 18, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: auto;
  white-space: pre-wrap;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  color: #e4ecff;
  max-height: 560px;
}

.meta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
}

/* New Styles for 2025 Redesign */

.text-center {
  text-align: center;
  justify-content: center;
}

.text-center p {
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}

.feature-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.bubble {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--panel-light);
  border: 1px solid var(--border);
  font-weight: 500;
  font-size: 0.9rem;
}

.pricing-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.price-tier {
  background: var(--panel);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-tier:first-child {
  grid-column: 1 / -1;
  background: var(--panel-light);
  border-color: var(--accent);
  text-align: center;
}

@media (min-width: 820px) {
  .price-tier:first-child {
    grid-column: 1 / 3;
  }
  .price-tier:nth-child(2) {
    grid-column: 3 / -1;
  }
}

.price-tier h3 {
  margin: 0;
  font-size: 1.4rem;
}

.price-tier .price-tag {
  font-size: 2rem;
  font-weight: 700;
}

.price-tag .sale-price {
  color: var(--accent);
}

.price-tag .msrp {
  font-size: 1.5rem;
  color: var(--muted);
  font-weight: 400;
}

.price-tier p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
  flex-grow: 1;
}

.full-width {
  width: 100%;
}

.contact-section p {
  max-width: 680px;
}

.contact-details {
  margin: 24px 0;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: inline-block;
}

.contact-details p {
  margin: 0;
}
.contact-details p:not(:last-child) {
  margin-bottom: 12px;
}

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

/* Download Section Styles */
.download-card-server {
  background: var(--panel-light);
  border-color: var(--accent-3);
}

.download-notice {
  margin-top: 20px;
  padding: 16px;
  background: rgba(255, 122, 89, 0.08);
  border: 1px solid rgba(255, 122, 89, 0.25);
  border-radius: 12px;
}

.download-notice h4 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: var(--accent-3);
}

.download-notice p {
  margin: 0;
  font-size: 0.85rem;
}

.download-notice code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.8rem;
}

.download-notice details {
  margin-top: 12px;
}

.download-notice summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 0.85rem;
}

.download-notice summary:hover {
  text-decoration: underline;
}

.download-notice .help-content {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.download-notice .help-content p {
  margin-top: 12px;
  margin-bottom: 6px;
}

.download-notice .help-content p:first-child {
  margin-top: 0;
}

.download-notice .help-content ul,
.download-notice .help-content ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.85rem;
}

.download-notice .help-content li {
  margin-bottom: 4px;
}

.ctas-spaced {
  margin-top: 16px;
}
