:root {
    --font-headings: 'Orbitron', 'Oxanium', sans-serif;
    --font-body: 'Space Grotesk', 'Inter', sans-serif;
    --font-special: 'Oxanium', sans-serif;
    --google-blue: #4285F4;
    --google-green: #34A853;
    --google-yellow: #FBBC05;
    --google-red: #EA4335;
    --custom-purple: #9b59b6;
    --custom-pink-red: #e74c3c;
    --md-primary-light: #4285F4;
    --md-on-primary-light: #FFFFFF;
    --md-primary-container-light: #D8E2FF;
    --md-on-primary-container-light: #001A40;
    --md-secondary-light: #525F77;
    --md-on-secondary-light: #FFFFFF;
    --md-secondary-container-light: #D6E3FF;
    --md-on-secondary-container-light: #0F1C32;
    --md-tertiary-light: #6B5778;
    --md-on-tertiary-light: #FFFFFF;
    --md-tertiary-container-light: #F3DAFF;
    --md-on-tertiary-container-light: #251431;
    --md-error-light: #BA1A1A;
    --md-on-error-light: #FFFFFF;
    --md-error-container-light: #FFDAD6;
    --md-on-error-container-light: #410002;
    --md-background-light: #FDFBFF;
    --md-on-background-light: #1A1B1F;
    --md-surface-light: #FDFBFF;
    --md-on-surface-light: #1A1B1F;
    --md-surface-variant-light: #E1E2EC;
    --md-on-surface-variant-light: #44474F;
    --md-outline-light: #757780;
    --md-shadow-light: #000000;
    --md-inverse-surface-light: #2F3033;
    --md-inverse-on-surface-light: #F1F0F4;
    --md-inverse-primary-light: #ADC6FF;
    --md-surface-tint-color-light: var(--md-primary-light);
    --md-primary-dark: #ADC6FF;
    --md-on-primary-dark: #002F67;
    --md-primary-container-dark: #004492;
    --md-on-primary-container-dark: #D8E2FF;
    --md-secondary-dark: #BAC8E3;
    --md-on-secondary-dark: #243148;
    --md-secondary-container-dark: #3B475F;
    --md-on-secondary-container-dark: #D6E3FF;
    --md-tertiary-dark: #D7BDE4;
    --md-on-tertiary-dark: #3B2947;
    --md-tertiary-container-dark: #523F5F;
    --md-on-tertiary-container-dark: #F3DAFF;
    --md-error-dark: #FFB4AB;
    --md-on-error-dark: #690005;
    --md-error-container-dark: #93000A;
    --md-on-error-container-dark: #FFDAD6;
    --md-background-dark: #1A1B1F;
    --md-on-background-dark: #E3E3E6;
    --md-surface-dark: #1A1B1F;
    --md-on-surface-dark: #E3E3E6;
    --md-surface-variant-dark: #44474F;
    --md-on-surface-variant-dark: #C4C6D0;
    --md-outline-dark: #8E9099;
    --md-shadow-dark: #000000;
    --md-inverse-surface-dark: #E3E3E6;
    --md-inverse-on-surface-dark: #1A1B1F;
    --md-inverse-primary-dark: #4285F4;
    --md-surface-tint-color-dark: var(--md-primary-dark);
    --primary-color: var(--md-primary-light);
    --on-primary-color: var(--md-on-primary-light);
    --primary-container-color: var(--md-primary-container-light);
    --on-primary-container-color: var(--md-on-primary-container-light);
    --secondary-color: var(--md-secondary-light);
    --on-secondary-color: var(--md-on-secondary-light);
    --secondary-container-color: var(--md-secondary-container-light);
    --on-secondary-container-color: var(--md-on-secondary-container-light);
    --tertiary-color: var(--md-tertiary-light);
    --on-tertiary-color: var(--md-on-tertiary-light);
    --tertiary-container-color: var(--md-tertiary-container-light);
    --on-tertiary-container-color: var(--md-on-tertiary-container-light);
    --error-color: var(--md-error-light);
    --on-error-color: var(--md-on-error-light);
    --error-container-color: var(--md-error-container-light);
    --on-error-container-color: var(--md-on-error-container-light);
    --background-color: var(--md-background-light);
    --on-background-color: var(--md-on-background-light);
    --surface-color: var(--md-surface-light);
    --on-surface-color: var(--md-on-surface-light);
    --surface-variant-color: var(--md-surface-variant-light);
    --on-surface-variant-color: var(--md-on-surface-variant-light);
    --outline-color: var(--md-outline-light);
    --shadow-color: var(--md-shadow-light);
    --surface-tint-color: var(--md-surface-tint-color-light);
    --header-height: 70px;
    --wave-height: 150px;
    --section-padding: 60px 0;
    --border-radius: 16px;
}
body.dark-mode {
    --primary-color: var(--md-primary-dark);
    --on-primary-color: var(--md-on-primary-dark);
    --primary-container-color: var(--md-primary-container-dark);
    --on-primary-container-color: var(--md-on-primary-container-dark);
    --secondary-color: var(--md-secondary-dark);
    --on-secondary-color: var(--md-on-secondary-dark);
    --secondary-container-color: var(--md-secondary-container-dark);
    --on-secondary-container-color: var(--md-on-secondary-container-dark);
    --tertiary-color: var(--md-tertiary-dark);
    --on-tertiary-color: var(--md-on-tertiary-dark);
    --tertiary-container-color: var(--md-tertiary-container-dark);
    --on-tertiary-container-color: var(--md-on-tertiary-container-dark);
    --error-color: var(--md-error-dark);
    --on-error-color: var(--md-on-error-dark);
    --error-container-color: var(--md-error-container-dark);
    --on-error-container-color: var(--md-on-error-container-dark);
    --background-color: var(--md-background-dark);
    --on-background-color: var(--md-on-background-dark);
    --surface-color: var(--md-surface-dark);
    --on-surface-color: var(--md-on-surface-dark);
    --surface-variant-color: var(--md-surface-variant-dark);
    --on-surface-variant-color: var(--md-on-surface-variant-dark);
    --outline-color: var(--md-outline-dark);
    --shadow-color: var(--md-shadow-dark);
    --surface-tint-color: var(--md-surface-tint-color-dark);
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--on-background-color);
    line-height: 1.65;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}
