:root {
    --primary: #ff4655; /* Valorant Red */
    --primary-hover: #ff5b68;
    --secondary: #00ff88; /* Neon Green */
    --secondary-hover: #1aff97;
    --bg-dark: #0f0f0f;
    --bg-medium: #1a1a1a;
    --card-bg: #2d2d2d;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --accent-yellow: #ffd700;
    --accent-orange: #ff8c00;
    
    --font-heading: 'Teko', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: 0.4s ease;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, .main-title {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 2rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--text-light); }
h3 { font-size: 1.8rem; margin-bottom: 1rem; }
p { font-size: 1.1rem; line-height: 1.6; margin-bottom: 1rem; }

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* Highlights */
.highlight-red { color: var(--primary) !important; font-weight: bold; }
.highlight-green { color: var(--secondary) !important; font-weight: bold; }
.highlight-yellow { color: var(--accent-yellow) !important; font-weight: bold; }
.highlight-price { font-size: 1.5rem; color: var(--primary); font-family: var(--font-heading); margin-top: 1rem; }
.small-diff { font-size: 0.9rem; color: var(--text-muted); font-style: italic; }
.p-0-bot { padding-bottom: 10px !important; }

/* Layout Variables */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem 0 1rem;
    padding-top: 30px; /* 10px progress bar + 20px space */
}

.checkout-step .container {
    padding-top: 80px; /* 60px progress container + 20px space */
}

/* Headline precise 20px spacing */
.container > h2,
.checkout-intro,
.content-split .text-content h2,
.main-title {
    margin-bottom: 20px !important;
}

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

#step-1 .center-content {
    min-height: 100vh;
    justify-content: space-evenly; /* Distributes logo, text, and button evenly on cellphones */
    padding-bottom: 30px;
}

#step-1 .site-logo, #step-1 .main-title {
    margin-bottom: 0 !important;
}

/* Steps System */
.step {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity var(--transition), transform var(--transition);
    transform: translateY(20px);
    z-index: 1;
}

.step.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
    z-index: 10;
}

.hidden {
    display: none !important;
}

/* Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 100;
    display: flex;
    align-items: center;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 10px;
    background-color: var(--primary);
    width: 14.28%;
    transition: width 0.5s ease, background-color 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 0 10px var(--primary);
}

.progress-text {
    width: 100%;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.8rem;
}

.full-width {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 70, 85, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(255, 70, 85, 0.6);
}

.btn-success {
    background-color: var(--secondary);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.btn-success:hover {
    background-color: var(--secondary-hover);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text-light);
}

.btn-secondary:hover {
    border-color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-back {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.btn-back:hover {
    color: var(--text-light);
}

.center-button {
    display: flex;
    justify-content: center;
}

.icon {
    margin-right: 10px;
    font-size: 1.5rem;
}

/* Animations */
.hover-scale {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}

.hover-scale:hover {
    transform: translateY(-3px) scale(1.02);
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(0, 255, 136, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

@keyframes pulseRed {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 70, 85, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 70, 85, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 70, 85, 0); }
}

.pulse {
    animation: pulse 2s infinite;
}

.pulse.btn-primary {
    animation: pulseRed 2s infinite;
}

.fade-in { animation: fadeIn 0.8s ease-out forwards; }
.fade-in-delay-1 { opacity: 0; animation: fadeIn 0.8s ease-out 0.3s forwards; }
.fade-in-delay-2 { opacity: 0; animation: fadeIn 0.8s ease-out 0.6s forwards; }
.fade-in-delay-3 { opacity: 0; animation: fadeIn 0.8s ease-out 0.9s forwards; }
.fade-in-delay-4 { opacity: 0; animation: fadeIn 0.8s ease-out 1.2s forwards; }
.fade-in-delay-5 { opacity: 0; animation: fadeIn 0.8s ease-out 1.5s forwards; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Components */
.site-logo {
    width: 123px;
    height: 123px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1.5rem auto;
}

/* Split content (Page 2) */
.content-split {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* VP Pricing Table */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    background: var(--bg-medium);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #333;
}

.vp-item {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    position: relative;
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.vp-item:hover {
    transform: translateY(-2px);
    background: #363636;
}

.vp-icon {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
}

.vp-amount {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    flex-grow: 1;
}

.vp-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-muted);
}

