:root {
/* Tema Light (Default) */
--bubbleTiming: cubic-bezier(0.4, 0, 0.2, 1);
--bg-base: #f4f6f9;
--stripe-1: #00000008;
--stripe-2: #6b6b6b31;
--stripe-3: #00000003;
--stripe-4: #aaaaaa03;

--text-main: #1e293b;
--text-muted: #475569;
--text-accent: #007bff;

--glass-border: rgba(255, 255, 255, 0.45);
--btn-glass-bg: rgba(255, 255, 255, 0.4);
--btn-glass-border: rgba(255, 255, 255, 0.6);
}

body.dark-theme {
--bg-base: #1a1c23;
--stripe-1: rgba(255, 255, 255, 0.02);
--stripe-2: rgba(255, 255, 255, 0.08);
--stripe-3: rgba(255, 255, 255, 0.01);
--stripe-4: rgba(255, 255, 255, 0.01);

--text-main: #f8fafc;
--text-muted: #cbd5e1;
--text-accent: #60a5fa;

--glass-border: rgba(255, 255, 255, 0.15);
--btn-glass-bg: rgba(255, 255, 255, 0.05);
--btn-glass-border: rgba(255, 255, 255, 0.2);
}

* {
    -webkit-tap-highlight-color: transparent;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
*,
::before,
::after {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
-webkit-text-size-adjust: 100%;
}

body {
margin: 0;
font-family: "Poppins", sans-serif;
color: var(--text-main);
background:
    repeating-linear-gradient(
    145deg,
    var(--stripe-1),
    var(--stripe-2) 1px,
    var(--stripe-3) 2px,
    var(--stripe-4) 4px
    ),
    var(--bg-base);
background-attachment: fixed;
transition:
    background 0.4s ease,
    color 0.4s ease;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
overflow-x: hidden;
}

/* Luci di Sfondo Globali (Pagina) */
.glow-bg-1 {
position: fixed;
top: -100px;
right: -150px;
width: 60vw;
height: 60vw;
max-width: 600px;
max-height: 600px;
background: rgba(0, 123, 255, 0.15);
filter: blur(120px);
border-radius: 50%;
z-index: -1;
pointer-events: none;
transition: background 0.4s ease;
}
.glow-bg-2 {
position: fixed;
bottom: -50px;
left: -200px;
width: 70vw;
height: 70vw;
max-width: 700px;
max-height: 700px;
background: rgba(40, 167, 69, 0.12);
filter: blur(150px);
border-radius: 50%;
z-index: -1;
pointer-events: none;
transition: background 0.4s ease;
}
body:not(.dark-theme) .glow-bg-1 {
background: rgba(0, 123, 255, 0.08);
}
body:not(.dark-theme) .glow-bg-2 {
background: rgba(40, 167, 69, 0.05);
}

.glass-fx {
background: linear-gradient(145deg, #00000005, #d8dfe600);
backdrop-filter: blur(100px);
-webkit-backdrop-filter: blur(100px);
border: 1px solid var(--glass-border);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
border-radius: 24px;
}

.btn-glass {
background: var(--btn-glass-bg);
border: 1px solid var(--btn-glass-border);
border-radius: 12px;
padding: 12px 24px;
color: var(--text-main);
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
display: inline-flex;
justify-content: center;
align-items: center;
text-decoration: none;
font-size: 14px;
}

.btn-glass:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.btn-glass:active {
transform: translateY(1px);
}

.btn-primary {
background: #007bff;
color: white;
border-color: #007bff;
padding: 8px 18px;
font-size: 12px;
border-color: transparent;
margin: 0;
border-radius: 25px;
}
.btn-primary:hover {
background: #0056b3;
border-color: #0056b3;
}

/* --- TOP NAVBAR --- */
.top-nav {
position: fixed;
top: 15px;
left: 50%;
transform: translateX(-50%);
z-index: 100;
width: calc(100% - 40px);
max-width: 1000px;
padding: 12px 24px;
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 30px;
}
.nav-logo {
width: 28px;
height: 28px;
object-fit: contain;
margin-right: 8px;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}
.nav-right-actions {
display: flex;
align-items: center;
gap: 15px;
}

/* --- HERO HEADER UNIFICATO (Testo + Mockup) --- */
.hero {
margin-top: 100px;
padding: 50px 30px 40px 30px;
text-align: center;
max-width: 1000px;
width: 92%;
animation: fadeIn 0.8s ease-out forwards;
position: relative;
z-index: 10;
display: flex;
flex-direction: column;
align-items: center;
gap: 45px;
}

.hero-text h1 {
font-size: 2.8rem;
font-weight: 800;
color: var(--text-accent);
margin-bottom: 15px;
letter-spacing: -1px;
}

.hero-text p {
font-size: 1.15rem;
color: var(--text-muted);
margin-bottom: 30px;
line-height: 1.6;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}

.hero-buttons {
display: flex;
justify-content: center;
gap: 15px;
flex-wrap: wrap;
}
.hero-buttons a{
width: 140px;
text-wrap: nowrap;
max-width: min-content;
}
/* =========================================================================
    IL MOCKUP DEL POSTER (Integrato e Reso Interattivo)
    ========================================================================= */
.poster-wrapper {
width: 100%;
max-width: 850px;
position: relative;
border-radius: 36px;
overflow: hidden;
box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.08);
border: 1px solid var(--glass-border);
z-index: 10;
}

/* Contenitore interno originale 1200x1600 */
.cover-poster {
width: 1200px;
height: 1600px;
background:
    repeating-linear-gradient(
    145deg,
    var(--stripe-1),
    var(--stripe-2) 2px,
    var(--stripe-3) 4px,
    var(--stripe-4) 8px
    ),
    var(--bg-base);
position: relative;
transform-origin: top left;
}

/* --- STILI CLONATI DA COVER.HTML --- */
.cv-glow-1 {
position: absolute;
top: -100px;
right: -150px;
width: 800px;
height: 800px;
background: rgba(0, 123, 255, 0.45);
filter: blur(180px);
border-radius: 50%;
z-index: 1;
}
.cv-glow-2 {
position: absolute;
bottom: 150px;
left: -200px;
width: 900px;
height: 900px;
background: rgba(40, 167, 69, 0.35);
filter: blur(200px);
border-radius: 50%;
z-index: 1;
}

.cv-glass-fx {
background: linear-gradient(
    145deg,
    rgba(0, 0, 0, 0.1),
    rgba(255, 255, 255, 0.03)
);
backdrop-filter: blur(40px);
-webkit-backdrop-filter: blur(40px);
border: 2px solid var(--glass-border);
box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.2),
    inset 0 2px 5px rgba(255, 255, 255, 0.1);
border-radius: 32px;
z-index: 10;
position: relative;
}

