/* -------------------------------------------------------------
 * 🎨 index.css - SchedFlow Landing Page Premium Design System
 * Ultraviolet Cyber-Minimalist Theme
 * ------------------------------------------------------------- */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables & Tokens */
:root {
  /* Font Scaling Base for Acessibility */
  --font-scale: 1;
  font-size: calc(16px * var(--font-scale));

  /* Colors (HSL curado) */
  --bg-deep: hsl(224, 25%, 6%);
  --bg-card: hsla(224, 20%, 12%, 0.65);
  --primary: hsl(203, 89%, 53%);
  --primary-hover: hsl(203, 100%, 61%);
  --secondary: hsl(160, 84%, 45%);
  --text-main: hsl(210, 20%, 98%);
  --text-muted: hsl(218, 12%, 65%);
  --border-glow: hsla(203, 89%, 53%, 0.2);
  --accent-error: hsl(350, 85%, 55%);
  --accent-success: hsl(145, 80%, 45%);

  /* Animation Easing */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Dynamic Header/Footer & Border Colors */
  --bg-header: hsla(224, 25%, 6%, 0.7);
  --bg-header-scrolled: hsla(224, 25%, 6%, 0.9);
  --bg-footer: hsl(224, 25%, 4%);
  --border-flat: hsla(210, 20%, 98%, 0.05);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, hsla(203, 89%, 53%, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, hsla(160, 84%, 45%, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Typography settings */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--border-glow);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Premium Layout Components */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-flat);
  transition: var(--transition-smooth);
}

.header-scrolled {
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  background: var(--bg-header-scrolled);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.logo-wrapper svg {
  width: 32px;
  height: 32px;
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover, .nav-link:focus {
  color: var(--text-main);
  outline: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap; /* Ban line breaks under large fonts */
  border: none;
}

.btn:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid hsla(210, 20%, 98%, 0.1);
}

.btn-ghost:hover {
  color: var(--text-main);
  border-color: var(--text-main);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-main);
  box-shadow: 0 4px 14px hsla(203, 89%, 53%, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(203, 89%, 53%, 0.5);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98); /* Tactile discipline */
}

/* Glassmorphism Effect */
.glass-effect {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* ------------------ HERO SECTION ------------------ */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  background: hsla(203, 89%, 53%, 0.15);
  border: 1px solid hsla(203, 89%, 53%, 0.3);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
}

