/* Web Host Leader - Styles */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #0f172a;
  --accent: #f59e0b;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --success: #10b981;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

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

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.25rem;
}

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

.nav {
  display: flex;
  gap: 32px;
}

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

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

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #1e3a5f 100%);
  color: white;
  padding: 80px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Articles Grid */
.articles-section {
  padding: 80px 0;
  background: var(--bg-alt);
}

.articles-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--secondary);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.article-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.article-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.article-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--secondary);
}

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

.article-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 500;
  margin-top: 16px;
}

/* Page Content */
.page-content {
  padding: 60px 0;
}

.page-content .container {
  max-width: 800px;
}

.page-content h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--secondary);
}

.page-content h2 {
  font-size: 1.75rem;
  margin: 40px 0 20px;
  color: var(--secondary);
}

.page-content h3 {
  font-size: 1.35rem;
  margin: 30px 0 15px;
  color: var(--secondary);
}

.page-content p {
  margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.page-content li {
  margin-bottom: 8px;
}

.page-content a {
  color: var(--primary);
  text-decoration: none;
}

.page-content a:hover {
  text-decoration: underline;
}

/* Resources Page */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.resource-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.resource-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.resource-card h3 {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.resource-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.resource-card a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

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

/* Newsletter */
.newsletter {
  background: var(--primary);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.newsletter h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.newsletter p {
  opacity: 0.9;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
}

.newsletter-form button {
  background: var(--secondary);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: #0f172a;
}

/* Footer */
.footer {
  background: var(--secondary);
  color: white;
  padding: 50px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-info {
  text-align: right;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.footer-info p {
  margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    height: auto;
    padding: 16px 24px;
    gap: 16px;
  }
  
  .nav {
    gap: 20px;
  }
  
  .hero {
    padding: 50px 0 70px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .footer-info {
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}