/* CSS Variables - Updated to match brand guidelines */
:root {
  /* Primary Colors from Brand Guide */
  --primary-white: #FAFBFF;
  --primary-blue: #00B8FF;
  --primary-dark: #000D27;
  --primary-blue-alt: #0093FF;
  
  /* Grayscale Colors from Brand Guide */
  --cloud: #EDEFF7;
  --smoke: #D3D6E0;
  --steel: #BCBFCC;
  --space: #9DA2B3;
  --graphite: #6E7180;
  --arsenic: #40424D;
  --phantom: #1E1E24;
  --black: #000000;
  
  /* Success color (keeping existing) */
  --tech-green: #22C55E;
}

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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--primary-dark);
  color: var(--primary-white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header and Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 13, 39, 0.95);
  border-bottom: 1px solid rgba(250, 251, 255, 0.05);
  z-index: 999;
  backdrop-filter: blur(10px);
}

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

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
}

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

.nav-links a {
  color: var(--smoke);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8rem 5% 6rem 5%;
  background-image: 
    radial-gradient(circle at 30% 30%, rgba(0, 184, 255, 0.35), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(0, 147, 255, 0.25), transparent 60%);
  background-size: cover;
  background-position: center;
  color: var(--primary-white);
  max-width: 1400px;
  margin: 0 auto;
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin: 0.5rem 0 1rem 0;
}

.hero p {
  font-size: 1.125rem;
  color: var(--smoke);
  max-width: 600px;
  margin-bottom: 2rem;
  font-weight: 400;
}

.cta-primary {
  background-color: var(--primary-blue);
  color: var(--primary-dark);
  padding: 0.8rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
}

.cta-primary:hover {
  background-color: var(--primary-blue-alt);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 184, 255, 0.3);
}

/* Stats Bar */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  background-color: var(--phantom);
  padding: 3rem 5%;
  text-align: center;
}

.stats-bar .stat {
  flex: 1 1 150px;
}

.stats-bar h3 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.stats-bar p {
  font-size: 0.9rem;
  color: var(--smoke);
  font-weight: 400;
}

/* Fail Section */
.fail-section {
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.fail-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
}

.fail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.fail-card,
.solution-card {
  flex: 1;
  min-width: 280px;
  background-color: rgba(250, 251, 255, 0.05);
  border-radius: 0.75rem;
  padding: 2rem;
  color: var(--smoke);
}

.solution-card {
  border: 1px solid var(--primary-blue);
}

.fail-card h3,
.solution-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-white);
  margin-bottom: 1rem;
}

.fail-list,
.solution-list {
  list-style: none;
  margin-top: 0.5rem;
  padding-left: 0;
}

.fail-list li,
.solution-list li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  font-weight: 400;
}

.fail-list li svg,
.solution-list li svg {
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* Pricing Section */
.pricing-section {
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.pricing-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  grid-auto-rows: 1fr;
}

.pricing-card {
  background-color: var(--phantom);
  border: 1px solid rgba(250, 251, 255, 0.08);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.highlight {
  border-color: var(--primary-blue);
  box-shadow: 0 0 15px rgba(0, 184, 255, 0.4);
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.25rem;
}

.pricing-card .tier-desc {
  font-size: 0.85rem;
  color: var(--smoke);
  margin-bottom: 1rem;
  font-weight: 400;
}

.pricing-card .price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.pricing-card .price.beta-price {
  color: var(--tech-green);
}

.pricing-card ul {
  list-style: none;
  margin: 1rem 0 2rem 0;
  padding: 0;
}

.pricing-card ul li {
  font-size: 1rem;
  color: var(--smoke);
  margin: 0.4rem 0;
  font-weight: 400;
}

.cta-wrapper {
  margin-top: auto;
}

.cta-button {
  width: 100%;
  background-color: var(--primary-blue);
  color: var(--primary-dark);
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.cta-button:hover {
  background-color: var(--primary-blue-alt);
  transform: translateY(-2px);
}

.cta-button:disabled {
  background-color: var(--graphite);
  cursor: not-allowed;
  opacity: 0.6;
}

.pricing-card .note {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  color: var(--graphite);
  font-weight: 400;
}

.pricing-card.highlight .note {
  color: var(--tech-green);
}

/* Why Section */
.why-section {
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.why-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
}

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

.advantage-card {
  background-color: rgba(250, 251, 255, 0.05);
  border: 1px solid rgba(250, 251, 255, 0.08);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.advantage-card .icon {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.advantage-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-white);
  margin-bottom: 0.75rem;
}

.advantage-card p {
  font-size: 0.9rem;
  color: var(--smoke);
  font-weight: 400;
}

/* CTA Section */
.cta-section {
  background-color: rgba(250, 251, 255, 0.03);
  text-align: center;
  padding: 3rem 5%;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-white);
}

.cta-section p {
  font-size: 1rem;
  color: var(--smoke);
  max-width: 600px;
  margin: 0 auto 2rem auto;
  font-weight: 400;
}

/* Footer */
footer {
  background-color: var(--phantom);
  text-align: center;
  padding: 2rem 5%;
  font-size: 0.85rem;
  color: var(--graphite);
  font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .stats-bar h3 {
    font-size: 1.6rem;
  }
  
  .stats-bar p {
    font-size: 0.8rem;
  }
  
  .fail-grid {
    flex-direction: column;
  }
  
  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

/* Mobile Menu (optional - for future) */
@media (max-width: 768px) {
  nav {
    padding: 1rem 3%;
  }
  
  .hero {
    padding: 6rem 3% 4rem 3%;
  }
  
  .stats-bar,
  .fail-section,
  .pricing-section,
  .why-section,
  .cta-section {
    padding: 3rem 3%;
  }
}
