@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;900&display=swap&subset=latin-ext');

:root {
  /* Typography */
  --font-main: 'Poppins', sans-serif;

  /* Dark Mode (Default) */
  --bg-main: #0B1120;
  --bg-secondary: #0F172A;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-overlay: rgba(11, 17, 32, 0.95);
  --nav-bg: rgba(11, 17, 32, 0.85);
  --bg-sub-card: rgba(0, 0, 0, 0.2);
  --border-card: rgba(255, 255, 255, 0.08);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --teal: #14B8A6;
  --teal-glow: rgba(20, 184, 166, 0.4);
  --royal: #2563EB;
  --royal-hover: #1D4ED8;
  --radius-card: 24px;
  --radius-btn: 14px;
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] {
  --bg-main: #F8FAFC;
  --bg-secondary: #F1F5F9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-overlay: rgba(248, 250, 252, 0.95);
  --nav-bg: rgba(248, 250, 252, 0.85);
  --bg-sub-card: rgba(15, 23, 42, 0.05);
  --border-card: rgba(15, 23, 42, 0.08);
  --text-main: #0F172A;
  --text-muted: #475569;
  --teal: #0D9488;
  --teal-glow: rgba(13, 148, 136, 0.2);
  --royal: #3B82F6;
  --royal-hover: #2563EB;
  --shadow-card: 0 20px 40px rgba(15, 23, 42, 0.05);
}

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

/* Accessibility Focus Ring & Skip Link */
:focus-visible {
  outline: 2px solid var(--teal) !important;
  outline-offset: 3px !important;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  background: var(--teal);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s ease-in-out;
}
.skip-link:focus {
  top: 16px;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

#bg-canvas {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1; opacity: 0.6; pointer-events: none;
}

h1, h2, h3 { font-family: var(--font-main); font-weight: 700; color: var(--text-main); line-height: 1.2; letter-spacing: -0.01em; }
h4, h5, h6 { font-family: var(--font-main); font-weight: 500; color: var(--text-main); line-height: 1.4; letter-spacing: 0; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.text-teal { color: var(--teal); transition: color 0.3s ease; }
.text-muted { color: var(--text-muted); transition: color 0.3s ease; }

nav {
  position: fixed; top: 0; left: 0; width: 100%; padding: 20px 0; z-index: 1000;
  backdrop-filter: blur(10px); background: var(--nav-bg);
  border-bottom: 1px solid var(--border-card); transition: all 0.3s ease;
}
nav .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-main); font-size: 24px; font-weight: 900; display: flex; align-items: center; gap: 10px; letter-spacing: -0.01em; }
.logo-dot { width: 12px; height: 12px; background-color: var(--teal); border-radius: 50%; box-shadow: 0 0 15px var(--teal); animation: pulse 2s infinite; }
.nav-controls { display: flex; align-items: center; gap: 16px; }

.lang-switcher {
  display: flex; gap: 8px; align-items: center; font-family: var(--font-main); font-weight: 600; font-size: 14px;
}
.lang-switcher a { color: var(--text-muted); }
.lang-switcher a.active { color: var(--teal); text-shadow: 0 0 10px var(--teal-glow); }
.lang-switcher a:hover { color: var(--text-main); }
.lang-switcher span { color: var(--border-card); }

.icon-btn { background: var(--bg-card); border: 1px solid var(--border-card); color: var(--text-main); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; font-size: 20px; }
.icon-btn:hover { transform: translateY(-2px); border-color: var(--teal); color: var(--teal); box-shadow: 0 5px 15px var(--teal-glow); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 32px; border-radius: var(--radius-btn); font-weight: 700; font-size: 16px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; border: none; font-family: var(--font-main); gap: 8px; }
.btn-primary { background: linear-gradient(135deg, var(--royal), #60A5FA); color: #fff; box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4); }
.btn-primary:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 15px 35px rgba(37, 99, 235, 0.6); }
.btn-outline { background: var(--bg-card); border: 1px solid var(--border-card); color: var(--text-main); backdrop-filter: blur(10px); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); box-shadow: 0 10px 25px var(--teal-glow); transform: translateY(-4px); }

