:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --text-muted: #666;
    --text-light: #999;
    --input-bg: #f5f5f5;
    --input-border: #e0e0e0;
    --accent-color: #1a73e8;
    --youtube-red: #FF0000;
    --youtube-red-dark: #CC0000;
    --border-radius: 24px;
    --nav-height: 60px;
    
    /* Sistema de Tipografia Harmonizado */
    --font-size-xs: 0.75rem;      /* 12px - Notas, rodapé */
    --font-size-sm: 0.875rem;     /* 14px - Texto secundário, labels */
    --font-size-base: 1rem;       /* 16px - Texto padrão, botões */
    --font-size-md: 1.125rem;     /* 18px - Subtítulos, descrições */
    --font-size-lg: 1.25rem;      /* 20px - Títulos de seção */
    --font-size-xl: 1.5rem;       /* 24px - Títulos principais */
    --font-size-2xl: 2rem;        /* 32px - Títulos de página */
    --font-size-3xl: 2.5rem;      /* 40px - Hero title */
    
    /* Pesos de Fonte */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Line Heights - Compactos e Elegantes */
    --line-height-tight: 1.2;
    --line-height-normal: 1.4;
    --line-height-relaxed: 1.5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    padding-top: var(--nav-height);
    padding-bottom: 80px; /* Espaço para rodapé */
}

/* Menu Superior de Navegação */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: var(--nav-height);
    pointer-events: auto;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
    pointer-events: auto;
    z-index: 1001;
    position: relative;
}

.nav-logo-link:hover {
    opacity: 0.8;
}

.nav-logo h1 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--youtube-red);
    margin: 0;
    letter-spacing: -0.03em;
    line-height: var(--line-height-tight);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1001;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: var(--line-height-tight);
    cursor: pointer;
    z-index: 1002;
    pointer-events: auto;
}

.nav-link:hover {
    color: var(--accent-color);
    background: var(--input-bg);
}

.nav-link.active {
    color: var(--accent-color);
    background: var(--input-bg);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px 2px 0 0;
    pointer-events: none;
    z-index: -1;
}

/* Páginas */
div.page {
    display: none !important;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem 1rem 1.5rem 1rem;
    animation: fadeIn 0.3s ease;
    pointer-events: auto;
    z-index: 50;
    position: relative;
}

div.page.active {
    display: block !important;
    position: relative;
    z-index: 50;
}

.page-content {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.page-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    margin: 0 0 1.25rem 0;
    text-align: center;
    line-height: var(--line-height-tight);
}

/* Hero Section - Página Captar */
.hero-section {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem 0;
}

.hero-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    margin: 0 0 0.75rem 0;
    line-height: var(--line-height-tight);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-normal);
    color: var(--text-muted);
    margin: 0 0 1.25rem 0;
    line-height: var(--line-height-normal);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Section - Página Captar */
.form-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--input-border);
}

.input-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-color);
    margin-bottom: 0.5rem;
    text-align: left;
    line-height: var(--line-height-tight);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* Remover h1 antigo (agora está no menu) */

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group {
    width: 100%;
}

input[type="text"] {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    border: 1px solid var(--input-border);
    background-color: var(--input-bg);
    border-radius: 12px;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: var(--line-height-normal);
}

input[type="text"]:focus {
    background-color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.08);
}

/* Date Range - Layout Simplificado e Responsivo */
.date-range {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.date-range-label {
    font-size: 0.9375rem;
    color: var(--text-color);
    font-weight: 500;
    text-align: left;
    margin-bottom: 0.5rem;
}

.date-inputs-wrapper {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.date-input-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
}

.date-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    white-space: nowrap;
}

.date-input {
    width: auto;
    min-width: 140px;
    max-width: 180px;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    border: 1px solid var(--input-border);
    background-color: var(--input-bg);
    border-radius: 12px;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
    cursor: pointer;
    box-sizing: border-box;
}

.date-input:focus {
    background-color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.08);
}

.date-input:invalid {
    border-color: #fecaca;
    background-color: #fff5f5;
}

