/**
 * GBSOLUX Theme - Main Styles
 */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2D6F32;
    --primary-light: #3d8f42;
    --accent: #9ACD32;
    --accent-light: #D5E5D6;
    --dark: #1a1a1a;
    --gray: #64748b;
    --light: #f8fafc;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: #fff;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

/* === LOADER === */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0F160F 0%, #1a2a1a 50%, #0F160F 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.05s ease-out;
    animation: fadeIn 0.05s ease-in;
}

#logo-container {
    position: relative;
    width: 350px;
    height: 175px;
    background: url('../images/gbsolux-remouve.png') no-repeat center;
    background-size: contain;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(16, 60, 31, 0.5));
}

.particle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #103C1F, #2D6F32);
    border-radius: 50%;
}

.particle-1 { top: 20%; left: 10%; animation: particle1 1.5s infinite ease-in-out; }
.particle-2 { top: 30%; left: 20%; width: 10px; height: 10px; animation: particle2 1.5s infinite ease-in-out; }
.particle-3 { top: 40%; left: 30%; width: 14px; height: 14px; animation: particle3 1.5s infinite ease-in-out; }
.particle-4 { top: 50%; left: 40%; width: 8px; height: 8px; animation: particle4 1.5s infinite ease-in-out; }
.particle-5 { top: 60%; left: 50%; animation: particle5 1.5s infinite ease-in-out; }
.particle-6 { top: 70%; left: 60%; width: 10px; height: 10px; animation: particle6 1.5s infinite ease-in-out; }
.particle-7 { top: 80%; left: 70%; width: 14px; height: 14px; animation: particle7 1.5s infinite ease-in-out; }
.particle-8 { top: 15%; left: 80%; width: 6px; height: 6px; animation: particle8 1.5s infinite ease-in-out; }
.particle-9 { top: 85%; left: 15%; width: 8px; height: 8px; animation: particle9 1.5s infinite ease-in-out; }

#progress-container {
    width: 350px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(16, 60, 31, 0.3);
}

#progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #103C1F, #2D6F32, #103C1F);
    background-size: 200% 100%;
    animation: progressShine 2s infinite;
    transition: width 0.05s ease;
    border-radius: 10px;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes particle1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(50px, -30px) scale(1.2); opacity: 0.7; }
}

@keyframes particle2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(-40px, 20px) scale(0.8); opacity: 0.8; }
}

@keyframes particle3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(30px, 40px) scale(1.1); opacity: 0.6; }
}

@keyframes particle4 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(-50px, -20px) scale(0.9); opacity: 0.9; }
}

@keyframes particle5 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(40px, 30px) scale(1.3); opacity: 0.5; }
}

@keyframes particle6 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(-30px, 50px) scale(0.7); opacity: 0.8; }
}

@keyframes particle7 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(60px, -40px) scale(1.4); opacity: 0.4; }
}

@keyframes particle8 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(-20px, -50px) scale(0.6); opacity: 0.9; }
}

@keyframes particle9 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(25px, 35px) scale(1.1); opacity: 0.7; }
}

@keyframes progressShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* === ANIMATED BACKGROUND === */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a2e1a 50%, #0a0a0a 100%);
}

.animated-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(157, 205, 50, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(45, 111, 50, 0.08) 0%, transparent 50%);
    animation: bgMove 20s ease-in-out infinite;
}

@keyframes bgMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, -50px); }
}

/* === HEADER === */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.3rem 0.3rem;
    backdrop-filter: blur(20px);
    background: rgba(26, 26, 26, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.2rem 0.2rem;
    background: rgba(26, 26, 26, 0.95);
}

nav {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-btn {
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(45, 111, 50, 0.3);
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(45, 111, 50, 0.5);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 10rem 2rem 4rem;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border: none;
    border-radius: 50px;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 20px 50px rgba(157, 205, 50, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 60px rgba(157, 205, 50, 0.5);
}

.btn-secondary {
    padding: 1.2rem 3rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* === 3D VISUALIZATION === */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    left: 5%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.card-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.card-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
}

/* === FEATURES SECTION === */
.features {
    padding: 8rem 2rem;
    background: rgba(26, 26, 26, 0.5);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
}

.tabs {
    max-width: 1400px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}

.tab-btn:hover:not(.active) {
    border-color: var(--accent);
    color: white;
}

.tab-content {
    display: none;
    max-width: 1400px;
    margin: 0 auto;
}

.tab-content.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    animation: fadeInContent 0.5s ease;
}

@keyframes fadeInContent {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.tab-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    font-size: 1.1rem;
}

.feature-list li::before {
    content: '✓';
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--dark);
    flex-shrink: 0;
}

.tab-visual {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === IMPACT SECTION === */
.impact {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1a4d1e 100%);
}

.impact-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.impact-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.impact-number {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.impact-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* === STEPS SECTION === */
.steps {
    padding: 8rem 2rem;
}

.steps-grid {
    max-width: 1400px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
}

.step-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark);
    margin: 0 auto 2rem;
    box-shadow: 0 20px 50px rgba(157, 205, 50, 0.3);
}

.step-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* === FINAL CTA === */
.final-cta {
    padding: 8rem 2rem;
    text-align: center;
    background: rgba(26, 26, 26, 0.5);
}

.final-cta h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
}

/* === FOOTER === */
footer {
    background: rgba(10, 10, 10, 0.9);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-links h4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 10px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-container,
    .tab-content.active {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 400px;
        order: -1;
    }

    .logo {
        height: 60px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 8rem 1.5rem 3rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .features,
    .impact,
    .steps,
    .final-cta {
        padding: 4rem 1.5rem;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .logo {
        height: 80px;
    }

    header {
        padding: 1rem 1.5rem;
    }

    header.scrolled {
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 7rem 1rem 2rem;
    }

    .logo {
        height: 80px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}