/* Sanitaire Iseni - Fluid & Oceanic CSS */
:root {
    /* Colors - Oceanic Flow */
    --ocean-blue: #0A2463;
    --water-cyan: #3E92CC;
    --foam-white: #FBFFFE;
    --abyss-dark: #030F26;
    --text-dark: #FFFFFF;
    --text-light: #0A2463;
    --accent: var(--water-cyan);
    --glass-bg: rgba(3, 15, 38, 0.7);
    --glass-border: rgba(62, 146, 204, 0.15);
    
    /* Layout */
    --max-width: 1400px;
    --space-sm: 1rem;
    --space-md: 2.5rem;
    --space-lg: 5rem;
    --space-xl: 10rem;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif; /* Luxe / Artisanal */
    --font-body: 'Outfit', sans-serif;
}

[data-theme="light"] {
    --abyss-dark: #FBFFFE;
    --text-dark: #0A2463;
    --glass-bg: rgba(251, 255, 254, 0.85);
    --glass-border: rgba(10, 36, 99, 0.1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

body {
    font-family: var(--font-body);
    background-color: var(--abyss-dark);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.8s ease, color 0.8s ease;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    background: var(--water-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transform: translate3d(-50%, -50%, 0);
    transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-radius 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(62, 146, 204, 0.5);
}
.custom-cursor.cursor-hover {
    width: 90px;
    height: 90px;
    background: var(--ocean-blue);
    mix-blend-mode: normal;
}

/* Floating Background Pattern (Water Drops) */
.bg-drops {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    background: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M30 5C30 5 15 25 15 35C15 43.284 21.716 50 30 50C38.284 50 45 43.284 45 35C45 25 30 5 30 5Z" fill="%233E92CC" fill-opacity="0.05"/></svg>');
    animation: drift 60s linear infinite;
}
[data-theme="light"] .bg-drops {
    background: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M30 5C30 5 15 25 15 35C15 43.284 21.716 50 30 50C38.284 50 45 43.284 45 35C45 25 30 5 30 5Z" fill="%230A2463" fill-opacity="0.05"/></svg>');
}
@keyframes drift {
    0% { background-position: 0 0; }
    100% { background-position: 60px 120px; }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
}
.site-logo {
    height: 60px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: transform 0.4s ease;
}
.site-logo:hover {
    transform: scale(1.05) rotate(-2deg);
}
.nav-controls {
    display: flex;
    gap: 1rem;
}
.theme-toggle, .btn-login {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    text-decoration: none;
}
.theme-toggle:hover, .btn-login:hover {
    background: var(--water-cyan);
    border-color: var(--water-cyan);
    color: #FFF;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    padding-top: 100px;
    text-align: center;
    overflow: hidden;
}
.hero-content {
    max-width: 900px;
    z-index: 10;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}
.hero h1 em {
    color: var(--water-cyan);
    font-style: italic;
}
.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
}
[data-theme="light"] .hero p { color: rgba(10, 36, 99, 0.8); }

/* Ambient Glow */
.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(62,146,204,0.15) 0%, rgba(3,15,38,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--water-cyan);
    color: #FFF;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(62, 146, 204, 0.3);
}
.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(62, 146, 204, 0.5);
}

/* Fluid Cards Section */
.fluid-section {
    padding: var(--space-xl) 5%;
    max-width: var(--max-width);
    margin: 0 auto;
}
.card-row {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.fluid-card {
    flex: 1;
    min-width: 300px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}
.fluid-card:hover {
    transform: translateY(-15px);
    background: rgba(62, 146, 204, 0.05);
}
[data-theme="light"] .fluid-card:hover { background: rgba(62, 146, 204, 0.1); }

.card-icon {
    font-size: 3rem;
    color: var(--water-cyan);
    margin-bottom: 1.5rem;
    display: inline-block;
}
.fluid-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}
.fluid-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}
[data-theme="light"] .fluid-card p { color: rgba(10, 36, 99, 0.8); }

/* Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-fade {
    opacity: 0;
    transition: opacity 1.5s ease;
}
.reveal-up.revealed, .reveal-fade.revealed {
    opacity: 1;
    transform: translateY(0);
}
