/* --- CSS Variables and Base Styles --- */
:root {
  --color-bg: #fdfdfd;
  --color-bg-alt: #f0f2f5;
  --color-primary: #1d2529;
  --color-secondary: #2c3e50;
  --color-accent: #0066cc;
  --color-accent2: #005bb5; 
  --color-text: #333333;
  --font-heading: "Lora", serif;
  --font-body: "Inter", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.2;
}
body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* --- Logo --- */

.logo img {
  max-height: 75px;
  width: auto;
}

.logo {
  display: flex;
  align-items: center;
}

/* Footer Logo */

.footer-logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo img {
  max-height: 75px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-primary {
  background-color: var(--color-accent);
  color: white;
}
.btn-primary:hover {
  background-color: var(--color-accent2);
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-secondary:hover {
  background-color: var(--color-primary);
  color: white;
}

/* --- Header --- */
.header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.07), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}
.logo .gold-accent {
  color: var(--color-accent);
  margin-right: 0.5rem;
}
.header-cta-desktop {
  display: none;
}

/* --- Hero Section --- */
.hero-section {
  background-color: white;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero-grid h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-grid p {
  font-size: 1.125rem;
  color: var(--color-secondary);
  margin-bottom: 2rem;
}
.hero-grid .btn {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}
.hero-image {
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Services Section --- */
.services-section {
  background-color: var(--color-bg-alt);
}
.section-heading {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}
.section-heading h2 {
  font-size: 2.25rem;
}
.section-heading p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--color-secondary);
}
.services-grid {
  display: grid;
  gap: 2rem;
}
.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-top: 4px solid transparent;
  transition: all 0.3s ease;
}
.service-card:hover {
  border-top-color: var(--color-accent);
}
.service-card .icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  color: var(--color-secondary);
  margin-bottom: 0;
}

/* --- Testimonials Section --- */
.testimonials-section {
  background-color: white;
}
.testimonials-grid {
  display: grid;
  gap: 2rem;
}
.testimonial-card {
  background-color: #f8fafc;
  padding: 2rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--color-accent);
}
.testimonial-card p {
  font-style: italic;
  font-size: 1.125rem;
  color: var(--color-secondary);
}
.testimonial-card cite {
  display: block;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 1rem;
  font-style: normal;
}

/* --- CTA & Form Section --- */
.cta-section {
  background-color: var(--color-bg-alt);
}
.cta-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.cta-grid h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.cta-grid p {
  font-size: 1.125rem;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}
.cta-contact-info {
  border-top: 1px solid #d1d5db;
  padding-top: 1.5rem;
}
.cta-contact-info h4 {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-primary);
}
.cta-contact-info p {
  color: var(--color-secondary);
  margin-bottom: 0;
}
.form-container {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group:last-child {
  margin-bottom: 0;
}
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
}
.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
}
.form-group input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-primary);
}
.form-container .btn {
  width: 100%;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* --- Footer --- */
.footer {
  padding: 3rem 0;
  background-color: var(--color-primary);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  text-align: center;
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}
.footer-logo .gold-accent {
  color: var(--color-accent);
  margin-right: 0.5rem;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #f1f5f9;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--color-accent);
}
.footer-contact h4 {
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.footer-contact p {
  margin-bottom: 0.25rem;
  color: #d1d5db;
}
.footer-contact p a {
  color: var(--color-accent);
  text-decoration: none;
}
.footer-contact p a:hover {
  text-decoration: underline;
}
.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-secondary);
  text-align: center;
  font-size: 0.875rem;
}

.footer a,
.footer a:visited {
  color: #ffffff !important;
  text-decoration: underline;
}

.footer a:hover,
.footer a:focus {
  color: #f1f5f9 !important;
}


/* --- Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Media Queries --- */
@media (min-width: 768px) {
  .logo {
    font-size: 1.5rem;
  }
  .header-cta-desktop {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .header-cta-desktop .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
  }
  .header-cta-desktop .btn-secondary {
    margin-right: 0;
  }
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid h1 {
    font-size: 3.125rem;
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }
}

/* --- Schedule Overlay --- */
.schedule-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 27, 42, 0.9);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}
.schedule-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.schedule-modal {
  background-color: white;
  width: 95%;
  max-width: 1024px;
  height: 90vh;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.95);
  transition: transform 0.3s ease-in-out;
}
.schedule-overlay.is-visible .schedule-modal {
  transform: scale(1);
}
.close-schedule {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
}

.footer-contact strong {
  color: white;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.cta-contact-info strong {
  color: var(--color-primary);
}
.cta-contact-info a {
  color: var(--color-accent);
  text-decoration: none;
}
.cta-contact-info a:hover {
  text-decoration: underline;
}

.logo {
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db; /* same as inputs */
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  min-height: 120px;
  box-sizing: border-box;
}

.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-primary);
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-display: swap;
}

/* --- Dropdown Navigation --- */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  z-index: 1000;
  margin-top: 0.5rem;
  border: 1px solid #e5e7eb;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-menu a:not(:last-child) {
  border-bottom: 1px solid #e5e7eb;
}

.dropdown-menu a:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
}

.dropdown-toggle {
  background: transparent !important;
  border: 2px solid var(--color-primary) !important;
  color: var(--color-primary) !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dropdown-toggle:hover {
  background-color: var(--color-primary) !important;
  color: white !important;
}

/* --- Benefit Overview Cards Hover Effects --- */
.benefit-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

/* --- Mobile Dropdown --- */
@media (max-width: 767px) {
  .nav-dropdown {
    display: none;
  }
}

/* --- Webinar Section Styles --- */
#webinars {
  position: relative;
}

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

