/* Global Styles */
:root {
    --primary-color: #007BFF;
    /* Electric Blue */
    --primary-glow: rgba(0, 123, 255, 0.5);
    --secondary-color: #000000;
    /* Black */
    --accent-color: #004999;
    /* Darker Blue for hover */
    --text-color: #FFFFFF;
    /* White */
    --bg-color: #050510;
    /* Very Dark Blue/Black Background */
    --card-bg: #0f0f1a;
    /* Slightly lighter for cards */
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--primary-glow);
}

.nav a {
    margin-left: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ccc;
}

.nav a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-glow);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at 50% 50%, #1a1a40 0%, var(--bg-color) 70%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCIgb3BhY2l0eT0iMC4wMyI+PHBhdGggZD0iTTAgMGg1MHY1MEgwVjB6IiBmaWxsPSIjZmZmIi8+PC9zdmc+');
    z-index: -1;
    opacity: 0.1;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.headline {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(to right, #ffffff, #5ca9ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(0, 123, 255, 0.2));
}

.subheadline {
    font-size: 1.2rem;
    color: #d0d0d0;
    margin-bottom: 40px;
    max-width: 500px;
    font-weight: 400;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 700;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    /* Pill shape for modern look */
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.5);
}

.cta-button .arrow {
    margin-left: 10px;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.cta-button:hover .arrow {
    transform: translateX(5px);
}

.swift-badge {
    position: absolute;
    top: -8px;
    right: 0;
    background: #ffffff;
    color: var(--primary-color);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 900;
    transform: rotate(10deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.monitor-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0, 123, 255, 0.4));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Video Section */
.video-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-color), #080815);
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background-color: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* About Section */
.about-section {
    padding: 100px 0;
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: white;
    text-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

.about-text {
    font-size: 1.2rem;
    color: #dddddd;
    max-width: 800px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: #080815;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* 3D Animation for Feature Cards */
.feature-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);

    /* Animation Initial State */
    opacity: 0;
    transform: perspective(1000px) rotateX(30deg) translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s;

    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    animation: floatCard 4s ease-in-out infinite;
    will-change: transform;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: iconPulse 3s ease-in-out infinite;
    /* Continuous animation */
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
    }

    50% {
        transform: scale(1.15);
        /* Slightly more movement */
        text-shadow: 0 0 20px rgba(0, 123, 255, 0.8);
    }
}

