/* ── VARIABLES ── */
:root {
  --accent: #5d6ee2;
  --accent-light: #7b89e8;
  --accent-dark: #4a59c9;
  --accent-bg: rgba(93, 110, 226, 0.08);
  --accent-bg-hover: rgba(93, 110, 226, 0.12);
  --text: #e8eaed;
  --text-secondary: #9aa0a6;
  --text-muted: #6b7280;
  --bg: #0f1117;
  --bg-soft: #1a1d27;
  --bg-card: #1e2130;
  --bg-elevated: #252838;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --max-width: 1120px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
nav > .content {
  width: 100%;
  margin: 0 auto;
  height: 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text);
}
.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.nav-brand span {

  font-weight: 700;
  letter-spacing: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);

  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent-light); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 4px;

}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 32px 24px;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text-secondary);
  text-decoration: none;

  font-weight: 500;
  padding: 8px 0;
}
.nav-mobile a:hover { color: var(--accent-light); }

/* ── LANG SWITCHER ── */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);

  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0;
  font-family: inherit;
  text-decoration: none;
}
.lang-btn:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  background: var(--accent-bg);
}
.lang-btn svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}
.lang-btn.active {
  color: var(--accent-light);
  border-color: rgba(93,110,226,0.3);
  background: var(--accent-bg);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 8px;

  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-lg {
  padding: 16px 32px;

}
.btn-sm {
  padding: 8px 16px;

}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 16px rgba(93,110,226,0.3);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 24px rgba(93,110,226,0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover {
  background: var(--bg-soft);
  border-color: var(--accent-light);
  color: var(--accent-light);
}
.btn svg {
  width: 16px;
  height: 16px;
}

/* ── CONTENT ── */
.content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* ── SECTION ── */
section {
  max-width: 100%;
  padding: 0;
}
.section-header {

  margin-bottom: 56px;
}
.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 16px;
  color: var(--text);
}
.section-header p {

  color: var(--text-secondary);
  margin: 0 auto;
}

/* ── HERO ── */
.hero {
  padding: 80px 0 0;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 64px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 50%;
  transform: translateX(-50%);
  width: 100vw;
  background:
    radial-gradient(circle 500px at 50% 196px, rgba(93,110,226,0.12) 0%, transparent 60%),
    radial-gradient(circle 300px at 100% 100%, rgba(93,110,226,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: none;
}
.hero-content {
  max-width: 1280px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-bg);
  border: 1px solid rgba(93,110,226,0.2);
  border-radius: 96px;

  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 32px;
}
.hero h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}
.download-request {
  margin-bottom: 16px;
  max-width: 520px;
  scroll-margin-top: 96px;
}
.download-request-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.download-email-input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--border-hover);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font: inherit;

  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.download-email-input::placeholder {
  color: var(--text-muted);
}
.download-email-input:focus {
  border-color: var(--accent-light);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 4px var(--accent-bg);
}
.download-submit {
  justify-content: center;
  min-width: 144px;
  height: 56px;
}
.download-request .download-request-note {
  margin-bottom: 16px;

  color: var(--text-secondary);
  line-height: 1.55;
  font-weight: 500;
}
.download-request .download-request-note strong {
  color: var(--accent-light);
  font-weight: 700;
}
.download-request .download-request-subnote {
  margin-top: 8px;

  color: var(--text-muted);
  line-height: 1.45;

}
.form-message {
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 8px;

  font-weight: 500;
}
.form-message.error {
  border: 1px solid rgba(248,113,113,0.35);
  background: rgba(248,113,113,0.08);
  color: #fecaca;
}
.form-message.success {
  border: 1px solid rgba(74,222,128,0.35);
  background: rgba(74,222,128,0.08);
  color: #bbf7d0;
}