.cv-title-area {
position: absolute;
top: 120px;
width: 100%;
text-align: center;
z-index: 10;
}
.cv-main-title {
font-size: 130px;
font-weight: 800;
margin: 0;
color: var(--text-main);
letter-spacing: 2px;
text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
display: flex;
align-items: center;
justify-content: center;
gap: 30px;
}
.cv-sub-title {
font-size: 38px;
font-weight: 400;
margin: -10px 0 0 0;
color: var(--text-accent);
text-transform: uppercase;
letter-spacing: 12px;
}

/* INCLINAZIONI E TRANSIZIONI INTERATTIVE 3D CON ANIMAZIONI INDIPENDENTI */
.cv-floating-card-1 {
position: absolute;
top: 520px;
left: 100px;
width: 550px;
padding: 40px;
--rot: -4deg;
--tx: 0px;
transform: translateX(var(--tx)) translateY(0px) rotate(var(--rot))
    scale(1);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
cursor: default;
animation: cvFloatCard 6s ease-in-out infinite;
}
.cv-floating-card-2 {
position: absolute;
top: 780px;
right: 80px;
width: 500px;
padding: 40px;
--rot: 3deg;
--tx: 0px;
transform: translateX(var(--tx)) translateY(0px) rotate(var(--rot))
    scale(1);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
cursor: default;
animation: cvFloatCard 7s ease-in-out infinite 1s;
}
.cv-floating-card-3 {
position: absolute;
bottom: 120px;
left: 50%;
width: 800px;
padding: 30px;
display: flex;
flex-direction: column;
gap: 20px;
--rot: 0deg;
--tx: -50%;
transform: translateX(var(--tx)) translateY(0px) rotate(var(--rot))
    scale(1);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
cursor: default;
animation: cvFloatCard 8s ease-in-out infinite 2s;
}