body.mobile-nav-active, body.modal-active {
    overflow-y: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
    color: var(--primary-color);
}
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--secondary-color);
}
body.dark-mode a:hover {
    color: var(--md-secondary-dark);
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.section-padding { padding: var(--section-padding); }
.section-title { text-align: center; margin-bottom: 40px; font-size: 2.5rem; font-weight: 700;}
.section-subtitle { text-align: center; margin-bottom: 50px; font-size: 1.1rem; color: var(--on-surface-variant-color); max-width: 700px; margin-left: auto; margin-right: auto; }
.wave-background-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--wave-height);
    z-index: -1;
    overflow: hidden;
}
.wave {
    background-repeat: repeat-x;
    position: absolute;
    bottom: 0;
    width: 6400px;
    height: 100%;
    animation: wave-animation 15s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    transform: translate3d(0, 0, 0);
}
.wave.wave1 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath fill='%23D8E2FF80' d='M800 56.9c-155.5 0-204.9-50.3-358.3-6.8S281.6 103 0 56.9V88.7h800V56.9z'/%3E%3C/svg%3E");
    animation-duration: 17s;
    opacity: 0.7;
}
body.dark-mode .wave.wave1 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath fill='%2300449280' d='M800 56.9c-155.5 0-204.9-50.3-358.3-6.8S281.6 103 0 56.9V88.7h800V56.9z'/%3E%3C/svg%3E");
}
.wave.wave2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath fill='%23ADC6FFB3' d='M800 88.7V56.9c-155.5 0-204.9-50.3-358.3-6.8S281.6 103 0 56.9v31.8h800Z'/%3E%3C/svg%3E");
    animation-duration: 12s;
    opacity: 0.5;
    animation-direction: reverse;
}
 body.dark-mode .wave.wave2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath fill='%23D8E2FFB3' d='M800 88.7V56.9c-155.5 0-204.9-50.3-358.3-6.8S281.6 103 0 56.9v31.8h800Z'/%3E%3C/svg%3E");
}
@keyframes wave-animation {
    0% { transform: translateX(0); }
    50% { transform: translateX(-1600px); }
    100% { transform: translateX(0); }
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 10px 0;
    height: var(--header-height);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
    display: flex;
    align-items: center;
}
.site-header.scrolled {
    background-color: var(--surface-color);
    box-shadow: 0 2px 10px var(--shadow-color-opacity, rgba(0,0,0,0.1));
    height: calc(var(--header-height) - 10px);
}
body.dark-mode .site-header.scrolled {
    box-shadow: 0 2px 10px var(--shadow-color-opacity, rgba(0,0,0,0.3));
}
.site-header .navbar-brand img {
    max-height: 40px;
    transition: max-height 0.3s ease, transform 0.3s ease;
}
.site-header .navbar-brand:hover img {
    transform: scale(1.1);
}
.site-header.scrolled .navbar-brand img {
    max-height: 35px;
}
.site-header .navbar-brand .logo-dark-mode { display: none; }
body.dark-mode .site-header .navbar-brand .logo-light-mode { display: none; }
body.dark-mode .site-header .navbar-brand .logo-dark-mode { display: inline-block; }