.date-input:valid {
    border-color: var(--input-border);
    background-color: var(--input-bg);
}

.date-error {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #991b1b;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    display: none;
}

.date-error:not(.hidden) {
    display: block;
}

.date-separator {
    display: none; /* Removido - agora usamos labels individuais */
}

button[type="submit"],
.btn-submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    background-color: var(--youtube-red);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}

button[type="submit"]:hover:not(:disabled),
.btn-submit:hover:not(:disabled) {
    background-color: var(--youtube-red-dark);
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.3);
    transform: translateY(-2px);
}

button[type="submit"]:active:not(:disabled),
.btn-submit:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.2);
}

button[type="submit"]:disabled,
.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Texto descritivo */
.description-text {
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

/* Status e Loading */
#status {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid #f0f0f0;
    border-top: 2px solid var(--text-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#statusText {
    font-size: 0.875rem;
    color: var(--text-muted);
}

#result {
    margin-top: 1.5rem;
    animation: fadeIn 0.3s ease;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.btn-download:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

    .error-msg {
    margin-top: 1.5rem;
    padding: 1.5rem 1.5rem 1.5rem 3.5rem;
    padding-left: max(3.5rem, calc(3.5rem + env(safe-area-inset-left)));
    padding-right: max(1.5rem, calc(1.5rem + env(safe-area-inset-right)));
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border: 2px solid #fecaca;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
    white-space: pre-line;
    line-height: var(--line-height-relaxed);
    position: relative;
    animation: slideDown 0.3s ease;
    color: #991b1b;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    box-sizing: border-box;
}

    .error-msg::before {
    content: "⚠️";
    font-size: 1.5rem;
    position: absolute;
    left: max(1.5rem, calc(1.5rem + env(safe-area-inset-left)));
    top: 1.5rem;
}

.error-msg strong {
    color: #7f1d1d;
    font-weight: var(--font-weight-semibold);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden {
    display: none !important;
}

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

/* Modal de Pagamento */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Aumentado para garantir que fique acima de tudo */
    padding: var(--spacing);
    animation: fadeIn 0.2s ease;
}

.modal:not(.hidden) {
    display: flex !important; /* Forçar display quando não estiver hidden */
}

.modal-content {
    background-color: white;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-color);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
    line-height: 1;
}

.close-btn:hover {
    background-color: #f5f5f5;
}

.modal-body {
    padding: 1.5rem;
}

.payment-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.payment-amount {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.payment-amount strong {
    color: var(--accent-color);
}

.payment-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qr-code-container.hidden {
    display: none;
}

#qrCodeCanvas {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
}

.copy-paste-section {
    margin-top: 1.25rem;
}

.copy-paste-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: left;
}

.copy-input-group {
    display: flex;
    gap: 0.5rem;
}

#pixCode {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--input-border);
    border-radius: var(--border-radius);
    font-size: 0.8125rem;
    font-family: 'Courier New', monospace;
    background-color: #fafafa;
    min-width: 0;
}

