:root {
    --bg-color: #050510;
    --bg-secondary: #0b0c2a;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --primary: #00f2ea;
    --primary-glow: rgba(0, 242, 234, 0.4);
    --secondary: #4361ee;
    --chaos: #ff0055;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography */
h1,
h2,
h3,
h4,
.logo span {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #000;
    border: none;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--primary-glow);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: #000;
}

.text-chaos {
    color: var(--chaos);
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
}

.text-clarity {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Background Gradients */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.2), transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 234, 0.1), transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.stats-mini {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Comparison Slider */
.comparison-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1/1;
    /* Square for impact, or adjust to image aspect */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.before {
    z-index: 1;
    /* Chaos behind */
}

.after {
    z-index: 2;
    /* Clarity on top, clipped */
    width: 50%;
    /* Initial state */
    border-right: 2px solid var(--primary);
}

.slider-handle {
    position: absolute;
    height: 100%;
    width: 40px;
    left: 50%;
    /* Initial state */
    top: 0;
    z-index: 3;
    transform: translateX(-50%);
    cursor: ew-resize;
    display: flex;
    justify-content: center;
    align-items: center;
}

.handle-line {
    width: 2px;
    height: 100%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.handle-circle {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    box-shadow: 0 0 15px var(--primary);
}

.label {
    position: absolute;
    bottom: 20px;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
}

.label-before {
    left: 20px;
    background: rgba(255, 0, 85, 0.8);
    color: white;
    z-index: 4;
}

/* Standard Section Styles */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
}

.dark-bg {
    background: var(--bg-secondary);
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 15px var(--primary-glow);
}

.step h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-muted);
}


/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2.5rem;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 1.5rem;
}

/* Features Layout */
.features-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.feature-item {
    padding: 1.5rem;
    border-left: 3px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.feature-item.active,
.feature-item:hover {
    border-left-color: var(--primary);
    background: linear-gradient(90deg, rgba(0, 242, 234, 0.05), transparent);
}

.feature-item h3 {
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.feature-visual {
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

#feature-display h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

#feature-display ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--secondary);
    display: block;
}

/* Partners */
.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.partner-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    /* Center content vertically */
    min-height: 180px;
    /* Uniform height */
    transition: all 0.3s;
}

.partner-card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
}

.partner-logo {
    max-width: 120px;
    /* Increased size */
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.partner-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.partner-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Studies */
.studies-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.study-item {
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.study-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary);
}

.study-date {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
    background: #000;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-left h2 {
    color: #fff;
    margin-left: 10px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Footer Social Buttons (New) */
.footer-buttons {
    display: flex;
    flex-direction: column;
    /* Stack vertically for prominence, or row? User said "large buttons". Vertical is good for mobile. */
    gap: 1.5rem;
}

.footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    color: #fff;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.footer-btn.whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.footer-btn.facebook {
    background: linear-gradient(45deg, #1877F2, #0d5cb4);
}

.footer-btn.tiktok {
    background: linear-gradient(45deg, #000000, #333333);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions,
    .stats-mini,
    .logo {
        justify-content: center;
    }

    .features-layout {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }
}