
/* General Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  text-align: center;
  background-color: #001f3f;
  color: #fff;
  padding: 15px;
  margin-bottom: 20px;
}

.educational-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.educational-card {
  background: #eaf7ff;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  flex: 1 1 400px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.educational-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #003366;
}

/* Comparison Section */
#comparison {
  display: flex;
  gap: 40px;
  margin: 40px 0;
  max-width: 1000px;
}

.comparison-item {
  flex: 1;
  text-align: center;
  padding: 20px;
  background-color: #f1f1f1;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.comparison-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}


/* Floating Ball Styling */
.floating-ball {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  animation: float 4s ease-in-out infinite, colorShift 8s linear infinite;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes float {
  0%, 100% { transform: translate(-50%, -10px); }
  50% { transform: translate(-50%, 10px); }
}

@keyframes colorShift {
  0% { background: #FF3CAC; }
  25% { background: #784BA0; }
  50% { background: #2B86C5; }
  75% { background: #43E97B; }
  100% { background: #FF3CAC; }
}

/* Plan Selection */
#plan-selection {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
}

.plan {
  position: relative;
  border: 1px solid #004466;
  padding: 20px;
  width: 250px;
  background-color: #e6f7ff;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.plan h3 {
  color: #004466;
}

.plan ul {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  color: #333;
  text-align: left;
}

.select-plan {
  background-color: #003366;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-plan:hover {
  box-shadow: 0 0 15px #00ffff, 0 0 30px #0033cc;
  transform: scale(1.05);
}

/* Billing Toggle */
.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  font-weight: bold;
}

.billing-toggle input {
  margin-right: 5px;
}

.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px auto;
  font-size: 1rem;
  font-weight: 500;
  width: 100%;
  max-width: 600px;
  text-align: center;
}


/* Pricing Summary Section */
.pricing-summary-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

#pricing-summary {
  position: relative;
  border: 2px solid #007BFF;
  border-radius: 12px;
  background-color: #e6f7ff;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
  max-width: 400px;
  z-index: 10;
}

#pricing-summary h2 {
  color: #004466;
}

#total-cost {
  font-size: 1.4em;
  color: #004466;
  font-weight: bold;
}

/* Auth Section */
.auth-section {
  background-color: #111;
  padding: 15px 20px;
  border-radius: 12px;
  margin: 20px 0;
  color: white;
  width: 100%;
  max-width: 100%;
}

.auth-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.auth-form label {
  flex: 0 0 100px;
  color: #ccc;
}

.auth-form input {
  flex: 0 0 180px;
  padding: 8px;
  border-radius: 6px;
  border: none;
}

.auth-form button {
  background-color: #003366;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.auth-form button:hover {
  background-color: #005599;
}

.error-message {
  flex: 0 0 100%;
  color: red;
  font-size: 0.9em;
}


select-plan {
  font-size: 0.95rem;
  font-weight: bold;
  padding: 8px 16px;
  background-color: #00264d;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: auto;
  margin-top: 1rem;
  text-align: center;
}

.select-plan:hover {
  background-color: #004080;
  box-shadow: 0 0 10px rgba(0,255,255,0.6);
}

.stripe-btn {
  background-color: #00264d;
  color: white;
  font-weight: bold;
  border: none;
  padding: 10px 18px;
  margin-top: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.stripe-btn:hover {
  background-color: #004080;
}

/* Pricing Summary Wrapper Fix */
.pricing-summary-wrapper {
  position: relative;
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: #e6f7ff;
  border: 2px solid #004466;
  border-radius: 10px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  z-index: 2;
  box-shadow: 0 0 10px rgba(0, 102, 153, 0.2);
}

/* Optional Sticky Positioning if scrolling becomes needed */
@media (min-height: 800px) {
  .pricing-summary-wrapper {
    position: sticky;
    top: 80px;
  }
}



.educational-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.educational-block {
  flex: 1 1 250px;
  background-color: #eaf7ff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
/* Wrap toggle + summary inside this */
.pricing-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  margin: 50px auto;
}

/* This ensures the toggle stays centered */
.billing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 16px;
}

/* Keep the pricing summary block visually stable */
#pricing-summary {
  background: #e6f6ff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
  width: 300px;
  text-align: center;
  border: 2px solid #0077ff;
}


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

main {
    flex: 1;
}

footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: relative;
    width: 100%;
}

.roadmap-container {
  background-color: #f8fafc; /* light grey-blue or brand tone */
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