.glass-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-card); backdrop-filter: blur(16px); padding: 40px; box-shadow: var(--shadow-card); transform-style: preserve-3d; transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease; }
.glass-card:hover { border-color: rgba(20, 184, 166, 0.4); }

.hero { padding: 180px 0 100px; min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content h1 { font-size: 64px; letter-spacing: -2px; margin-bottom: 24px; }
.hero-content p { font-size: 20px; color: var(--text-muted); margin-bottom: 48px; max-width: 540px; }
.hero-visual { position: relative; padding: 20px; }
.dashboard-mockup { width: 100%; border-radius: 24px; border: 1px solid var(--border-card); box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px var(--teal-glow); transition: transform 0.4s ease; }
.hero-visual:hover .dashboard-mockup { transform: translateY(-10px); }
.live-stats { position: absolute; bottom: -20px; left: -20px; background: var(--bg-card); border: 1px solid var(--border-card); padding: 20px 30px; border-radius: 20px; backdrop-filter: blur(12px); display: flex; align-items: center; gap: 20px; box-shadow: 0 15px 30px rgba(0,0,0,0.3); animation: float 6s ease-in-out infinite; }
.live-stats-icon { font-size: 32px; color: var(--teal); animation: pulse-icon 2s infinite; }
.live-stats-info p { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 4px; }
.live-stats-info h4 { font-size: 24px; margin: 0; }

@keyframes float { 0% { transform: translateY(0px) translateZ(50px); } 50% { transform: translateY(-15px) translateZ(50px); } 100% { transform: translateY(0px) translateZ(50px); } }
@keyframes pulse-icon { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.7; } 100% { transform: scale(1); opacity: 1; } }

.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 40px; margin-bottom: 16px; }

section:not(.hero) { padding: 120px 0; }

/* Grid Layouts */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }

/* Audience */
.audience-card { text-align: center; }

/* Timeline */
.timeline { display: flex; gap: 30px; position: relative; }
.timeline::before { content:''; position:absolute; top:40px; left:0; width:100%; height:2px; background:var(--border-card); z-index:-1; }
.timeline-item { flex: 1; text-align: center; padding-top: 50px; position: relative; }
.timeline-num { position:absolute; top:-20px; left:50%; transform:translateX(-50%); background:var(--bg-card); border:1px solid var(--teal); color:var(--teal); width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--font-main); font-weight:700; box-shadow:0 0 15px var(--teal-glow); }

