:root {
    --bg-color: #050505;
    --bg-glass: rgba(5, 5, 5, 0.8);
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);

    --primary-color: #6366f1;
    /* Indigo */
    --accent-color: #a855f7;
    /* Purple */
    --gradient-main: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-glow: conic-gradient(from 180deg at 50% 50%, #6366f1 0deg, #a855f7 180deg, #ec4899 360deg);

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.2);

    --container-width: 1200px;
    --header-height: 80px;

    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;

    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-highlight);
    color: var(--text-primary);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.btn-icon:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

.btn.large {
    padding: 1rem 3rem;
    font-size: 1.2rem;
}

.btn.shadow-glow {
    box-shadow: var(--shadow-glow);
}

/* Ambient Background */
.ambient-light-1,
.ambient-light-2 {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(5, 5, 5, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.ambient-light-1 {
    top: -100px;
    left: -100px;
    animation: float1 20s infinite alternate;
}

.ambient-light-2 {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, rgba(5, 5, 5, 0) 70%);
    animation: float2 25s infinite alternate;
}

@keyframes float1 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(100px, 100px);
    }
}

@keyframes float2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100px, -100px);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: background 0.3s;
}

.header-content {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 32px;
    filter: brightness(0) invert(1);
    /* Make logo white */
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--text-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 1100;
    padding: 2rem;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.mobile-logo {
    height: 32px;
    filter: brightness(0) invert(1);
}

.close-menu {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.mobile-menu nav a {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatars {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    background-size: cover;
    background-position: center;
    margin-left: -12px;
}

.avatar:first-child {
    margin-left: 0;
}

.social-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.social-text strong {
    color: var(--text-primary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-orb {
    width: 400px;
    height: 400px;
    background: var(--gradient-main);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    position: absolute;
    animation: pulse-glow 8s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.glass-card-element {
    width: 280px;
    height: 160px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-10deg) translateY(-20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: float-card 6s ease-in-out infinite;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.accent-icon {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
}

@keyframes float-card {

    0%,
    100% {
        transform: rotate(-10deg) translateY(-20px);
    }

    50% {
        transform: rotate(-8deg) translateY(0px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 2px;
    height: 6px;
    background: var(--text-primary);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel 2s infinite;
}

@keyframes wheel {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    border-radius: 12px;
    transition: var(--transition-medium);
}

.benefit-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-highlight);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

/* How It Works (Method - Vertical) */
.steps-container.vertical-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 4rem auto 0;
    position: relative;
}

.steps-container.vertical-steps::before {
    content: '';
    position: absolute;
    left: 30px;
    /* Offset to align with markers */
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--primary-color) 0%, transparent 100%);
    z-index: 0;
}

.step-item {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
}

.step-item.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.step-marker {
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 1px solid var(--border-highlight);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.step-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    flex: 1;
}

/* Target Audience */
.target-audience {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(5, 5, 5, 0) 100%);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.audience-card {
    display: flex;
    gap: 1rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    align-items: flex-start;
    transition: var(--transition-medium);
}

.audience-card:hover {
    border-color: var(--border-highlight);
    background: var(--bg-card-hover);
}

.check-icon {
    color: var(--primary-color);
    min-width: 24px;
}

/* Cases Grid & Filter */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.filters {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    transition: all 0.4s ease;
}

.project-card.hidden {
    display: none;
}

.project-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 1rem;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image-wrapper img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.quote-icon {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.t-text {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    font-style: italic;
    color: #d1d5db;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.t-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.t-author h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.t-author span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* FAQ */
.faq .container {
    max-width: 800px;
}

.accordion {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.accordion-header i {
    transition: transform 0.3s;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    /* Arbitrary large height */
    padding-bottom: 1.5rem;
}

/* Footer & Final CTA */
.final-cta {
    padding: 8rem 0;
    background: radial-gradient(circle at center, rgba(30, 30, 30, 0.4) 0%, var(--bg-color) 70%);
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.final-cta .btn {
    margin-top: 2rem;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.cta-microcopy {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    color: var(--text-secondary);
}

.cta-microcopy span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-microcopy i {
    color: var(--primary-color);
    width: 18px;
}

.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 2rem;
    background: #030303;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 32px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--text-secondary);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Whatsapp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Media Queries */
@media (max-width: 900px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .nav-menu,
    .header-actions .btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .steps-container {
        flex-direction: column;
    }

    .connector {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .steps-container.vertical-steps::before {
        left: 20px;
    }

    .step-marker {
        min-width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .step-item {
        gap: 1rem;
    }
}

@media (max-width: 600px) {

    .benefits-grid,
    .projects-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .accordion-item.active .accordion-content {
        max-height: 400px;
    }

    .steps-container.vertical-steps::before {
        display: none;
        /* Hide line on very small screens if needed, or adjust */
    }

    .step-item {
        flex-direction: column;
        gap: 1rem;
    }

    .step-marker {
        margin: 0 auto;
    }

    .step-content {
        text-align: center;
    }
}