@keyframes cvFloatCard {
0%,
100% {
    transform: translateX(var(--tx)) translateY(0px) rotate(var(--rot))
    scale(1);
}
50% {
    transform: translateX(var(--tx)) translateY(-20px) rotate(var(--rot))
    scale(1);
}
}

/* HOVER EFFECTS */
.cv-floating-card-1:hover,
.cv-floating-card-2:hover,
.cv-floating-card-3:hover {
animation: none;
transform: translateX(var(--tx)) translateY(-25px) rotate(0deg)
    scale(1.05);
z-index: 50;
box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6);
}

.cv-header-pill {
display: inline-flex;
align-items: center;
gap: 15px;
background: rgba(0, 0, 0, 0.1);
padding: 10px 30px;
border-radius: 50px;
border: 1px solid var(--glass-border);
font-size: 18px;
font-weight: 700;
color: var(--text-muted);
letter-spacing: 3px;
margin-bottom: 30px;
}
.cv-grid-2x2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 25px;
}

.cv-valvola-box {
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--glass-border);
border-radius: 20px;
padding: 25px;
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
transition:
    transform 0.3s ease,
    background 0.3s ease;
cursor: pointer;
}
.cv-valvola-box:hover {
transform: translateY(-8px);
background: rgba(255, 255, 255, 0.1);
}

.cv-timer-sim {
font-family: monospace;
font-size: 28px;
font-weight: bold;
color: var(--text-main);
background: rgba(0, 0, 0, 0.1);
padding: 8px 20px;
border-radius: 12px;
border: 1px solid var(--glass-border);
}

