/* ============================================
   RECARGA DIGITAL - THEME
   ============================================ */

/* ============================================
   RESET E VARIÁVEIS GLOBAIS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&display=swap');

:root {
    /* Cores Azul Marinho e Branco */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7fa;
    --bg-tertiary: #f0f4f8;
    --text-primary: #0d1f2d;
    --text-secondary: #4a5f7f;
    --accent: #003d7a;
    --accent-light: #002d5c;
    --border-color: #d0dce8;
    --shadow-color: rgba(13, 31, 45, 0.08);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
}

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

html {
    scroll-behavior: smooth;
}

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

/* ============================================
   CONTAINER
   ============================================ */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

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

.header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    background-color: var(--bg-secondary);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-sm);
}

.app-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: none;
}

.back-button {
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-button:hover {
    border-color: var(--text-primary);
    background-color: rgba(255, 215, 0, 0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #003d7a 0%, #0d5ba3 50%, #003d7a 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.bf-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent);
    color: var(--bg-primary);
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    text-shadow: none;
    color: white;
}

.accent-text {
    color: white;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #e8f0f8;
    max-width: 600px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: #ffffff;
    color: #003d7a;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   FORM SECTION
   ============================================ */

.form-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.form-info-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid #003d7a;
    box-shadow: 0 2px 12px rgba(0, 61, 122, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0, 61, 122, 0.12);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #003d7a;
    margin-bottom: 0.5rem;
}

.info-text {
    font-size: 0.9rem;
    color: #4a5f7f;
    line-height: 1.5;
}

.form-card {
    background-color: white;
    border: 1px solid #d0dce8;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 61, 122, 0.1);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003d7a 0%, #0d5ba3 100%);
}

@media (max-width: 768px) {
    .form-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-info-side {
        order: 2;
    }
    
    .form-card {
        order: 1;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.form-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */

.recharge-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    padding: 0.75rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--text-primary);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.form-input::placeholder {
    color: var(--text-secondary);
}

/* ============================================
   OPERATORS GRID
   ============================================ */

.operators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 1rem;
}

.operator-btn {
    padding: 1.25rem;
    background-color: #f5f7fa;
    border: 2px solid #d0dce8;
    border-radius: var(--radius-md);
    color: #0d1f2d;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.operator-icon {
    font-size: 1.5rem;
}

.operator-name {
    display: block;
}

.operator-btn:hover {
    border-color: #003d7a;
    background-color: #f0f4f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 61, 122, 0.1);
}

.operator-btn.active {
    border-color: #003d7a;
    background-color: #003d7a;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 61, 122, 0.2);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2), 0 0 40px rgba(255, 215, 0, 0.1);
}

/* ============================================
   RECHARGE GRID
   ============================================ */

.recharge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;

.recharge-btn {
    position: relative;
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.recharge-btn:hover {
    border-color: var(--text-primary);
    background-color: rgba(255, 215, 0, 0.05);
}

.recharge-btn.active {
    border-color: var(--text-primary);
    background-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2), 0 0 60px rgba(255, 215, 0, 0.1);
}



.recharge-content {
    flex: 1;
}

.recharge-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
}

.recharge-bonus {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 0.25rem;
}

.recharge-btn.best-seller {
    border: 2px solid var(--accent);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.2);
}

.best-seller-badge {
    position: absolute;
    top: -0.75rem;
    right: -0.75rem;
    padding: 0.25rem 0.75rem;
    background-color: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
}

/* ============================================
   SUBMIT BUTTON
   ============================================ */

.submit-button {
    padding: 1.5rem;
    background-color: #003d7a;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 61, 122, 0.2);
}

.submit-button:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   PAYMENT SECTION
   ============================================ */

.payment-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.payment-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.payment-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.payment-subtitle {
    color: var(--text-secondary);
}

.payment-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.qr-code-container {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.qr-code {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.pix-code-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pix-code-input {
    display: flex;
    gap: 0.5rem;
}

.pix-code-input .form-input {
    flex: 1;
    font-family: monospace;
    font-size: 0.85rem;
}

.copy-button {
    padding: 0.75rem 1rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.copy-button:hover {
    border-color: var(--text-primary);
    background-color: rgba(255, 215, 0, 0.1);

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

.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    
    .footer-text {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.footer-separator {
    color: var(--border-color);
}

@media (max-width: 768px) {
    .footer-content {
        gap: 0.75rem;
    }
    
    .footer-links {
        gap: 0.75rem;
    }
    
    .footer-link {
        font-size: 0.8rem;
    }
}

/* ============================================
   POLICY CONTENT
   ============================================ */

.policy-content {
    color: var(--text-primary);
    line-height: 1.8;
}

.policy-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.policy-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}