.webinar-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--color-accent);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.webinar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent2));
  transition: all 0.3s ease;
}

.webinar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.webinar-card:hover::before {
  height: 6px;
}

.webinar-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.webinar-icon {
  color: var(--color-accent);
  font-size: 1.75rem;
  flex-shrink: 0;
}

.webinar-badge {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent2));
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 2rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(8, 148, 255, 0.3);
}

.webinar-title {
  color: var(--color-primary);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.webinar-description {
  color: var(--color-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  font-size: 1rem;
}

.webinar-details {
  background: linear-gradient(135deg, var(--color-bg-alt), #f8fafc);
  padding: 1.75rem;
  border-radius: 0.75rem;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(8, 148, 255, 0.1);
}

.webinar-detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.webinar-detail-item:last-child {
  margin-bottom: 0;
}

.webinar-detail-icon {
  color: var(--color-accent);
  margin-right: 1rem;
  width: 18px;
  flex-shrink: 0;
  font-size: 1.125rem;
}

.webinar-detail-text {
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
}

.register-webinar-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent2));
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px 0 rgba(8, 148, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.register-webinar-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.register-webinar-btn:hover::before {
  left: 100%;
}

.register-webinar-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(8, 148, 255, 0.4);
}

.register-webinar-btn:active {
  transform: translateY(0);
}

.register-webinar-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 14px 0 rgba(8, 148, 255, 0.2);
}

/* Loading, Error, and Empty States */
.webinar-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, white, var(--color-bg-alt));
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(8, 148, 255, 0.1);
}

.webinar-state-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.webinar-state-icon.loading {
  color: var(--color-accent);
  animation: spin 1s linear infinite;
}

.webinar-state-icon.error {
  color: #f59e0b;
}

.webinar-state-icon.empty {
  color: var(--color-accent);
}

.webinar-state-title {
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.webinar-state-text {
  color: var(--color-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* --- Webinar Registration Modal --- */
.webinar-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.webinar-modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.webinar-modal {
  background: white;
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  width: 95%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.webinar-modal-overlay.is-visible .webinar-modal {
  transform: scale(1) translateY(0);
}

.webinar-modal-header {
  position: relative;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent2));
  color: white;
  padding: 2rem 2.5rem 1.5rem;
  border-radius: 1.25rem 1.25rem 0 0;
  text-align: center;
}

.webinar-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.webinar-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.webinar-modal-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.webinar-modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  font-family: var(--font-heading);
}

.webinar-modal-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0.5rem 0 0;
  font-weight: 400;
}

.webinar-modal-content {
  padding: 2.5rem;
}

.webinar-details-card {
  background: linear-gradient(135deg, var(--color-bg-alt), #f8fafc);
  border: 1px solid rgba(8, 148, 255, 0.15);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.webinar-details-title {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.webinar-details-list {
  display: grid;
  gap: 1rem;
}

.webinar-detail-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.webinar-detail-row-icon {
  color: var(--color-accent);
  font-size: 1.125rem;
  width: 20px;
  flex-shrink: 0;
}

.webinar-detail-row-text {
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 1rem;
}

.webinar-form {
  display: grid;
  gap: 1.5rem;
}

.webinar-form-group {
  position: relative;
}

.webinar-form-label {
  display: block;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.webinar-form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
}

.webinar-form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(8, 148, 255, 0.1);
  transform: translateY(-1px);
}

.webinar-form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.webinar-form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.webinar-form-submit {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent2));
  color: white;
  border: none;
  padding: 1.25rem 2rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px 0 rgba(8, 148, 255, 0.3);
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}

.webinar-form-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.webinar-form-submit:hover::before {
  left: 100%;
}

.webinar-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(8, 148, 255, 0.4);
}

.webinar-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 14px 0 rgba(8, 148, 255, 0.2);
}

.webinar-form-submit-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.webinar-form-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Success State */
.webinar-success {
  text-align: center;
  padding: 3rem 2rem;
}

.webinar-success-icon {
  font-size: 4rem;
  color: #16a34a;
  margin-bottom: 1.5rem;
  animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.webinar-success-title {
  color: var(--color-primary);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.webinar-success-text {
  color: var(--color-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.webinar-success-details {
  background: var(--color-bg-alt);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.webinar-success-details h4 {
  color: var(--color-primary);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.webinar-success-note {
  color: var(--color-secondary);
  font-size: 0.9375rem;
  font-style: italic;
  opacity: 0.8;
}

/* Error State */
.webinar-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.webinar-error-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.webinar-error-icon {
  color: #ef4444;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.webinar-error-text {
  color: #dc2626;
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .webinar-modal {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .webinar-modal-header {
    border-radius: 0;
    padding: 1.5rem 2rem 1rem;
  }

  .webinar-modal-content {
    padding: 2rem;
  }

  .webinar-modal-title {
    font-size: 1.5rem;
  }

  .webinar-details-card {
    padding: 1.5rem;
  }

  .webinar-form-submit {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .webinar-modal-header {
    padding: 1.25rem 1.5rem 0.75rem;
  }

  .webinar-modal-content {
    padding: 1.5rem;
  }

  .webinar-modal-title {
    font-size: 1.25rem;
  }

  .webinar-modal-icon {
    font-size: 2rem;
  }

  .webinar-details-card {
    padding: 1.25rem;
  }

  .webinar-form-input {
    padding: 0.875rem 1rem;
  }
}