.feature-card:nth-child(even) {
    animation-delay: 2s;
    /* Stagger effect */
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card.visible {
    opacity: 1;
    transform: perspective(1000px) rotateX(0) translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
    border-color: var(--primary-color);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: white;
    font-weight: 700;
}

.feature-card p {
    color: #a0a0b0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Offer Section - 3D & Attention Grabbing */
.offer-section {
    padding: 140px 0;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a40 0%, #050510 80%);
    perspective: 2000px;
    overflow: hidden;
}

.offer-box {
    background: rgba(15, 15, 25, 0.7);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    padding: 60px 40px;
    border-radius: 24px;
    max-width: 650px;
    margin: 0 auto;

    /* Subtle Border */
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);

    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.5s ease;
    position: relative;
    animation: floatingBox 8s ease-in-out infinite;
}

.offer-box:hover {
    transform: rotateX(0deg) scale(1.02) translateY(-10px);
    box-shadow:
        0 60px 120px rgba(0, 0, 0, 0.9),
        0 0 80px rgba(0, 123, 255, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
}

@keyframes floatingBox {
    0% {
        transform: rotateX(5deg) translateY(0px);
    }

    50% {
        transform: rotateX(5deg) translateY(-15px);
    }

    100% {
        transform: rotateX(5deg) translateY(0px);
    }
}

.offer-logo {
    width: 60px;
    /* Adjust size as needed */
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px var(--primary-color));
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.offer-title {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 900;
    text-shadow: 0 0 15px var(--primary-color);
    letter-spacing: 2px;
}

.price-container {
    margin-bottom: 30px;
    transform: translateZ(20px);
    /* 3D Depth */
}

.old-price {
    font-size: 1.5rem;
    color: #888;
    text-decoration: line-through;
    margin-right: 15px;
    font-weight: 600;
}

.new-price {
    font-size: 5rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
    display: inline-block;
    background: -webkit-linear-gradient(#fff, #a0cfff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.offer-list {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 40px;
    padding: 0 20px;
    /* Removed background/border for cleaner look */
}

.offer-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.offer-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #e0e0e0;
    display: flex;
    align-items: center;
}

.offer-list li:last-child {
    margin-bottom: 0;
}

.final-cta {
    width: 100%;
    font-size: 1.4rem;
    box-shadow: 0 0 30px var(--primary-color);
    animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 50px var(--primary-color);
    }

    100% {
        transform: scale(1);
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card-bg);
    margin-bottom: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: background-color 0.3s;
    overflow: hidden;
}

.faq-item:hover {
    background-color: #151525;
}

.faq-question {
    padding: 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
    /* Remove bottom margin as it's now centered */
    color: white;
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding-bottom: 30px;
    /* Height will be set via JS, or max-height for CSS-only simple approach */
    max-height: 1000px;
    /* Increased to ensure mobile text fits */
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-item p {
    color: #b0b0b0;
    line-height: 1.7;
    margin: 0;
}

/* Desktop Hover Interaction */
@media (min-width: 769px) {
    .faq-item:hover .faq-answer {
        padding-bottom: 30px;
        max-height: 200px;
    }

    .faq-item:hover .toggle-icon {
        transform: rotate(45deg);
    }
}

/* Footer */
.footer {
    padding: 50px 0;
    background-color: #030308;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile Optimizations - Priority */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        /* Standard safe padding */
    }

    /* Header */
    .header {
        padding: 10px 0;
    }

    .header-container {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .logo {
        font-size: 1.4rem;
        /* Reduced */
    }

    .nav {
        display: flex;
        flex-direction: row;
        /* Force row to keep side by side if fitting, or wrap nicely */
        gap: 20px;
        justify-content: center;
        width: 100%;
    }

    .nav a {
        font-size: 0.85rem;
        margin: 0;
        padding: 5px 10px;
        /* larger touch target */
    }

    /* Hero */
    .hero {
        padding-top: 80px;
        padding-bottom: 30px;
        text-align: center;
    }

    .hero-container {
        flex-direction: column-reverse;
        /* Image on top */
        gap: 20px;
        align-items: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Critical for centering the button */
        width: 100%;
    }

    .headline {
        font-size: 1.4rem;
        /* Much safer size */
        line-height: 1.3;
        margin-bottom: 15px;
        width: 100%;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .subheadline {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 25px;
        padding: 0 10px;
        /* Prevent text touching edges */
    }

    .hero-image {
        width: 85%;
        max-width: 320px;
        margin: 0 auto;
    }

    /* Section Global */
    .section-title {
        font-size: 1.5rem;
        /* Reduced to fit "O QUE ESTÁ INCLUSO" */
        margin-bottom: 30px;
        text-align: center;
        word-wrap: break-word;
        padding: 0 10px;
    }

    /* Video */
    .video-section {
        padding: 40px 0;
    }

    /* About Image */
    .about-image {
        width: 100%;
        /* Keep it contained */
        height: auto;
        border-radius: 12px;
        margin: 0;
        /* Reset negative margins to be safe */
    }

    /* Features */
    .features-section {
        padding: 40px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .feature-card {
        margin-bottom: 15px;
        padding: 20px;
        opacity: 0;
        /* Start invisible */
        transform: translateY(30px);
        /* Start slightly down */
        transition: all 0.6s ease-out;
        /* Smooth transition */
    }

    .feature-card.visible {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* Offer */
    .offer-section {
        padding: 60px 0;
    }

    .offer-box {
        transform: none !important;
        animation: none !important;
        padding: 30px 20px;
        margin: 0 auto;
        /* Ensure box itself is centered */
        width: 100%;
        text-align: center;
        /* Ensure text inside is centered */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .offer-title {
        font-size: 1.4rem;
        /* Smaller to fit single line if possible */
        white-space: nowrap;
        /* Try to keep on one line if it fits */
    }

    /* Fallback if it still ignores width */
    @media (max-width: 380px) {
        .offer-title {
            white-space: normal;
            font-size: 1.2rem;
        }
    }

    .new-price {
        font-size: 3rem;
    }

    .offer-list {
        padding: 0;
        margin-bottom: 30px;
    }

    .offer-list li {
        font-size: 0.95rem;
    }

    /* FAQ */
    .faq-section {
        padding: 40px 0;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-item h3 {
        font-size: 1rem;
        padding-right: 10px;
    }

    /* Footer */
    .footer {
        padding: 30px 0;
    }
}