/* Footer Logo CSS */
.app-footer .footer-brand .logo-dark-mode { display: none; }
.app-footer .footer-brand .logo-light-mode { display: inline-block; }
body.dark-mode .app-footer .footer-brand .logo-light-mode { display: none; }
body.dark-mode .app-footer .footer-brand .logo-dark-mode { display: inline-block; }


.desktop-nav .nav-link {
    color: var(--on-surface-color);
    font-family: var(--font-special);
    font-weight: 700;
    padding: 0.5rem 1rem;
    margin: 0 5px;
    border-radius: var(--border-radius);
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    position: relative;
}
.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
    color: var(--primary-color);
    background-color: var(--primary-container-color);
    transform: translateY(-2px);
}
body.dark-mode .desktop-nav .nav-link { color: var(--on-surface-dark); }
body.dark-mode .desktop-nav .nav-link:hover,
body.dark-mode .desktop-nav .nav-link.active {
    color: var(--md-on-primary-container-dark);
    background-color: var(--md-primary-container-dark);
}
.theme-switcher-btn, .mobile-nav-toggle {
    background-color: transparent;
    color: var(--on-surface-color);
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.3s ease;
}
.theme-switcher-btn:hover, .mobile-nav-toggle:hover {
    background-color: var(--surface-variant-color);
    transform: scale(1.1) rotate(15deg);
}
.site-header.scrolled .theme-switcher-btn, .site-header.scrolled .mobile-nav-toggle {
    color: var(--on-surface-color);
}
.mobile-nav-toggle .material-symbols-outlined { font-size: 28px; transition: transform 0.3s ease; }
.mobile-nav-menu.active .mobile-nav-toggle .material-symbols-outlined { transform: rotate(180deg); }
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--surface-color);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1050;
    padding: 80px 20px 20px;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.mobile-nav-menu.active {
    right: 0;
}
.mobile-nav-menu .nav-link {
    display: block;
    padding: 12px 15px;
    font-size: 1.1rem;
    font-family: var(--font-special);
    color: var(--on-surface-color);
    border-bottom: 1px solid var(--surface-variant-color);
    transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.mobile-nav-menu .nav-link:last-child {
    border-bottom: none;
}
.mobile-nav-menu .nav-link:hover,
.mobile-nav-menu .nav-link.active {
    background-color: var(--primary-container-color);
    color: var(--on-primary-container-color);
    padding-left: 25px;
}
.mobile-nav-menu .btn-material { margin-top: 20px; width: 100%;}

/* Hero Slider Section (SwiperJS) */
#hero {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}
.heroSwiper {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
    position: relative; 
}
.swiper-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.swiper-slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #fff; 
    padding: 20px;
    text-align: center;
    z-index: 2;
}
.swiper-slide-content::before { /* Overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55); /* Darker overlay for better contrast */
    z-index: 1;
}
.swiper-slide-content .container {
    position: relative;
    z-index: 2; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
}
.swiper-slide-active .swiper-slide-content h1,
.swiper-slide-active .swiper-slide-content p,
.swiper-slide-active .swiper-slide-content .button-group {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}
.swiper-slide-active .swiper-slide-content p { animation-delay: 0.5s; }
.swiper-slide-active .swiper-slide-content .button-group { animation-delay: 0.7s; }

