/* ============================================
   Oryxis — Static Landing Page Styles
   ============================================ */

:root {
  --color-bg: #0c0e14;
  --color-bg-alt: #111520;
  --color-surface: #161b28;
  --color-surface-hover: #1c2235;
  --color-border: #1e2536;
  --color-text: #e4e8f1;
  --color-text-muted: #8892a8;
  --color-accent: #3CBBB1;
  --color-accent-glow: rgba(60, 187, 177, 0.15);
  --color-accent-hover: #4dd4c8;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.2s ease;
}

/* Reset */
*, *::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);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--color-accent); }

/* ============================================
   Navbar
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(12, 14, 20, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

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

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.navbar-logo { width: 32px; height: 32px; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
  font-weight: 500;
}

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

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.btn-primary {
  background: var(--color-accent);
  color: #0c0e14;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: 0 0 24px var(--color-accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-text-muted);
  background: var(--color-surface);
}

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

.btn-outline:hover {
  border-color: var(--color-text-muted);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--color-accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 60px;
}

.hero-content { max-width: 700px; }

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-accent);
  background: var(--color-surface);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--color-border);
}

.hero-image {
  width: 100%;
  max-width: 960px;
}

.hero-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 0 80px var(--color-accent-glow);
}

.hero-image-frame img {
  width: 100%;
  display: block;
}

/* ============================================
   Sections
   ============================================ */

.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
}

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

/* ============================================
   Features
   ============================================ */

.features { background: var(--color-bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--color-accent);
  background: var(--color-surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

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

/* ============================================
   Screenshots
   ============================================ */

.screenshots { background: var(--color-bg-alt); }

.screenshots-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.tab {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
}

.tab:hover { border-color: var(--color-text-muted); color: var(--color-text); }

.tab.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #0c0e14;
}

.screenshots-display { position: relative; }

.screenshot-item {
  display: none;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.screenshot-item.active { display: block; }

.screenshot-item img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
  max-width: 960px;
}

.screenshot-caption {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Security
   ============================================ */

.security { background: var(--color-bg); }

.security-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.security-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.security-subtitle {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.security-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.security-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-top: 2px;
}

.security-list li strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.security-list li span {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

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

.vault-graphic {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--color-border);
}

.vault-ring-1 {
  width: 280px; height: 280px;
  animation: rotate 20s linear infinite;
  border-color: rgba(60, 187, 177, 0.1);
}

.vault-ring-2 {
  width: 200px; height: 200px;
  animation: rotate 15s linear infinite reverse;
  border-color: rgba(60, 187, 177, 0.2);
}

.vault-ring-3 {
  width: 120px; height: 120px;
  animation: rotate 10s linear infinite;
  border-color: rgba(60, 187, 177, 0.3);
}

.vault-ring::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent);
}

.vault-icon {
  color: var(--color-accent);
  z-index: 1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   Comparison
   ============================================ */

.comparison { background: var(--color-bg-alt); }

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  background: var(--color-surface);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.comparison-table th.highlight {
  color: var(--color-accent);
  background: rgba(60, 187, 177, 0.05);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--color-text);
}

.comparison-table td.highlight {
  background: rgba(60, 187, 177, 0.03);
}

.comparison-table tbody tr:last-child td { border-bottom: none; }

.comparison-table tbody tr {
  transition: background var(--transition);
}

.comparison-table tbody tr:hover {
  background: var(--color-surface);
}

.check-yes { color: var(--color-accent); font-weight: 700; font-size: 1.1rem; }
.check-no { color: #555; font-size: 1.1rem; }

/* ============================================
   Download
   ============================================ */

.download { background: var(--color-bg); }

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  text-align: center;
}

.download-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.download-icon { color: var(--color-accent); }

.download-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

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

.download-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.download-note code {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--color-accent);
  word-break: break-all;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  border-top: 1px solid var(--color-border);
  padding: 64px 0 32px;
  background: var(--color-bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-logo { width: 28px; height: 28px; }

.footer-brand span {
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-tagline {
  width: 100%;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ============================================
   Scroll Animations
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .security-layout { grid-template-columns: 1fr; gap: 48px; }
  .security-visual { order: -1; }
}

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

  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 2.4rem; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }

  .section { padding: 80px 0; }

  .features-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .download-grid { grid-template-columns: 1fr; }
  .screenshots-tabs { flex-direction: column; align-items: center; }
}