.btn-copy {
    padding: 0.75rem 1.25rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-copy:hover {
    background-color: #1557b0;
}

.payment-status {
    margin-top: 1rem;
    padding: 0.875rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 0.875rem;
}

.payment-status.success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.payment-status.error {
    background-color: #ffebee;
    color: #c62828;
}

.payment-status.pending {
    background-color: #fff3e0;
    color: #e65100;
}

.payment-timer {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.payment-timer strong {
    font-weight: 600;
    font-size: 1rem;
    color: var(--accent-color);
}

.modal-footer {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0f0f0;
}

.btn-check-payment,
.btn-cancel {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-check-payment {
    background-color: var(--accent-color);
    color: white;
}

.btn-check-payment:hover {
    background-color: #1557b0;
}

.btn-cancel {
    background-color: #f5f5f5;
    color: var(--text-muted);
}

.btn-cancel:hover {
    background-color: #e8e8e8;
}

/* Seleção de método de pagamento */
.payment-method-selection {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
}

.payment-method-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s;
}

.payment-method-option:hover {
    border-color: var(--accent-color);
    background-color: #f5f7fa;
}

.payment-method-option input[type="radio"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.payment-method-option input[type="radio"]:checked + .method-label {
    color: var(--accent-color);
}

.method-label {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.method-label strong {
    font-size: 1rem;
    color: var(--text-color);
}

.method-label small {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.payment-section {
    margin-top: 1.5rem;
}

.btn-pay-card {
    width: 100%;
    padding: 1rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1rem;
    display: block;
    opacity: 1;
}

.btn-pay-card:hover:not(:disabled) {
    background-color: #1557b0;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.2);
}

.btn-pay-card:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
    transform: none;
}

.btn-pay-card.disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Responsividade Tablet */
@media (min-width: 641px) and (max-width: 1024px) {
    .container {
        max-width: 600px;
    }
    
    .modal-content {
        max-width: 520px;
    }
    
    .date-inputs-wrapper {
        gap: 0.5rem;
    }
    
    .date-input {
        width: 160px;
    }
}

/* Responsividade Mobile */
@media (max-width: 640px) {
    /* Suporte para safe-area (notch do iPhone) */
    @supports (padding: max(0px)) {
        body {
            padding-top: max(calc(var(--nav-height) + 0.5rem), env(safe-area-inset-top));
            padding-bottom: max(70px, env(safe-area-inset-bottom));
            padding-left: env(safe-area-inset-left);
            padding-right: env(safe-area-inset-right);
        }
    }
    
    body {
        padding-top: calc(var(--nav-height) + 0.5rem);
        padding-bottom: 70px;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        /* Prevenir zoom indesejado ao tocar em inputs */
        touch-action: manipulation;
    }
    
    .nav-container {
        padding: 0 0.75rem;
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
        flex-wrap: nowrap;
        height: var(--nav-height);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    
    .main-nav {
        padding-top: env(safe-area-inset-top, 0);
    }
    
    .nav-container::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .nav-logo h1 {
        font-size: 1.125rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .nav-links {
        gap: 0.5rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
        flex: 1;
        margin-top: 0;
    }
    
    .nav-link {
        font-size: 0.875rem;
        padding: 0.625rem 0.875rem;
        white-space: nowrap;
        flex-shrink: 0;
        min-height: 48px; /* Tamanho mínimo para toque (melhorado) */
        display: flex;
        align-items: center;
        touch-action: manipulation; /* Melhora resposta ao toque */
        -webkit-tap-highlight-color: rgba(26, 115, 232, 0.2);
    }

    .date-inputs-wrapper {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .date-input-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.35rem;
        flex: 1;
        min-width: 140px;
    }
    
    div.page {
        display: none !important;
        padding: 1.5rem 1rem 1rem 1rem;
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
        max-width: 100%;
        box-sizing: border-box;
    }
    
    div.page.active {
        display: block !important;
        position: relative;
        z-index: 50;
    }
    
    .page-title {
        font-size: var(--font-size-xl);
        margin-bottom: 1rem;
        line-height: var(--line-height-tight);
        padding: 0 0.5rem;
    }
    
    .hero-section {
        padding: 1.25rem 0;
        margin-bottom: 1.25rem;
        padding-left: max(0.5rem, env(safe-area-inset-left));
        padding-right: max(0.5rem, env(safe-area-inset-right));
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.625rem;
        line-height: 1.3;
        padding: 0 0.5rem;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
        padding: 0 0.5rem;
        line-height: var(--line-height-normal);
        margin-bottom: 1rem;
    }
    
    .form-section {
        padding: 1.25rem;
        padding-left: max(1.25rem, env(safe-area-inset-left));
        padding-right: max(1.25rem, env(safe-area-inset-right));
        border-radius: 16px;
        margin: 0 auto;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .input-label,
    .date-range-label {
        font-size: 0.875rem;
    }
    
    input[type="text"],
    .date-input {
        font-size: 16px; /* Evita zoom no iOS */
        padding: 1rem;
        min-height: 48px; /* Tamanho mínimo para toque (melhorado) */
        touch-action: manipulation;
        border-radius: 12px;
        width: 100%;
        max-width: 180px; /* Tamanho exato para campo de data em mobile */
        box-sizing: border-box;
    }
    
    .btn-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px; /* Tamanho mínimo para toque (melhorado) */
        touch-action: manipulation;
        font-weight: 600;
        letter-spacing: 0.02em;
    }
    
    /* Melhorias de toque para botões */
    button, .btn-primary, .btn-download-success, .btn-new-collection, .btn-pay-card, .btn-cancel {
        min-height: 48px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(26, 115, 232, 0.2);
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }
    
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .app-footer {
        padding: 0.5rem 0.75rem;
        padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0));
    }
    
    .footer-content {
        font-size: 0.75rem;
        padding: 0;
    }
    
    .footer-text {
        margin: 0.02rem 0;
        font-size: 0.6rem;
        line-height: 1.1;
    }
    
    /* Garantir que links do rodapé fiquem na mesma linha em mobile */
    .footer-links {
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 0.25rem;
        font-size: 0.6rem;
        margin: 0.02rem 0;
    }
    
    .footer-separator {
        margin: 0 0.25rem;
    }

    .modal-content {
        border-radius: 16px 16px 0 0;
        max-height: 90vh;
        margin: 0;
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding-bottom: env(safe-area-inset-bottom, 0);
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }
    
    .modal {
        align-items: flex-end; /* Modal aparece de baixo em mobile */
        padding: 0;
        padding-left: env(safe-area-inset-left, 0);
        padding-right: env(safe-area-inset-right, 0);
    }

    .copy-input-group {
        flex-direction: column;
    }

    .btn-copy {
        width: 100%;
    }

    .modal-footer {
        flex-direction: column-reverse;
    }

    .btn-check-payment,
    .btn-cancel {
        width: 100%;
    }
}

/* Tela de Sucesso */
/* Tela de Processamento */
.processing-screen {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    animation: fadeIn 0.3s ease;
}

.processing-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.processing-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.processing-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #f0f0f0;
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.processing-content h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    margin: 0 0 0.75rem 0;
    line-height: var(--line-height-tight);
}

.processing-message {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    margin: 0 0 1.5rem 0;
    line-height: var(--line-height-relaxed);
}

.processing-info {
    background: var(--input-bg);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    text-align: left;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
}

.info-value {
    font-size: var(--font-size-sm);
    color: var(--text-color);
    font-weight: var(--font-weight-medium);
}

.processing-note {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin: 1.5rem 0 0 0;
    line-height: var(--line-height-relaxed);
    font-style: italic;
}

.success-screen {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    animation: fadeIn 0.3s ease;
}

.success-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: scaleIn 0.5s ease;
    flex-shrink: 0;
}

.success-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-content h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    margin: 0 0 0.625rem 0;
    line-height: var(--line-height-tight);
}

.success-message {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    margin-bottom: 1.25rem;
    line-height: var(--line-height-normal);
}

.file-info {
    background: var(--input-bg);
    border-radius: 12px;
    padding: 1rem;
    margin: 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.file-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
}

.file-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.file-info > .file-details:first-child {
    margin-top: 0;
}

.file-name-label {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--text-muted);
    margin: 0 0 0.25rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: var(--line-height-tight);
}

