:root {
  --default-font: "Open Sans",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors based on your App Palette */
:root { 
  /* backgroundLight */
  --background-color: #89CAED; 
  
  /* tertiaryLight (Black) - Used for text readability on the blue background */
  --default-color: #000000; 
  --heading-color: #000000; 
  
  /* primaryLight - Used for buttons and highlights */
  --accent-color: #2964E4; 
  
  /* primaryContainerLight - Used for boxes/cards */
  --surface-color: #CEFBF1; 
  
  /* White - Used for text on top of dark blue buttons */
  --contrast-color: #ffffff; 
  
  /* onPrimaryLight - Red, used for special alerts or secondary highlights */
  --secondary-color: #FF6868;
}

/* Nav Menu Colors */
:root {
  --nav-color: #000000; 
  --nav-hover-color: #2964E4; 
  --nav-mobile-background-color: #ffffff; 
  --nav-dropdown-background-color: #ffffff; 
  --nav-dropdown-color: #212529; 
  --nav-dropdown-hover-color: #2964E4; 
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  background-color: var(--background-color); 
  /* Slight transparency for fixed header */
  background-color: rgba(137, 202, 237, 0.95); 
  transition: all 0.5s;
  z-index: 997;
  padding: 10px 0;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.header .branding {
  min-height: 50px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-color); /* Uses primaryLight Blue */
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 20px 15px;
    margin-left: 2px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--accent-color);
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--default-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--surface-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--default-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--accent-color);
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(41, 100, 228, 0.8); /* Accent transparent */
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--surface-color); /* Changed to Surface for footer */
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
  border-top: 2px solid var(--accent-color);
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  transition: all 0.4s;
  border-radius: 50%;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section, .section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 70px; /* adjusted for header height */
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding: 30px 0;
  margin-bottom: 30px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  color: var(--heading-color);
}

.section-title span {
  position: absolute;
  top: 4px;
  color: rgba(255, 255, 255, 0.3); /* Watermark style */
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
}

/*--------------------------------------------------------------
# Download Section
--------------------------------------------------------------*/
.download {
  padding-top: 0px;
  margin-top: 0;
  padding-bottom: 40px;
  background-color: var(--background-color);
}

.download a {
  margin: 0 10px;
  display: inline-block;
}

.download a img {
  max-width: 250px;
  height: auto;
  transition: transform 0.3s ease;
}

.download a img:hover {
    transform: scale(1.05);
}

.download a.disabled-store img {
  filter: grayscale(100%);
  opacity: 0.6;
  cursor: not-allowed;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  height: auto;
  padding: 80px 0 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--background-color);
}

.hero img {
  max-width: 100%;
  height: auto;
}

/*--------------------------------------------------------------
# Privacy Policy Section (Pricing Item Style)
--------------------------------------------------------------*/
#privacy_policy {
  background-color: var(--background-color);
}

.pricing-item {
  /* Using primaryContainerLight (Minty/Pale Cyan) for cards */
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  color: var(--default-color);
  border: 1px solid var(--accent-color);
}

.pricing-item h3 {
  color: var(--accent-color); /* primaryLight Blue */
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
}

.pricing-item p, .pricing-item li {
  margin-bottom: 15px;
  line-height: 1.6;
  color: var(--default-color);
}

.pricing-item a {
  color: var(--accent-color);
  font-weight: 600;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  /* Using primaryLight (Dark Blue) for info boxes */
  background-color: var(--accent-color) !important;
  color: #fff;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  text-align: center;
}

.contact .info-item i {
  font-size: 32px;
  /* Using onPrimaryContainerLight (Light Blue) for icon color */
  color: var(--surface-color) !important; 
  background-color: rgba(255,255,255,0.1);
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-bottom: 15px;
}

.contact .info-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0;
  color: #fff;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 16px;
  color: #fff;
}