:root {
  --primary: #667eea;
  --primary-dark: #764ba2;
  --bg-dark: #0f0f23;
  --bg-card: #1a1a2e;
  --bg-card-hover: #252542;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #6b7280;
  --border: rgba(255, 255, 255, 0.1);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 35, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  font-size: 1.75rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  background: 
    radial-gradient(ellipse at top, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

.hero-container {
  max-width: 800px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(102, 126, 234, 0.2);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 2rem;
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

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

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

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

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

.btn-download {
  background: var(--gradient);
  color: white;
  width: 100%;
  justify-content: center;
}

.btn-disabled {
  background: var(--bg-card);
  color: var(--text-muted);
  width: 100%;
  justify-content: center;
  cursor: not-allowed;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-size: 2rem;
}

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

/* Features Section */
.features {
  padding: 6rem 2rem;
  background: var(--bg-dark);
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

/* Download Section */
.download {
  padding: 6rem 2rem;
  background: 
    radial-gradient(ellipse at top left, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    var(--bg-dark);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.download-card.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(102, 126, 234, 0.1) 100%);
}

.download-card:hover:not(.coming-soon) {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.platform-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Apple logo - white fill */
.download-card.active .platform-icon svg path {
  fill: #ffffff;
}

/* Windows logo keeps its blue */
.download-card.coming-soon .platform-icon svg path[fill="#00adef"] {
  fill: #00adef;
}

.download-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.version {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.arch {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.download-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.download-source {
  text-align: center;
  color: var(--text-secondary);
}

.download-source a {
  color: var(--primary);
  text-decoration: none;
}

.download-source a:hover {
  text-decoration: underline;
}

/* Screenshot Section */
.screenshot {
  padding: 6rem 2rem;
  background: var(--bg-dark);
}

.screenshot-showcase {
  display: flex;
  justify-content: center;
}

.screenshot-frame {
  background: var(--bg-card);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  max-width: 700px;
  width: 100%;
}

.mockup-header {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mockup-dots {
  display: flex;
  gap: 0.5rem;
}

.mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}

.mockup-dots span:nth-child(2) {
  background: #febc2e;
}

.mockup-dots span:nth-child(3) {
  background: #28c840;
}

.mockup-title {
  flex: 1;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.mockup-content {
  display: flex;
  min-height: 400px;
}

.mockup-sidebar {
  width: 160px;
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mockup-nav {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.mockup-nav.active {
  background: rgba(102, 126, 234, 0.2);
  color: var(--primary);
}

.mockup-main {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  padding: 1rem;
}

.mockup-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.mockup-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background: rgba(102, 126, 234, 0.2);
  color: var(--primary);
  border-radius: 0.25rem;
}

.mockup-card-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.mockup-card-row:last-child {
  border-bottom: none;
}

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

.mockup-value {
  font-family: monospace;
  font-size: 0.875rem;
}

/* Footer */
.footer {
  padding: 4rem 2rem 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border);
}

.footer-content {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .mockup-content {
    flex-direction: column;
  }
  
  .mockup-sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: center;
  }
  
  .nav-links {
    display: none;
  }
}

/* Extension Section */
.extension-section {
  background: 
    radial-gradient(ellipse at bottom right, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
    var(--bg-dark);
}

.section-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(102, 126, 234, 0.15);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 2rem;
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
  width: 100%;
}

.extension-download {
  text-align: center;
  margin-top: 3rem;
}

.extension-download .btn {
  display: inline-flex;
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.download-hint {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}
