/* Volcanic Landing Page */

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

:root {
  --volcanic-red: #dc2626;
  --volcanic-orange: #ea580c;
  --volcanic-dark: #0a0a0a;
  --volcanic-card: #1a1a1a;
  --volcanic-border: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent: #dc2626;
  --success: #10b981;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--volcanic-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--volcanic-border);
  z-index: 1000;
}

.nav-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

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

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

/* Buttons */
.btn-primary {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--volcanic-red), var(--volcanic-orange));
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(220, 38, 38, 0.4);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-secondary {
  padding: 0.75rem 1.5rem;
  background: var(--volcanic-card);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
  border: 1px solid var(--volcanic-border);
  cursor: pointer;
  display: inline-block;
}

.btn-secondary:hover {
  background: #2a2a2a;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.1); opacity: 0.25; }
}

.hero-content {
  max-width: 1200px;
  text-align: center;
  z-index: 1;
}

.hero-title {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--volcanic-red), var(--volcanic-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  gap: 4rem;
  justify-content: center;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--volcanic-red), var(--volcanic-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Products Section */
.products {
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.product-card {
  background: var(--volcanic-card);
  padding: 2.5rem;
  border-radius: 16px;
  border: 2px solid var(--volcanic-border);
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--volcanic-red);
}

.product-card.featured {
  border-color: var(--volcanic-red);
  box-shadow: 0 0 60px rgba(220, 38, 38, 0.2);
}

.product-card.coming-soon {
  opacity: 0.7;
}

.product-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.product-tagline {
  color: var(--volcanic-red);
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-card > p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.product-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.product-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.product-link {
  color: var(--volcanic-red);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.product-link:hover {
  color: var(--volcanic-orange);
}

.coming-soon-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--volcanic-red);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Accounts Section */
.accounts {
  padding: 8rem 2rem;
  background: var(--volcanic-card);
  margin: 4rem 0;
}

.accounts-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.accounts-left h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.accounts-left > p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.accounts-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 2rem;
}

.feature-item h4 {
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.accounts-cta {
  display: flex;
  gap: 1rem;
}

.accounts-demo {
  position: relative;
}

.demo-window {
  background: var(--volcanic-dark);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--volcanic-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.demo-header {
  background: #1a1a1a;
  padding: 1rem;
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--volcanic-border);
}

.demo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.demo-dot.red { background: #dc2626; }
.demo-dot.yellow { background: #eab308; }
.demo-dot.green { background: #10b981; }

.demo-content {
  padding: 3rem;
}

.demo-content h3 {
  margin-bottom: 2rem;
  text-align: center;
}

.provider-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--volcanic-red), var(--volcanic-orange));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: transform 0.2s;
}

.provider-btn:hover {
  transform: translateY(-2px);
}

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

.provider-divider {
  text-align: center;
  color: var(--text-secondary);
  margin: 2rem 0;
  font-size: 0.9rem;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.provider-app {
  padding: 1rem;
  background: var(--volcanic-card);
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
  border: 1px solid var(--volcanic-border);
  transition: border-color 0.2s;
  cursor: pointer;
}

.provider-app:hover {
  border-color: var(--volcanic-red);
}

/* Developers Section */
.developers {
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.code-showcase {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.code-block {
  background: var(--volcanic-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--volcanic-border);
}

.code-header {
  background: #1a1a1a;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--volcanic-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.code-lang {
  background: var(--volcanic-red);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.code-file {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.code-block pre {
  padding: 2rem;
  overflow-x: auto;
}

.code-block code {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.8;
}

.keyword { color: #c792ea; }
.function { color: #82aaff; }
.string { color: #c3e88d; }
.comment { color: #546e7a; }

.code-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.code-feature {
  padding: 2rem;
  background: var(--volcanic-card);
  border-radius: 12px;
  border: 1px solid var(--volcanic-border);
  transition: border-color 0.2s;
}

.code-feature:hover {
  border-color: var(--volcanic-red);
}

.code-feature h4 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

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

/* Footer */
.footer {
  background: var(--volcanic-card);
  padding: 4rem 2rem 2rem;
  margin-top: 8rem;
  border-top: 1px solid var(--volcanic-border);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-section a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--text-primary);
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--volcanic-border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .accounts-content,
  .code-showcase {
    grid-template-columns: 1fr;
  }

  .provider-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }

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

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }
}
