﻿/* Base Styles and Variables */
:root {
    --primary: #f3d238;
    --secondary: #7303c0;
    --accent: #e0be71;
    --dark: #0f0f1a;
    --darker: #070712;
    --light: #f0f0f0;
    --gray: #2a2a3a;
    --success: #00ff9d;
    --warning: #ffb800;
    --error: #ff3860;
    --font-primary: 'Rajdhani', sans-serif;
    --font-secondary: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: url('/imgs/background.png') repeat-y;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 100px 2%;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h1 {
    font-size: 4rem;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: 1px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

.body-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px); /* Aplica el desenfoque */
    background-color: rgba(0, 0, 0, 0.8); /* Ajusta la opacidad con un color */
    z-index: -1; /* Mantiene la capa en el fondo */
}

.logo-image {
    width: 150px; /* Ajusta el tamaño según tu diseño */
    height: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.accent {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(12, 235, 235, 0.4);
}

    .btn-primary:hover {
        box-shadow: 0 8px 25px rgba(12, 235, 235, 0.6);
        transform: translateY(-3px);
    }

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
    box-shadow: 0 5px 15px rgba(12, 235, 235, 0.2);
}

    .btn-secondary:hover {
        background: rgba(12, 235, 235, 0.1);
        box-shadow: 0 8px 25px rgba(12, 235, 235, 0.3);
        transform: translateY(-3px);
    }

/* Pulse Animation for Buttons */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(12, 235, 235, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(12, 235, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(12, 235, 235, 0);
    }
}

/* Header and Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(7, 7, 18, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

    .nav-links a {
        position: relative;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.9rem;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 100px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hexagon {
    position: relative;
    width: 400px;
    height: 400px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(45deg, var(--primary), var(--accent));
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

    .hexagon img {
        width: 95%;
        height: 95%;
        object-fit: cover;
        clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    }

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: var(--light);
    letter-spacing: 3px;
}

    .glitch::before,
    .glitch::after {
        content: attr(data-text);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .glitch::before {
        left: 2px;
        text-shadow: -2px 0 var(--primary);
        clip: rect(24px, 550px, 90px, 0);
        animation: glitch-anim-1 5s infinite linear alternate-reverse;
    }

    .glitch::after {
        left: -2px;
        text-shadow: -2px 0 var(--accent);
        clip: rect(85px, 550px, 140px, 0);
        animation: glitch-anim-2 5s infinite linear alternate-reverse;
    }

@keyframes glitch-anim-1 {
    0% {
        clip: rect(52px, 9999px, 39px, 0);
    }

    5% {
        clip: rect(12px, 9999px, 59px, 0);
    }

    10% {
        clip: rect(48px, 9999px, 29px, 0);
    }

    15% {
        clip: rect(42px, 9999px, 73px, 0);
    }

    20% {
        clip: rect(63px, 9999px, 27px, 0);
    }

    25% {
        clip: rect(34px, 9999px, 55px, 0);
    }

    30% {
        clip: rect(86px, 9999px, 73px, 0);
    }

    35% {
        clip: rect(20px, 9999px, 20px, 0);
    }

    40% {
        clip: rect(26px, 9999px, 60px, 0);
    }

    45% {
        clip: rect(25px, 9999px, 66px, 0);
    }

    50% {
        clip: rect(57px, 9999px, 98px, 0);
    }

    55% {
        clip: rect(5px, 9999px, 46px, 0);
    }

    60% {
        clip: rect(82px, 9999px, 31px, 0);
    }

    65% {
        clip: rect(54px, 9999px, 27px, 0);
    }

    70% {
        clip: rect(28px, 9999px, 99px, 0);
    }

    75% {
        clip: rect(45px, 9999px, 69px, 0);
    }

    80% {
        clip: rect(23px, 9999px, 85px, 0);
    }

    85% {
        clip: rect(54px, 9999px, 84px, 0);
    }

    90% {
        clip: rect(45px, 9999px, 47px, 0);
    }

    95% {
        clip: rect(37px, 9999px, 20px, 0);
    }

    100% {
        clip: rect(4px, 9999px, 91px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(65px, 9999px, 119px, 0);
    }

    5% {
        clip: rect(52px, 9999px, 115px, 0);
    }

    10% {
        clip: rect(79px, 9999px, 32px, 0);
    }

    15% {
        clip: rect(54px, 9999px, 25px, 0);
    }

    20% {
        clip: rect(91px, 9999px, 81px, 0);
    }

    25% {
        clip: rect(29px, 9999px, 44px, 0);
    }

    30% {
        clip: rect(26px, 9999px, 32px, 0);
    }

    35% {
        clip: rect(62px, 9999px, 73px, 0);
    }

    40% {
        clip: rect(48px, 9999px, 27px, 0);
    }

    45% {
        clip: rect(93px, 9999px, 57px, 0);
    }

    50% {
        clip: rect(54px, 9999px, 81px, 0);
    }

    55% {
        clip: rect(79px, 9999px, 88px, 0);
    }

    60% {
        clip: rect(16px, 9999px, 21px, 0);
    }

    65% {
        clip: rect(86px, 9999px, 38px, 0);
    }

    70% {
        clip: rect(73px, 9999px, 106px, 0);
    }

    75% {
        clip: rect(85px, 9999px, 33px, 0);
    }

    80% {
        clip: rect(63px, 9999px, 99px, 0);
    }

    85% {
        clip: rect(89px, 9999px, 34px, 0);
    }

    90% {
        clip: rect(38px, 9999px, 92px, 0);
    }

    95% {
        clip: rect(43px, 9999px, 55px, 0);
    }

    100% {
        clip: rect(16px, 9999px, 23px, 0);
    }
}

/* Typing Animation */
.typing-container {
    height: 50px;
    margin: 20px 0;
}

