/* ═══════════════════════════════════════════════════════════════
   ECO CLEAN - MAIN.CSS
   Liquid Luxury Design System
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   CSS RESET & BASE
   ═══════════════════════════════════════════════════════════════ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    transition: background 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════ */

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 200, 83, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 200, 83, 0.4);
}

.btn-secondary {
    background: var(--glass);
    backdrop-filter: blur(10px);
    color: var(--text);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION - BIXOL HEADER STYLE
   ═══════════════════════════════════════════════════════════════ */

/* Info Bar */
.info-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.info-left {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.info-left span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.info-left i {
    color: var(--primary);
}

.header-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.header-social a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.header-social a:hover {
    color: var(--primary);
}

/* Header Bottom */
.bixol-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg);
    transition: all 0.3s ease;
}

.header-bottom {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.5rem 0;
}

.header-bottom .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-bottom .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.desktop-logo {
    text-decoration: none;
}

/* Desktop Menu */
.desktop-menu-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.desktop-menu nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.desktop-menu nav ul li {
    position: relative;
}

.desktop-menu nav ul li a {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s ease;
}

.desktop-menu nav ul li a:hover {
    color: var(--primary);
}

/* Submenu */
.desktop-menu nav ul li.has-submenu>a::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.desktop-menu nav ul li.has-submenu:hover>a::after {
    transform: rotate(180deg);
}

.desktop-menu nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card, var(--bg));
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    min-width: 220px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px var(--shadow);
    flex-direction: column;
    gap: 0;
}

.desktop-menu nav ul li.has-submenu:hover>ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desktop-menu nav ul li ul li {
    padding: 0;
}

.desktop-menu nav ul li ul li a {
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

.desktop-menu nav ul li ul li a:hover {
    background: var(--glass);
}

/* Mobile Hamburger */
.bixol-mobile-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.bixol-mobile-hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.bixol-mobile-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.bixol-mobile-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.bixol-mobile-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.bixol-mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg);
    border-right: 1px solid var(--glass-border);
    padding: 2rem;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 9999;
}

.bixol-mobile-menu.active {
    left: 0;
}

.mobile-menu-logo {
    display: block;
    margin-bottom: 2rem;
    text-decoration: none;
}

.bixol-mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bixol-mobile-menu ul li {
    margin-bottom: 1rem;
}

.bixol-mobile-menu ul li a {
    color: var(--text);
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
}

.bixol-mobile-menu ul li.has-submenu>a::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 0.5rem;
    float: right;
}

.bixol-mobile-menu ul li ul {
    padding-left: 1rem;
    margin-top: 0.5rem;
    display: none;
}

.bixol-mobile-menu ul li.has-submenu.active>ul {
    display: block;
}

.bixol-mobile-menu ul li ul li a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .desktop-menu-wrapper {
        display: none;
    }

    .bixol-mobile-hamburger {
        display: flex;
    }

    .info-left {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .info-bar {
        display: none;
    }

    .header-social {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   LOGO
   ═══════════════════════════════════════════════════════════════ */

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
}

.logo-main {
    display: flex;
    align-items: center;
}

.logo-eco {
    display: inline-block;
    background: darkolivegreen;
    color: #fff;
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
}

.logo-clean {
    color: darkolivegreen;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-subtitle {
    font-size: .5rem;
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: .5em;
    text-transform: lowercase;
}

/* ═══════════════════════════════════════════════════════════════
   THEME TOGGLE
   ═══════════════════════════════════════════════════════════════ */

.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--shadow);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 30px var(--shadow);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    position: absolute;
    transition: all 0.3s ease;
}

[data-theme="light"] .theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="light"] .theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

[data-theme="dark"] .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 4rem;
}

/* Animated Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            var(--bg) 0%,
            var(--bg-secondary) 50%,
            var(--bg) 100%);
    opacity: 0.8;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    bottom: -10%;
    right: -10%;
    animation-delay: -7s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

/* Hero Container */
.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    width: fit-content;
    animation: fadeInUp 0.8s ease;
}

.badge-icon {
    font-size: 1.25rem;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-title-eco {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--primary);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-title-main {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-title-tagline {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
    margin-top: 0.5rem;
}

/* Reviews */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.verified-badge {
    font-size: 0.75rem;
    background: rgba(0, 200, 83, 0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid var(--primary);
    font-weight: 600;
}

/* Hero Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.hero-feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(0, 200, 83, 0.2);
}

.feature-icon {
    font-size: 2rem;
}

.feature-text {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    color: var(--text);
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 1s backwards;
}

.hero-cta .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-image {
        display: none;
    }
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.image-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 2px solid var(--primary);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.badge-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
    z-index: 10;
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════════════════ */

.trust-bar {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item {
    opacity: 0;
    transform: translateY(20px);
}

.trust-item.revealed {
    animation: fadeInUp 0.6s ease forwards;
}

.trust-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.trust-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 640px) {
    section {
        padding: 4rem 0;
    }

    .section-container {
        padding: 0 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .theme-toggle {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION DIVIDER
   ═══════════════════════════════════════════════════════════════ */

.section-divider {
    width: 75%;
    height: 1px;
    margin: 4rem auto;
    position: relative;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--primary) 20%,
            var(--primary) 80%,
            transparent 100%);
    box-shadow: 0 0 20px var(--primary),
        0 0 40px rgba(0, 200, 83, 0.3);
}

@media (max-width: 768px) {
    .section-divider {
        width: 90%;
        margin: 3rem auto;
    }
}