/* NUOVO STILE BUBBLE (Checkbox 3D) */
.cv-bubble-label {
display: inline-block;
-webkit-tap-highlight-color: transparent;
animation: float74 4s ease-in-out infinite;
margin-top: 4px;
}
.cv-bubble,
.cv-bubble:before,
.cv-bubble:after {
transition-duration: 0.2s;
}
.cv-bubble,
.cv-bubble:after {
border-radius: 50%;
}
.cv-bubble {
background-image:
    radial-gradient(
    8% 8% at 22% 28%,
    hsl(0, 0%, 100%) 45%,
    hsla(0, 0%, 100%, 0) 50%
    ),
    radial-gradient(
    8% 8% at 23% 27%,
    hsl(0, 0%, 100%) 45%,
    hsla(0, 0%, 100%, 0) 50%
    ),
    radial-gradient(
    8% 8% at 24% 26%,
    hsl(0, 0%, 100%) 45%,
    hsla(0, 0%, 100%, 0) 50%
    ),
    radial-gradient(
    8% 8% at 25% 25%,
    hsl(0, 0%, 100%) 45%,
    hsla(0, 0%, 100%, 0) 50%
    ),
    radial-gradient(
    8% 8% at 26% 24%,
    hsl(0, 0%, 100%) 45%,
    hsla(0, 0%, 100%, 0) 50%
    ),
    radial-gradient(
    8% 8% at 27% 23%,
    hsl(0, 0%, 100%) 45%,
    hsla(0, 0%, 100%, 0) 50%
    ),
    radial-gradient(
    8% 8% at 28% 22%,
    hsl(0, 0%, 100%) 45%,
    hsla(0, 0%, 100%, 0) 50%
    );
box-shadow:
    0 -0.06em 0.1em hsl(0, 90%, 100%) inset,
    0 -0.15em 0.4em hsl(0, 90%, 45%) inset,
    0 0.05em 0.05em hsl(0, 90%, 45%) inset,
    0.05em 0 0.1em hsl(0, 90%, 100%) inset,
    -0.05em 0 0.1em hsl(0, 90%, 100%) inset,
    0 0.1em 0.4em hsl(0, 90%, 60%) inset;
cursor: pointer;
position: relative;
width: 3em;
height: 3em;
font-size: 26.66px;
transform-style: preserve-3d;
transition-property: box-shadow, transform, width, height;
transition-timing-function:
    ease-in-out, ease-in-out, var(--bubbleTiming), var(--bubbleTiming);
will-change: transform;
-webkit-appearance: none;
appearance: none;
z-index: 0;
margin: 0;
}
.cv-bubble:before,
.cv-bubble:after {
content: "";
display: block;
position: absolute;
transition-timing-function: var(--bubbleTiming);
}
.cv-bubble:before {
border-radius: 0.75em;
box-shadow: 0 0 0 0.5em hsl(0, 0%, 100%) inset;
filter: drop-shadow(0.6em 0.6em 3px hsla(0, 0%, 0%, 0.2));
top: 50%;
left: 50%;
width: 1.5em;
height: 1.5em;
transform: translate3d(-50%, -50%, -1px);
z-index: -1;
}
.cv-bubble:after {
background: radial-gradient(
    100% 100% at center,
    hsla(0, 0%, 0%, 0) 35%,
    hsla(0, 0%, 0%, 0.2) 48%,
    hsla(0, 0%, 0%, 0) 50%
);
filter: blur(4px);
top: 0.6em;
left: 0.6em;
width: 100%;
height: 100%;
transform: translate3d(0, 0, -1px);
z-index: -2;
}
.cv-bubble:focus,
.cv-bubble:hover {
transform: scale(1.1);
outline: none;
}
.cv-bubble:focus:active,
.cv-bubble:hover:active {
width: 3.2em;
height: 3em;
}
.cv-bubble:checked {
box-shadow:
    0 -0.06em 0.1em hsl(210, 90%, 100%) inset,
    0 -0.15em 0.4em hsl(210, 90%, 45%) inset,
    0 0.05em 0.05em hsl(210, 90%, 45%) inset,
    0.05em 0 0.1em hsl(210, 90%, 100%) inset,
    -0.05em 0 0.1em hsl(210, 90%, 100%) inset,
    0 0.1em 0.4em hsl(210, 90%, 60%) inset;
}
.cv-bubble:checked:before {
border-radius: 0.25em;
width: 0.5em;
}

@keyframes float74 {
from,
to {
    transform: translate(0, 3%);
}
25% {
    transform: translate(-3%, 0);
}
50% {
    transform: translate(0, -3%);
}
75% {
    transform: translate(3%, 0);
}
}

.cv-chart-area {
display: flex;
justify-content: space-around;
align-items: flex-end;
height: 200px;
border-bottom: 2px solid var(--glass-border);
padding-bottom: 15px;
margin-top: 20px;
}
.cv-bar-wrap {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
height: 100%;
width: 45px;
transition: transform 0.3s;
cursor: pointer;
}
.cv-bar-wrap:hover {
transform: translateY(-10px);
}
.cv-bar {
width: 100%;
background: var(--text-accent);
border-radius: 8px 8px 0 0;
box-shadow: 0 0 20px rgba(96, 165, 250, 0.4);
}
.cv-bar-lbl {
font-size: 16px;
margin-top: 15px;
color: var(--text-muted);
font-weight: 600;
}
.cv-bar-val {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
color: var(--text-main);
}

.cv-dock-top {
display: flex;
justify-content: center;
gap: 30px;
}
.cv-pill-big {
display: flex;
align-items: center;
gap: 15px;
padding: 20px 40px;
border-radius: 40px;
font-size: 22px;
font-weight: bold;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--glass-border);
}
.cv-dot-on {
width: 20px;
height: 20px;
background: #28a745;
border-radius: 50%;
box-shadow: 0 0 15px #28a745;
}

