/* Landing Page Styles */
/* Color Palette:
   - Primary: #8BC34A
   - Secondary (Darker): #7CB342
   - Background (Light): #F1F8E9
   - Accents: #8BC34A
   - Supportive (Dark): #689F38
*/

.landing-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #F1F8E9; /* Light green background */
}

/* Sticky Navigation */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-logo a:hover {
  opacity: 0.8;
}

.logo-img {
  height: 50px;
  width: auto;
  margin-right: 12px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #8BC34A; /* Primary green */
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.nav-menu li a {
  color: #000000; /* Black */
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
  padding: 5px 10px;
}

.nav-menu li a:hover {
  color: #8BC34A; /* Primary green */
}

.nav-cta {
  background: #8BC34A; /* Primary green for CTA */
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.nav-cta:hover {
  background: #689F38; /* Dark green */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 195, 74, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #000000; /* Black */
  border-radius: 3px;
  transition: all 0.3s;
}

.hero {
  background: linear-gradient(135deg, #8BC34A 0%, #689F38 100%); /* Primary to dark green */
  color: white;
  padding: 150px 20px 120px; /* Extra top padding for sticky nav */
  text-align: center;
  position: relative;
  margin-top: 70px; /* Account for fixed nav height */
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero h2,
.hero h3 {
  margin-top: 2rem;
  font-size: 1.8rem;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

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

/* Why Verify Section */
.why-verify-section {
  padding: 80px 20px;
  background: white;
}

.why-verify-section h2 {
  text-align: center;
  color: #689F38; /* Dark green */
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-intro {
  text-align: center;
  color: #7CB342; /* Secondary green */
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: #F1F8E9; /* Light green */
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 195, 74, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: #689F38; /* Dark green */
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
  padding: 80px 20px;
  background: #F1F8E9; /* Light green */
}

.how-it-works-section h2 {
  text-align: center;
  color: #689F38; /* Dark green */
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.step-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  position: relative;
}

.step-number-badge {
  width: 60px;
  height: 60px;
  background: #8BC34A; /* Primary green */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.step-card h3 {
  color: #689F38; /* Dark green */
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: #666;
  line-height: 1.6;
}

.cta-center {
  text-align: center;
  margin-top: 2rem;
}

.cta-button {
  background: #8BC34A; /* Primary green for CTA */
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(139, 195, 74, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(139, 195, 74, 0.5);
  background: #689F38; /* Dark green on hover */
}

.support-text {
  margin-top: 1rem;
  color: #666;
}

.support-text a {
  color: #8BC34A; /* Primary green */
  text-decoration: none;
  font-weight: 600;
}

.support-text a:hover {
  text-decoration: underline;
}

/* Trust & Security Section */
.trust-section {
  padding: 80px 20px;
  background: white;
}

.trust-section h2 {
  text-align: center;
  color: #689F38; /* Dark green */
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.trust-item {
  background: #F1F8E9; /* Light green */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
}

.trust-item h3 {
  color: #689F38; /* Dark green */
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.trust-item p {
  color: #666;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 80px 20px;
  background: #F1F8E9; /* Light green */
}

.faq-section h2 {
  text-align: center;
  color: #689F38; /* Dark green */
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  border-left: 4px solid #8BC34A; /* Primary green */
}

.faq-item h3 {
  color: #689F38; /* Dark green */
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: #666;
  line-height: 1.6;
}

/* Final CTA Section */
.final-cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #8BC34A 0%, #689F38 100%);
  text-align: center;
}

.final-cta-section h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.cta-button-large {
  background: #8BC34A; /* Primary green */
  color: white;
  border: none;
  padding: 20px 50px;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.cta-button-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
  background: white;
  color: #689F38; /* Dark green text */
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: #fff;
  margin: 2% auto;
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: slideIn 0.3s;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  color: #aaa;
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.close:hover,
.close:focus {
  color: #000;
}

/* Progress Indicator */
.progress-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 0 20px;
}

.progress-step {
  flex: 1;
  text-align: center;
  position: relative;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.progress-step::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.progress-step:first-child::before {
  display: none;
}

.progress-step.active,
.progress-step.completed {
  opacity: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 8px;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.progress-step.active .step-number {
  background: #8BC34A; /* Primary green */
  color: white;
  transform: scale(1.1);
}

.progress-step.completed .step-number {
  background: #689F38; /* Dark green */
  color: white;
}

.step-label {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

/* Form Styles */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInForm 0.3s;
}

@keyframes fadeInForm {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.form-step h3 {
  color: #689F38; /* Dark green for headers */
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Info Toggle and Callout */
.info-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8BC34A;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 1rem;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.info-toggle:hover {
  background: #F1F8E9;
}

.info-toggle-icon {
  font-size: 0.7rem;
  transition: transform 0.3s;
}

.info-toggle.active .info-toggle-icon {
  transform: rotate(180deg);
}

.info-callout {
  background: #FFF9C4;
  border-left: 4px solid #FBC02D;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease-out;
}

.info-callout p {
  margin: 0;
  color: #5D4037;
  line-height: 1.6;
  font-size: 0.95rem;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #558B2F; /* Dark green for labels */
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8BC34A; /* Primary green focus */
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #f44336;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 30px;
}

.btn-prev,
.btn-next,
.btn-submit {
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-prev {
  background: #f0f0f0;
  color: #666;
}

.btn-prev:hover {
  background: #e0e0e0;
}

.btn-next,
.btn-submit {
  background: #8BC34A; /* Primary green */
  color: white;
  margin-left: auto;
}

.btn-next:hover,
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 195, 74, 0.4);
  background: #689F38; /* Dark green on hover */
}

/* Step 3 Summary and Payment Styles */
.summary-box {
  background: #F1F8E9;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 2rem;
  border-left: 4px solid #8BC34A;
}

.summary-box h4 {
  color: #689F38;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-label {
  font-weight: 600;
  color: #558B2F;
}

.summary-value {
  color: #333;
  text-align: right;
  flex: 1;
  margin-left: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group small {
  display: block;
  margin-top: 5px;
  font-size: 0.85rem;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 40px 20px;
}

.success-message h3 {
  color: #689F38; /* Dark green */
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-message p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn-close {
  background: #8BC34A; /* Primary green */
  color: white;
  border: none;
  padding: 12px 40px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 195, 74, 0.4);
  background: #689F38; /* Dark green on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 100;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid #e2e8f0;
  }

  .nav-menu li:last-of-type {
    border-bottom: none;
  }

  .nav-link {
    padding: 15px 10px;
    width: 100%;
    text-align: left;
  }

  /* Hide underline on mobile */
  .nav-underline {
    display: none;
  }

  .hero {
    margin-top: 70px;
    padding: 100px 20px 80px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .modal-content {
    width: 95%;
    padding: 20px;
    margin: 5% auto;
  }

  .progress-container {
    padding: 0;
  }

  .step-label {
    font-size: 0.7rem;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .cta-box {
    padding: 30px 20px;
  }

  .form-navigation {
    flex-direction: column;
  }

  .btn-next,
  .btn-submit {
    margin-left: 0;
  }
}

/* Utility Classes */
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.hidden {
  display: none;
}

/* Button Utilities for Verifier Modals */
.btn {
  background: #8BC34A;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn:hover {
  background: #689F38;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 195, 74, 0.4);
}

.btn-outline {
  background: white;
  color: #666;
  padding: 10px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: #8BC34A;
  color: #689F38;
}

.card {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Navigation Active Link Style with Sliding Underline */
.nav-menu {
  position: relative;
}

.nav-link {
  padding: 0.5rem 0;
  font-weight: 500;
  color: #64748b;
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
  display: block;
}

@media (min-width: 1280px) {
  .nav-link {
    padding: 0.75rem 0;
  }
}

.nav-link:hover {
  color: #16a34a;
}

.nav-link.active {
  color: #22c55e;
}

/* Animated sliding underline */
.nav-underline {
  position: absolute;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0);
}

.nav-underline.visible {
  opacity: 1;
  transform: scaleX(1);
}

/* Entry Mode Buttons */
.entry-mode-btn {
  border-color: #cbd5e1; /* slate-300 */
  color: #475569; /* slate-600 */
  background-color: white;
  transition: all 0.3s ease;
}

.entry-mode-btn:hover {
  border-color: #94a3b8; /* slate-400 */
  background-color: #f8fafc; /* slate-50 */
}

.entry-mode-btn.active {
  border-color: #22c55e; /* green-500 */
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 14px 0 rgba(34, 197, 94, 0.4);
  transform: translateY(-1px);
}

.entry-mode-btn.active svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Dark Theme Styles */
.dark {
  color-scheme: dark;
}

.dark .landing-page {
  background-color: #0f172a;
}

/* Dark mode for entry buttons */
.dark .entry-mode-btn {
  border-color: #475569; /* slate-600 */
  color: #cbd5e1; /* slate-300 */
  background-color: #1e293b; /* slate-800 */
}

.dark .entry-mode-btn:hover {
  border-color: #64748b; /* slate-500 */
  background-color: #334155; /* slate-700 */
}

.dark .entry-mode-btn.active {
  border-color: #22c55e;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: white;
}

.dark nav {
  background: rgba(15, 23, 42, 0.7) !important;
  border-color: #334155 !important;
}

.dark .nav-link {
  color: #94a3b8;
}

.dark .nav-link:hover {
  color: #22c55e;
}

.dark .nav-link.active {
  color: #22c55e;
}

.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6 {
  color: #f1f5f9;
}

.dark p,
.dark li,
.dark span {
  color: #cbd5e1;
}

.dark .text-gray-900 {
  color: #f1f5f9 !important;
}

.dark .text-slate-600 {
  color: #cbd5e1 !important;
}

.dark .text-slate-500 {
  color: #94a3b8 !important;
}

.dark .bg-white {
  background-color: #1e293b !important;
}

.dark .border-slate-200 {
  border-color: #334155 !important;
}

.dark .border-slate-300 {
  border-color: #475569 !important;
}

.dark .bg-slate-50 {
  background-color: #0f172a !important;
}

.dark .bg-slate-100 {
  background-color: #1e293b !important;
}

.dark .hover\:bg-slate-50:hover {
  background-color: #1e293b !important;
}

.dark .hover\:bg-slate-200:hover {
  background-color: #334155 !important;
}

.dark .shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.3) !important;
}

.dark .border {
  border-color: #334155;
}

.dark section {
  background-color: transparent;
}

.dark .font-semibold {
  color: #f1f5f9;
}

/* Dark theme for mobile nav */
.dark .hamburger span {
  background: #f1f5f9;
}

/* Dark theme for cards and sections */
.dark .rounded-3xl,
.dark .rounded-2xl,
.dark .rounded-xl {
  background-color: #1e293b;
  border-color: #334155;
}

/* Smooth transition for theme changes */
* {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* ===== Mobile Overlay Utility Classes ===== */
.mob-icon-btn {
  padding: 0.5rem;
  border-radius: 9999px;
  transition: background-color 0.2s;
}

.mob-icon-btn:hover {
  background-color: #f1f5f9;
}

.mob-icon-btn:active {
  background-color: #e2e8f0;
}

.dark .mob-icon-btn:hover {
  background-color: #334155;
}

.dark .mob-icon-btn:active {
  background-color: #475569;
}

.mob-tab {
  text-align: center;
  padding: 0.5rem;
  border-radius: 9999px;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.dark .mob-tab {
  color: #94a3b8;
}

.mob-tab--active {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

.dark .mob-tab--active {
  background: #334155;
  color: #f1f5f9;
}

.mob-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 1rem;
  background: white;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  text-decoration: none;
  transition: all 0.2s;
}

.mob-row:active {
  background: #f8fafc;
}

.dark .mob-row {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}

.dark .mob-row:active {
  background: #0f172a;
}

.mob-row-cta {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  background: #0f172a;
  color: white;
}

.dark .mob-row-cta {
  background: #22c55e;
  color: #0f172a;
}

/* Mobile overlay panel animations (JS toggles .m-open on html) */
#m-backdrop {
  opacity: 0;
  transition: opacity 0.25s ease;
}

html.m-open #m-backdrop {
  opacity: 1;
}

#m-panel {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
}

html.m-open #m-panel {
  opacity: 1;
  transform: translateY(0);
}

/* Animated hamburger to X icon */
.hamburger-icon {
  width: 24px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: #1e293b;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.dark .hamburger-line {
  background-color: #f1f5f9;
}

/* Transform to X when open */
#m-menu-open.is-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#m-menu-open.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#m-menu-open.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
