/* ==========================================
   SSHJOIN Landing Page Styles
   Modern, Professional SSH Client Landing
   ========================================== */

/* CSS Variables */
:root {
  /* Colors */
  --color-bg: #0a0a0f;
  --color-bg-alt: #12121a;
  --color-bg-card: #16161f;
  --color-bg-elevated: #1a1a25;

  --color-text: #ffffff;
  --color-text-secondary: #a0a0b0;
  --color-text-muted: #6b6b7b;

  --color-primary: #6366f1;
  --color-primary-light: #818cf8;
  --color-primary-dark: #4f46e5;

  --color-accent: #22d3ee;
  --color-accent-alt: #a855f7;

  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-error: #ef4444;

  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-light: rgba(255, 255, 255, 0.12);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --gradient-accent: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
  --gradient-dark: linear-gradient(180deg, rgba(10, 10, 15, 0) 0%, rgba(10, 10, 15, 1) 100%);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Container */
  --container-max: 1280px;
  --container-padding: 1.5rem;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary-light);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  color: white;
  background: var(--gradient-primary);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

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

.btn-secondary:hover {
  background: var(--color-bg-elevated);
  border-color: var(--color-border-light);
}

.btn-outline {
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-border-light);
}

.btn-outline:hover {
  background: var(--color-bg-card);
}