.swiper-slide-content h1 {
    font-family: var(--font-headings);
    font-size: 3rem; /* Adjusted for consistency */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(
        120deg,
        var(--google-blue),
        var(--custom-purple),
        var(--custom-pink-red),
        var(--custom-purple),
        var(--google-blue)
    );
    background-size: 300% 100%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: animated-gradient-text 6s linear infinite;
    display: inline-block;
}
.swiper-slide-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #f0f0f0; /* Ensure good contrast on overlay */
    max-width: 700px;
    line-height: 1.5;
}
.swiper-slide-content .button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    color: var(--on-primary-color) !important;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    width: 50px !important;
    height: 50px !important;
    transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    opacity: 0.7;
    --swiper-navigation-size: 22px;
}
.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover {
    background-color: var(--primary-color) !important;
    opacity: 1;
    transform: scale(1.1);
}
.heroSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
    border: 1px solid rgba(255,255,255,0.8);
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.heroSwiper .swiper-pagination-bullet-active {
    background-color: var(--on-primary-color) !important;
    border-color: var(--primary-color);
    transform: scale(1.2);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes animated-gradient-text {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.app-download-section {
    background-color: var(--surface-variant-color);
    padding: 50px 0;
    overflow: hidden;
}
.app-download-section .store-badge {
    display: inline-block;
    margin: 10px 15px;
    vertical-align: middle;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.app-download-section .store-badge:hover {
    animation: jiggle 0.5s ease-in-out;
}
.app-download-section .store-badge .store-logo {
    height: 125px;
    object-fit: contain;
}
.app-download-section .store-badge .logo-dark-mode {
    display: none;
}
body.dark-mode .app-download-section .store-badge .logo-light-mode {
    display: none;
}
body.dark-mode .app-download-section .store-badge .logo-dark-mode {
    display: inline-block;
}
#home-about-us, #why-choose, #how-it-works, #tools, #learn-more, #security-compliance {
    padding: var(--section-padding);
}
#testimonials {
    padding: var(--section-padding);
    background-color: var(--surface-variant-color);
}
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.fade-in-up {
    transform: translateY(50px);
}
.animate-on-scroll.fade-in {
    transform: translateY(0);
}
.animate-on-scroll.slide-in-left {
    transform: translateX(-50px);
}
.animate-on-scroll.slide-in-right {
    transform: translateX(50px);
}
.animate-on-scroll.zoom-in {
    transform: scale(0.9);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Card styles with Magnetic Glow */
.animated-card, .testimonial-card-slider {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
body.dark-mode .animated-card, body.dark-mode .testimonial-card-slider {
     box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.animated-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.2);
}
body.dark-mode .animated-card:hover {
    box-shadow: 0 8px 25px rgba(173, 198, 255, 0.25);
}

/* Magnetic Glow Effect */
.animated-card::before, .testimonial-card-slider::before {
    content: "";
    position: absolute;
    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, rgba(66, 133, 244, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    z-index: 0;
}
.animated-card:hover::before, .testimonial-card-slider:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.5);
}
body.dark-mode .animated-card::before, body.dark-mode .testimonial-card-slider::before {
     background: radial-gradient(circle at center, rgba(173, 198, 255, 0.15) 0%, transparent 70%);
}

.animated-card > *, .testimonial-card-slider > * {
    position: relative;
    z-index: 1;
}

.animated-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.animated-card:hover .icon {
    transform: scale(1.2) rotate(-10deg);
    animation: bounce-icon 0.6s ease;
}
.animated-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.step-card {
    text-align: center;
}
.step-card .step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--on-primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px auto;
    font-family: var(--font-headings);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.animated-card:hover .step-number {
   transform: scale(1.15) rotate(10deg);
   box-shadow: 0 0 20px var(--primary-color);
}
.testimonial-card-slider {
    color: var(--on-surface-color);
    text-align: center;
    max-width: 700px;
    width: 90%;
    margin: 0 auto;
    display: flex; /* Added for better centering in swiper */
    flex-direction: column; /* Added for better centering in swiper */
    justify-content: center; /* Added for better centering in swiper */
}
.testimonial-quote-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: inline-block;
    animation: pulse-quote 3s infinite ease-in-out;
}
.testimonial-card-slider p {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--on-surface-variant-color);
}
.testimonial-card-slider .author {
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    font-size: 0.95rem;
    font-family: var(--font-special);
}

