/* ===============================================
   RESET E CONFIGURAÇÕES BASE
   =============================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    background-color: hsl(218, 27%, 8%);
    color: hsl(0, 0%, 98%);
    overflow-x: hidden;
}

/* ===============================================
   SISTEMA DE CORES (HSL) - DESIGN SYSTEM
   =============================================== */

:root {
    /* Cores principais */
    --background: hsl(218, 27%, 8%);
    --foreground: hsl(0, 0%, 98%);
    --card: hsl(218, 25%, 12%);
    --card-foreground: hsl(0, 0%, 98%);
    --muted: hsl(218, 25%, 18%);
    --muted-foreground: hsl(218, 10%, 65%);
    --primary: hsl(25, 95%, 55%);
    --primary-foreground: hsl(0, 0%, 98%);
    --secondary: hsl(220, 85%, 60%);
    --secondary-foreground: hsl(0, 0%, 98%);
    --success: hsl(142, 76%, 36%);
    --warning: hsl(45, 93%, 47%);
    --border: hsl(218, 25%, 18%);
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, hsl(220, 85%, 60%), hsl(25, 95%, 55%));
    --gradient-corblox: linear-gradient(135deg, hsl(25, 95%, 55%), hsl(35, 85%, 50%), hsl(220, 85%, 60%));
    --gradient-hero: linear-gradient(135deg, hsl(220, 100%, 95%) 0%, hsl(220, 85%, 60%, 0.1) 25%, hsl(25, 95%, 55%, 0.1) 50%, hsl(210, 100%, 90%) 100%);
    
    /* Sombras */
    --shadow-robux: 0 10px 30px -10px hsl(25, 95%, 55%, 0.3);
    --shadow-glow: 0 0 40px hsl(25, 95%, 55%, 0.2);
    
    /* Espaçamentos */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Bordas */
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* ===============================================
   UTILITÁRIOS GERAIS
   =============================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===============================================
   ANIMAÇÕES
   =============================================== */

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px hsl(25, 95%, 55%, 0.5);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 40px hsl(25, 95%, 55%, 0.8);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ===============================================
   SISTEMA DE BOTÕES
   =============================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-robux);
}

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

.btn-robux {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-robux:hover {
    background: var(--gradient-primary);
    filter: brightness(1.1);
}

.btn-whatsapp {
    background-color: hsl(142, 76%, 36%);
    color: white;
}

.btn-whatsapp:hover {
    background-color: hsl(142, 76%, 30%);
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===============================================
   HEADER FIXO
   =============================================== */

.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: hsl(218, 27%, 8%, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-icon {
    width: 2rem;
    height: 2rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary);
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.header-cta {
    display: none;
}

/* Desktop: mostrar menu e botão */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
    .header-cta {
        display: inline-flex;
    }
}

/* ===============================================
   SEÇÃO HERO
   =============================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-decorations {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.decoration {
    position: absolute;
    border-radius: 50%;
    background-color: var(--primary);
}

.decoration-1 {
    top: 10%;
    left: 10%;
    width: 8rem;
    height: 8rem;
    animation: float 6s ease-in-out infinite;
}

.decoration-2 {
    top: 20%;
    right: 15%;
    width: 6rem;
    height: 6rem;
    background-color: var(--secondary);
    animation: float 6s ease-in-out infinite 1s;
}

.decoration-3 {
    bottom: 25%;
    left: 20%;
    width: 10rem;
    height: 10rem;
    background-color: var(--primary);
    animation: float 6s ease-in-out infinite 2s;
}

.decoration-4 {
    bottom: 15%;
    right: 10%;
    width: 7rem;
    height: 7rem;
    background-color: var(--primary);
    animation: float 6s ease-in-out infinite 3s;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
    padding-top: 5rem;
}

.hero-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

/* Aumenta o tamanho do ícone na seção hero */
.hero-icon img {
    width: 120px; /* Ou o tamanho que preferir, como 250px */
    height: 120px; /* Mantenha a mesma medida para não esticar */
}

.robux-main-icon {
    width: 5rem;
    height: 5rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)) brightness(1.1);
    animation: float 6s ease-in-out infinite;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.title-primary {
    color: var(--primary);
}

.title-secondary {
    color: var(--foreground);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
}

.hero-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    max-width: 600px;
    margin: 0 auto;
}

.badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1rem;
    background-color: hsl(218, 25%, 12%, 0.8);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    text-align: center;
}

.badge-icon {
    color: var(--success);
    font-weight: bold;
}

/* Responsivo para hero */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    .hero-badges {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .robux-main-icon {
        width: 8rem;
        height: 8rem;
    }
    .hero-title {
        font-size: 4rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
}

/* ===============================================
   SEÇÃO DE PACOTES
   =============================================== */

.packages-section {
    padding: 5rem 0;
    background-color: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: var(--spacing-md);
    color: var(--foreground);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.corblox-package-container {
    margin-bottom: 4rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.package-card {
    position: relative;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    overflow: hidden;
}

.package-card:hover {
    transform: scale(1.05);
}

/* Pacote Corblox especial */
.corblox-package {
    background: var(--gradient-corblox);
    border: none;
    animation: glow 2s ease-in-out infinite;
}

.corblox-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-corblox);
    opacity: 0.9;
}

.corblox-content {
    position: relative;
    z-index: 10;
    color: white;
}

.exclusive-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background-color: var(--warning);
    color: hsl(220, 27%, 6%);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: bold;
    font-size: 0.875rem;
    transform: rotate(12deg);
    animation: pulse-glow 1.5s ease-in-out infinite;
}

/* Pacotes regulares */
.regular-package {
    background-color: var(--card);
    border: 1px solid var(--border);
}

.popular-package {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-glow);
}

.popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
    white-space: nowrap;
    z-index: 10;
}

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

.package-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.robux-icon-lg {
    width: 4rem;
    height: 4rem;
    animation: float 6s ease-in-out infinite;
}

.robux-icon-md {
    width: 3rem;
    height: 3rem;
}

.robux-icon-sm {
    width: 1.5rem;
    height: 1.5rem;
}

.corblox-icon .robux-icon-lg {
    animation: float 6s ease-in-out infinite;
}

.package-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    color: var(--foreground);
}

.corblox-title {
    font-size: 1.5rem;
    color: white;
}

.robux-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.amount-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.corblox-amount-text {
    font-size: 2rem;
    color: white;
}

.bonus-box {
    background-color: var(--muted);
    border-radius: var(--radius);
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted-foreground);
}

.corblox-bonus {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.price-section {
    margin-bottom: 1.5rem;
}

.original-price {
    font-size: 1.125rem;
    text-decoration: line-through;
    color: var(--muted-foreground);
    margin-right: var(--spacing-sm);
}

.current-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--foreground);
}

.corblox-current-price {
    font-size: 2.5rem;
    color: white;
}

.package-btn {
    width: 100%;
}

/* Grid responsivo */
@media (min-width: 768px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .section-title {
        font-size: 3rem;
    }
}

/* ===============================================
   SEÇÃO COMO FUNCIONA
   =============================================== */

.how-it-works-section {
    padding: 5rem 0;
    background-color: var(--muted);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.feature-card {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-robux);
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    color: var(--foreground);
}

.feature-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.tutorial-card {
    background-color: var(--card);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glow);
}

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

.tutorial-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.step-number {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.step-title {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--foreground);
}

.step-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

/* Grid responsivo para features */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===============================================
   SEÇÃO DEPOIMENTOS
   =============================================== */

.testimonials-section {
    padding: 5rem 0;
    background-color: var(--background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testimonial-card {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-robux);
}

.stars {
    color: hsl(45, 93%, 47%);
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--foreground);
}

/* Grid responsivo para depoimentos */
@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===============================================
   FOOTER
   =============================================== */

.footer {
    padding: 3rem 0;
    background-color: var(--card);
}

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

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: var(--spacing-md);
    color: var(--foreground);
}

.footer-description {
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===============================================
   RESPONSIVIDADE GERAL
   =============================================== */

/* Mobile first approach - estilos base são para mobile */

/* Tablet */
@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
}