:root {
  --bg: #ffffff;
  --bg-secondary: #f8fafc;
  --panel: #ffffff;
  --text: #1a202c;
  --text-secondary: #4a5568;
  --muted: #718096;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --brand: #10b981;
  --brand-hover: #059669;
  --brand-light: #d1fae5;
  --success: #10b981;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* { 
  box-sizing: border-box; 
}

html, body { 
  height: 100%; 
}

body { 
  margin: 0; 
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; 
  background: var(--bg); 
  color: var(--text); 
  line-height: 1.6; 
  font-size: 16px;
}

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

/* Header */
.site-header { 
  position: sticky; 
  top: 0; 
  background: rgba(255, 255, 255, 0.95); 
  backdrop-filter: blur(12px); 
  border-bottom: 1px solid var(--border-light); 
  z-index: 100;
}

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

.brand { 
  font-weight: 700; 
  font-size: 20px;
  color: var(--brand); 
  text-decoration: none; 
  letter-spacing: -0.025em; 
}

.nav { 
  display: flex; 
  align-items: center; 
}

.nav .nav-link { 
  color: var(--text-secondary); 
  text-decoration: none; 
  margin-left: 32px; 
  padding: 8px 16px; 
  border-radius: 8px; 
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav .nav-link:hover, 
.nav .nav-link.active { 
  color: var(--text); 
  background: var(--bg-secondary); 
}

/* Main content */
.site-main { 
  padding: 0 0 80px; 
  min-height: calc(100vh - 200px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 { 
  line-height: 1.2; 
  margin: 0 0 16px; 
  font-weight: 600;
  letter-spacing: -0.025em;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

p { 
  margin: 0 0 16px; 
  color: var(--text-secondary); 
  line-height: 1.7;
}

/* Hero section */
.hero { 
  padding: 80px 0 60px; 
  text-align: center;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-secondary) 100%);
}

.hero h1 { 
  font-size: 56px; 
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--text) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle { 
  font-size: 20px; 
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

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

.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--brand);
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Grid layouts */
.grid { 
  display: grid; 
  gap: 24px; 
  margin-top: 40px; 
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Cards */
.card { 
  background: var(--panel); 
  border: 1px solid var(--border); 
  border-radius: 12px; 
  padding: 32px; 
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-light);
}

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

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

/* Feature cards */
.feature-card {
  text-align: left;
  position: relative;
}

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

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

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

/* Download section */
.download-section {
  text-align: center;
}

.download-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.2s ease;
}

.download-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-light);
}

/* Coming soon cards */
.coming-soon-card {
  position: relative;
  opacity: 0.9;
}

.coming-soon-card .badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--brand);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* Contact page styles */
.contact-info {
  margin-top: 24px;
}

.contact-item {
  margin-bottom: 32px;
}

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

.contact-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}

.contact-link:hover {
  color: var(--brand-hover);
}

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

.social-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--brand-hover);
}

/* Forms */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s ease;
  background: var(--panel);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-light);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 42px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Content styles */
.content {
  max-width: 800px;
  margin: 0 auto;
}

.content h2 {
  margin-top: 48px;
  margin-bottom: 24px;
}

.content h3 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.content ul, .content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.content li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

/* Footer */
.site-footer { 
  background: var(--bg-secondary);
  border-top: 1px solid var(--border); 
  padding: 60px 0 40px; 
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  margin-bottom: 20px;
  color: var(--text);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: var(--brand);
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .site-header .container {
    height: 64px;
  }
  
  .nav .nav-link {
    margin-left: 16px;
    padding: 8px 12px;
  }
  
  .hero {
    padding: 60px 0 40px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero .subtitle {
    font-size: 18px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .btn-group {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .social-links-contact {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .card {
    padding: 24px;
  }
  
  .nav {
    flex-wrap: wrap;
  }
  
  .nav .nav-link {
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: 8px;
  }
}
