/* ── 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: 10px;
  --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(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.nav-brand span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent-light); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.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 20px;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
}
.nav-mobile a:hover { color: var(--accent-light); }

/* ── LANG SWITCHER ── */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.2px;
  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: 15px;
  height: 15px;
  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: 10px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}
.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(-1px);
}
.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: 18px;
  height: 18px;
}

/* ── SECTION ── */
section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
  color: var(--text);
}
.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* ── HERO ── */
.hero {
  padding: 144px 32px 64px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 64px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(93,110,226,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(93,110,226,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 1280px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-bg);
  border: 1px solid rgba(93,110,226,0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 20px;
  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: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}
.download-request {
  margin-bottom: 16px;
  max-width: 520px;
  scroll-margin-top: 96px;
}
.download-request-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.download-email-input {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--border-hover);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  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: 138px;
  height: 54px;
}
.download-request .download-request-note {
  margin-bottom: 12px;
  font-size: 15px;
  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;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  text-align: center;
}
.form-message {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  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: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.screenshot-dots span {
  width: 10px;
  height: 10px;
  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 70px rgba(0,0,0,0.36), 0 0 42px rgba(93,110,226,0.08);
}
.screenshot-img:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

/* ── FEATURES ── */
.features {
  padding: 100px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 36px 32px;
  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: 12px;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-light);
}
.feature-icon svg {
  width: 22px;
  height: 22px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.feature-card p {
  font-size: 14px;
  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;
  text-align: center;
  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: 20px;
  background: var(--accent-bg);
  color: var(--accent-light);
  margin-bottom: 24px;
}
.ssh h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}
.ssh p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── PLATFORMS ── */
.platforms {
  padding: 100px 0;
}
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.platform-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.25s ease;
}
.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;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--text-secondary);
}
.platform-icon .linux-penguin-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.platform-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.platform-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ── LANGUAGES ── */
.languages {
  padding: 48px 32px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.languages > p {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.lang-list {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.lang-list span {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

/* ── PRICING ── */
.pricing {
  padding: 100px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  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-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.pricing-card.pro .pricing-label {
  color: var(--accent-light);
}
.pricing-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  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: -1.5px;
  color: var(--text);
}
.pricing-price .period {
  font-size: 15px;
  color: var(--text-secondary);
}
.pricing-price-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.pricing-price-updates {
  font-size: 14px;
  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: 14px;
  margin-bottom: 36px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.pricing-features li .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 11px;
  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: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 11px;
  color: var(--text-muted);
}
.pricing-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  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 12px rgba(93,110,226,0.3);
}
.pricing-btn.pro:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 20px rgba(93,110,226,0.4);
  transform: translateY(-1px);
}
.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-footer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

/* Pricing extras */
.pricing-extras {
  max-width: 860px;
  margin: 40px auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.pricing-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.pricing-secure svg {
  color: var(--accent-light);
}
.pricing-comparison {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 12px 24px;
  background: var(--bg-soft);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.pricing-faq-inline {
  font-size: 14px;
  color: var(--text-secondary);
}
.pricing-faq-inline strong {
  color: var(--text);
  margin-right: 8px;
}

/* ── FINAL CTA ── */
.final-cta {
  padding: 100px 32px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 50%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(93,110,226,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.final-cta h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.final-cta p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta .download-request {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.final-cta .download-request-note,
.final-cta .download-request-subnote {
  text-align: center;
}
/* ── FOOTER ── */
footer {
  padding: 48px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent-light);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-lang {
  font-size: 13px;
}
.footer-lang a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-lang a:hover {
  color: var(--accent-light);
}

/* ── LEGAL PAGES ── */
.legal-page {
  padding: 120px 32px 72px;
}
.legal-document {
  max-width: 860px;
  margin: 0 auto;
}
.legal-kicker {
  display: inline-flex;
  padding: 6px 14px;
  border: 1px solid rgba(93,110,226,0.2);
  border-radius: 100px;
  background: var(--accent-bg);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}
.legal-document h1 {
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.legal-updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.legal-intro {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 44px;
}
.legal-section {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.legal-section h2 {
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}
.legal-section p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.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;
    text-align: center;
  }
  .hero h1 { font-size: 40px; }
  .download-request { margin-left: auto; margin-right: auto; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .lang-btn span { display: none; }
  .lang-btn { padding: 7px 8px; }
  .nav-inner {
    padding-left: 28px;
    padding-right: 28px;
  }

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

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

  .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 28px; }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .legal-page {
    padding: 104px 24px 56px;
  }
  .legal-document h1 {
    font-size: 32px;
  }
  .legal-intro {
    font-size: 16px;
  }
}
