/* CSS Variables for Color Standardization */
:root {
  --primary-blue: #1E3A8A;
  --secondary-orange: #ff9933;
  --secondary-orange-hover: #e6801a;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --text-primary: #333;
  --text-secondary: #444;
  --text-light: #555;
  --border-color: #ccc;
  --border-light: #ddd;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --success: #198754;
  --danger: #dc3545;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styling */
body {
  font-family: Arial, sans-serif;
  background-color: var(--light-gray);
  color: var(--text-primary);
  line-height: 1.6;
}

html, body {
  height: 100%;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Header/Nav Styles */
header {
  background-color: var(--primary-blue);
  padding: 0.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo placeholder */
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
}

/* Navigation styles */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-blue);
  padding: 0 20px;
  width: 100%;
}
.logo img {
  height: 75px;
  width: auto;
}

@media (max-width: 768px) {
  .logo img {
    height: 45px;
  }
}

.logo {
  margin-right: 40px;
}



/* Main navigation in the center */
.main-nav {
  flex-grow: 1;
  display: flex;
  justify-content: left;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.nav-menu li a:hover {
  color: #fbbf24;
}

/* Auth links always on the right */
.auth-links {
  white-space: nowrap;
  margin-left: auto;
}

.auth-links a {
  text-decoration: none;
  margin-left: 10px;
  color: var(--white);
  font-weight: bold;
}

.auth-links a:hover {
  color: #fbbf24;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .main-nav {
    order: 2;
  }
  
  .auth-links {
    order: 3;
    margin-left: 0;
  }
  
  .logo {
    order: 1;
    margin-right: 0;
  }
  
  .logo img {
    height: 80px;
  }
  
  .nav-menu {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, #f0f2f5 0%, #ffffff 100%);
  padding: 4rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #000000;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero p:last-of-type {
  margin-bottom: 2rem;
}

/* Button Styles */
.btn-primary {
  background-color: var(--secondary-orange);
  color: var(--white) !important;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--secondary-orange-hover);
}

/* Intro Section */
.intro {
  padding: 3rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.intro-container {
  max-width: 800px;
  margin: 0 auto;
}

.intro h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #000000;
  font-weight: bold;
}

.intro p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Pain Points Section */
.pain-points {
  background-color: var(--white);
  padding: 4rem 2rem;
  border-top: 1px solid var(--border-light);
}

.pain-points-container {
  max-width: 900px;
  margin: 0 auto;
}

.pain-points h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #000000;
  text-align: center;
  font-weight: bold;
}

.pain-points ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.pain-points li {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-primary);
  padding-left: 1.5rem;
  position: relative;
}

.pain-points li::before {
  content: "•";
  color: var(--secondary-orange);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.5rem;
}

.pain-points li strong {
  color: #000000;
  font-weight: bold;
}

.pain-points p {
  font-size: 1.2rem;
  margin: 2rem 0;
  color: var(--text-primary);
  text-align: center;
  font-weight: 500;
}

/* Pain points button - centered */
.btn-pain-points {
  background-color: var(--secondary-orange);
  color: var(--white) !important;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: block;
  margin: 2rem auto 0 auto;
  width: fit-content;
  transition: background-color 0.3s ease;
}

/* Password Field Styles */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.toggle-password {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.toggle-password:hover {
  color: var(--text-primary);
}

.eye-icon {
  fill: currentColor;
}

.password-requirements {
  margin-top: 10px;
  font-size: 14px;
}

.requirement {
  margin: 5px 0;
  color: var(--text-light);
}

.requirement.valid {
  color: var(--success);
}

.requirement.invalid {
  color: var(--danger);
}

.check {
  display: inline-block;
  width: 16px;
  margin-right: 5px;
}

input.valid {
  border-color: var(--success) !important;
}

input.error {
  border-color: var(--danger) !important;
}

.error-message {
  color: var(--danger);
  font-size: 14px;
  margin-top: 5px;
}

.btn-pain-points:hover {
  background-color: var(--secondary-orange-hover);
}

/* Services Section */
.services-main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.services-main h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #000000;
}

.services-main p {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.services-main h2 {
  font-size: 1.8rem;
  color: #000000;
  margin: 40px 0 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 5px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 2rem;
}

.service-card {
  background-color: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 6px var(--shadow-light);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #000000;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
}

/* Footer Styles */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 20px;
  flex-wrap: wrap;
}

.footer-container a {
  color: var(--white);
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}

.footer-container a:hover {
  text-decoration: underline;
}

.footer-center {
  text-align: center;
  flex-grow: 1;
}

.footer-right {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.social-icon:hover {
  opacity: 0.7;
}

/* Login Page Styles */
.login-container {
  max-width: 400px;
  margin: 60px auto;
  padding: 30px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background-color: #fdfdfd;
  font-family: Arial, sans-serif;
}

.login-container h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
  font-size: 2rem;
}

.login-container label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.login-container input[type="email"],
.login-container input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}

.login-container .options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.login-container .options label {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.login-container .options input[type="checkbox"] {
  margin-right: 6px;
}

.login-container .options a {
  font-size: 0.9rem;
  color: #0077cc;
  text-decoration: none;
}

.login-container .options a:hover {
  text-decoration: underline;
}

.login-container .btn-primary {
  width: 100%;
  background-color: var(--secondary-orange);
  color: var(--white);
  padding: 12px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.login-container .btn-primary:hover {
  background-color: var(--secondary-orange-hover);
}

.captcha-placeholder {
  margin: 1rem 0;
  padding: 15px;
  background: #eef;
  text-align: center;
  font-size: 0.9rem;
  border-radius: 4px;
  border: 1px dashed #99c;
}

/* Additional styles for account, contact, create-account, faq, and privacy pages */
.account-container {
  max-width: 960px;
  margin: 40px auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.account-container h1 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 2.2rem;
}

.account-summary {
  background: #f3f3f3;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.tier-section {
  display: none;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  background-color: var(--white);
}

.tier-section h2 {
  margin-top: 0;
  color: var(--primary-blue);
  font-size: 1.6rem;
}

/* Contact Form Styles */
.contact-main {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: Arial, sans-serif;
}

.contact-main h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-blue);
  font-size: 2.2rem;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1rem;
}

