:root {
    --bg-color: #030712;
    --card-bg: rgba(17, 24, 39, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary-color: #38bdf8;
    --primary-hover: #0ea5e9;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --check-color: #22c55e;
    --glow-color: rgba(56, 189, 248, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* =========================================
   HEADER & NAV
   ========================================= */
header {
    padding: 16px 0;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(11, 20, 36, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 1001;
}

.logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
    cursor: pointer;
    white-space: nowrap;
}

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

/* =========================================
   MENU HAMBÚRGUER
   ========================================= */
.mobile-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    padding: 8px 6px;
    background: none;
    border: none;
    outline: none;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
}

.mobile-menu span {
    display: block;
    width: 24px;
    height: 3px;
    background: #f8fafc;
    border-radius: 3px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    pointer-events: none;
}

.mobile-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: radial-gradient(circle at top center, rgba(14, 210, 247, 0.05) 0%, transparent 70%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 210, 247, 0.1);
    border: 1px solid rgba(14, 210, 247, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    word-break: break-word;
}

.hero h1 .highlight {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background-color: var(--primary-color);
    color: #000;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(14, 210, 247, 0.3);
    cursor: pointer;
    white-space: nowrap;
}

.btn-hero-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    color: #000;
    width: fit-content;
    margin: 0 auto;
    padding: 5px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
}

.meta-badge img {
    height: 16px;
}

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

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* =========================================
   FEATURES SECTION
   ========================================= */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-color), rgba(14, 210, 247, 0.05));
    border-top: 1px solid var(--border-color);
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(14, 210, 247, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
}

.hero-actions.centered {
    justify-content: center;
}

.centered-btn {
    margin: 0 auto;
    width: fit-content;
}

.small-h2 {
    font-size: 1.8rem !important;
    margin-bottom: 15px !important;
}

.small-p {
    font-size: 0.95rem !important;
    margin-bottom: 25px !important;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: radial-gradient(circle at center, rgba(14, 210, 247, 0.1), transparent 70%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
}

.cta-content.centered {
    text-align: center;
}

/* =========================================
   PRICING SECTION
   ========================================= */
.pricing {
    padding: 100px 0;
    text-align: center;
}

.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    word-break: break-word;
}

.pricing .subtitle {
    color: var(--text-muted);
    margin-bottom: 60px;
    padding: 0 10px;
}

.pricing-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    align-items: stretch;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 25px 15px;
    border-radius: 20px;
    flex: 1;
    min-width: 245px;
    max-width: 275px;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.pricing-card.featured {
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 30px var(--glow-color);
    background: rgba(17, 24, 39, 0.9);
    z-index: 2;
}

.pricing-card.featured::before {
    content: "MAIS POPULAR";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #000;
    padding: 2px 12px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 800;
    white-space: nowrap;
}

.card-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.header-badge-area {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.header-badge-area span {
    margin: 0 !important;
}

.card-header h3 {
    font-size: 1.3rem;
    height: 75px;
    margin: 0 !important;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
}

.header-desc-area {
    height: 90px;
    margin: 8px 0 !important;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
}

.header-desc-area p {
    margin: 0 !important;
}

.plan-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.header-price-area {
    height: 100px;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.header-price-area .price {
    margin: 0 !important;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.price .amount {
    font-size: 2.2rem;
    font-weight: 800;
}

.price-highlight {
    font-size: 0.9rem;
    color: var(--check-color);
    font-weight: 700;
    margin-top: 5px;
}

.price .currency {
    font-size: 1.1rem;
}

.card-body {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.card-body ul {
    list-style: none;
    margin-bottom: 30px;
    font-size: 0.85rem;
}

.card-footer {
    margin-top: auto;
    padding-top: 20px;
}

.btn-card {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s;
    width: 100%;
    height: 70px;
    line-height: 1.2;
    cursor: pointer;
}

.btn-card:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.2);
}

.pricing-card.featured .btn-card {
    background: var(--primary-color);
    color: #000;
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-main);
    gap: 10px;
}

.faq-question span {
    flex: 1;
}

.faq-answer {
    padding: 0 24px 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active {
    border-color: var(--primary-color);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.footer-logo img {
    height: 24px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE — TABLET (max 1100px)
   ========================================= */
@media (max-width: 1100px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .pricing-card {
        width: 100%;
        max-width: 420px;
        min-width: unset;
    }

    .card-header h3 {
        height: auto;
        padding-bottom: 10px;
    }

    .header-desc-area {
        height: auto;
        margin-bottom: 10px !important;
    }

    .header-price-area {
        height: auto;
        margin-bottom: 10px !important;
    }
}

/* =========================================
   RESPONSIVE — MOBILE (max 768px)
   ========================================= */
@media (max-width: 768px) {
    /* Header mobile */
    .nav-links {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: rgba(11, 20, 36, 0.98);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 20px 0;
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 14px 20px;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .btn-primary {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    /* Hero mobile */
    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
        padding: 0 15px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.95rem;
        padding: 0 20px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
        gap: 15px;
        margin-bottom: 30px;
    }

    .btn-hero-primary {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    /* Features mobile */
    .features {
        padding: 60px 0;
    }

    .features h2 {
        font-size: 1.6rem;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px 20px;
        text-align: center;
    }

    /* Pricing mobile */
    .pricing {
        padding: 60px 0;
    }

    .pricing h2 {
        font-size: 1.8rem;
        padding: 0 15px;
    }

    .pricing-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 10px;
    }

    .pricing-card {
        width: 100%;
        max-width: 100%;
        min-width: unset;
        padding: 24px 20px;
    }

    .card-header h3 {
        height: auto;
        padding-bottom: 8px;
        font-size: 1.1rem;
    }

    .header-badge-area {
        height: auto;
        margin-bottom: 8px;
    }

    .header-desc-area {
        height: auto;
        margin-bottom: 10px !important;
    }

    .header-price-area {
        height: auto;
        margin-bottom: 10px !important;
    }

    .price .amount {
        font-size: 2.5rem;
    }

    .small-h2 {
        font-size: 1.5rem !important;
    }

    /* FAQ mobile */
    .faq {
        padding: 50px 0;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.9rem;
    }

    /* Footer mobile */
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    footer p {
        font-size: 0.8rem;
        padding: 0 20px;
    }
}

/* =========================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ========================================= */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .section-label {
        font-size: 0.7rem;
    }

    .pricing-card {
        border-radius: 16px;
    }

    .btn-card {
        height: auto;
        min-height: 55px;
        padding: 12px;
    }
}