/* Features */
.features { position: relative; }
.bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(220px, auto); gap: 30px; }
.bento-item { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; transition: transform 0.3s ease, border-color 0.4s ease, box-shadow 0.4s ease; }
.bento-item:hover { transform: translateY(-5px); }
.bento-item.expanded .expandable-ui { display: block !important; animation: fadeInDown 0.3s ease forwards; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.bento-icon { font-size: 40px; color: var(--teal); margin-bottom: 24px; display: inline-block; padding: 16px; background: rgba(20, 184, 166, 0.1); border-radius: 16px; }

.interactive-toggles { margin-top: 30px; background: var(--bg-sub-card); border-radius: 16px; padding: 24px; border: 1px solid var(--border-card); }
.toggle-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border-card); }
.toggle-row:last-child { border-bottom: none; padding-bottom: 0; }
.toggle-label { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.toggle-label i { font-size: 20px; color: var(--teal); }

.switch { position: relative; display: inline-block; width: 52px; height: 28px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--bg-secondary); border: 1px solid var(--border-card); transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: var(--text-muted); transition: .4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border-radius: 50%; }
input:checked + .slider { background-color: var(--teal); border-color: var(--teal); box-shadow: 0 0 15px var(--teal-glow); }
input:checked + .slider:before { transform: translateX(24px); background-color: #fff; }

/* Simulator */
.simulator-card { max-width: 800px; margin: 0 auto; text-align: center; }
.range-wrap { position: relative; margin: 60px 0 40px; }
input[type=range] { -webkit-appearance: none; width: 100%; background: transparent; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 32px; width: 32px; border-radius: 50%; background: var(--teal); cursor: pointer; margin-top: -14px; box-shadow: 0 0 20px var(--teal-glow); border: 3px solid #fff; transition: transform 0.2s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.2); }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 6px; cursor: pointer; background: var(--border-card); border-radius: 3px; }
.savings-display { display: flex; justify-content: center; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.savings-value { font-size: 80px; font-weight: 900; font-family: var(--font-main); color: var(--teal); text-shadow: 0 0 30px var(--teal-glow); letter-spacing: -2px; }

/* Partners */
.partners-logo-strip { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 40px; opacity: 0.5; }
.partner-logo { font-size: 24px; font-weight: bold; display: flex; align-items: center; gap: 10px; color: var(--text-muted); transition: all 0.3s; }
.partner-logo:hover { opacity: 1; color: var(--text-main); }
.partner-logo i { font-size: 32px; }

/* Testimonials */
.testimonial-card { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.testimonial-text { font-size: 18px; font-style: italic; color: var(--text-muted); line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.avatar { width: 50px; height: 50px; border-radius: 50%; background: rgba(20,184,166,0.1); border: 1px solid var(--teal); display: flex; align-items: center; justify-content: center; color: var(--teal); font-size: 24px; }

/* FAQ Accordion */
.faq-accordion { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { padding: 24px; cursor: pointer; }
.faq-question { display: flex; justify-content: space-between; align-items: center; }
.faq-question h3 { font-size: 20px; margin: 0; }
.faq-question i { font-size: 24px; color: var(--teal); transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; margin-top: 0; opacity: 0; color: var(--text-muted); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active .faq-answer { max-height: 200px; margin-top: 16px; opacity: 1; }

/* Contact & Footer */
.footer-wrapper { background: linear-gradient(180deg, transparent 0%, var(--bg-secondary) 100%); }
.contact-box { max-width: 1000px; margin: 0 auto 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.contact-info li { display: flex; align-items: center; gap: 12px; font-size: 18px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 16px; border-radius: var(--radius-btn); background: var(--bg-secondary); border: 1px solid var(--border-card); color: var(--text-main); font-family: inherit; font-size: 16px; transition: border-color 0.3s, background-color 0.3s, color 0.3s; }
.contact-form textarea { resize: vertical; min-height: 120px; max-height: 240px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); }
.contact-form .cf-turnstile, .cf-turnstile-container { display: flex; justify-content: center; width: 100%; margin: 4px 0; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--border-card); }
.footer-col h3, .footer-col h4 { margin-bottom: 24px; color: var(--text-main); font-size: 18px; }
.footer-col a { display: block; color: var(--text-muted); margin-bottom: 12px; font-size: 15px; }
.footer-col a:hover { color: var(--teal); }
.brand-col p { margin-bottom: 24px; }
.social-links { display: flex; gap: 16px; }
.social-links a { display: inline-flex; width: 48px; height: 48px; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 50%; align-items: center; justify-content: center; font-size: 20px; }
.social-links a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

.app-btn { display: flex !important; align-items: center; gap: 12px; padding: 12px 20px; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-btn); transition: all 0.3s; margin-bottom: 16px; }
.app-btn:hover { border-color: var(--teal); transform: translateY(-2px); }
.app-btn i { font-size: 28px; color: var(--text-main); }
.app-btn span { font-family: var(--font-main); font-weight: 700; font-size: 12px; line-height: 1.2; }

.footer-bottom { padding: 24px 0; text-align: center; color: var(--text-muted); font-size: 14px; }

/* Custom Menu Overlay */
.custom-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--bg-overlay); backdrop-filter: blur(10px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease, background-color 0.4s ease; }
.custom-menu-overlay.active { opacity: 1; pointer-events: auto; }
.custom-menu-content { position: relative; text-align: center; width: 100%; max-width: 400px; padding: 40px 20px; transform: translateY(30px); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.custom-menu-overlay.active .custom-menu-content { transform: translateY(0); }
.close-btn { position: absolute; top: -40px; right: 20px; font-size: 24px; color: var(--text-main); cursor: pointer; padding: 10px; background: transparent; border: none; }
.close-btn:hover { color: var(--teal); }
.menu-links { list-style: none; display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.menu-links a { font-size: 24px; font-weight: 600; color: var(--text-main); text-decoration: none; transition: color 0.3s; font-family: var(--font-main); }
.menu-links a:hover { color: var(--teal); }
.menu-mobile-login { display: none; }

/* Navbar Fix */
.nav-left { display: flex; align-items: center; }
.desktop-menu { display: flex; list-style: none; gap: 30px; margin-left: 40px; }
.desktop-menu a { font-size: 16px; font-weight: 500; color: var(--text-muted); transition: color 0.3s; }
.desktop-menu a:hover { color: var(--teal); }

/* Pricing Table Workspace Style */
.pricing-table-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; overflow: hidden; border-radius: var(--radius-card); }
.pricing-col { display: flex; flex-direction: column; position: relative; padding: 40px; border-right: 1px solid var(--border-card); background: transparent; transition: background 0.3s ease; }
.pricing-col:last-child { border-right: none; }
.pricing-col:hover { background: rgba(255, 255, 255, 0.02); }
.pricing-col.popular { background: rgba(20, 184, 166, 0.05); box-shadow: inset 0 4px 0 var(--teal); }
.pricing-col.popular:hover { background: rgba(20, 184, 166, 0.08); }
.popular-badge { position: absolute; top: 0; left: 0; right: 0; background: var(--teal); color: #fff; text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 6px 0; letter-spacing: 1px; }
.pricing-header { text-align: left; padding-bottom: 30px; border-bottom: 1px solid var(--border-card); margin-bottom: 30px; }
.pricing-col.popular .pricing-header { padding-top: 20px; }
.pricing-header h3 { font-size: 24px; margin-bottom: 16px; }
.pricing-price { font-size: 48px; font-weight: 900; color: var(--text-main); margin-bottom: 10px; letter-spacing: -1px; }
.pricing-features { list-style: none; margin-bottom: 40px; flex-grow: 1; display: flex; flex-direction: column; gap: 20px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--text-main); padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.03); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li i { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.pricing-footer { margin-top: auto; }
.pricing-btn { width: 100%; }

/* Light mode specific tweaks for pricing table */
[data-theme="light"] .pricing-col:hover { background: rgba(0, 0, 0, 0.02); }
[data-theme="light"] .pricing-features li { border-bottom: 1px solid rgba(0, 0, 0, 0.03); }

/* Animations */
.reveal { animation: fadeInUp 0.8s ease-out forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 1024px) {
  .desktop-menu { display: none; }
  .pricing-table-wrapper { grid-template-columns: 1fr; }
  .pricing-col { border-right: none; border-bottom: 1px solid var(--border-card); }
  .pricing-col:last-child { border-bottom: none; }
  .hero-grid, .contact-box { grid-template-columns: 1fr; }
  .bento-grid, .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline { flex-direction: column; }
  .timeline::before { left: 50%; top: 0; height: 100%; width: 2px; }
}
@media (max-width: 768px) {
  .nav-login-desktop { display: none; }
  .menu-mobile-login { display: block; margin-top: 40px; }
  .menu-mobile-login .btn { width: 100%; }
  .container { padding: 0 24px; }
  .hero { padding: 100px 24px 40px; }
  section:not(.hero) { padding-top: 60px; padding-bottom: 60px; }
  .hero-grid { gap: 30px; }
  .hero-content h1 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .glass-card { padding: 24px; }
  .bento-grid { gap: 20px; }
  .bento-item, .audience-card, .timeline-item { padding: 20px; }
  .section-title { margin-bottom: 40px; }
  .section-title h2 { font-size: 32px; }
  .live-stats { position: relative; bottom: 0; left: 0; margin-top: -30px; margin-left: 20px; margin-right: 20px; transform: translateY(-50%); width: calc(100% - 40px); box-sizing: border-box; }
}

/* Blog Section */
.blog-loader {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--teal);
  font-weight: 600;
}
.blog-loader i.spinner {
  font-size: 36px;
  animation: spin 1s linear infinite;
  margin-bottom: 12px;
  display: inline-block;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 0 !important;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--teal);
  box-shadow: 0 15px 30px var(--teal-glow);
}
.blog-img-wrap {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
}
.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-img-wrap img {
  transform: scale(1.08);
}
.blog-date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(20, 184, 166, 0.3);
}
.blog-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text-main);
  transition: color 0.3s ease;
}
.blog-card:hover .blog-card-content h3 {
  color: var(--teal);
}
.blog-card-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
  flex-grow: 1;
}
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--teal);
  margin-top: auto;
  transition: gap 0.3s ease;
}
.blog-card:hover .blog-read-more {
  gap: 12px;
}