input, select, textarea {
  padding: 10px;
  margin-top: 5px;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

textarea {
  resize: vertical;
}

.checkbox-group {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.checkbox-group input {
  margin-right: 10px;
}

/* Pricing Chart Styles */
.pricing-chart {
  margin: 2rem 0;
  display: flex;
  justify-content: space-around;
  gap: 2rem;
}

.pricing-plan {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  background-color: #f9f9f9;
}

.pricing-plan h2 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.pricing-plan p {
  margin: 0.3rem 0;
}

/* FAQ Styles */
.faq-main {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.faq-main h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-blue);
  font-size: 2.2rem;
}

.faq-item {
  margin-bottom: 25px;
}

.faq-item h3 {
  color: var(--primary-blue);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Privacy Policy Styles */
.privacy-main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: Arial, sans-serif;
}

.privacy-main h1 {
  color: var(--primary-blue);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.privacy-main h2 {
  color: var(--primary-blue);
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
}

.privacy-main p, .privacy-main li {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.privacy-main ul {
  padding-left: 1.5rem;
}

/* Footer standardization */
footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background-color: var(--primary-blue);
  color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .intro h3 {
    font-size: 1.5rem;
  }
  
  .pain-points h3 {
    font-size: 1.7rem;
  }
  
  .pain-points li {
    font-size: 1rem;
  }
}
.form-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #ff9933;
  box-shadow: 0 0 5px rgba(255, 153, 51, 0.3);
}

/* Email validation states */
.form-group input.checking {
  border-color: #ffc107;
  background-image: url("data:image/svg+xml,%3csvg width='16' height='16' fill='%23ffc107' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3e%3cpath d='M8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

.form-group input.error {
  border-color: #dc3545;
  background-color: #f8f9fa;
}

.form-group input.valid {
  border-color: #28a745;
}

/* Error message styling */
.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.error-message::before {
  content: "⚠";
  flex-shrink: 0;
}

.error-message a {
  color: #007bff;
  text-decoration: none;
}

.error-message a:hover {
  text-decoration: underline;
}

/* Loading state for submit button */
.btn-primary:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
.account-summary {
  background: #f3f3f3;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.tier-section {
  display: none;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  background-color: var(--white);
}

.tier-section h2 {
  margin-top: 0;
  color: var(--primary-blue);
  font-size: 1.6rem;
}
/* Create Account Page Specific Styles */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper input {
  padding-right: 50px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-light);
  transition: color 0.3s ease;
  z-index: 10;
}

.toggle-password:hover {
  color: var(--text-primary);
}

.toggle-password:focus {
  outline: 2px solid var(--secondary-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.eye-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.password-requirements {
  margin-top: 10px;
  padding: 12px;
  background-color: #f8f9fa;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.requirement {
  display: flex;
  align-items: center;
  margin: 5px 0;
  font-size: 14px;
  color: var(--text-light);
}

.requirement.valid {
  color: var(--success);
}

.requirement.invalid {
  color: var(--danger);
}

.check {
  display: inline-block;
  width: 20px;
  margin-right: 8px;
  text-align: center;
  font-weight: bold;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--secondary-orange);
  box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
  margin-top: 2px;
}

.checkbox-group label {
  font-weight: normal;
  margin-bottom: 0;
  cursor: pointer;
}

.loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
  margin-left: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-primary:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Toast Notification System */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  max-width: 500px;
  padding: 16px 20px;
  margin-bottom: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  pointer-events: auto;
  cursor: pointer;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.hide {
  transform: translateX(100%);
  opacity: 0;
}

/* Toast Types */
.toast.success {
  background-color: #d4edda;
  border-left: 4px solid var(--success);
  color: #155724;
}

.toast.error {
  background-color: #f8d7da;
  border-left: 4px solid var(--danger);
  color: #721c24;
}

.toast.warning {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  color: #856404;
}

.toast.info {
  background-color: #cce7ff;
  border-left: 4px solid #007bff;
  color: #004085;
}

/* Toast Icons */
.toast-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast.success .toast-icon::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
}

.toast.error .toast-icon::before {
  content: "✕";
  color: var(--danger);
  font-weight: bold;
}

.toast.warning .toast-icon::before {
  content: "⚠";
  color: #ffc107;
  font-weight: bold;
}

.toast.info .toast-icon::before {
  content: "ℹ";
  color: #007bff;
  font-weight: bold;
}

/* Toast Content */
.toast-content {
  flex: 1;
  word-wrap: break-word;
}

/* Toast Close Button */
.toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  margin-left: 8px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.toast-close:hover {
  opacity: 1;
}

/* Progress Bar */
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 8px 8px;
  transform-origin: left;
  animation: toast-progress 4000ms linear forwards;
}

@keyframes toast-progress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
  }
  
  .toast {
    min-width: unset;
    max-width: unset;
    margin-bottom: 8px;
  }
  
  .toast.show {
    transform: translateY(0);
  }
  
  .toast {
    transform: translateY(-100%);
  }
  
  .toast.hide {
    transform: translateY(-100%);
  }
}