.cv-dock-bot {
display: flex;
gap: 20px;
width: 100%;
}
.cv-btn-big {
flex: 1;
padding: 25px;
border-radius: 20px;
font-size: 22px;
font-weight: bold;
background: rgba(0, 123, 255, 0.2);
border: 2px solid rgba(0, 123, 255, 0.5);
color: #fff;
text-align: center;
transition: all 0.2s;
cursor: pointer;
}
.cv-btn-big.cv-outline {
background: rgba(255, 255, 255, 0.05);
border-color: var(--glass-border);
color: var(--text-main);
}
.cv-btn-big:hover {
transform: scale(1.03);
background: rgba(0, 123, 255, 0.4);
}
.cv-btn-big.cv-outline:hover {
background: rgba(255, 255, 255, 0.15);
}
.cv-btn-big:active {
transform: scale(0.97);
}

/* --- SEZIONI CENTRALI (CONTENITORE ALLINEATO) --- */
.content-wrapper {
width: 90%;
max-width: 850px;
margin: 0 auto;
z-index: 10;
}

/* --- FEATURES GRID --- */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin: 20px 0 40px 0;
text-align: left;
}

.feature-card {
padding: 25px;
border-radius: 20px;
display: flex;
flex-direction: column;
gap: 15px;
transition: transform 0.3s;
}

.feature-card:hover {
transform: translateY(-5px);
}

.feature-icon {
font-size: 24px;
color: var(--text-accent);
background: rgba(0, 123, 255, 0.1);
width: 50px;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 12px;
}

/* --- APP PROMO BANNER --- */
.app-promo-card {
display: flex;
align-items: center;
gap: 25px;
padding: 30px;
border-radius: 24px;
margin-bottom: 40px;
text-align: left;
}

.app-icon-large {
width: 90px;
height: 90px;
border-radius: 22.5%;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease;
flex-shrink: 0;
}

.app-promo-card:hover .app-icon-large {
transform: scale(1.05) translateY(-5px);
}

.app-promo-text {
flex: 1;
}

/* --- THEME SWITCH --- */
.theme-switch-wrapper {
display: flex;
align-items: center;
}
.switch-container {
position: relative;
width: 55px;
height: 25px;
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.2),
    0 4px 10px rgba(0, 0, 0, 0.1);
}
.toggle-checkbox {
display: none;
}
.switch-label {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 20px;
cursor: pointer;
}
.switch-toggle {
position: absolute;
width: 28px;
height: 19px;
top: 2px;
left: 2px;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 20px;
box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
align-items: center;
padding-left: 5px;
}
.switch-led {
width: 5px;
height: 5px;
background: #555;
border-radius: 50%;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
transition: all 0.3s ease;
}
.toggle-checkbox:checked + .switch-label .switch-toggle {
left: 23px;
background: rgba(255, 255, 255, 0.05);
}
.toggle-checkbox:checked + .switch-label .switch-led {
background: greenyellow;
box-shadow:
    0 0 8px 2px greenyellow,
    inset 0 1px 2px greenyellow;
}

/* --- CONTACT & FOOTER --- */
.contact-card {
padding: 30px;
text-align: center;
border-radius: 20px;
margin-bottom: 20px;
}
.contact-card h3 {
font-weight: 600;
font-size: 18px;
margin-bottom: 10px;
}
.contact-card p {
font-size: 13px;
color: var(--text-muted);
margin-bottom: 20px;
line-height: 1.5;
}
.compatibility-badges {
margin-top: 25px;
margin-bottom: 10px;
display: flex;
justify-content: center;
gap: 15px;
font-size: 18px;
color: var(--text-muted);
opacity: 0.7;
}
.intern-end {
text-align: center;
margin-top: 30px;
padding-bottom: 20px;
color: var(--text-muted);
font-size: 10px;
letter-spacing: 0.5px;
z-index: 10;
position: relative;
}
.intern-end p {
margin: 4px 0;
}