.typing-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary);
    width: 0;
    animation: typing 3s steps(40, end) forwards, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary)
    }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(42, 42, 58, 0.5);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f3d23855;
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, var(--primary), var(--accent));
        opacity: 0;
        transition: all 0.3s ease;
        z-index: -1;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        border-color: var(--primary);
        box-shadow: 0 10px 30px rgba(12, 235, 235, 0.2);
    }

        .feature-card:hover::before {
            opacity: 0.05;
        }

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

/* How It Works Section */
.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

    .step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 60px;
        left: 25px;
        width: 2px;
        height: calc(100% + 30px);
        background: linear-gradient(to bottom, var(--primary), var(--accent));
    }

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    flex-shrink: 0;
    z-index: 1;
}

.step-content {
    background: rgba(42, 42, 58, 0.5);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(12, 235, 235, 0.1);
    flex-grow: 1;
}

/* Testimonials Section */
.testimonials {
    background: rgba(7, 7, 18, 0.5);
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
    position: relative;
}

.testimonial {
    min-width: 100%;
    padding: 20px;
    transition: all 0.3s ease;
}

.testimonial-content {
    background: rgba(42, 42, 58, 0.5);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid rgba(12, 235, 235, 0.1);
}

    .testimonial-content::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 30px;
        width: 20px;
        height: 20px;
        background: rgba(42, 42, 58, 0.5);
        transform: rotate(45deg);
        border-right: 1px solid rgba(12, 235, 235, 0.1);
        border-bottom: 1px solid rgba(12, 235, 235, 0.1);
    }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 20px;
}

    .testimonial-author img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        border: 2px solid var(--primary);
    }

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.prev-btn, .next-btn {
    background: transparent;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .prev-btn:hover, .next-btn:hover {
        color: var(--primary);
    }

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .dot.active {
        background: var(--primary);
    }

/* Pricing Section */
.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pricing-card {
    background: rgba(42, 42, 58, 0.5);
    border-radius: 10px;
    padding: 40px 30px;
    width: 300px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(12, 235, 235, 0.1);
    position: relative;
}

    .pricing-card.featured {
        transform: scale(1.05);
        border-color: rgba(12, 235, 235, 0.3);
        box-shadow: 0 10px 30px rgba(12, 235, 235, 0.2);
    }

    .pricing-card:hover {
        transform: translateY(-10px);
        border-color: rgba(12, 235, 235, 0.3);
        box-shadow: 0 10px 30px rgba(12, 235, 235, 0.2);
    }

    .pricing-card.featured:hover {
        transform: scale(1.05) translateY(-10px);
    }

.popular-tag {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent);
    color: var(--light);
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 1;
}

.pricing-header {
    margin-bottom: 30px;
}

    .pricing-header h3 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

    .price span {
        font-size: 1rem;
        color: var(--light);
        opacity: 0.7;
    }

.pricing-features {
    margin-bottom: 30px;
    text-align: left;
}

    .pricing-features li {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .pricing-features li i {
            color: var(--success);
        }

        .pricing-features li.disabled {
            opacity: 0.5;
        }

            .pricing-features li.disabled i {
                color: var(--error);
            }

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(12, 235, 235, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: rgba(42, 42, 58, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .faq-question h3 {
        margin: 0;
        font-size: 1.2rem;
    }

.faq-toggle {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(7, 7, 18, 0.5);
}

.faq-item.active .faq-question {
    background: rgba(12, 235, 235, 0.1);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

/* Signup Section */
.signup {
    background: linear-gradient(135deg, rgba(115, 3, 192, 0.1) 0%, rgb(60 56 239 / 14%) 100%);
    border-top: 1px solid rgba(12, 235, 235, 0.1);
    border-bottom: 1px solid rgba(12, 235, 235, 0.1);
}

.signup-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

    .signup-form input,
    .signup-form select {
        padding: 15px;
        border-radius: 5px;
        background: rgba(42, 42, 58, 0.5);
        border: 1px solid rgba(12, 235, 235, 0.2);
        color: var(--light);
        font-family: var(--font-primary);
        transition: all 0.3s ease;
    }

        .signup-form input:focus,
        .signup-form select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 10px rgba(12, 235, 235, 0.3);
        }

.form-disclaimer {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Footer */
footer {
    background: var(--darker);
    padding: 80px 5% 30px;
    border-top: 1px solid rgba(12, 235, 235, 0.1);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column {
    min-width: 150px;
}

    .footer-column h4 {
        margin-bottom: 20px;
        color: var(--primary);
    }

    .footer-column ul li {
        margin-bottom: 10px;
    }

        .footer-column ul li a:hover {
            color: var(--primary);
        }

.footer-social {
    min-width: 200px;
}

    .footer-social h4 {
        margin-bottom: 20px;
        color: var(--primary);
    }

.social-icons {
    display: flex;
    gap: 15px;
}

    .social-icons a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(42, 42, 58, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.2rem;
        transition: all 0.3s ease;
    }

        .social-icons a:hover {
            background: var(--primary);
            color: var(--dark);
            transform: translateY(-5px);
        }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(12, 235, 235, 0.1);
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hexagon {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    section {
        padding: 80px 5%;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 350px;
    }

        .pricing-card.featured {
            transform: scale(1);
        }

            .pricing-card.featured:hover {
                transform: translateY(-10px);
            }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .hexagon {
        width: 280px;
        height: 280px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
    }

        .step:not(:last-child)::after {
            left: 25px;
            top: 50px;
            height: calc(100% - 20px);
        }

    .step-number {
        margin-bottom: 20px;
    }
}
