/* MazenWare Landing Page Styles
   Branding: Blue #004AAD, Orange #FF914D, White #FFF, Light Grey #F0F0F0
   Font: Glacial Indifference
*/

:root {
  --blue: #004AAD;
  --orange: #FF914D;
  --white: #FFFFFF;
  --light-grey: #F0F0F0;
  --font-main: 'Glacial Indifference', Arial, sans-serif;
  
  /* Light theme colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F0F0F0;
  --text-primary: #222222;
  --text-secondary: #666666;
  --border-color: rgba(0, 0, 0, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.1);
  --card-bg: #FFFFFF;
  --navbar-bg: rgba(255, 255, 255, 0.95);
}

/* Dark theme colors */
[data-theme="dark"] {
  --bg-primary: #0F0F0F;
  --bg-secondary: #1A1A1A;
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0B0;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --card-bg: #1A1A1A;
  --navbar-bg: rgba(15, 15, 15, 0.95);
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f4f8 100%);
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(0, 74, 173, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 145, 77, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0, 74, 173, 0.03) 0%, transparent 70%);
  background-attachment: fixed;
  color: var(--text-primary);
  scroll-behavior: smooth;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  overflow-x: hidden;
}

html::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 74, 173, 0.02) 2px, rgba(0, 74, 173, 0.02) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 74, 173, 0.02) 2px, rgba(0, 74, 173, 0.02) 4px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* Navbar - Modern Futuristic Design */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 74, 173, 0.1) inset,
    0 0 40px rgba(0, 74, 173, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  height: 68px;
  z-index: 1000;
  transition: all 0.3s ease;
  border-radius: 0 0 20px 20px;
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 2px solid rgba(0, 74, 173, 0.15);
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(0, 74, 173, 0.4) 20%,
    rgba(255, 145, 77, 0.4) 50%,
    rgba(0, 74, 173, 0.4) 80%,
    transparent 100%
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.navbar__logo {
  display: flex;
  align-items: center;
  margin-right: 2rem;
}
.logo-img {
  height: 40px;
  margin-right: 0.75rem;
}
.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
}
.brand-orange { color: var(--orange); }
.brand-blue { color: var(--blue); }

.navbar__links {
  list-style: none;
  display: flex;
  gap: 1.2rem; /* reduced gap */
  margin: 0;
  padding: 0;
  flex-wrap: wrap; /* allow wrapping if needed */
  max-width: 100vw;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox - hide scrollbar */
  -ms-overflow-style: none; /* IE and Edge - hide scrollbar */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.navbar__links::-webkit-scrollbar {
  display: none;
}
.nav-link {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--blue);
}
.nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transition: width 0.3s ease;
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0, 74, 173, 0.3);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 80%;
}
.nav-link:hover {
  color: var(--blue);
  transform: translateY(-2px);
}
.nav-link.active {
  color: var(--blue);
}

/* Navbar Controls */
.navbar__controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1.5rem;
}

/* Language Switcher */
.language-switcher {
  position: relative;
  display: flex;
  align-items: center;
}

.language-switcher__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 74, 173, 0.1);
  border: 1px solid rgba(0, 74, 173, 0.2);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-main);
}

.language-switcher__btn:hover {
  background: rgba(0, 74, 173, 0.15);
  border-color: rgba(0, 74, 173, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 74, 173, 0.2);
}

.language-switcher__current {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.language-switcher__icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.language-switcher__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--white);
  border: 1px solid rgba(0, 74, 173, 0.2);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.language-switcher__dropdown--active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-switcher__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-main);
  color: var(--text-primary);
  font-size: 0.95rem;
}

.language-switcher__option:hover {
  background: rgba(0, 74, 173, 0.08);
}

.language-switcher__option--active {
  background: rgba(0, 74, 173, 0.1);
  color: var(--blue);
  font-weight: 600;
}

.language-switcher__flag {
  font-size: 1.2rem;
  line-height: 1;
}

.language-switcher__name {
  flex: 1;
}

[data-theme="dark"] .language-switcher__btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