#tools .tool-link, #learn-more .learn-more-link {
    display: block;
    padding: 20px;
    background-color: var(--primary-container-color);
    color: var(--on-primary-container-color);
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
#tools .tool-link:hover, #learn-more .learn-more-link:hover {
    background-color: var(--google-green);
    color: #fff;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 20px rgba(52, 168, 83, 0.3);
}
body.dark-mode #tools .tool-link, body.dark-mode #learn-more .learn-more-link {
    background-color: var(--md-primary-container-dark);
    color: var(--md-on-primary-container-dark);
}
body.dark-mode #tools .tool-link:hover, body.dark-mode #learn-more .learn-more-link:hover {
    background-color: var(--google-green);
}

.app-footer {
    background-color: var(--surface-variant-color);
    color: var(--on-surface-variant-color);
    padding: 50px 0 20px;
}
body.dark-mode .app-footer {
    background-color: var(--md-surface-dark);
    color: var(--md-on-surface-variant-dark);
}
.app-footer .footer-logo-tagline .footer-brand img {
    max-height: 45px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}
.app-footer .footer-logo-tagline .footer-brand:hover img {
     transform: rotate(-5deg) scale(1.05);
}
.app-footer .footer-logo-tagline p {
    font-size: 0.9rem;
    margin-bottom: 0;
    max-width: 350px;
     color: var(--on-surface-variant-color);
}
.app-footer .footer-heading {
    font-family: var(--font-headings);
    color: var(--on-surface-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
}
body.dark-mode .app-footer .footer-heading {
    color: var(--md-on-surface-dark);
}
.app-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.app-footer .footer-links li {
    margin-bottom: 10px;
}
.app-footer .footer-links a {
    color: var(--on-surface-variant-color);
    transition: color 0.2s ease, padding-left 0.2s ease;
    font-size: 0.9rem;
    position: relative;
}
.app-footer .footer-links a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}
.app-footer .footer-links a::before {
    content: '»';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: var(--primary-color);
}
.app-footer .footer-links a:hover::before {
    opacity: 1;
}
.app-footer .social-icons-wrapper {
    margin-top: 25px;
    text-align: center;
}
.app-footer .social-icons {
    display: inline-flex;
    gap: 18px;
}
.app-footer .social-icons a {
    color: var(--on-surface-variant-color);
    font-size: 1.3rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.app-footer .social-icons a:hover {
    color: var(--primary-color);
    animation: bounce-icon 0.6s ease;
}
 .app-footer .social-icons svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}
.app-footer .footer-bottom {
    border-top: 1px solid var(--outline-color);
    padding-top: 25px;
    margin-top: 30px;
    text-align: center;
}
.app-footer .copyright,
.app-footer .crafted-by {
    font-size: 0.85rem;
    color: var(--on-surface-variant-color);
    margin-bottom: 5px;
}
.app-footer .crafted-by {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35em;
}
.app-footer .crafted-by a {
    color: var(--primary-color);
    font-weight: bold;
}

