/* PowerShell Summit Theme CSS */
:root {
  --primary-color: #00aeef;
  --secondary-color: #0082c6;
  --tertiary-color: #2b2d78;
  --quaternary-color: #92278f;
  --gradient-angle: 41deg;
  
  /* Derived colors */
  --primary-light: #33bef2;
  --primary-dark: #0088cc;
  --text-dark: #333333;
  --text-light: #666666;
  --text-white: #ffffff;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  
  /* Gradients */
  --main-gradient: linear-gradient(var(--gradient-angle), var(--primary-color), var(--secondary-color), var(--tertiary-color), var(--quaternary-color));
  --hero-gradient: linear-gradient(var(--gradient-angle), rgba(0, 174, 239, 0.9), rgba(0, 130, 198, 0.9), rgba(43, 45, 120, 0.9), rgba(146, 39, 143, 0.9));
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--tertiary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* Layout components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 4rem 0;
}

.section-light {
  background-color: var(--background-light);
}

/* Header and Navigation */
.header {
  background: var(--background-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--tertiary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

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

/* Hero section */
.hero {
  background: var(--hero-gradient);
  color: var(--text-white);
  padding: 8rem 0 6rem;
  text-align: center;
  margin-top: 80px;
}

.hero h1 {
  color: var(--text-white);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.countdown-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-white);
}

.countdown-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.btn-secondary:hover {
  background: var(--text-white);
  color: var(--primary-color);
}

.btn-gradient {
  background: var(--main-gradient);
  color: var(--text-white);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: var(--text-white);
}

/* Cards */
.card {
  background: var(--background-white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-title {
  color: var(--tertiary-color);
  margin-bottom: 1rem;
}

/* Grid layouts */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Pricing cards */
.pricing-card {
  position: relative;
  background: var(--background-white);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.pricing-card.popular {
  border: 3px solid var(--primary-color);
}

.pricing-card.popular::before {
  content: "Popular";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--text-white);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--tertiary-color);
  margin: 1rem 0;
}

.price-original {
  font-size: 1.2rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-right: 10px;
}

/* Stats section */
.stats {
  background: var(--main-gradient);
  color: var(--text-white);
  padding: 4rem 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
  background: var(--tertiary-color);
  color: var(--text-white);
  padding: 3rem 0 1rem;
  text-align: center;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
}

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

/* Responsive design */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .countdown {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .countdown-item {
    padding: 1rem;
  }
  
  .countdown-number {
    font-size: 2rem;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 0 15px;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.text-white {
  color: var(--text-white) !important;
}

.bg-gradient {
  background: var(--main-gradient);
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }