/* VoxCloud Subdomein - IntroVox Extended 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: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
}

.logo span {
  color: var(--primary);
  font-weight: 700;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  margin-left: 24px;
  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: 60px 0 40px;
  border-bottom: 1px solid var(--border);
}

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

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

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
}

.hero .meta {
  margin-top: 24px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero .meta span {
  color: var(--text-light);
  font-size: 0.875rem;
}

.hero .meta strong {
  color: var(--text);
}

/* Content Sections */
section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

section h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.section-intro {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.widgets-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.feature {
  padding: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.feature h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Feature Highlight - Image + Text side by side */
.feature-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feature-highlight.reverse {
  direction: rtl;
}

.feature-highlight.reverse > * {
  direction: ltr;
}

.feature-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

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

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

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.feature-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Screenshots */
.screenshot-section {
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.screenshot-wrapper {
  padding: 24px 0;
}

.screenshot-main {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.12);
}

.screenshot-inline {
  margin-top: 32px;
}

.screenshot-inline img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.screenshot-gallery img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Installation */
.install-steps {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
}

.install-steps ol {
  margin-left: 20px;
}

.install-steps li {
  margin-bottom: 12px;
}

.install-steps code {
  background: var(--border);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* Requirements */
.requirements ul {
  list-style: none;
}

.requirements li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

.requirements li:last-child {
  border-bottom: none;
}

.requirements .check {
  color: var(--success);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.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);
}

.buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Footer */
footer {
  padding: 32px 0;
  text-align: center;
  color: var(--text-light);
  font-size: 0.875rem;
}

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

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

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

  nav a {
    margin: 0 12px;
  }

  .feature-highlight {
    grid-template-columns: 1fr;
  }

  .feature-highlight.reverse {
    direction: ltr;
  }

  .feature-image {
    order: -1;
  }

  .screenshot-gallery {
    grid-template-columns: 1fr;
  }
}
