/* ============================================
   AI for MSME Summit - Enterprise Registration Page
   Professional Green Theme
   ============================================ */

/* CSS Variables */
:root {
  --primary-50: #ecfdf5;
  --primary-100: #d1fae5;
  --primary-200: #a7f3d0;
  --primary-300: #6ee7b7;
  --primary-400: #34d399;
  --primary-500: #10b981;
  --primary-600: #059669;
  --primary-700: #047857;
  --primary-800: #065f46;
  --primary-900: #064e3b;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --error: #ef4444;
  --success: #10b981;

  --font-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-800);
  background: linear-gradient(180deg, var(--primary-50) 0%, #ffffff 30%);
  min-height: 100vh;
  padding-bottom: 80px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.logo-ai {
  color: var(--gray-700);
}

.logo-msme {
  color: var(--primary-600);
  font-weight: 800;
}

.logo-summit {
  color: var(--gray-500);
  font-weight: 500;
  font-size: 0.9em;
}

/* Header */
.header {
  padding: 1rem 0;
  text-align: center;
}

.header-content {
  display: flex;
  justify-content: center;
}

/* Text Utilities */
.text-primary {
  color: var(--primary-600);
}

.text-white {
  color: white;
}

/* Hero Section */
.hero {
  padding: 2rem 0;
}

.hero-card {
  background: white;
  border: 2px solid var(--primary-200);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  text-align: center;
}

.hero-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Event Details Card */
.event-details-card {
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.event-details-header {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.event-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .event-details-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.event-detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.event-detail-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-600);
}

.event-detail-icon.live {
  background: var(--primary-600);
}

.live-dot {
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.9); }
}

.event-detail-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
}

.event-detail-value {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
}

/* CTA Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-cta {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  border: 2px dashed var(--primary-700);
  padding: 1rem 2.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.025em;
}

.btn-cta:hover {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-cta svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
}

.btn-cta:hover svg {
  transform: translateX(4px);
}

.hero-cta {
  margin-bottom: 1rem;
}

.enrollment-close {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Section Styles */
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--primary-500);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section-intro {
  text-align: center;
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Summit Benefits / Topics */
.summit-benefits {
  padding: 3rem 0;
}

.topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.topic-card {
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.topic-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-500);
  margin-bottom: 0.5rem;
}

.topic-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.topic-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.section-cta {
  display: flex;
  margin: 0 auto;
}

/* Speakers Section */
.speakers-section {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  margin: 0 -1rem;
  padding: 3rem 1rem;
}

.speakers-header {
  text-align: center;
  color: white;
  margin-bottom: 2rem;
}

.speakers-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.speakers-header p {
  font-size: 1rem;
  opacity: 0.9;
}

.speakers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .speakers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.speaker-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  text-align: center;
}

.speaker-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary-100);
}

.speaker-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.speaker-title {
  font-size: 0.875rem;
  color: var(--primary-600);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.speaker-bio {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.speaker-session {
  text-align: left;
}

.speaker-session h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.speaker-session ul {
  list-style: none;
  padding: 0;
}

.speaker-session li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.8125rem;
  color: var(--gray-600);
  margin-bottom: 0.375rem;
}

.speaker-session li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 14px;
  height: 14px;
  background: var(--primary-100);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 8px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Audience Section */
.audience-section {
  padding: 3rem 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.audience-card {
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1rem;
  text-align: center;
}

.audience-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  background: white;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.audience-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-600);
}

.audience-card span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
}

/* Final CTA */
.final-cta-section {
  padding: 3rem 0;
  text-align: center;
}