/* ── HERO SCREENSHOT ── */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
}
.hero-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}
.screenshot-dots {
  display: flex;
  gap: 8px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
}
.screenshot-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-elevated);
}
.screenshot-dots span:nth-child(1) { background: #ff5f57; }
.screenshot-dots span:nth-child(2) { background: #febc2e; }
.screenshot-dots span:nth-child(3) { background: #28c840; }
.screenshot-img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform 0.4s ease;
  box-shadow: 0 24px 72px rgba(0,0,0,0.36), 0 0 40px rgba(93,110,226,0.08);
}
.screenshot-img:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

/* ── FEATURES ── */
.features {
  padding: 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.25s ease;
}
.feature-card:hover {
  border-color: rgba(93,110,226,0.3);
  box-shadow: 0 8px 32px rgba(93,110,226,0.08);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-light);
}
.feature-icon svg {
  width: 24px;
  height: 24px;
}
.feature-card h3 {

  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0;
  color: var(--text);
}
.feature-card p {

  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── SSH ── */
.ssh {
  padding: 80px 0;
}
.ssh-inner {
  background: linear-gradient(135deg, var(--accent-bg), rgba(93,110,226,0.02));
  border: 1px solid rgba(93,110,226,0.15);
  border-radius: 24px;
  padding: 64px 48px;

  max-width: var(--max-width);
  margin: 0 auto;
}
.ssh-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: var(--accent-bg);
  color: var(--accent-light);
  margin-bottom: 24px;
}
.ssh h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 16px;
}
.ssh p {

  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── PLATFORMS ── */
.platforms {
  padding: 0;
}
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.platform-card {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.25s ease;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
}
.platform-card:hover {
  border-color: rgba(93,110,226,0.3);
  box-shadow: 0 8px 32px rgba(93,110,226,0.08);
  transform: translateY(-2px);
}
.platform-icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}
.platform-icon .linux-penguin-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.platform-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0;
}
.platform-card p {

  color: var(--text-secondary);
  grid-column: 1 / -1;
  margin-top: 16px;
}

/* ── LANGUAGES ── */
.languages {
  padding: 48px 0;
  text-align: center;
  position: relative;
}
.languages::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  pointer-events: none;
}
.languages > * {
  position: relative;
  z-index: 1;
}
.languages > p {

  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.lang-list {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.lang-list span {

  color: var(--text);
  font-weight: 500;
}

/* ── PRICING ── */
.pricing {
  padding: 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 864px;
  margin: 0 auto;
}
.pricing-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 48px 40px;
  background: var(--bg-card);
  position: relative;
}
.pricing-card.pro {
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgba(93,110,226,0.15);
}
.pricing-label {

  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.pricing-card.pro .pricing-label {
  color: var(--accent-light);
}
.pricing-name {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.pricing-price {
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pricing-price .amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--text);
}
.pricing-price .period {

  color: var(--text-secondary);
}
.pricing-price-sub {

  color: var(--text-secondary);
  margin-bottom: 4px;
}
.pricing-price-updates {

  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.pricing-price-updates span {
  color: var(--accent-light);
  font-weight: 600;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;

  color: var(--text);
  line-height: 1.5;
}
.pricing-features li .check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;

  color: var(--accent-light);
}
.pricing-card.pro .pricing-features li .check {
  background: var(--accent);
  color: #fff;
}
.pricing-features li.disabled {
  color: var(--text-muted);
}
.pricing-features li .cross {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;

  color: var(--text-muted);
}
.pricing-btn {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 8px;

  font-weight: 600;

  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
}
.pricing-btn:hover {
  background: var(--bg-soft);
  border-color: var(--border-hover);
}
.pricing-btn.pro {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 2px 16px rgba(93,110,226,0.3);
}
.pricing-btn.pro:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 24px rgba(93,110,226,0.4);
  transform: translateY(-2px);
}
.pricing-popular {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;

  font-weight: 700;
  padding: 4px 16px;
  border-radius: 96px;
  white-space: nowrap;
}
.pricing-footer {

  color: var(--text-muted);

  margin-top: 16px;
}

/* Pricing extras */
.pricing-extras {
  max-width: 864px;
  margin: 40px auto 0;

  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.pricing-secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--text-muted);
  font-weight: 500;
}
.pricing-secure svg {
  color: var(--accent-light);
}
.pricing-comparison {

  color: var(--text-secondary);
  font-weight: 500;
  padding: 16px 24px;
  background: var(--bg-soft);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.pricing-faq-inline {

  color: var(--text-secondary);
}
.pricing-faq-inline strong {
  color: var(--text);
  margin-right: 8px;
}

/* ── FINAL CTA ── */
.final-cta {
  padding: 32px 0;
  position: relative;
  scroll-margin-top: 48px;
}
.languages + .final-cta {
  margin-top: -64px;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, rgba(93,110,226,0.08) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 50%, var(--bg) 100%);
  pointer-events: none;
}
.final-cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;

  position: relative;
  z-index: 1;
}
.final-cta h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 16px;
  text-align: center;
}
.final-cta p {

  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta .download-request {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.final-cta .download-email-input,
.final-cta .download-submit {
  height: 56px;
  min-height: 56px;
}
/* ── FOOTER ── */
footer {
  padding: 24px 16px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(26, 29, 39, 0.72), rgba(15, 17, 23, 0.96));
}
.footer-inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--accent-light);
}