.btn-white {
  color: var(--color-bg);
  background: white;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.nav.scrolled {
  border-bottom-color: var(--color-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  padding: 6px;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
  color: white;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: block;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1100;
  padding: 0.5rem 0.85rem;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-cta {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.lang-switcher {
  display: flex;
  gap: 4px;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

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

.nav-github {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.nav-github:hover {
  background: var(--color-bg-elevated);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(99, 102, 241, 0.15) 0%,
    rgba(168, 85, 247, 0.05) 40%,
    transparent 70%
  );
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, transparent, black 20%, black 80%, transparent);
}

.hero-glow {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
  filter: blur(60px);
}

.hero-container {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  font-size: 0.875rem;
  color: var(--color-accent);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
  animation: pulse 2s infinite;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.platforms-icons {
  display: flex;
  gap: var(--space-sm);
}

.platform-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.platform-icon:hover {
  background: var(--color-bg-elevated);
  color: var(--color-text);
  border-color: var(--color-border-light);
}

.platform-icon svg {
  width: 18px;
  height: 18px;
}

/* Hero Image / Browser Mockup */
.pricing-toggle {
  display: inline-flex;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
  padding: 4px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.pricing-toggle button {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 0.875rem;
}

.pricing-toggle button.active {
  background: var(--color-primary);
  color: white;
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-bg-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table caption {
  caption-side: bottom;
  padding: 12px 16px;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  text-align: left;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid var(--color-border);
  padding: 14px 18px;
  text-align: left;
}

.compare-table th:first-child,
.compare-table td:first-child {
  color: var(--color-text-secondary);
}

.compare-table th:nth-child(2),
.compare-table td:nth-child(2) {
  color: var(--color-primary-light);
  font-weight: 600;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.store-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: var(--space-3xl) auto 0;
  max-width: 520px;
}

.store-label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.store-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 196px;
  padding: 10px 18px 10px 14px;
  color: var(--color-text);
  background: #111318;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  text-align: left;
  transition:
    border-color var(--transition-fast),
    transform var(--transition-fast),
    background var(--transition-fast);
}

.store-badge svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 1.05rem;
  font-weight: 700;
}

.store-badge small {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.store-badge:hover {
  background: #18181f;
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.lang-switch {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

.lang-switch[aria-pressed='true'] {
  color: var(--color-text);
  border-color: var(--color-primary);
  background: rgba(99, 102, 241, 0.15);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-list details {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0 18px;
}

.faq-list summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  padding-bottom: 16px;
  color: var(--color-text-secondary);
}

.pricing-enterprise {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-bg-card);
}

.pricing-enterprise h3 {
  margin-bottom: 6px;
}

.pricing-enterprise p {
  color: var(--color-text-secondary);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  padding: 12px 18px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.toast[hidden] {
  display: none;
}

.terminal-ai {
  width: 230px;
  padding: var(--space-md);
  background: #101018;
  border-left: 1px solid var(--color-border);
}

.terminal-ai .ai-copy {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 8px 0 12px;
}

.ai-chip {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.hero-image {
  position: relative;
  max-width: 1100px;
  margin: var(--space-4xl) auto 0;
  perspective: 1000px;
}

.product-frame {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    var(--shadow-xl),
    0 0 60px rgba(99, 102, 241, 0.18);
}

.product-frame-wide {
  margin-top: var(--space-3xl);
}

.product-frame img,
.phone-frame img,
.product-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.product-stage {
  position: relative;
  background: #09090f;
  aspect-ratio: 16 / 10;
}

.product-shot,
.product-gif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.product-shot.is-active,
.product-gif.is-active {
  opacity: 1;
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  align-items: start;
}

.phone-frame {
  margin: 0 auto;
  max-width: 280px;
  background: #111827;
  border-radius: 32px;
  padding: 10px;
  box-shadow: var(--shadow-xl);
}

.phone-frame img {
  border-radius: 22px;
}

.phone-frame figcaption,
.product-gallery figcaption {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-top: var(--space-sm);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.product-gallery figure {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding-bottom: var(--space-md);
}

.browser-mockup {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    var(--shadow-xl),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transform: rotateX(2deg);
}

.browser-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border);
}

.browser-dots {
  display: flex;
  gap: var(--space-sm);
}

.browser-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f57;
}
.dot.yellow {
  background: #febc2e;
}
.dot.green {
  background: #28c840;
}

.browser-title {
  flex: 1;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.browser-content {
  height: 420px;
}

/* Terminal Demo */
.terminal-demo {
  display: flex;
  height: 100%;
}

.terminal-sidebar {
  width: 220px;
  background: var(--color-bg);
  border-right: 1px solid var(--color-border);
  padding: var(--space-md);
}

.sidebar-section {
  margin-bottom: var(--space-lg);
}

.sidebar-title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.sidebar-item.active {
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-primary-light);
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--color-text-muted);
  border-radius: 50%;
}

.status-dot.online {
  background: var(--color-success);
  box-shadow: 0 0 6px var(--color-success);
}

.sidebar-folder {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.folder-icon {
  font-size: 0.875rem;
}

.terminal-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.terminal-tabs {
  display: flex;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.terminal-tab {
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.terminal-tab.active {
  color: var(--color-text);
  border-bottom-color: var(--color-primary);
  background: rgba(99, 102, 241, 0.05);
}

.terminal-output {
  flex: 1;
  padding: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
  background: #0d0d12;
}

.terminal-output .line {
  white-space: pre;
}

.terminal-output .prompt {
  color: var(--color-success);
}

.terminal-output .path {
  color: var(--color-primary-light);
}

.terminal-output .command {
  color: var(--color-text);
}

.terminal-output .output {
  color: var(--color-text-secondary);
}

.terminal-output .cursor {
  animation: cursor-blink 1s infinite;
}

@keyframes cursor-blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* Stats Section */
.stats {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-top: var(--space-xs);
}

/* Features Section */
.features {
  padding: var(--space-4xl) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card.feature-large {
  grid-column: span 2;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon.purple {
  background: rgba(139, 92, 246, 0.1);
  color: #a78bfa;
}

.feature-icon.blue {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
}

.feature-icon.green {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
}

.feature-icon.orange {
  background: rgba(249, 115, 22, 0.1);
  color: #fb923c;
}

.feature-icon.cyan {
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
}

.feature-icon.pink {
  background: rgba(236, 72, 153, 0.1);
  color: #f472b6;
}

.feature-icon.yellow {
  background: rgba(250, 204, 21, 0.1);
  color: #fcd34d;
}

.feature-icon.red {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.feature-tags span {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  border-radius: var(--radius-full);
}

/* Security Section */
.security {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-alt);
}

.security-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.security-text .section-title {
  text-align: left;
}

.security-text .section-subtitle {
  text-align: left;
  margin: 0 0 var(--space-2xl) 0;
  max-width: none;
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.security-feature {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.check-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  color: var(--color-success);
}

.check-icon svg {
  width: 14px;
  height: 14px;
}

.security-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.security-feature p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.security-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-container {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  animation: shield-pulse 3s ease-in-out infinite;
}

@keyframes shield-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.shield {
  position: relative;
  width: 120px;
  height: 120px;
  color: var(--color-primary-light);
}

.shield svg {
  width: 100%;
  height: 100%;
}

.security-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-primary-light);
  border-radius: 50%;
  animation: float 4s ease-in-out infinite;
}

.security-particles span:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}
.security-particles span:nth-child(2) {
  top: 30%;
  right: 25%;
  animation-delay: 0.5s;
}
.security-particles span:nth-child(3) {
  bottom: 30%;
  left: 25%;
  animation-delay: 1s;
}
.security-particles span:nth-child(4) {
  bottom: 20%;
  right: 20%;
  animation-delay: 1.5s;
}
.security-particles span:nth-child(5) {
  top: 50%;
  left: 10%;
  animation-delay: 2s;
}
.security-particles span:nth-child(6) {
  top: 50%;
  right: 10%;
  animation-delay: 2.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* Pricing Section */
.pricing {
  padding: var(--space-4xl) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

.pricing-card {
  position: relative;
  padding: var(--space-2xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.pricing-card:hover {
  border-color: var(--color-border-light);
  transform: translateY(-4px);
}

.pricing-card.popular {
  border-color: var(--color-primary);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, var(--color-bg-card) 100%);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-xs) var(--space-md);
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: var(--space-sm);
}

.pricing-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.pricing-price .amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

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

.pricing-description {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.pricing-features li.highlight {
  color: var(--color-text);
  font-weight: 500;
}

.pricing-features svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--color-success);
}

/* Download Section */
.download {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-alt);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: var(--space-2xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.download-card:hover {
  border-color: var(--color-border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.download-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-lg);
}

.download-icon svg {
  width: 32px;
  height: 32px;
}

.download-icon.windows {
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.2) 0%, rgba(0, 120, 212, 0.05) 100%);
  color: #0078d4;
}

.download-icon.macos {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  color: #ffffff;
}

.download-icon.linux {
  background: linear-gradient(135deg, rgba(255, 175, 0, 0.2) 0%, rgba(255, 175, 0, 0.05) 100%);
  color: #ffaf00;
}

.download-icon.web {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(34, 211, 238, 0.08) 100%);
  color: #818cf8;
}

.download-info {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.download-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.download-version {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.download-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.download-card:hover .download-btn {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.download-btn svg {
  width: 18px;
  height: 18px;
}

.download-footer {
  text-align: center;
}

.download-footer p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.download-footer .link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary-light);
  transition: color var(--transition-fast);
}

.download-footer .link:hover {
  color: var(--color-primary);
}

/* Testimonials Section */
.testimonials {
  padding: var(--space-4xl) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.testimonial-content {
  margin-bottom: var(--space-lg);
}

.testimonial-content p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 600;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 0.9375rem;
  font-weight: 600;
}

.author-info span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* CTA Section */
.cta {
  padding: var(--space-4xl) 0;
}

.cta-content {
  position: relative;
  text-align: center;
  padding: var(--space-4xl);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.9;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.cta-content h2 {
  position: relative;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.cta-content p {
  position: relative;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xl);
}

.cta-buttons {
  position: relative;
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

/* Footer */
.footer {
  padding: var(--space-4xl) 0 var(--space-xl);
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--color-bg-elevated);
  color: var(--color-text);
  border-color: var(--color-border-light);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-bottom a {
  color: var(--color-primary-light);
}

.footer-bottom a:hover {
  color: var(--color-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card.feature-large {
    grid-column: span 1;
  }

  .security-content {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .terminal-ai {
    display: none;
  }

  .security-visual {
    order: -1;
  }

  .security-text .section-title,
  .security-text .section-subtitle {
    text-align: center;
  }

  .security-text .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .download-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto var(--space-2xl);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: span 2;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: var(--space-lg);
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .browser-mockup {
    transform: none;
  }

  .phone-row,
  .product-gallery {
    grid-template-columns: 1fr;
  }

  .store-badge {
    min-width: 220px;
    justify-content: center;
  }

  .terminal-sidebar,
  .terminal-ai {
    display: none;
  }

  .pricing-enterprise {
    flex-direction: column;
    text-align: center;
  }

  .nav-links .nav-cta {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

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

  .footer-brand {
    grid-column: span 1;
    text-align: center;
    max-width: none;
  }

  .social-links {
    justify-content: center;
  }

  .footer-links {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-badge {
    font-size: 0.75rem;
  }

  .browser-content {
    height: 250px;
  }

  .pricing-card {
    padding: var(--space-xl);
  }

  .cta-content {
    padding: var(--space-2xl) var(--space-lg);
  }
}

/* Smooth Scroll Offset for Fixed Nav */
html {
  scroll-padding-top: 100px;
}

/* Selection */
::selection {
  background: rgba(99, 102, 241, 0.3);
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-bg-elevated);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-border-light);
}