.file-name {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-color);
    margin: 0;
    word-break: break-all;
    line-height: var(--line-height-normal);
}

/* Informações do Tier na Tela de Sucesso */
.tier-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    border: 1px solid #e0e0e0;
}

.tier-info-content {
    text-align: center;
}

.tier-description {
    font-size: 0.9375rem;
    color: var(--text-color);
    margin: 0 0 0.75rem 0;
    font-weight: 500;
}

.tier-plan {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem 0;
}

.tier-plan strong {
    color: var(--accent-color);
    font-weight: 600;
}

.tier-price {
    font-size: 1.125rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

.tier-price strong {
    color: #4caf50;
    font-weight: 600;
    font-size: 1.25rem;
}

.btn-download-success {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.2);
    margin-bottom: 0.75rem;
    line-height: var(--line-height-tight);
    box-sizing: border-box;
}

.btn-download-success:hover {
    transform: translateY(-1px);
    background: #1557b0;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.btn-download-success:active {
    transform: translateY(0);
}

.btn-new-collection {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: #1a73e8; /* Azul Google - mais visível */
    color: #ffffff; /* Letra branca */
    border: 1px solid #1a73e8;
    border-radius: 12px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: var(--line-height-tight);
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.2);
}

.btn-new-collection:hover {
    background: #1557b0; /* Azul mais escuro no hover */
    border-color: #1557b0;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
    transform: translateY(-1px);
}

