/* VoxCloud - Minimalist Design */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --border: #e5e7eb;
  --success: #10b981;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

/* Header */
header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  margin-left: 32px;
  font-weight: 500;
  transition: color 0.2s;
}

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

nav a.nav-github {
  font-size: 0.875rem;
  color: var(--border);
}

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

nav a.lang-switch {
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.875rem;
}

nav a.lang-switch:hover {
  border-color: var(--primary);
  background: var(--bg-alt);
}

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

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

/* Apps Grid */
.apps {
  padding: 80px 0;
  background: var(--bg-alt);
}

.apps h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.app-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgb(0 0 0 / 0.15);
}

.app-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.app-card .tagline {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.app-card > p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.app-features {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.app-features li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text);
  font-size: 0.875rem;
}

.app-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.app-card .links {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

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

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* License Section */
.license-section {
  padding: 80px 0;
  text-align: center;
}

.license-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.license-section p {
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-light);
}

footer a {
  color: var(--primary);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  header .container {
    flex-direction: column;
    gap: 16px;
  }

  nav a {
    margin: 0 16px;
  }

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