.hero-badge svg {
  color: var(--secondary);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text-main) 30%, hsla(203, 89%, 70%, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

/* Simulated Dashboard Preview */
.hero-preview {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preview-card {
  width: 100%;
  max-width: 480px;
  padding: 24px;
  position: relative;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.preview-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid hsla(210, 20%, 98%, 0.05);
  padding-bottom: 12px;
}

.preview-dots {
  display: flex;
  gap: 6px;
}

.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: hsla(210, 20%, 98%, 0.2);
}

.preview-dot:nth-child(1) { background: hsl(350, 85%, 55%); }
.preview-dot:nth-child(2) { background: hsl(45, 100%, 55%); }
.preview-dot:nth-child(3) { background: hsl(145, 80%, 45%); }

.preview-title {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.preview-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.preview-item:nth-child(2) .preview-icon { background: var(--secondary); }

.preview-text {
  flex: 1;
}

.preview-line-large {
  height: 10px;
  background: var(--text-main);
  opacity: 0.8;
  border-radius: 4px;
  width: 60%;
  margin-bottom: 6px;
}

.preview-line-small {
  height: 8px;
  background: var(--text-muted);
  opacity: 0.5;
  border-radius: 4px;
  width: 40%;
}

.preview-badge-status {
  padding: 4px 8px;
  font-size: 0.75rem;
  border-radius: 4px;
  background: hsla(160, 84%, 45%, 0.15);
  color: var(--secondary);
  font-weight: 600;
}

/* ------------------ SECTIONS BASE ------------------ */
section:not(.hero) {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-label {
  color: var(--secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: 2.25rem;
}

.section-desc {
  color: var(--text-muted);
}

/* ------------------ FEATURES SECTION ------------------ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: hsla(203, 89%, 53%, 0.5);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: hsla(203, 89%, 53%, 0.1);
  border: 1px solid hsla(203, 89%, 53%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--primary);
  color: var(--text-main);
  box-shadow: 0 0 20px hsla(203, 89%, 53%, 0.4);
}

.feature-card:nth-child(2) .feature-icon-wrapper {
  color: var(--secondary);
  background: hsla(160, 84%, 45%, 0.1);
  border-color: hsla(160, 84%, 45%, 0.2);
}

.feature-card:nth-child(2):hover .feature-icon-wrapper {
  background: var(--secondary);
  color: hsl(224, 25%, 6%);
  box-shadow: 0 0 20px hsla(160, 84%, 45%, 0.4);
}

.feature-card-title {
  font-size: 1.35rem;
}

.feature-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ------------------ DIFFERENTIATORS SECTION ------------------ */
.diff-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.diff-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.diff-item {
  display: flex;
  gap: 16px;
}

.diff-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: hsla(145, 80%, 45%, 0.15);
  border: 1px solid hsla(145, 80%, 45%, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-success);
  flex-shrink: 0;
}

.diff-item-title {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.diff-item-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ------------------ PRICING SECTION ------------------ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.price-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 30px hsla(203, 89%, 53%, 0.2);
  transform: scale(1.03);
}

.price-card.popular:hover {
  transform: scale(1.03) translateY(-4px);
}

.price-card:not(.popular):hover {
  transform: translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.price-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-name {
  font-size: 1.5rem;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

.price-period {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.price-feature svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.price-feature.disabled {
  color: var(--text-muted);
  opacity: 0.5;
}

.price-feature.disabled svg {
  color: var(--text-muted);
}

.price-cta {
  width: 100%;
}

/* ------------------ CONTACT / LEADS SECTION ------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-title {
  font-size: 2.5rem;
}

.contact-desc {
  color: var(--text-muted);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: hsla(160, 84%, 45%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}

.contact-text {
  font-size: 0.95rem;
}

.contact-text strong {
  display: block;
}

.contact-text span {
  color: var(--text-muted);
}

/* Form Styling */
.contact-form {
  padding: 40px;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
}

.input-cyber {
  width: 100%;
  height: 46px; /* Disciplina de congruent form heights */
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid hsla(210, 20%, 98%, 0.1);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

textarea.input-cyber {
  height: auto !important; /* Textarea auto override */
  resize: vertical;
}

.input-cyber::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.input-cyber:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 10px hsla(160, 84%, 45%, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

/* Smart Pseudo Class Validations */
.input-cyber:user-valid {
  border-color: var(--accent-success);
  box-shadow: 0 0 8px hsla(145, 80%, 45%, 0.15);
}

.input-cyber:user-invalid {
  border-color: var(--accent-error);
  box-shadow: 0 0 8px hsla(350, 85%, 55%, 0.15);
}

.form-submit-btn {
  width: 100%;
  margin-top: 12px;
  height: 48px;
  font-size: 1rem;
}

/* In-App Success Notification Toast */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.toast-show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  border-color: var(--accent-success);
  background: hsla(145, 80%, 15%, 0.8);
  box-shadow: 0 10px 30px hsla(145, 80%, 15%, 0.4);
}

.toast-error {
  border-color: var(--accent-error);
  background: hsla(350, 85%, 15%, 0.8);
  box-shadow: 0 10px 30px hsla(350, 85%, 15%, 0.4);
}

.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ------------------ FOOTER SECTION ------------------ */
footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-flat);
  padding: 60px 0 30px 0;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--text-main);
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: hsla(160, 84%, 45%, 0.05);
  border: 1px solid hsla(160, 84%, 45%, 0.15);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-flat);
  padding-top: 30px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ------------------ RESPONSIVENESS ------------------ */

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-badge {
    align-self: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .preview-card {
    transform: none;
  }
  
  .preview-card:hover {
    transform: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .price-card.popular {
    transform: none;
  }
  
  .price-card.popular:hover {
    transform: translateY(-4px);
  }

  .diff-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Mobile menu hidden for simplicity */
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: span 1;
  }

  .footer-layout {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 450px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .contact-form {
    padding: 24px;
  }
}

/* ------------------ COOKIE CONSENT BANNER ------------------ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 480px;
  z-index: 9999;
  padding: 24px;
  background: rgba(15, 23, 40, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(150px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--secondary);
  text-decoration: none;
}

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

.cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn-cookie {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-cookie-accept {
  background: var(--secondary);
  color: hsl(224, 25%, 6%);
}

.btn-cookie-accept:hover {
  box-shadow: 0 0 12px hsla(160, 84%, 45%, 0.4);
  filter: brightness(1.1);
}

.btn-cookie-reject {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.btn-cookie-reject:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    max-width: none;
  }
}

/* -------------------------------------------------------------
 * 🌓 LIGHT/DARK MODE IMPLEMENTATION & TRANSITIONS
 * ------------------------------------------------------------- */
:root.light-mode {
  --bg-deep: hsl(224, 25%, 97%);
  --bg-card: hsla(224, 20%, 93%, 0.65);
  --primary: hsl(203, 85%, 45%);
  --primary-hover: hsl(203, 100%, 38%);
  --secondary: hsl(160, 85%, 32%);
  --text-main: hsl(224, 25%, 12%);
  --text-muted: hsl(220, 12%, 40%);
  --border-glow: hsla(203, 85%, 45%, 0.15);
  --accent-error: hsl(350, 80%, 44%);
  --accent-success: hsl(145, 75%, 32%);

  /* Dynamic Header/Footer & Border Colors (Light Mode complements for WCAG AA) */
  --bg-header: hsla(224, 25%, 97%, 0.75);
  --bg-header-scrolled: hsla(224, 25%, 97%, 0.9);
  --bg-footer: hsl(224, 25%, 92%);
  --border-flat: hsla(224, 25%, 12%, 0.1);
}

body, 
header, 
footer,
section, 
.glass-effect, 
.btn-cyber, 
.input-cyber, 
.btn-lang-trigger,
.btn-icon,
svg,
span,
h1, h2, h3, p, label, input, select, textarea {
  transition: 
    background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s ease;
}

/* Theme Switcher Toggle styling */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid hsla(210, 20%, 98%, 0.1);
  color: var(--text-main);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.btn-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--secondary);
  box-shadow: 0 0 10px hsla(160, 84%, 45%, 0.2);
}
.btn-icon svg {
  transition: transform 0.3s ease;
}
.btn-icon:hover svg {
  transform: rotate(15deg);
}
.btn-icon:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

html:not(.light-mode) .icon-sun {
  display: block;
}
html:not(.light-mode) .icon-moon {
  display: none;
}
html.light-mode .icon-sun {
  display: none;
}
html.light-mode .icon-moon {
  display: block;
}

/* -------------------------------------------------------------
 * 🌐 LANGUAGE SELECTOR DROPDOWN (COMBOBOX)
 * ------------------------------------------------------------- */
.lang-selector-container {
  position: relative;
  display: inline-block;
}

.btn-lang-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid hsla(210, 20%, 98%, 0.1);
  color: var(--text-main);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.btn-lang-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--secondary);
}
.btn-lang-trigger:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
.btn-lang-trigger svg.chevron-down {
  transition: transform 0.2s ease;
}
.btn-lang-trigger[aria-expanded="true"] svg.chevron-down {
  transform: rotate(180deg);
}

.lang-dropdown-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  list-style: none;
  padding: 6px;
  margin: 0;
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 4px;
  border-radius: 12px;
}
.lang-dropdown-list.show {
  display: flex;
  animation: fadeIn 0.2s ease;
}

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