.tag-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 4px;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.tag-red { background: var(--primary); }
.tag-yellow { background: var(--accent-yellow); color: #000; }
.tag-green { background: var(--secondary); color: #000; }

.highlight-red-border { border-color: var(--primary); box-shadow: 0 0 10px rgba(255, 70, 85, 0.3); }
.highlight-yellow-border { border-color: var(--accent-yellow); box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
.highlight-green-border { border-color: var(--secondary); box-shadow: 0 0 10px rgba(0, 255, 136, 0.3); }

/* Story Blocks (Page 3) */
.story-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.block {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--text-muted);
}

.highlight-block {
    border-left-color: var(--primary);
    background: linear-gradient(90deg, rgba(255,70,85,0.1) 0%, rgba(45,45,45,1) 100%);
}

.highlight-green-block {
    border-left-color: var(--secondary);
    background: linear-gradient(90deg, rgba(0,255,136,0.1) 0%, rgba(45,45,45,1) 100%);
}

.highlight-blue-block {
    border-left-color: #0088ff;
    background: linear-gradient(90deg, rgba(0, 136, 255, 0.1) 0%, rgba(45,45,45,1) 100%);
}

.calc-block {
    border-left-color: var(--secondary);
}

.final-text {
    font-size: 1.25rem;
    text-align: center;
    line-height: 1.8;
}

/* Scenarios Grid (Page 4) */
.scenarios-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease;
    border-top: 4px solid var(--text-muted);
}

.card:hover {
    transform: translateY(-5px);
}

.card-yellow { border-top-color: var(--accent-yellow); }
.card-orange { border-top-color: var(--accent-orange); }
.card-green { border-top-color: var(--secondary); }

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.scenario-total {
    margin-top: 1.5rem;
    padding: 0.8rem;
    background: rgba(0,0,0,0.3);
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-align: center;
}

.card-yellow .scenario-total { color: var(--accent-yellow); }
.card-orange .scenario-total { color: var(--accent-orange); }
.card-green .scenario-total { color: var(--secondary); }

.closing-text {
    background: var(--bg-medium);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #333;
}

.question-box {
    text-align: center;
    padding: 2rem;
}

/* Decision Box (Page 5) */
.decision-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

/* Testimonials (Page 6) */
.testimonials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.testimonial-img-wrapper {
    background: var(--bg-medium);
    border-radius: 12px;
    padding: 10px;
    border: 1px solid rgba(0, 136, 255, 0.4);
    box-shadow: 0 0 10px rgba(0, 136, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-img-wrapper:hover {
    box-shadow: 0 0 15px rgba(0, 136, 255, 0.3);
    border-color: #0088ff;
}

.depoimento-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* Checkout Horizontal Offers (Page 7) */
.checkout-offers {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.offer-card {
    background: var(--card-bg);
    border-radius: 12px;
    border: 2px solid #444;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 1.5rem;
    color: var(--text-light);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-3px);
    border-color: var(--secondary);
}

.popular-card {
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.popular-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.badge-mais-vendido {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: #000;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 2;
    text-transform: uppercase;
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #444;
}

.offer-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.offer-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.max-card {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.max-card:hover {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.offer-old-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 0.2rem;
}

.badge-max-vp {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-yellow);
    color: #000;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 2;
    text-transform: uppercase;
}

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

.offer-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.offer-price {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
}

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

.offer-old-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 0.2rem;
}

.offer-body {
    display: flex;
    flex-direction: column;
}

.btn-green {
    background-color: var(--secondary);
    color: #000 !important;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem !important;
    border-radius: 8px !important;
    text-transform: none;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3) !important;
    margin-top: 0.5rem;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-green:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5) !important;
}

.btn-yellow {
    background-color: var(--accent-yellow);
    color: #000 !important;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem !important;
    border-radius: 8px !important;
    text-transform: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
    margin-top: 0.5rem;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-yellow:hover {
    background-color: #fff033;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5) !important;
}

.offer-obs {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.4;
    text-align: left;
}

/* Media Queries */
@media (min-width: 768px) {
    h1 { font-size: 4.5rem; }
    h2 { font-size: 3rem; }

    .scenarios-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .decision-buttons {
        flex-direction: row;
        max-width: none;
        justify-content: center;
    }
}

.checkout-intro {
    font-size: 1.8rem;
    line-height: 1.3;
}

.intro-highlight {
    font-size: 2.5rem;
    display: block;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .checkout-intro {
        font-size: 18px;
        font-family: var(--font-heading);
        font-weight: 500;
        text-transform: uppercase;
    }

    /* Make Step 6 fill screen like Step 1 */
    #step-6 .container {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        min-height: 100vh;
        padding-bottom: 30px;
    }

    /* Target specific pages to have 30px bottom breathing room */
    #step-2 .container,
    #step-3 .container,
    #step-7 .container {
        padding-bottom: 30px;
    }
    
    .question-box h3 {
        font-size: 1.25rem !important; /* Forces onto max 2 lines comfortably */
    }
    
    .intro-highlight {
        font-size: 1.5rem;
        font-family: var(--font-heading);
        font-weight: 800;
        text-transform: uppercase;
    }

    h1, h2, .main-title {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    pointer-events: none;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.scroll-indicator.visible {
    opacity: 0.9;
    visibility: visible;
}

.scroll-indicator span {
    font-weight: 800;
    letter-spacing: 1px;
}

.arrow-down {
    width: 15px;
    height: 15px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
    margin-top: 5px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}
