/* =====================
   Landing Page Styles
   Version: 20260320-3
   Dashboard Integration
===================== */

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

html {
  scroll-behavior: smooth;
}

body.modal-open {
  overflow: hidden;
}

/* =====================
   Selection
===================== */
::selection {
  background: rgba(125,211,252,0.3);
  color: #fff;
}

::-moz-selection {
  background: rgba(125,211,252,0.3);
  color: #fff;
}

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

::-webkit-scrollbar-track {
  background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.3);
}

/* =====================
   Animations
===================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from { right: -400px; }
  to { right: 0; }
}

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

/* =====================
   Video Modal
===================== */
.video-modal {
  animation: fadeIn 0.3s ease-out;
}

.video-modal video {
  animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================
   Products Panel
===================== */
.products-panel {
  will-change: right;
}

.products-panel-item {
  will-change: transform;
}

/* =====================
   Hero Video
===================== */
.landing-hero-video {
  will-change: transform, box-shadow;
}

/* =====================
   Number Cards
===================== */
.landing-numbers-card-large,
.landing-numbers-card {
  will-change: transform;
}

/* =====================
   Button Effects
===================== */
.dash-login-btn,
.landing-blog-cta-btn,
.landing-hero-cta-link,
.submit-button {
  position: relative;
  overflow: hidden;
}

.dash-login-btn::before,
.landing-blog-cta-btn::before,
.landing-hero-cta-link::before,
.submit-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.dash-login-btn:hover::before,
.landing-blog-cta-btn:hover::before,
.landing-hero-cta-link:hover::before,
.submit-button:hover::before {
  left: 100%;
}

/* =====================
   Focus States
===================== */
.dash-nav-link:focus,
.dash-login-btn:focus,
.products-panel-item:focus,
.dash-lang-btn:focus {
  outline: 2px solid rgba(125,211,252,0.5);
  outline-offset: 2px;
}

/* =====================
   Reduced Motion
===================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* =====================
   Print Styles
===================== */
@media print {
  .dash-navbar,
  .dash-footer,
  .landing-hero-video,
  .landing-blog-cta,
  .products-panel,
  .video-modal,
  .popup,
  .dash-modal {
    display: none !important;
  }
  
  body {
    background: #fff;
    color: #000;
  }
  
  .landing-numbers-card-large,
  .landing-numbers-card {
    break-inside: avoid;
  }
}

/* =====================
   Form Styles
===================== */
.text-field {
  transition: all 0.2s ease;
}

.text-field:focus {
  transform: translateY(-1px);
}

.submit-button {
  will-change: transform;
}

/* =====================
   Modal Animations
===================== */
.popup {
  animation: fadeIn 0.3s ease-out;
}

.popup-window {
  animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-modal-card {
  animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================
   Language Modal
===================== */
.dash-lang-item {
  transition: background 0.2s ease, transform 0.2s ease;
}

.dash-lang-item:hover {
  transform: translateX(4px);
}

/* =====================
   Blog Slider
===================== */
.landing-blog-track {
  will-change: transform;
}

.landing-article {
  will-change: transform;
}

/* =====================
   Asterisk Animation
===================== */
.landing-asterisk-icon-xl {
  will-change: transform;
}

/* =====================
   Utility Classes
===================== */
.w-embed { display: block; }
.w-inline-block { display: inline-block; }
.w-container, .w-layout-blockcontainer {
  max-width: 1400px;
  margin: 0 auto;
}

/* =====================
   Symbol Icons
===================== */
.symbol-icon-xxs,
.symbol-icon-s,
.symbol-icon-m,
.symbol-icon-l {
  font-family: 'Material Symbols Outlined', sans-serif;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
}

.symbol-icon-xxs { font-size: 18px; }
.symbol-icon-s { font-size: 20px; }
.symbol-icon-m { font-size: 24px; }
.symbol-icon-l { font-size: 24px; }
.symbol-icon.right { transform: rotate(180deg); }

/* =====================
   Dashboard Footer
===================== */
.dash-footer {
  will-change: auto;
}

.dash-footer-link {
  position: relative;
}

.dash-footer-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.5);
  transition: all 0.2s ease;
  transform: translateX(-50%);
}

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

/* =====================
   Language Button
===================== */
.dash-lang-btn {
  will-change: background, border-color;
}

.dash-lang-btn .dash-caret {
  transition: transform 0.2s ease;
}

.dash-lang-btn:hover .dash-caret {
  transform: translateY(2px);
}

/* =====================
   Mobile Responsive
===================== */
@media (max-width: 980px) {
  .dash-nav-menu {
    display: none;
  }
  
  .products-panel {
    width: 100%;
    right: -100%;
  }
  
  .dash-footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .dash-footer-left,
  .dash-footer-right {
    flex-direction: column;
  }
}

/* =====================
   Accessibility
===================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: rgba(125,211,252,0.9);
  color: #000;
  padding: 8px 16px;
  z-index: 100001;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}
