/* CSS Variables */
:root {
  --color-bg: #0a0f1a;
  --color-surface: #111827;
  --color-surface-elevated: #1a2332;
  --color-border: #2d3748;
  --color-text: #f7fafc;
  --color-text-muted: #a0aec0;
  --color-accent: #00d4aa;
  --color-accent-hover: #00f5c4;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.2; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

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

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 26, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-muted);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

/* Hero */
.hero {
  padding: 80px 0 100px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 212, 170, 0.15);
  color: var(--color-accent);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero h1 {
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #a0aec0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* Product Grid (Home) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 60px 0 100px;
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 212, 170, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.product-card h3 {
  margin-bottom: 8px;
  color: var(--color-text);
}

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

/* Product Page Layout */
.product-hero {
  padding: 60px 0 80px;
}

.product-hero h1 {
  margin-bottom: 16px;
}

.product-hero p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 640px;
}

.product-content {
  padding: 40px 0 100px;
}

.product-content section {
  margin-bottom: 48px;
}

.product-content section:last-child {
  margin-bottom: 0;
}

.product-content p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  color: var(--color-text-muted);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 48px 0;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 20px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 60px 0 80px;
  }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