@keyframes fadeIn {
from {
    opacity: 0;
    transform: translateY(20px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

/************LOADING SCREEN*********/

#irri-loader {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 99999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    overflow: hidden;
    /* Sfondo SOLIDO, senza trasparenza */
    background: var(--bg-base); 
}

.loader-water-wrapper {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* FLUSSO D'ACQUA (Tubo da in alto a sinistra) */
.loader-water-stream {
    position: absolute; /* DEVE essere absolute, mai relative qui */
    top: -30px;
    left: -10px; 
    width: 350px; /* Più è largo, più l'acqua "spara" lontano prima di cadere */
    height: 110%; 
    
    /* Niente rotate! Animazione che va dall'alto al basso naturale */
    background: repeating-linear-gradient(to bottom, rgba(0, 242, 254, 0.8) 0%, rgba(0, 86, 179, 0.8) 50%, rgba(0, 242, 254, 0.8) 100%);
    background-size: 100% 200%;
    animation: pourWater 2s linear infinite alternate;
    
    z-index: 0; 
    
    filter: blur(5px); 
    -webkit-mask-image: radial-gradient(100% 100% at bottom left, transparent calc(100% - 18px), black calc(100% - 17.5px), black 100%, transparent 100.5%);
    mask-image: radial-gradient(100% 100% at bottom left, transparent calc(100% - 18px), black calc(100% - 17.5px), black 100%, transparent 100.5%);
}

@keyframes pourWater {
    0% { background-position: 0 0; }
    100% { background-position: 0 200%; }
}

.loader-water-bg {
    position: absolute;
    bottom: -50%; left: -20%; width: 150%;
    height: 0%; /* Verrà aggiornato da JS */
    background: linear-gradient(135deg, #00f2fe 0%, #0056b3 100%);
    opacity: 1;
    transition: height 0.1s linear;
    transform-origin: bottom left;
    z-index: 2;
}

.loader-water-bg::before,
.loader-water-bg::after {
    content: '';
    position: absolute;
    left: 0;
    width: 200%;
    background-repeat: repeat-x;
    background-size: 50% 100%;
}

.loader-water-bg::before {
    height: 100px;
    top: -95px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,60 C150,120 450,120 600,60 C750,0 1050,0 1200,60 L1200,120 L0,120 Z" fill="%2300f2fe" opacity="0.9"/></svg>');
    animation: waveFlowRight 1s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
}

.loader-water-bg::after {
    height: 140px;
    top: -135px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,60 C150,0 450,0 600,60 C750,120 1050,120 1200,60 L1200,120 L0,120 Z" fill="%230056b3" opacity="0.7"/></svg>');
    animation: waveFlowLeft 1s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
}

@keyframes waveFlowLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes waveFlowRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.loader-glass-window{
    position: relative; 
    z-index: 10;
    margin-top: 0px;
    background: transparent; 
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);         
    width: 100dvw;
    height: 120dvh;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
}

.loader-glass-box {
    position: relative; 
    z-index: 10;
    background: transparent; 
    border-radius: 40px;
    padding: 50px 70px;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
}

.loader-logo-img {
    width: 120px; height: 120px; object-fit: contain;
    animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.loader-percentage {
    font-family: 'Poppins', monospace;
    font-size: 38px; font-weight: 800;
    color: var(--text-main);
    letter-spacing: 2px;
    display: flex; align-items: baseline; gap: 2px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.loader-percentage span { font-size: 18px; color: var(--text-muted); font-weight: 600;}

@media (max-width: 600px) {
    .switch-container {
        margin-right: -5px;
        width: 44px;
        height: 22px;
    }
    .switch-toggle {
        position: absolute;
        width: 24px;
        height: 16px;
    }
    .toggle-checkbox:checked + .switch-label .switch-toggle {
        left: 16px;
        background: rgba(255, 255, 255, 0.05);
    }
    .nav-logo {
        width: 28px;
        height: 28px;
        object-fit: contain;
        margin-right: 8px;
        margin-left: -15px;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    }
    .hero {
        padding: 30px 18px;
        gap: 30px;
    }
    .hero-text h1 {
        font-size: 1.8em;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .btn-primary {
        background: #007bff;
        color: white;
        border-color: #007bff;
        padding: 6px 9px;
        font-size: 10px;
        border-color: transparent;
        border-radius: 25px;
    }

    .app-promo-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px 20px;
    }
    .app-promo-btn {
        width: 100%;
    }
    .app-promo-btn .btn-glass {
        width: 100%;
        margin-top: 10px;
    }
}