/* ── LEGAL PAGES ── */
.legal-page {
  padding: 120px 32px 72px;
}
.legal-document {
  max-width: 864px;
  margin: 0 auto;
}
.legal-kicker {
  display: inline-flex;
  padding: 8px 16px;
  border: 1px solid rgba(93,110,226,0.2);
  border-radius: 96px;
  background: var(--accent-bg);
  color: var(--accent-light);

  font-weight: 700;
  margin-bottom: 24px;
}
.legal-document h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.legal-updated {
  color: var(--text-muted);

  margin-bottom: 32px;
}
.legal-intro {
  color: var(--text-secondary);

  line-height: 1.75;
  margin-bottom: 48px;
}
.legal-section {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.legal-section h2 {
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: 0;
  margin-bottom: 16px;
}
.legal-section p {
  color: var(--text-secondary);

  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-section p:last-child {
  margin-bottom: 0;
}
.legal-contact a {
  color: var(--accent-light);
  text-decoration: none;
}
.legal-contact a:hover {
  text-decoration: underline;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 0;

  }
  .hero h1 { font-size: 40px; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: none; }
  .nav-right { margin-left: auto; gap: 8px; }
  .lang-btn { gap: 4px; padding: 4px 6px; }
  .hero-badge {
    padding-left: 8px;
    padding-right: 8px;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 0;
  }
  .hero-content {
    gap: 0;
  }
  .hero-visual {
    display: none;
  }
  .hero h1 { font-size: 32px; }
  .hero-description { }
  .download-request-form {
    flex-direction: column;
  }
  .download-email-input {
    display: block;
    flex: none;
    width: 100%;
    height: 56px;
    min-height: 56px;
    line-height: 56px;
    padding-top: 0;
    padding-bottom: 0;
    -webkit-appearance: none;
    appearance: none;
  }
  .download-submit {
    width: 100%;
  }

  section,
  .features,
  .platforms,
  .pricing {
    padding-left: 0;
    padding-right: 0;
  }
  .section-header h2 { font-size: 32px; }

  .features-grid { grid-template-columns: 1fr; }

  .ssh-inner { padding: 48px 24px; }
  .ssh h2 { font-size: 24px; }

  .platforms-grid { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 40px 24px; }

  .final-cta h2 { font-size: 32px; }
  .final-cta p { }

  .footer-inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  .legal-page {
    padding: 104px 24px 56px;
  }
  .legal-document h1 {
    font-size: 32px;
  }
  .legal-intro {

  }
}