.lang-option {
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.lang-option:hover, .lang-option:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  outline: none;
}
.lang-option.selected {
  color: var(--secondary);
  font-weight: 600;
  background: hsla(160, 84%, 45%, 0.08);
}

/* -------------------------------------------------------------
 * 📅 ECOSYSTEM & SCHEDFLOW SECTION
 * ------------------------------------------------------------- */
.ecosystem-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}
.ecosystem-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ecosystem-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ecosystem-feature {
  display: flex;
  gap: 12px;
}
.ecosystem-feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.btn-secondary-cyber {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--secondary);
  align-self: flex-start;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-secondary-cyber:hover {
  background: hsla(160, 84%, 45%, 0.1);
  box-shadow: 0 0 15px hsla(160, 84%, 45%, 0.3);
  transform: translateY(-2px);
}
.btn-secondary-cyber:active {
  transform: translateY(1px);
}

.calendar-grid-sim {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calendar-header-sim {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.calendar-days-sim {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.calendar-day-sim {
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.8rem;
  position: relative;
}
.calendar-day-sim.muted {
  opacity: 0.4;
}
.calendar-day-sim.event {
  border-color: var(--secondary);
  background: hsla(160, 84%, 45%, 0.05);
  font-weight: 600;
}
.dot-event {
  width: 4px;
  height: 4px;
  background: var(--secondary);
  border-radius: 50%;
  position: absolute;
  bottom: 4px;
}

@media (max-width: 1024px) {
  .ecosystem-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .btn-secondary-cyber {
    align-self: center;
  }
}

/* -------------------------------------------------------------
 * 💳 INTEGRATED CHECKOUT MODAL
 * ------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.show {
  display: flex;
}
.modal-content {
  width: 100%;
  max-width: 480px;
  padding: 32px;
  position: relative;
  animation: modalSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes modalSlideIn {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}
.modal-close-btn:hover {
  color: var(--text-main);
}
.modal-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