/* Status Page Specific Styles */
.status-page {
  padding-top: 140px;
  padding-bottom: 80px;
}
.status-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 36px;
  border-radius: var(--radius-card);
  margin-bottom: 50px;
  border: 1px solid var(--border-card);
  transition: all 0.3s ease;
}
.status-banner.operational {
  background: rgba(20, 184, 166, 0.08);
  border-color: rgba(20, 184, 166, 0.4);
}
.status-banner.maintenance {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.4);
}
.status-banner-icon {
  font-size: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.status-banner.operational .status-banner-icon { color: var(--teal); }
.status-banner.maintenance .status-banner-icon { color: #f59e0b; }

.status-banner-text h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}
.status-banner.operational .status-banner-text h2 { color: var(--text-main); }
.status-banner.maintenance .status-banner-text h2 { color: #f59e0b; }

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}
.status-module-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.status-module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.status-module-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}
.status-badge.ok {
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal);
  border: 1px solid rgba(20, 184, 166, 0.3);
}
.status-badge.warn {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.status-badge.ok .status-dot {
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}
.status-badge.warn .status-dot {
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
}

.status-maintenance-msg {
  background: rgba(245, 158, 11, 0.05);
  border-left: 3px solid #f59e0b;
  padding: 16px;
  border-radius: 6px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.5;
}
.status-meta-info {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.status-history-box {
  padding: 36px;
  margin-bottom: 60px;
}
.status-history-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.status-history-item:last-child {
  border-bottom: none;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  width: 90%;
  max-width: 720px;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-card);
  padding: 20px 28px;
}
.cookie-banner.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-text-group {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-icon {
  font-size: 28px;
  color: var(--teal);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.cookie-message {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}
.cookie-link {
  color: var(--teal);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}
.cookie-link:hover {
  color: var(--text-main);
}
.cookie-btn-accept {
  min-height: 48px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .cookie-banner {
    bottom: 16px;
    width: 92%;
    padding: 20px;
  }
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .cookie-btn-accept {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Documentation Center (docs.php) */
.docs-page {
  padding-top: 140px;
  padding-bottom: 80px;
}
.docs-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: var(--radius-card);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.docs-select {
  flex-grow: 1;
  min-height: 48px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  padding: 0 16px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s ease;
}
.docs-select:focus-visible {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}
.docs-viewer-container {
  height: 72vh;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-card);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.docs-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.docs-placeholder {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}
.docs-placeholder i {
  font-size: 64px;
  color: var(--teal);
  opacity: 0.3;
  margin-bottom: 16px;
  display: inline-block;
}

/* Waitlist (components/waitlist-form.php) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
section.waitlist { padding-top: 0; }
.waitlist-box { max-width: 680px; margin: 0 auto; }
.waitlist-box [hidden] { display: none !important; }
.waitlist-form { display: flex; flex-direction: column; gap: 16px; }
.waitlist-head { text-align: center; margin-bottom: 8px; }
.waitlist-head h2 { font-size: 32px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.waitlist-form input[type="email"], .waitlist-form input[type="number"], .waitlist-form textarea { width: 100%; padding: 16px; border-radius: var(--radius-btn); background: var(--bg-secondary); border: 1px solid var(--border-card); color: var(--text-main); font-family: inherit; font-size: 16px; transition: border-color 0.3s, background-color 0.3s, color 0.3s; }
.waitlist-form textarea { resize: vertical; min-height: 120px; max-height: 240px; }
.waitlist-form input::placeholder, .waitlist-form textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.waitlist-form input:focus, .waitlist-form textarea:focus { outline: none; border-color: var(--teal); }
.waitlist-label, .waitlist-roles legend { font-weight: 600; font-size: 15px; color: var(--text-main); margin-bottom: -6px; }
.waitlist-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--text-muted); cursor: pointer; }
.waitlist-consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--teal); cursor: pointer; }
.waitlist-consent a { color: var(--teal); text-decoration: underline; }
.waitlist-turnstile { display: flex; justify-content: center; width: 100%; min-height: 65px; margin: 4px 0; }
.waitlist-roles { border: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.waitlist-roles legend { padding: 0; margin-bottom: 12px; }
.waitlist-role { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius-btn); background: var(--bg-secondary); border: 1px solid var(--border-card); cursor: pointer; font-size: 15px; transition: border-color 0.3s, box-shadow 0.3s, background 0.3s; }
.waitlist-role input { accent-color: var(--teal); width: 18px; height: 18px; flex-shrink: 0; cursor: pointer; }
.waitlist-role:hover { border-color: rgba(20, 184, 166, 0.4); }
.waitlist-role:has(input:checked) { border-color: var(--teal); background: rgba(20, 184, 166, 0.08); box-shadow: 0 0 0 1px var(--teal) inset; }
.waitlist-role:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }
.waitlist-msg { padding: 12px; border-radius: 12px; font-weight: 600; font-size: 14px; text-align: center; background: rgba(20, 184, 166, 0.15); color: var(--teal); border: 1px solid var(--teal); }
.waitlist-msg.is-error { background: rgba(239, 68, 68, 0.15); color: #ef4444; border-color: #ef4444; }
.waitlist-final { text-align: center; padding: 20px 0; }
.waitlist-final i { font-size: 56px; margin-bottom: 12px; display: inline-block; }
.waitlist-final h2 { font-size: 32px; margin-bottom: 8px; }
.waitlist-final h2:focus { outline: none; }

/* Login page waitlist notice */
.login-page { padding-top: 140px; padding-bottom: 80px; }
.waitlist-notice { max-width: 680px; margin: 0 auto 32px; display: flex; align-items: flex-start; gap: 16px; padding: 24px 28px; border-radius: var(--radius-card); background: rgba(20, 184, 166, 0.08); border: 1px solid rgba(20, 184, 166, 0.35); border-left: 4px solid var(--teal); color: var(--text-main); font-size: 17px; line-height: 1.6; }
.waitlist-notice i { font-size: 28px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
[data-theme="light"] .waitlist-notice { background: rgba(13, 148, 136, 0.06); }

/* Login page: notice + form inside one green-accented box */
.waitlist-panel { max-width: 680px; margin: 0 auto; padding: 40px; border-radius: var(--radius-card); background: rgba(20, 184, 166, 0.08); border: 1px solid rgba(20, 184, 166, 0.35); border-left: 4px solid var(--teal); backdrop-filter: blur(16px); box-shadow: var(--shadow-card); }
[data-theme="light"] .waitlist-panel { background: rgba(13, 148, 136, 0.06); }
.waitlist-panel .waitlist-notice { max-width: none; margin: 0 0 24px; padding: 0 0 24px; background: none; border: none; border-radius: 0; border-bottom: 1px solid rgba(20, 184, 166, 0.25); }
[data-theme="light"] .waitlist-panel .waitlist-notice { background: none; }
.waitlist-panel .waitlist-box, .waitlist-panel .waitlist-box:hover { max-width: none; padding: 0; background: transparent; border: none; box-shadow: none; backdrop-filter: none; }

@media (max-width: 768px) {
  .waitlist-head h2, .waitlist-final h2 { font-size: 26px; }
  .waitlist-roles { grid-template-columns: 1fr; }
  .waitlist-notice { padding: 20px; font-size: 16px; }
  .waitlist-panel { padding: 24px; }
  .waitlist-panel .waitlist-notice { padding: 0 0 20px; }
}