[data-theme="dark"] .language-switcher__btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .language-switcher__dropdown {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .language-switcher__option:hover {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .language-switcher__option--active {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
  .language-switcher__btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .language-switcher__current {
    font-size: 0.85rem;
  }
  
  .language-switcher__icon {
    width: 14px;
    height: 14px;
  }
  
  .language-switcher__dropdown {
    right: 0;
    min-width: 140px;
  }
}

/* Theme Toggle - Removed */

/* Hamburger (mobile) */
.navbar__toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  margin-left: 1.5rem;
}
.bar {
  width: 26px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 0 2rem;
  padding-top: 80px;
  background: none;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.hero-bg-video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.5s;
}
/* Make hero text more readable */
.hero__content {
  max-width: 580px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 3rem 3rem 3rem 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 74, 173, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  animation: contentSlideIn 1s ease-out;
}

.hero__content::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 74, 173, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: contentGlow 4s ease-in-out infinite;
}

@keyframes contentSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes contentGlow {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}
.hero__headline {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--blue) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(0, 74, 173, 0.3);
  position: relative;
  animation: headlineFadeIn 1s ease-out;
  font-family: var(--font-main);
}

.hero__headline::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 2px;
  animation: lineExpand 1.2s ease-out 0.5s both;
}

@keyframes headlineFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineExpand {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 60px;
    opacity: 1;
  }
}
.hero__subtext {
  font-size: 1.35rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-weight: 400;
  opacity: 0;
  animation: subtextFadeIn 1s ease-out 0.3s both;
  letter-spacing: 0.01em;
}

@keyframes subtextFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero__tagline {
  font-size: 1.1rem;
  color: #2a2a2a;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  border-left: 5px solid var(--orange);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-style: italic;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(255, 145, 77, 0.15);
  opacity: 0;
  animation: taglineFadeIn 1s ease-out 0.6s both;
  position: relative;
  overflow: hidden;
}

.hero__tagline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: taglineShine 3s ease-in-out infinite;
}

@keyframes taglineFadeIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes taglineShine {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 100%;
  }
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), #ff7a1a);
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  padding: 1em 2.5em;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 145, 77, 0.35), 0 0 30px rgba(255, 145, 77, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: ctaFadeIn 1s ease-out 0.9s both;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 1.1em 2.8em;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  background: linear-gradient(135deg, #ff7a1a, var(--orange));
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 35px rgba(255, 145, 77, 0.5), 0 0 40px rgba(255, 145, 77, 0.3);
}

.cta-btn:active {
  transform: translateY(-2px) scale(1.02);
}

@keyframes ctaFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero__image {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
}
.hero-logo {
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 74, 173, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  animation: logoFloatIn 1s ease-out 0.4s both;
  overflow: hidden;
}

.hero-logo::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  border-radius: 34px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-logo:hover::before {
  opacity: 1;
}

.hero-logo:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 30px 80px rgba(0, 74, 173, 0.3), 0 0 0 2px rgba(255, 145, 77, 0.5);
}

@keyframes logoFloatIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.hero-logo img {
  max-width: 70%;
  max-height: 70%;
  display: block;
}
.image-placeholder {
  width: 340px;
  height: 340px;
  background: #e0e0e0;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 1.3rem;
  font-style: italic;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.52); /* increase overlay opacity for better contrast */
  z-index: 1;
  pointer-events: none;
}
.hero__content, .hero__image, .scroll-down {
  position: relative;
  z-index: 2;
}

/* Scroll Down Arrow - Removed */

/* About multilingual snippet */
.about__multilingual {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.about__multilingual h3 {
  margin: 0 0 0.5rem 0;
  color: var(--blue);
}
.language-flags {
  display: flex;
  gap: 8px;
  margin-top: 0.5rem;
  font-size: 1.4rem;
}
.flag { filter: saturate(1.1); }

/* Languages section */
.languages {
  position: relative;
  padding: 72px 2rem;
  background: radial-gradient(1200px 400px at 20% 0%, rgba(0,74,173,0.09), transparent),
              radial-gradient(1000px 360px at 80% 20%, rgba(255,145,77,0.08), transparent),
              var(--white);
  overflow: hidden;
}
.languages::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,74,173,0.06), rgba(255,145,77,0.06));
  opacity: 0.45;
  pointer-events: none;
}
.languages__container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.languages__title {
  font-size: 2rem;
  color: var(--blue);
  margin: 0 0 0.5rem 0;
}
.languages__subtitle {
  color: #555;
  margin: 0 0 2rem 0;
}
.languages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.language-card {
  position: relative;
  background: rgba(255,255,255,0.68);
  border-radius: 18px;
  padding: 22px 18px 20px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.language-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px; /* border thickness */
  background: linear-gradient(135deg, rgba(0,74,173,0.55), rgba(255,145,77,0.55));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.language-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.08);
}
.language-card__code {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  background: rgba(0,74,173,0.08);
  border: 1px solid rgba(0,74,173,0.18);
  border-radius: 999px;
  padding: 4px 8px;
}
.language-card__flag {
  font-size: 2rem;
  margin-bottom: 8px;
}
.language-card__title {
  margin: 0 0 6px 0;
  color: #111;
}
.language-card__text {
  margin: 0;
  color: #444;
}