.final-cta-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* FAQ Section */
.faq-section {
  padding: 3rem 0;
  background: var(--gray-800);
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.faq-section .section-title {
  color: white;
}

.faq-section .section-divider {
  background: var(--primary-400);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-question.active {
  background: var(--primary-600);
  color: white;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
  stroke: white;
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
}

.faq-answer.active {
  display: block;
}

.faq-answer p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Footer */
.footer {
  padding: 3rem 1rem;
  background: var(--gray-900);
  margin: 0 -1rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.footer-logo .logo-ai {
  color: var(--gray-400);
}

.footer-logo .logo-msme {
  color: var(--primary-400);
}

.footer-logo .logo-summit {
  color: var(--gray-500);
}

.footer-disclaimer {
  font-size: 0.8125rem;
  color: var(--gray-400);
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.footer-disclaimer a {
  color: var(--primary-400);
  text-decoration: underline;
}

.footer-divider {
  height: 1px;
  background: var(--gray-700);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* Sticky CTA Bar */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 2px solid var(--primary-200);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.sticky-cta-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sticky-cta-offer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.offer-free {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-600);
}

.offer-original {
  font-size: 0.875rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.sticky-cta-timer {
  font-size: 0.75rem;
  color: var(--gray-600);
}

.timer {
  color: #dc2626;
  font-weight: 700;
}

.btn-reserve {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  padding: 0.875rem 1.5rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.btn-reserve:hover {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  overflow-y: auto;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  border-radius: var(--radius-2xl);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  animation: slideUp 0.3s ease;
  overscroll-behavior: contain;
  /* Custom scrollbar - wider and more visible */
  scrollbar-width: auto;
  scrollbar-color: var(--primary-500) var(--gray-200);
}

.modal-content::-webkit-scrollbar {
  width: 12px;
}

.modal-content::-webkit-scrollbar-track {
  background: var(--gray-200);
  border-radius: 6px;
  margin: 4px 0;
}

.modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-400), var(--primary-500));
  border-radius: 6px;
  border: 2px solid var(--gray-200);
  min-height: 40px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-500), var(--primary-600));
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
}

/* Registration Modal */
.registration-modal {
  overflow-y: auto;
  overflow-x: hidden;
}

.modal-banner {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  padding: 1.5rem;
  color: white;
}

.modal-banner-content {
  text-align: center;
}

.modal-logo {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.modal-logo .logo-ai,
.modal-logo .logo-msme,
.modal-logo .logo-summit {
  color: white;
}

.modal-event-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.modal-event-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.modal-event-item svg {
  width: 16px;
  height: 16px;
}

/* Registration Form */
.registration-form {
  padding: 1.5rem;
  padding-bottom: 2.5rem; /* Extra space for submit button visibility */
}

.form-section-group {
  margin-bottom: 1.5rem;
}

.form-group-header {
  margin-bottom: 1rem;
}

.form-group-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}

.form-group-info {
  font-size: 0.75rem;
  color: var(--primary-600);
  background: var(--primary-50);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary-500);
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.375rem;
}

.required {
  color: var(--error);
}

.input-with-icon {
  position: relative;
}

.input-with-icon svg {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--gray-400);
}

.input-with-icon .form-input {
  padding-left: 2.75rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all 0.2s;
  background: white;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder {
  color: var(--gray-400);
}

.form-error {
  display: block;
  font-size: 0.75rem;
  color: var(--error);
  margin-top: 0.25rem;
  min-height: 1rem;
}

.form-row.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .form-row.two-columns {
    grid-template-columns: 1fr;
  }
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
}

.btn-submit:disabled {
  background: var(--gray-300);
  cursor: not-allowed;
}

/* Success Modal */
.success-modal {
  padding: 2rem;
  text-align: center;
}

.success-logo {
  margin-bottom: 1.5rem;
}