/* Melhorias para telas muito pequenas */
@media (max-width: 360px) {
    h1 {
        font-size: 1.5rem;
    }

    input[type="text"],
    .date-input {
        font-size: 16px; /* Evita zoom no iOS */
    }
    
    .success-content {
        padding: 1.5rem;
    }
    
    .file-info {
        flex-direction: column;
        text-align: center;
    }
}

/* Melhorias específicas para mobile - Tela de Sucesso */
@media (max-width: 640px) {
    .success-screen {
        width: 100%;
        padding: 0 1rem;
    }
    
    .success-content {
        padding: 1.25rem;
        padding-left: max(1.25rem, env(safe-area-inset-left));
        padding-right: max(1.25rem, env(safe-area-inset-right));
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .processing-screen {
        width: 100%;
        padding: 0 1rem;
    }
    
    .processing-content {
        padding: 1.25rem;
        padding-left: max(1.25rem, env(safe-area-inset-left));
        padding-right: max(1.25rem, env(safe-area-inset-right));
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .processing-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0.875rem;
    }
    
    .processing-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
    
    .processing-content h2 {
        font-size: var(--font-size-lg);
    }
    
    .processing-message {
        font-size: var(--font-size-sm);
        margin-bottom: 1.25rem;
    }
    
    .processing-info {
        padding: 1rem;
        margin: 1.25rem 0;
    }
    
    .info-item {
        padding: 0.375rem 0;
        font-size: var(--font-size-xs);
    }
    
    .processing-note {
        font-size: var(--font-size-xs);
        margin-top: 1.25rem;
    }
    
    .success-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0.875rem;
    }
    
    .success-content h2 {
        font-size: var(--font-size-lg);
    }
    
    .success-message {
        font-size: var(--font-size-sm);
        margin-bottom: 1.25rem;
    }
    
    .file-info {
        padding: 0.875rem 1rem;
        margin: 1.25rem 0;
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .file-icon {
        width: 40px;
        height: 40px;
    }
    
    .file-name {
        font-size: var(--font-size-sm);
        word-break: break-word;
    }
    
    .btn-download-success {
        padding: 0.75rem 1.25rem;
        font-size: var(--font-size-base);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .btn-new-collection {
        padding: 0.625rem 1.25rem;
        font-size: var(--font-size-sm);
        background: #1a73e8;
        color: #ffffff;
        border-color: #1a73e8;
    }
    
    .btn-new-collection:hover {
        background: #1557b0;
        border-color: #1557b0;
        color: #ffffff;
    }
}

/* Melhorias para telas grandes (Desktop) */
@media (min-width: 1025px) {
    .container {
        max-width: 520px;
    }
    
    .modal-content {
        max-width: 500px;
    }
    
    body {
        padding: 2rem;
    }
}

/* Tabela de Preços (agora dentro da página de preços) */
.pricing-table-container {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: #f9fafb;
    border-radius: var(--border-radius);
    border: 1px solid var(--input-border);
}

/* Estilos para página de preços */
#page-precos .page-content {
    text-align: center;
}

#page-precos .pricing-table {
    margin: 0 auto 2rem auto;
    max-width: 100%;
}

#page-precos .pricing-subtitle {
    margin-bottom: 2.5rem;
}

#page-precos .pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 1.5rem;
    line-height: 1.6;
    padding: 0 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: var(--line-height-tight);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    text-align: center;
}

