* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00a859;
    --primary-dark: #008a4a;
    --secondary-color: #0066cc;
    --secondary-light: #e6f2ff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --error-color: #e74c3c;
    --success-color: #27ae60;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
    --footer-ink: #0f4f68;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f2f4f6;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 92px 20px 20px;
}

.global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1200;
    background: #1a9e84;
    border-bottom: none;
}

.global-header-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.global-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.global-brand-text {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #fff;
    text-transform: lowercase;
}

/* Navigation Menu */
.global-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: lowercase;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1201;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1298;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    z-index: 1299;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    min-height: 56px;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.2s ease;
}

.mobile-menu-close:hover {
    color: var(--primary-color);
}

.mobile-menu-content {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.mobile-menu-link {
    display: block;
    padding: 16px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: lowercase;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-link:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.mobile-menu-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 12px 20px;
}

.mobile-menu-info {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-info-title {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.mobile-menu-info-text {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 4px;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.mobile-menu-btn-primary {
    width: 100%;
    padding: 14px 20px;
    background: var(--primary-color);
    border: none;
    border-radius: 5px;
    color: #fff;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.mobile-menu-btn-primary:hover {
    background: #158a72;
}

.mobile-menu-btn-primary:active {
    background: #12755f;
}

.global-brand-domain {
    color: #1f5364;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.screen {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 18px;
    animation: slideDown 0.5s ease-out;
}

.header-hero {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #e0e9f1;
    border-radius: 14px;
    padding: 16px 14px 12px;
    box-shadow: 0 8px 22px rgba(17, 53, 86, 0.08);
}

.top-brand-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.site-mini-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 4px 2px;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(0, 168, 89, 0.14);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-mark svg {
    width: 20px;
    height: 20px;
}

.brand-title {
    font-size: 1.55rem;
    line-height: 1.1;
    color: #12345b;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-align: left;
}

.brand-title.ding-style {
    font-size: clamp(2rem, 5vw, 3.3rem);
    letter-spacing: -0.04em;
    text-transform: lowercase;
    color: #1e5364;
    font-weight: 800;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: #6b7d93;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
}

.menu-mini-btn {
    width: 54px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: #eef4f8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
}

.menu-mini-btn span {
    width: 24px;
    height: 4px;
    border-radius: 99px;
    background: #1e5364;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.lock-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.logo {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.subtitle {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 12px;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    background: transparent;
}

.hero-carousel:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 50%; /* Aumentado de 39.06% para 50% - imagens maiores */
    overflow: hidden;
    background: transparent;
    margin: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    margin: 0;
    padding: 0;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    vertical-align: top;
    transform: scale(1.01);
}

.social-proof {
    display: grid;
    gap: 8px;
    text-align: left;
    background: #f5f9ff;
    border: 1px solid #dbe8ff;
    border-radius: 10px;
    padding: 10px 12px;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #23456d;
    font-size: 0.92rem;
    font-weight: 600;
}

.proof-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Form Sections */
.form-section {
    background: var(--white);
    border-radius: 6px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #e4e8ec;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-family: inherit;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d0d5db;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: #fafbfc;
}

.input-group input:focus {
    outline: none;
    border-color: #1a9e84;
    background: #fff;
}

.input-group input.error {
    border-color: var(--error-color);
}

.error-message {
    display: block;
    color: var(--error-color);
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Operator Selection */
.operator-selection {
    margin-bottom: 30px;
}

.operator-selection label,
.amount-selection label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.operator-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.operator-btn {
    padding: 11px 14px;
    border: 1.5px solid #d0d5db;
    background: #fafbfc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
}

.operator-btn img {
    width: auto;
    height: 22px;
    max-width: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.operator-btn span {
    line-height: 1;
}

.operator-btn:hover {
    border-color: #1a9e84;
}

.operator-btn.selected {
    background: #f0faf7;
    color: #0d7a62;
    border-color: #1a9e84;
    border-width: 2px;
}

/* Amount Selection */
.amount-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.amount-card {
    position: relative;
    background: #fafbfc;
    border: 1.5px solid #d0d5db;
    border-radius: 5px;
    padding: 18px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease;
    overflow: visible;
}

.amount-card:hover {
    border-color: #1a9e84;
}

.amount-card.selected {
    background: #f0faf7;
    border-color: #1a9e84;
    border-width: 2px;
}

.amount-card.popular {
    border-color: #1a9e84;
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 8px;
    background: #1a9e84;
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    z-index: 10;
    white-space: nowrap;
}

.amount-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.amount-bonus {
    font-size: 0.88rem;
    color: #1a9e84;
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: #1a9e84;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#proceed-btn {
    margin-top: 14px;
}

.btn-primary:hover {
    background: #158a72;
}

.btn-primary:active {
    background: #12755f;
}

.btn-primary:disabled {
    background: #b8c0c8;
    cursor: not-allowed;
}

.btn-secondary {
    width: 100%;
    padding: 13px;
    background: transparent;
    color: #1a9e84;
    border: 1.5px solid #1a9e84;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    margin-top: 20px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.btn-secondary:hover {
    background: #1a9e84;
    color: white;
}

.lock-icon-small {
    width: 18px;
    height: 18px;
}

/* How it Works */
.how-it-works {
    padding: 28px 24px;
    margin-bottom: 0;
}

.how-it-works-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 18px;
    text-align: center;
}

.how-it-works-steps {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.step-item {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1a9e84;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.step-text {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.35;
}

/* FAQ Section */
.faq-section {
    padding: 24px 0;
    text-align: left;
}

.faq-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.faq-item {
    border-top: 1px solid #dde2e6;
    padding: 14px 0;
}

.faq-item:last-child {
    border-bottom: 1px solid #dde2e6;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a9e84;
    position: relative;
    padding-right: 20px;
}

.faq-item summary::after {
    content: "›";
    position: absolute;
    right: 0;
    top: 0;
    color: #999;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(90deg);
}

.faq-item p {
    margin-top: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Site Footer (dark) */
.site-footer {
    background: #0c2e3d;
    margin-top: 0;
    padding: 0;
    width: 100%;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 24px;
    padding: 36px 28px 28px;
    max-width: 900px;
    margin: 0 auto;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand-name {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}

.footer-brand-tagline {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.4;
}

.footer-anatel {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.footer-anatel-logo {
    width: 40px;
    height: auto;
    opacity: 0.7;
}

.footer-anatel span {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.3;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-links-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-links-col p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
}

.footer-links-col a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links-col a:hover {
    color: rgba(255,255,255,0.8);
}

/* Footer bottom bar */
.footer-bottom-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(0,0,0,0.15);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    flex-wrap: wrap;
}

.footer-ssl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 20px;
    border-radius: 3px;
    background: rgba(26,158,132,0.3);
    color: #5dd9be;
    font-weight: 800;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.footer-copy-text {
    margin-left: auto;
}

/* Checkout Screen */
.checkout-layout {
    max-width: 100%;
    margin: 0 auto;
}

.order-summary-card {
    background: #f4f9f7;
    border-radius: 5px;
    padding: 22px;
    margin-bottom: 28px;
    border: 1px solid #d4e4dd;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.summary-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.summary-header h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 168, 89, 0.2);
}

.summary-item.total {
    border-bottom: none;
    border-top: 2px solid var(--primary-color);
    padding-top: 15px;
    margin-top: 10px;
}

.summary-label {
    color: var(--text-light);
    font-weight: 500;
}

.summary-value {
    color: var(--text-dark);
    font-weight: 600;
}

.summary-item.total .summary-value {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 30px 0 25px;
    color: var(--text-dark);
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: rgba(0, 168, 89, 0.3);
}

.section-title::before {
    left: 0;
}

.section-title::after {
    right: 0;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.payment-method {
    width: 100%;
    border: 1.5px solid #d0d5db;
    background: #fafbfc;
    border-radius: 5px;
    padding: 12px 14px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.15s ease;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.payment-method:hover {
    border-color: #1a9e84;
}

.payment-method.active {
    background: #f0faf7;
    border-color: #1a9e84;
    color: #0d7a62;
    border-width: 2px;
}

.payment-method:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
    color: var(--text-light);
    border-color: #e0e0e0;
}

.payment-method:disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: #e0e0e0;
}

.payment-card {
    position: relative;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.payment-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.payment-card.active {
    background: rgba(0, 168, 89, 0.1);
    border-color: var(--primary-color);
}

.payment-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-info {
    flex: 1;
}

.payment-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.payment-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-card.active .check-icon {
    opacity: 1;
}

.payment-form {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.payment-form.active {
    display: block;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* PIX Payment Screen */
.pix-payment-section {
    padding-top: 0;
    overflow: visible;
}

#screen3 .form-section {
    overflow: visible;
}


.pix-status-badge {
    display: block;
    width: fit-content;
    padding: 5px 12px;
    background: #e8a200;
    color: white;
    border-radius: 3px;
    margin: 0 auto 18px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.02em;
}

.pix-expiration-info {
    text-align: center;
    margin-bottom: 24px;
}

.expiration-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.expiration-timer svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.expiration-timer strong {
    color: var(--primary-color);
    font-weight: 700;
}

.pix-payment-card {
    background: var(--white);
    border-radius: 5px;
    padding: 28px 22px;
    margin-bottom: 20px;
    border: 1px solid #e4e8ec;
}

.qr-code-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.qr-code-canvas {
    width: 220px;
    height: 220px;
    max-width: 100%;
    display: block;
    border-radius: 0;
    background: white;
    border: 1px solid #e4e8ec;
}

.pix-code-section {
    width: 100%;
    margin-bottom: 24px;
}

.pix-code-text {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-dark);
    text-align: left;
    margin: 0 0 16px 0;
    padding: 0;
    background: none;
    border: none;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-copy-pix {
    width: 100%;
    padding: 12px 18px;
    background: #2d2d2d;
    color: white;
    border: none;
    border-radius: 5px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-copy-pix:hover {
    background: #1a1a1a;
}

.btn-copy-pix:active {
    background: #111;
}

.btn-copy-pix svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.pix-total-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.total-label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.total-value {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.payment-confirmation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    background: #f5f6f7;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #e0e3e7;
}

.payment-confirmation .spinner-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
    animation: rotate 2s linear infinite;
}

.payment-confirmation p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
}

.payment-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: #fff9e6;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid #ffe082;
}

.payment-status svg {
    width: 20px;
    height: 20px;
    color: #f57c00;
    flex-shrink: 0;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.payment-status p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.875rem;
    color: #e65100;
    margin: 0;
    font-weight: 500;
}

.payment-instructions {
    display: none;
}

.payment-instructions h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.payment-instructions ol {
    padding-left: 20px;
}

.payment-instructions li {
    margin-bottom: 10px;
    color: var(--text-light);
}


.status-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: #fff9e6;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid #ffe082;
}

.status-loading svg {
    width: 20px;
    height: 20px;
    color: #f57c00;
    flex-shrink: 0;
    animation: rotate 2s linear infinite;
}

.status-loading p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.875rem;
    color: #e65100;
    margin: 0;
    font-weight: 500;
}

/* Payment Success Screen */
.payment-success {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.success-animation {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
    gap: 20px;
}

.success-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #1a9e84;
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.success-badge svg {
    width: 40px;
    height: 40px;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    position: relative;
    z-index: 1;
}

.success-icon {
    display: none;
}

.success-check {
    width: 80px;
    height: 80px;
    color: var(--success-color);
    animation: scaleIn 0.5s ease-out;
    stroke-width: 3;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-circle {
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    animation: drawCircle 0.8s ease-out forwards;
}

.success-checkmark {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: drawCheckmark 0.5s ease-out 0.8s forwards;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheckmark {
    to {
        stroke-dashoffset: 0;
    }
}

.success-title {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.02em;
    text-align: center;
}

.success-message {
    background: var(--white);
    border-radius: 5px;
    padding: 22px;
    margin-bottom: 28px;
    border: 1px solid #e4e8ec;
    text-align: center;
}

.success-message p {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 1rem;
}

.success-message p:last-child {
    margin-bottom: 0;
}

.success-message strong {
    color: var(--text-dark);
    font-weight: 600;
}

.success-details {
    background: #f4f9f7;
    border-radius: 5px;
    padding: 22px;
    margin-bottom: 28px;
    border: 1px solid #d4e4dd;
}

.success-details .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 168, 89, 0.2);
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.success-details .summary-item:last-child {
    border-bottom: none;
}

.success-details .summary-item span {
    color: rgba(0, 168, 89, 0.8);
    font-weight: 500;
    font-size: 0.9375rem;
}

.success-details .summary-item strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 168, 89, 0.2);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-light);
    font-weight: 500;
}

.detail-value {
    color: var(--text-dark);
    font-weight: 600;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 6px;
    padding: 28px;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    margin: 20px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.modal-content h2 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.modal-body {
    color: var(--text-light);
    line-height: 1.8;
}

.modal-body h3 {
    color: var(--text-dark);
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-body li {
    margin-bottom: 8px;
}

/* Company Info Modal */
.company-info h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 24px;
    margin-bottom: 8px;
    font-weight: 700;
}

.company-info h3:first-child {
    margin-top: 0;
}

.company-info p {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.company-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.company-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Support Info Modal */
.support-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.support-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 168, 89, 0.1);
    color: var(--primary-color);
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    width: fit-content;
}

.support-badge svg {
    color: var(--primary-color);
}

.support-info h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-top: 16px;
    margin-bottom: 8px;
    font-weight: 700;
}

.support-info h3:first-of-type {
    margin-top: 0;
}

.support-info p {
    color: var(--text-dark);
    margin-bottom: 12px;
}

.support-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.support-info a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.support-info ul {
    margin-left: 20px;
    margin-top: 8px;
    color: var(--text-dark);
}

.support-info li {
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 78px 12px 14px;
    }

    .global-header-inner {
        padding: 10px 12px;
    }

    .global-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .global-brand-text {
        font-size: 1.55rem;
    }

    .global-brand-domain {
        font-size: 0.78rem;
        letter-spacing: 0.02em;
    }

    .hero-carousel {
        margin-bottom: 20px;
        border-radius: 10px;
    }

    .carousel-container {
        padding-bottom: 50%;
    }

    .logo {
        font-size: 2rem;
    }

    .form-section {
        padding: 20px;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .checkout-layout {
        max-width: 100%;
    }

    .section-title::before,
    .section-title::after {
        width: 20%;
    }

    .qr-code-placeholder {
        width: 200px;
        height: 200px;
    }

    .modal-content {
        margin: 10px;
        padding: 20px;
    }

    .brand-title.ding-style {
        font-size: 2.4rem;
    }

    .footer-spotlight-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .site-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 28px 20px 22px;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    .footer-bottom-bar {
        padding: 12px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .footer-copy-text {
        margin-left: 0;
    }

    .how-it-works-steps {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .summary-item {
        flex-direction: column;
        gap: 5px;
    }

    .hero-badge {
        font-size: 0.68rem;
        padding: 4px 8px;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 16px 20px;
    }

    .how-it-works-steps {
        flex-direction: column;
        gap: 14px;
    }

    .step-item {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .step-number {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .pix-payment-card {
        padding: 20px 16px;
    }

    .qr-code-canvas {
        width: 200px;
        height: 200px;
    }

    .pix-code {
        font-size: 0.75rem;
        padding: 12px;
        max-height: 70px;
    }


    .total-value {
        font-size: 1.25rem;
    }

    .btn-copy-pix {
        padding: 12px 16px;
        font-size: 0.875rem;
    }

}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