.success-modal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.success-emoji {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.success-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.success-message {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  padding: 1rem 1.5rem;
  width: 100%;
  justify-content: center;
  margin-bottom: 1rem;
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
}

.btn-whatsapp:hover {
  background: #1fb855;
}

.success-footer {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.success-closing {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-600);
}

.booking-details {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-top: 1rem;
  text-align: left;
}

.booking-details p {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.875rem;
}

.booking-details p:last-child {
  border-bottom: none;
}

.booking-details .label {
  color: var(--gray-500);
}

.booking-details .value {
  font-weight: 600;
  color: var(--gray-800);
}

/* Message Modal */
.message-modal {
  padding: 2rem;
  padding-top: 3rem;
  text-align: center;
  max-width: 400px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.message-modal .modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin-top: -2rem;
  margin-right: -1rem;
  z-index: 10;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.message-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-icon svg {
  width: 40px;
  height: 40px;
}

.message-icon.error {
  background: #fef2f2;
}

.message-icon.error svg {
  stroke: #ef4444;
}

.message-icon.warning {
  background: #fffbeb;
}

.message-icon.warning svg {
  stroke: #f59e0b;
}

.message-icon.info {
  background: #eff6ff;
}

.message-icon.info svg {
  stroke: #3b82f6;
}

.message-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.message-text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-message-close {
  width: 100%;
  padding: 0.875rem 1.5rem;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.loading-overlay.hidden {
  display: none;
}

.loader {
  text-align: center;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--primary-500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-text {
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* Utility */
.hidden {
  display: none !important;
}

/* ============================================
   BizFlow Solution Section
   ============================================ */

.text-danger {
  color: #dc2626;
}

.bizflow-section {
  padding: 2rem 0;
}

.bizflow-teaser {
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
  border-radius: var(--radius-2xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.bizflow-teaser::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
  opacity: 0;
  transition: opacity 0.3s;
}

.bizflow-teaser:hover {
  border-color: var(--primary-500);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bizflow-teaser:hover::before {
  opacity: 1;
}

.bizflow-teaser-content {
  position: relative;
  z-index: 1;
}

.bizflow-teaser-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.bizflow-teaser-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.bizflow-teaser-subtitle {
  font-size: 1rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.bizflow-teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-400);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s;
}

.bizflow-teaser-cta svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
}

.bizflow-teaser:hover .bizflow-teaser-cta {
  color: var(--primary-300);
}

.bizflow-teaser:hover .bizflow-teaser-cta svg {
  transform: translateX(6px);
}

.bizflow-teaser-visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.bizflow-logo-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bizflow-logo-text {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
}

.bizflow-logo-ai {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-400), var(--primary-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .bizflow-teaser {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .bizflow-teaser-visual {
    flex-shrink: 0;
  }
}

/* ============================================
   BizFlow Modal Styles
   ============================================ */

.bizflow-modal {
  max-width: 560px;
  background: linear-gradient(180deg, var(--gray-900), var(--gray-800));
  color: white;
  overflow-y: auto;
}

.bizflow-modal .modal-close,
.bizflow-close {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.bizflow-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.bizflow-modal-header {
  text-align: center;
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bizflow-modal-logo {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.bizflow-modal-logo .bizflow-logo-text {
  font-size: 2rem;
}

.bizflow-modal-logo .bizflow-logo-ai {
  font-size: 2rem;
}

.bizflow-modal-tagline {
  font-size: 0.9375rem;
  color: var(--gray-400);
}

.bizflow-section-title {
  padding: 1.5rem 1.5rem 1rem;
}

.bizflow-section-title h3 {
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
}

/* Pain Points vs Solutions Grid */
.pain-solution-grid {
  padding: 0 1.5rem 1.5rem;
}

.pain-solution-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
}

.pain-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #fca5a5;
  font-weight: 500;
}

.pain-icon {
  width: 24px;
  height: 24px;
  background: rgba(239, 68, 68, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pain-icon svg {
  width: 14px;
  height: 14px;
  stroke: #ef4444;
}

.solution-arrow {
  flex-shrink: 0;
}

.solution-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-400);
}

.solution-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--primary-300);
  font-weight: 500;
}

.solution-icon {
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.solution-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary-400);
}

/* Features Grid */
.bizflow-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 0 1.5rem 1.5rem;
}

@media (min-width: 480px) {
  .bizflow-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bizflow-feature {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s;
}

.bizflow-feature:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.bizflow-feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bizflow-feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.bizflow-feature span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-300);
}

/* Live Demo Banner */
.bizflow-demo-banner {
  margin: 0 1.5rem 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-600));
  border-radius: var(--radius-xl);
  text-align: center;
}

