/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #4a90e2;
  --secondary-color: #357abd;
  --accent-color: #50c878;
  --text-color: #333;
  --text-light: #666;
  --bg-color: #ffffff;
  --bg-light: #f8f9fa;
  --border-color: #e1e4e8;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

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

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

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 1.5rem 0;
  box-shadow: var(--shadow);
}

.header-content {
  margin-bottom: 1rem;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

.tagline {
  font-size: 1.1rem;
  opacity: 0.95;
}

nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
  padding: 0.25rem 0;
}

nav a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.875rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  display: inline-block;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badges img {
  height: 20px;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.features h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

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

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

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.feature-card p {
  color: var(--text-light);
}

/* Install Section */
.install {
  padding: 4rem 0;
}

.install h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 3rem;
}

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

.install-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.install-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.install-card p {
  margin-bottom: 1rem;
}

.install-card ol {
  margin-left: 1.5rem;
}

.install-card li {
  margin-bottom: 0.75rem;
}

.install-card ul {
  margin-left: 2rem;
  margin-top: 0.5rem;
}

.install-card ul li {
  margin-bottom: 0.25rem;
}

.install-card code {
  background: white;
  padding: 0.125rem 0.5rem;
  border-radius: 3px;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.install-card a {
  color: var(--primary-color);
  text-decoration: none;
}

.install-card a:hover {
  text-decoration: underline;
}

/* Support Section */
.support {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  text-align: center;
}

.support h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.support > .container > p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--text-light);
}

.support-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.support-btn {
  transition: transform 0.2s;
  display: inline-block;
}

.support-btn:hover {
  transform: scale(1.05);
}

.support-btn img {
  height: 40px;
}

.other-ways {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.other-ways h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.other-ways ul {
  list-style: none;
  text-align: left;
}

.other-ways li {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

footer a {
  color: #4a90e2;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer p {
  margin-bottom: 0.5rem;
}

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

  .hero h2 {
    font-size: 1.75rem;
  }

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

  .features h2,
  .install h2,
  .support h2 {
    font-size: 1.75rem;
  }

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

  .install-options {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  nav {
    font-size: 0.9rem;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  header h1 {
    font-size: 1.75rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}