#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--on-primary-color);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
#scrollTopBtn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1) translateY(-5px);
}
#cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 15px;
    backdrop-filter: blur(5px);
}
#cookie-overlay.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}
#cookie-popup {
    background-color: var(--surface-color);
    color: var(--on-surface-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    max-width: 550px;
    width: 100%;
    z-index: 2001;
    text-align: center;
    transform: scale(0.95);
    opacity: 0;
    animation: popUp 0.5s ease 0.2s forwards;
}
#cookie-popup h3 {
    font-family: var(--font-headings);
    color: var(--primary-color);
    margin-bottom: 15px;
}
#cookie-popup p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.7;
    color: var(--on-surface-variant-color);
}
#cookie-popup a {
    font-weight: bold;
    text-decoration: underline;
}
.cookie-button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.cookie-button-group .btn-material {
    flex-grow: 1;
}

.notification-popup {
    position: fixed;
    top: var(--header-height);
    left: 50%;
    transform: translateX(-50%) translateY(-150%);
    min-width: 300px;
    max-width: 90%;
    background-color: var(--error-container-color);
    color: var(--on-error-container-color);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1070;
    display: none;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.notification-popup.show {
    transform: translateX(-50%) translateY(20px);
}
body.dark-mode .notification-popup {
     background-color: var(--md-error-container-dark);
     color: var(--md-on-error-container-dark);
}
.notification-popup p { margin-bottom: 0; }
.notification-popup .close-notification-btn {
    background: none;
    border: none;
    color: var(--on-error-container-color);
    font-size: 1.5rem;
    line-height: 1;
    padding: 0 5px;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.notification-popup .close-notification-btn:hover { opacity: 1; transform: scale(1.2); }
#redirectNotificationPopup { background-color: var(--tertiary-container-color); color: var(--on-tertiary-container-color); }
 body.dark-mode #redirectNotificationPopup { background-color: var(--md-tertiary-container-dark); color: var(--md-on-tertiary-container-dark); }
.modal-content {
    background-color: var(--surface-color);
    color: var(--on-surface-color);
    border: 1px solid var(--outline-color);
    border-radius: var(--border-radius);
}
.modal-header {
    border-bottom: 1px solid var(--outline-color);
}
.modal-header .modal-title {
    color: var(--on-surface-color);
}
.modal-body iframe {
    width: 100%;
    min-height: 60vh;
    border: none;
}
/* M3 Button Styles */
.btn-material {
    font-family: var(--font-special);
    font-weight: bold;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    position: relative;
    z-index: 1;
}
.btn-material:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
}
.btn-material:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.btn-material.btn-material-primary {
    animation: pulse-primary 2.5s infinite;
}
.btn-material-primary {
    background-color: var(--primary-color);
    color: var(--on-primary-color);
}
.btn-material-primary:hover {
    background-color: var(--google-blue-darker, #3367D6);
    color: var(--on-primary-color);
}
body.dark-mode .btn-material-primary {
   background-color: var(--md-primary-dark);
   color: var(--md-on-primary-dark);
}
body.dark-mode .btn-material-primary:hover {
    background-color: var(--md-inverse-primary-dark);
    color: var(--md-on-primary-dark);
}
.btn-material-secondary {
    background-color: var(--secondary-container-color);
    color: var(--on-secondary-container-color);
}
.btn-material-secondary:hover {
    background-color: var(--md-secondary-light-darker, #414B5C);
    color: var(--on-secondary-color);
}
body.dark-mode .btn-material-secondary {
   background-color: var(--md-secondary-dark);
   color: var(--md-on-secondary-dark);
}
 body.dark-mode .btn-material-secondary:hover {
    background-color: var(--md-secondary-container-dark);
    color: var(--md-on-secondary-container-dark);
}
.btn-material-outlined {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--outline-color);
}
.btn-material-outlined:hover {
    background-color: var(--primary-container-color);
    color: var(--on-primary-container-color);
    border-color: var(--primary-color);
}
body.dark-mode .btn-material-outlined {
    color: var(--md-primary-dark);
    border-color: var(--md-outline-dark);
}
body.dark-mode .btn-material-outlined:hover {
    background-color: var(--md-primary-container-dark);
    color: var(--md-on-primary-container-dark);
    border-color: var(--md-primary-dark);
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes popUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes jiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}
@keyframes bounce-icon {
    0%, 100%, 50% { transform: scale(1) rotate(-10deg); }
    25% { transform: scale(1.3) rotate(-10deg) translateY(-10px); }
    75% { transform: scale(0.9) rotate(-10deg) translateY(-5px); }
}
 .app-footer .social-icons a:hover { animation: bounce-social 0.6s ease; }
@keyframes bounce-social {
    0%, 100%, 50% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    75% { transform: translateY(-5px); }
}
@keyframes pulse-quote {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
@keyframes pulse-primary {
    0% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(66, 133, 244, 0); }
    100% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0); }
}
body.dark-mode .btn-material.btn-material-primary {
    animation-name: pulse-primary-dark;
}
@keyframes pulse-primary-dark {
    0% { box-shadow: 0 0 0 0 rgba(173, 198, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(173, 198, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(173, 198, 255, 0); }
}

@media (max-width: 991.98px) {
    .desktop-nav { display: none !important; }
    .site-header .container-fluid { justify-content: space-between !important; }
     .app-footer .footer-logo-tagline { text-align: center; }
     .app-footer .footer-logo-tagline img, .app-footer .footer-logo-tagline p {
        margin-left: auto;
        margin-right: auto;
    }
}
@media (min-width: 992px) {
    .mobile-nav-toggle { display: none !important; }
}
@media (max-width: 767.98px) {
    .swiper-slide-content h1 { font-size: 2.2rem; }
    .swiper-slide-content p { font-size: 1rem; margin-bottom: 20px; }
    .btn-material { padding: 10px 20px; font-size: 0.9rem; }
     .swiper-slide-content .button-group { gap: 10px; }
    .section-title { font-size: 2rem; }
     .app-footer .footer-logo-tagline, .app-footer .footer-heading, .app-footer .footer-links, .app-footer .footer-links-columns .col-md-4, .app-footer .footer-links-columns .col-6 {
        text-align: center;
    }
     .app-footer .footer-heading { margin-top: 25px; }
     .app-footer .footer-logo-tagline .footer-heading{ margin-top: 0; }
     .app-footer .footer-links-columns > div:first-child .footer-heading { margin-top:0; }
     .app-footer .footer-links-columns > div:not(:first-child) .footer-heading { margin-top: 30px; }
    .app-download-section .store-badge {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 280px;
    }
    .app-download-section .store-badge .store-logo {
        height: auto;
        width: 100%;
        max-height: 90px;
    }
    .app-download-section .store-badge:not(:last-child) {
        margin-bottom: 20px;
    }
    .app-download-section h2 { font-size: 1.75rem; }
    .app-download-section .section-subtitle { font-size: 1rem; }
}
@media (max-width: 575.98px) {
    .site-header { height: calc(var(--header-height) - 10px); }
    .site-header .navbar-brand img { max-height: 35px; }
    .swiper-slide-content h1 { font-size: 1.8rem; margin-bottom: 15px;}
    .swiper-slide-content p { font-size: 0.9rem; margin-bottom: 20px; }
    .btn-material { padding: 8px 15px; font-size: 0.85rem; }
     .cookie-button-group {
        flex-direction: column;
    }
    .heroSwiper .swiper-button-next,
    .heroSwiper .swiper-button-prev {
        width: 36px !important;
        height: 36px !important;
        --swiper-navigation-size: 18px;
    }
    .heroSwiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
    .app-download-section .store-badge .store-logo {
        max-height: 75px;
    }
}