.btn-primary:hover {
    background: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.pricing-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.pricing-subtitle {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    color: var(--text-muted);
    margin: 0 auto 1.25rem auto;
    text-align: center;
    line-height: var(--line-height-normal);
    max-width: 600px;
    padding: 0 1rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: table;
    table-layout: fixed; /* Força colunas a respeitarem larguras definidas */
}

.pricing-row {
    display: table-row;
    border-bottom: 1px solid var(--input-border);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-header {
    background: var(--accent-color);
    color: white;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
}

.pricing-header .pricing-col {
    color: white;
    padding: 1rem 0.75rem;
    text-align: center;
}

.pricing-col {
    display: table-cell;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    color: var(--text-color);
    text-align: center;
    vertical-align: middle;
    padding: 0.75rem 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0;
    box-sizing: border-box;
    line-height: var(--line-height-normal);
}

.pricing-col-tier {
    font-weight: var(--font-weight-medium);
    width: 30%;
    min-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pricing-col-price {
    font-weight: var(--font-weight-semibold);
    color: var(--accent-color);
    width: 22%;
    min-width: 85px;
    white-space: nowrap;
}

.pricing-col-videos {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    width: 18%;
    min-width: 55px;
    white-space: nowrap;
}

.pricing-col-comments {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    width: 30%;
    min-width: 110px;
    white-space: nowrap;
}

.tier-name {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
}

.tier-basic {
    background: #e3f2fd;
    color: #1976d2;
}

.tier-intermediate {
    background: #f3e5f5;
    color: #7b1fa2;
}

.tier-advanced {
    background: #fff3e0;
    color: #e65100;
}

.tier-premium {
    background: #fce4ec;
    color: #c2185b;
}

.price-value {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--accent-color);
    line-height: var(--line-height-tight);
}

.pricing-note {
    margin-top: 1rem;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-normal);
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
    line-height: var(--line-height-normal);
}

/* Responsividade - Tabela de Preços */
@media (max-width: 640px) {
    .pricing-table-container {
        margin: 1.25rem 0;
        padding: 1rem;
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
        box-sizing: border-box;
    }
    
    .pricing-title {
        font-size: 1.125rem;
    }
    
    .pricing-subtitle {
        font-size: var(--font-size-sm);
        padding: 0 0.5rem;
        margin-bottom: 1.25rem;
        line-height: var(--line-height-normal);
    }
    
    #page-precos .pricing-subtitle {
        margin-bottom: 1.25rem;
    }
    
    .pricing-table {
        font-size: 0.7rem;
        display: table;
        width: 100%;
        table-layout: fixed; /* Força colunas a respeitarem larguras definidas */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .pricing-row {
        display: table-row;
        width: 100%;
    }
    
    .pricing-header .pricing-col {
        padding: 0.75rem 0.4rem;
        font-size: 0.7rem;
    }
    
    .pricing-col {
        padding: 0.625rem 0.4rem;
        font-size: 0.7rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .pricing-col-tier {
        width: 30%;
        min-width: 85px;
    }
    
    .pricing-col-price {
        width: 22%;
        min-width: 75px;
    }
    
    .pricing-col-videos {
        width: 18%;
        min-width: 50px;
    }
    
    .pricing-col-comments {
        width: 30%;
        min-width: 95px;
    }
    
    .price-value {
        font-size: 0.875rem;
    }
    
    .pricing-note {
        font-size: 0.6875rem;
        margin-top: 0.75rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .pricing-table-container {
        margin: 2rem auto;
        max-width: 600px;
    }
    
    .pricing-col {
        padding: 0.875rem 0.75rem;
    }
}

/* Rodapé */
/* Seção Informacional (agora dentro da página) */
.info-section {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
}

.info-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    margin: 0 0 1.25rem 0;
    text-align: center;
    line-height: var(--line-height-tight);
}

.info-block {
    margin-bottom: 1.25rem;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-subtitle {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    color: var(--accent-color);
    margin: 0 0 0.625rem 0;
    text-align: center;
    line-height: var(--line-height-tight);
}

.info-text {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--text-color);
    margin: 0;
    text-align: center;
    max-width: 100%;
}

.info-text strong {
    color: var(--text-color);
    font-weight: 600;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
    text-align: left;
    display: inline-block;
}

.info-list li {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--text-color);
    margin-bottom: 0.625rem;
    padding-left: 1.5rem;
    position: relative;
    text-align: left;
}

.info-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-list strong {
    color: var(--text-color);
    font-weight: 600;
}

.info-list-numbered {
    list-style: decimal;
    padding-left: 1.5rem;
    text-align: left;
}

.info-list-numbered li {
    padding-left: 0.5rem;
    text-align: left;
}

.info-list-numbered li:before {
    display: none;
}

/* FAQ Styles */
.faq-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
    text-align: left;
}

