/* ================================================
   HexaCore - Landing Page Styles
   ================================================ */

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Navigation */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-4) 0;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
}

.nav-logo img {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  filter: blur(60px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.hero .container {
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.hero-badge i {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--text-xl);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--primary-glow);
  color: var(--primary-light);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.section-description {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Tools Section */
.tools {
  padding: var(--space-24) 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.tool-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.tool-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-glow);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
}

.tool-icon i {
  width: 28px;
  height: 28px;
  color: var(--primary-light);
}

.tool-name {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.tool-description {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.tool-features {
  list-style: none;
}

.tool-features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding: var(--space-1) 0;
}

.tool-features li i {
  width: 16px;
  height: 16px;
  color: var(--success);
}

/* Features Section */
.features {
  padding: var(--space-24) 0;
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.feature-item {
  display: flex;
  gap: var(--space-4);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-glow);
  border-radius: var(--radius-lg);
}

.feature-icon i {
  width: 24px;
  height: 24px;
  color: var(--primary-light);
}

.feature-text h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.feature-text p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: 100%;
  max-width: 500px;
}

.visual-header {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

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

.visual-dot.danger { background: #ef4444; }
.visual-dot.warning { background: #f59e0b; }
.visual-dot.success { background: #22c55e; }

.visual-content {
  padding: var(--space-6);
}

.code-block {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-sm);
  line-height: 1.8;
}

.code-line {
  display: block;
}

.code-comment { color: #6b7280; }
.code-keyword { color: #c084fc; }
.code-function { color: #60a5fa; }
.code-string { color: #34d399; }

/* Pricing Section */
.pricing {
  padding: var(--space-24) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.pricing-card:hover {
  border-color: var(--primary);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, var(--surface) 100%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-1) var(--space-4);
  background: var(--primary);
  color: white;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.pricing-name {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.pricing-description {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.pricing-price {
  text-align: center;
  margin-bottom: var(--space-6);
}

.price-currency {
  font-size: var(--text-lg);
  color: var(--text-muted);
  vertical-align: top;
}

.price-value {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--text);
}

.price-period {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-6);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
}

.pricing-features li i {
  width: 16px;
  height: 16px;
  color: var(--success);
}

.pricing-features li .muted {
  color: var(--text-muted);
}

.pricing-features li .muted i {
  color: var(--text-muted);
}

/* About Section */
.about {
  padding: var(--space-24) 0;
  background: var(--surface);
}

.about-content {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  margin-bottom: var(--space-12);
}

.about-logo {
  flex-shrink: 0;
  text-align: center;
}

.about-logo img {
  width: 120px;
  height: 120px;
  margin-bottom: var(--space-4);
}

.about-logo h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
}

.about-text h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.about-text p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.about-stat {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.about-stat i {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.about-stat div strong {
  display: block;
  font-size: var(--text-lg);
  font-weight: 700;
}

.about-stat div span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* CTA Section */
.cta {
  padding: var(--space-24) 0;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.cta-content p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

/* Footer */
.landing-footer {
  padding: var(--space-16) 0 var(--space-8);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-4);
  max-width: 250px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-lg);
  font-weight: 700;
}

.footer-logo img {
  width: 32px;
  height: 32px;
}

.footer-links h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.footer-links a {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding: var(--space-1) 0;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-6);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .about-stats {
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

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