/* Contact inline flags */
.contact__languages-inline {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  font-size: 1.2rem;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 0 1rem;
    padding-top: 80px;
    background-position: center bottom;
  }
  .hero__content {
    max-width: 100%;
    margin-top: 2rem;
  }
  .hero__image {
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 700px) {
  .navbar {
    padding: 0 1rem;
    height: 56px;
  }
  .logo-img {
    height: 32px;
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .hero__headline {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
  }
  
  .hero__headline::after {
    width: 50px;
  }
  .hero-logo {
    width: 160px;
    height: 160px;
    border-radius: 20px;
  }
  .image-placeholder {
    width: 220px;
    height: 220px;
    font-size: 1rem;
  }
  .languages__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .navbar__links {
    display: none;
    position: absolute;
    top: 56px;
    right: 0;
    background: var(--navbar-bg);
    flex-direction: column;
    width: 100vw;
    box-shadow: 0 4px 16px var(--shadow-color);
    padding: 1.5rem 0;
    gap: 1.5rem;
    z-index: 999;
  }
  .navbar__links.open {
    display: flex;
  }
  .navbar__controls {
    margin-left: 1rem;
    gap: 0.75rem;
  }
  .theme-toggle {
    width: 36px;
    height: 36px;
  }
  .theme-icon {
    width: 18px;
    height: 18px;
  }
  .navbar__toggle {
    display: flex;
  }
}

/* Transition for nav links */
.navbar__links, .navbar__toggle, .nav-link, .cta-btn {
  transition: all 0.2s;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--orange) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  color: var(--white);
  max-width: 400px;
  padding: 2rem;
}

.loading-logo {
  margin-bottom: 3rem;
  animation: logoFloat 3s ease-in-out infinite;
}

.logo-loading {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  animation: logoPulse 2s ease-in-out infinite;
}

.loading-text {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
  animation: textGlow 2s ease-in-out infinite alternate;
}

.loading-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
}

.spinner-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid var(--white);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 10px;
  left: 10px;
  border-top-color: rgba(255, 255, 255, 0.7);
  animation-duration: 1.2s;
  animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
  width: 40px;
  height: 40px;
  top: 20px;
  left: 20px;
  border-top-color: rgba(255, 255, 255, 0.5);
  animation-duration: 0.9s;
}

.loading-progress {
  margin-bottom: 1.5rem;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: var(--white);
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: progressShine 2s ease-in-out infinite;
}

.loading-percentage {
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.9;
}

.loading-message {
  font-size: 1rem;
  opacity: 0.8;
  animation: messageFade 3s ease-in-out infinite;
}

/* Loading Animations */
@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes textGlow {
  0% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
  100% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.8); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes progressShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes messageFade {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* Dark mode loading screen */
[data-theme="dark"] .loading-screen {
  background: linear-gradient(135deg, #0F0F0F 0%, #1A1A1A 100%);
}

[data-theme="dark"] .loading-text {
  text-shadow: 0 0 10px rgba(255, 145, 77, 0.5);
}

[data-theme="dark"] .spinner-ring {
  border-top-color: var(--orange);
}

[data-theme="dark"] .spinner-ring:nth-child(2) {
  border-top-color: rgba(255, 145, 77, 0.7);
}

[data-theme="dark"] .spinner-ring:nth-child(3) {
  border-top-color: rgba(255, 145, 77, 0.5);
}

[data-theme="dark"] .progress-fill {
  background: var(--orange);
}

/* Utility classes for future sections */
.section {
  padding: 80px 0;
  background: transparent;
  position: relative;
  z-index: 1;
} 

 