:root {
    --black: #000000;
    --light-black: #1a1a1a;
    --dark-gray: #333333;
    --gray: #666666;
    --light-gray: #999999;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --fast-transition: all 0.2s ease;
    --slow-transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Spatial Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.01) 0%, transparent 60%);
    pointer-events: none;
    z-index: -2;
    animation: spatialFloat 20s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 49%, rgba(255, 255, 255, 0.005) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(255, 255, 255, 0.005) 50%, transparent 51%);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
    animation: gridMove 30s linear infinite;
}

@keyframes spatialFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    33% { 
        transform: translate(-10px, -15px) scale(1.1);
        opacity: 0.5;
    }
    66% { 
        transform: translate(15px, -10px) scale(0.9);
        opacity: 0.4;
    }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--dark-gray);
    z-index: 1000;
    transition: var(--transition);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray), transparent);
    opacity: 0.3;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px; /* espaço entre logo e texto */
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff; /* cor do texto, ajuste se necessário */
  text-decoration: none;
}

.logo-img {
  width: 80px; /* ajuste o tamanho da logo conforme quiser */
  height: 80px;
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.4s ease;
}

.logo:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}


 .user-widget {
        display: inline-flex;
        align-items: center;
        gap: 0.9rem;
        padding: 0.35rem 0.6rem;
        border-radius: 10px;
        background: rgba(255,255,255,0.03);
        cursor: pointer;
        user-select: none;
      }
      .user-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
        background: #222;
      }
      .user-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display:block;
      }
      .user-info {
        display:flex;
        flex-direction:column;
        gap:2px;
        line-height:1;
      }
      .user-name {
        font-weight:600;
        font-size:0.95rem;
      }
      .user-plan {
        font-size:0.78rem;
        opacity:0.9;
      }
      .user-dropdown {
        position:absolute;
        right:1rem;
        background: #0f1724;
        border-radius: 10px;
        padding: 0.8rem;
        box-shadow: 0 8px 30px rgba(0,0,0,0.5);
        min-width: 220px;
        z-index: 2000;
      }
      .user-dropdown a, .user-dropdown button {
        display:block;
        width:100%;
        text-align:left;
        padding: 0.5rem 0.4rem;
        border-radius:6px;
        color: var(--white);
        text-decoration:none;
        background:transparent;
        border:none;
        cursor:pointer;
      }
      .plan-badge {
        display:inline-block;
        padding:0.25rem 0.5rem;
        border-radius:6px;
        font-weight:700;
        font-size:0.8rem;
      }

.nav-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.4s ease;
}

.nav-links a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
}

.login-btn {
    background: var(--light-black);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border: 1px solid var(--dark-gray);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.login-btn:hover {
    background: var(--dark-gray);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border-color: var(--gray);
}

.login-btn:hover::before {
    left: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: conic-gradient(from 0deg at 50% 50%, 
        transparent 0deg, 
        rgba(255, 255, 255, 0.03) 60deg, 
        transparent 120deg, 
        rgba(255, 255, 255, 0.02) 180deg, 
        transparent 240deg, 
        rgba(255, 255, 255, 0.01) 300deg, 
        transparent 360deg
    );
    transform: translate(-50%, -50%) rotate(0deg);
    animation: spatialRotate 80s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes spatialRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    animation: textFloat 6s ease-in-out infinite;
}

@keyframes textFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.typewriter {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin: 3rem 0;
    min-height: 3rem;
    color: var(--light-gray);
    position: relative;
}

.typewriter-cursor {
    opacity: 1;
    animation: cursorBlink 1.2s infinite;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-button {
    background: var(--white);
    color: var(--black);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    opacity: 0;
    transition: opacity 0.4s;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.cta-button span {
    position: relative;
    z-index: 2;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--black), var(--light-black));
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--light-black);
    border: 1px solid var(--dark-gray);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    transition: var(--slow-transition);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.02) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.01) 100%
    );
    opacity: 0;
    transition: opacity 0.6s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--gray);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--black);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-description {
    color: var(--light-gray);
    line-height: 1.7;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
}

/* Pricing Section */
.pricing {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--light-black), var(--black));
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--light-black);
    border: 1px solid var(--dark-gray);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--slow-transition);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--white);
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.02) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.01) 100%
    );
    opacity: 0;
    transition: opacity 0.6s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--gray);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.pricing-card:hover::after {
    opacity: 1;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.plan-price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.plan-period {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
    position: relative;
    z-index: 2;
}

.plan-features li {
    padding: 0.6rem 0;
    color: var(--light-gray);
    position: relative;
    padding-left: 2rem;
    transition: var(--fast-transition);
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.6rem;
    color: var(--white);
    font-weight: bold;
    font-size: 1rem;
}

.plan-features li:hover {
    color: var(--white);
    padding-left: 2.2rem;
}

.plan-button {
    width: 100%;
    background: var(--white);
    color: var(--black);
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    opacity: 0;
    transition: opacity 0.4s;
}

.plan-button:hover::before {
    opacity: 1;
}

.plan-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
}

.plan-button span {
    position: relative;
    z-index: 2;
}

.vitalicio-card {
    border: 2px solid var(--white);
    position: relative;
}

.vitalicio-card::before {
    background: linear-gradient(90deg, 
        var(--white) 0%, 
        var(--light-gray) 50%, 
        var(--white) 100%
    );
    background-size: 200% 100%;
    animation: shimmerEffect 2s linear infinite;
}

@keyframes shimmerEffect {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--black);
    padding: 0.4rem 1.2rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
}

/* FAQ Section */
.faq {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--black), var(--light-black));
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--dark-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--light-black);
}

.faq-item:hover {
    border-color: var(--gray);
}

.faq-question {
    background: transparent;
    padding: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    width: 100%;
    text-align: left;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer {
    background: rgba(0, 0, 0, 0.3);
    padding: 0 1.8rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--light-gray);
    line-height: 1.8;
}

.faq-answer.active {
    max-height: 250px;
    padding: 1.8rem;
}

.faq-icon {
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--gray);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--black);
    border-top: 1px solid var(--dark-gray);
    padding: 3rem 0;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray), transparent);
}

.footer-content {
    color: var(--gray);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--slow-transition);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid var(--dark-gray);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: loadingSpin 1s linear infinite;
}

@keyframes loadingSpin {
    to { transform: rotate(360deg); }
}

/* Modal styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-content {
    background: var(--light-black);
    border: 1px solid var(--dark-gray);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    color: var(--white);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--dark-gray);
    color: var(--white);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .typewriter {
        font-size: 1.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

}