.demo-banner-content {
  margin-bottom: 1rem;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.live-indicator {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 1s infinite;
}

.demo-banner-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.demo-banner-content p {
  font-size: 0.875rem;
  opacity: 0.9;
}

.demo-cta {
  background: white;
  color: var(--primary-700);
  border: none;
  padding: 0.875rem 1.5rem;
}

.demo-cta:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.demo-cta svg {
  stroke: var(--primary-700);
}

/* ============================================
   Legal Modals (Privacy Policy & Terms)
   ============================================ */

.legal-modal {
  max-width: 600px;
  padding: 2rem;
}

.legal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 0.25rem;
}

.legal-updated {
  font-size: 0.8125rem;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 1.5rem;
}

.legal-content {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-bottom: 1.5rem;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 1.25rem 0 0.5rem;
}

.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content li {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 0.25rem;
}

.legal-content a {
  color: var(--primary-600);
  text-decoration: underline;
}

.btn-legal-close {
  width: 100%;
}

/* ============================================
   Live Counter Bar
   ============================================ */

.live-counter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  color: white;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-400);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

.counter-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
}

.counter-stats .divider {
  color: var(--gray-600);
}

.counter-stats strong {
  color: var(--primary-400);
  font-weight: 700;
}

/* ============================================
   3-Day Offer Banner
   ============================================ */

.offer-banner {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  border-radius: var(--radius-lg);
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.offer-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.offer-icon svg {
  width: 18px;
  height: 18px;
  stroke: white;
}

.offer-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.offer-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.offer-text {
  font-size: 0.875rem;
  color: white;
}

.offer-timer-box {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
}

.offer-timer {
  font-size: 1rem;
  font-weight: 800;
  color: white;
  font-family: 'Courier New', monospace;
}

.offer-banner.expired {
  background: var(--gray-500);
}

.offer-banner.expired .offer-timer {
  color: white;
}

/* ============================================
   Common Benefits Banner
   ============================================ */

.common-benefits-banner {
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-md);
  padding: 0.625rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.benefits-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-700);
}

.benefits-list {
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* ============================================
   Tier Selection
   ============================================ */

.tier-selection-section {
  margin-bottom: 1.5rem;
}

.tier-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 1rem;
  text-align: center;
}

.tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 540px) {
  .tier-cards {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.tier-card {
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  text-align: center;
}

.tier-card:hover {
  border-color: var(--primary-400);
  background: var(--primary-50);
}

.tier-card.selected {
  border-color: var(--primary-500);
  background: var(--primary-50);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.tier-popular {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.tier-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.vip-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.standard-badge {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
}

.basic-badge {
  background: var(--gray-600);
  color: white;
}

.tier-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.125rem;
}

.tier-tagline {
  font-size: 0.6875rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
  font-style: italic;
}

.tier-availability {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary-600);
  margin-bottom: 0.5rem;
  min-height: 1rem;
}

.tier-availability.low-stock {
  color: #dc2626;
  animation: pulse 1.5s ease-in-out infinite;
}

.tier-availability.sold-out {
  color: var(--gray-500);
  font-weight: 700;
}

.tier-card.sold-out {
  opacity: 0.6;
  pointer-events: none;
}

.tier-pricing {
  margin-bottom: 0.25rem;
}

.tier-original-price {
  font-size: 0.8125rem;
  color: var(--gray-400);
  text-decoration: line-through;
  display: block;
}

.tier-offer-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
}

.tier-discount {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #dc2626;
  background: #fef2f2;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.tier-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.tier-benefits li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.tier-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  background: var(--primary-100);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 7px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================
   Updated Sticky CTA Bar
   ============================================ */

.offer-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-600);
}

.offer-badge {
  background: #dc2626;
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* Responsive */
@media (max-width: 640px) {
  .hero-card {
    padding: 1.5rem;
  }

  .btn-cta {
    padding: 0.875rem 1.5rem;
    font-size: 0.8125rem;
  }

  .speakers-section {
    padding: 2rem 1rem;
  }

  .speaker-card {
    padding: 1.25rem;
  }

  .fomo-banner {
    flex-direction: column;
    text-align: center;
  }

  .fomo-content {
    align-items: center;
  }
}
