:root {
    --primary: #0d9488; /* Teal 600 */
    --primary-hover: #0f766e; /* Teal 700 */
    --bg-main: #ffffff;
    --bg-alt: #f8fafc; /* Slate 50 */
    --text-main: #334155; /* Slate 700 */
    --text-dark: #0f172a; /* Slate 900 */
    --text-muted: #64748b; /* Slate 500 */
    --border-color: #e2e8f0; /* Slate 200 */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.05);
    
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.hidden:not(.modal-overlay) {
    display: none !important;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 50px;
    font-weight: 700;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary, .btn-checkout {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: none;
    font-size: 1.1rem;
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(13, 148, 136, 0.2);
}

.btn-primary:hover, .btn-checkout:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(13, 148, 136, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background: rgba(13, 148, 136, 0.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo, .logo-footer {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(to bottom, var(--bg-alt), var(--bg-main));
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: #f0fdfa; /* Light teal bg */
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.price-box {
    margin-bottom: 32px;
}

.price-from {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.price-current {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

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

.hero-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Benefits */
.benefits {
    padding: 100px 0;
    background: var(--bg-main);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.benefit-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.icon-circle {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--bg-alt);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* How to Apply Section */
.how-to-apply {
    padding: 100px 0;
    background: var(--bg-alt);
}

.video-wrapper {
    max-width: 320px; /* Reduzido para encaixar bem vídeos verticais (formato TikTok/Reels) */
    margin: 0 auto 50px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #000;
}

.video-wrapper video {
    width: 100%;
    display: block;
}

.apply-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
    background: var(--bg-main);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--bg-main);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-main);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.stars {
    color: #f59e0b; /* Amber */
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.author strong {
    display: block;
    color: var(--text-dark);
}

.author span {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

/* Offer Section */
.product-offer {
    padding: 100px 0;
    background: var(--bg-main);
}

.offer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.offer-content h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.offer-content p {
    margin-bottom: 40px;
    color: var(--text-muted);
}

.checkout-box {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-header h3 {
    color: var(--text-dark);
}

.checkout-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.checkout-features {
    list-style: none;
    margin-bottom: 30px;
}

.checkout-features li {
    margin-bottom: 10px;
    color: var(--text-main);
    font-size: 0.95rem;
}

/* Pre-Checkout Form */
.pre-checkout-form {
    margin-top: 25px;
    text-align: left;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.pre-checkout-form label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 500;
}

.pre-checkout-form input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
    background: #fff;
    color: var(--text-dark);
}

.pre-checkout-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.shipping-result {
    background: #f0fdfa;
    border: 1px solid #14b8a6;
    color: #0f766e;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.4s ease-out;
}

.btn-checkout {
    width: 100%;
    display: block;
    font-size: 1.2rem;
    padding: 18px;
}

.btn-checkout:disabled {
    background: var(--border-color);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.safe-checkout {
    text-align: center;
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.offer-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: translateY(0);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.hidden .modal-content {
    transform: translateY(20px);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-btn:hover {
    color: var(--text-dark);
}

.modal-title {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 25px;
}

.error-msg {
    display: none;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 5px;
    animation: fadeIn 0.3s ease-out;
}

input.input-error {
    border-color: #ef4444;
    background: #fef2f2;
}

input.input-error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.btn-modal {
    margin-top: 10px;
}

.modal-safe {
    margin-top: 15px;
}

/* Professional Footer */
.professional-footer {
    background: var(--text-dark);
    padding: 70px 0 30px;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 50px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.brand-desc {
    margin-top: 15px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-col li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.security-col p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.security-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.security-badges span {
    display: inline-block;
    padding: 8px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    font-size: 0.85rem;
    color: white;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* Loading & Pix Screen */
.loading-container {
    text-align: center;
    padding: 40px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pix-container {
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.pix-subtitle {
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.pix-qr-wrapper {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    border: 2px dashed var(--primary);
    display: inline-block;
    margin-bottom: 20px;
}

.pix-qr-wrapper img {
    width: 200px;
    height: 200px;
    display: block;
}

.copy-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-alt);
    color: var(--text-main);
    font-family: monospace;
    font-size: 0.85rem;
    resize: none;
    height: 60px;
    margin-bottom: 10px;
}

.btn-copy {
    width: 100%;
    padding: 12px;
    background: var(--text-dark);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-copy:hover {
    background: #000;
}

.pix-timer {
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.fade-in.visible, .fade-in-delay.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-text h1 { font-size: 2.5rem; }
    .benefits-grid, .testimonials-grid, .apply-steps { grid-template-columns: repeat(2, 1fr); }
    .offer-container { grid-template-columns: 1fr; }
    .offer-image { order: -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { align-items: center; }
    .benefits-grid, .testimonials-grid, .apply-steps { grid-template-columns: 1fr; }
    .checkout-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .contact-col li { justify-content: center; }
    .security-badges { align-items: center; }
}