.faq-question {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--accent-color);
    margin: 1.25rem 0 0.625rem 0;
    padding: 0.75rem 1rem;
    background: var(--input-bg);
    border-left: 3px solid var(--accent-color);
    border-radius: 4px;
    cursor: default;
}

.faq-question:first-child {
    margin-top: 0;
}

.faq-answer {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--text-color);
    margin: 0 0 1rem 0;
    padding: 0 1rem 0 1.5rem;
    text-align: left;
}

.faq-answer:last-child {
    margin-bottom: 0;
}

/* Responsividade - Seção Informacional */
@media (max-width: 640px) {
    .info-section {
        margin: 1.5rem auto 1rem auto;
        padding: 0 1rem;
    }
    
    .info-content {
        padding: 1.25rem;
        padding-left: max(1.25rem, env(safe-area-inset-left));
        padding-right: max(1.25rem, env(safe-area-inset-right));
        box-sizing: border-box;
    }
    
    .info-title {
        font-size: var(--font-size-lg);
        margin-bottom: 1rem;
        line-height: var(--line-height-tight);
    }
    
    .info-block {
        margin-bottom: 1.25rem;
    }
    
    .info-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: 0.5rem;
    }
    
    .info-text,
    .info-list li {
        font-size: var(--font-size-sm);
        line-height: var(--line-height-normal);
    }
    
    .page-content {
        padding: 0 1rem; /* Padding lateral melhorado */
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
        box-sizing: border-box;
    }
    
    /* Melhorias para links clicáveis em mobile */
    a, button {
        -webkit-tap-highlight-color: rgba(26, 115, 232, 0.2);
    }
}

.app-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    border-top: 1px solid var(--input-border);
    padding: 0.5rem 1rem;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0));
    padding-left: max(1rem, env(safe-area-inset-left, 0));
    padding-right: max(1rem, env(safe-area-inset-right, 0));
    z-index: 100;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: var(--font-weight-normal);
    line-height: 1.1;
    box-sizing: border-box;
}

.footer-text {
    margin: 0.02rem 0;
    color: var(--text-muted);
    line-height: 1.1;
    font-size: 0.65rem;
}

/* Garantir que links do rodapé fiquem na mesma linha */
.footer-links {
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.4rem;
    font-size: 0.65rem;
    margin: 0.02rem 0;
}

.footer-separator {
    margin: 0 0.4rem;
    color: var(--text-muted);
}

.footer-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #1557b0;
    text-decoration: underline;
}

/* Responsividade - Rodapé */
/* Removido - já está no bloco principal de responsividade mobile */

/* Melhorias para orientação landscape em mobile */
@media (max-width: 640px) and (orientation: landscape) {
    body {
        padding-top: var(--nav-height);
        padding-bottom: 80px;
    }
    
    .nav-container {
        height: auto;
        min-height: 50px;
    }
    
    .nav-logo h1 {
        font-size: 1rem;
    }
    
    .nav-links {
        gap: 0.25rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .success-content {
        padding: 1.25rem;
    }
    
    .success-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 0.75rem;
    }
    
    .app-footer {
        padding: 0.4rem 0.5rem;
        padding-bottom: max(0.4rem, env(safe-area-inset-bottom, 0));
    }
}
