/**
 * Linkscurto.com.br - Styles Customizados
 * Substituto do Tailwind CSS para produção
 */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: #333;
}

/* Layout */
.min-h-screen {
    min-height: 100vh;
}

.bg-gradient-to-br {
    background: linear-gradient(to bottom right, #f9fafb, #e5e7eb);
}

.from-gray-50 {
    background-color: #f9fafb;
}

.to-gray-200 {
    background-color: #e5e7eb;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.flex-grow {
    flex-grow: 1;
}

/* Header */
.bg-white {
    background-color: #ffffff;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.max-w-7xl {
    max-width: 1280px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

/* Título com gradiente melhorado */
.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
}

.font-bold {
    font-weight: 700;
}

.text-transparent {
    color: transparent;
}

.bg-clip-text {
    background-clip: text;
    -webkit-background-clip: text;
    background: linear-gradient(to right, #007BFF, #00D9FF);
    background-clip: text;
}

/* Gradiente mais vibrante */
.gradient-text {
    background: linear-gradient(135deg, #007BFF 0%, #00D9FF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Texto do slogan */
.text-gray-500 {
    color: #6b7280;
}

.italic {
    font-style: italic;
}

/* Main Content */
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Título principal */
.text-center {
    text-align: center;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.font-extrabold {
    font-weight: 800;
}

.text-gray-800 {
    color: #1f2937;
}

.mb-4 {
    margin-bottom: 1rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-gray-600 {
    color: #4b5563;
}

/* Formulário */
.w-full {
    width: 100%;
}

.max-w-2xl {
    max-width: 672px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.sm\:flex-row {
    flex-direction: row;
}

.gap-2 {
    gap: 0.5rem;
}

/* Input melhorado */
.flex-grow {
    flex-grow: 1;
}

.p-4 {
    padding: 1rem;
}

.border-2 {
    border-width: 2px;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus\:border-pagar-cyan:focus {
    border-color: #00D9FF;
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.text-lg {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

/* Placeholder styling */
::placeholder {
    color: #9ca3af;
    opacity: 1;
}

/* Botão melhorado */
.bg-gradient-to-r {
    background: linear-gradient(135deg, #007BFF 0%, #00D9FF 100%);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.text-white {
    color: #ffffff;
}

.font-bold {
    font-weight: 700;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.hover\:opacity-90:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.transition-all {
    transition: all 0.3s ease;
}

.duration-300 {
    transition-duration: 300ms;
}

/* Efeito hover melhorado */
.hover\:transform:hover {
    transform: translateY(-2px);
}

/* Mensagem de erro */
.text-red-500 {
    color: #ef4444;
}

.mt-2 {
    margin-top: 0.5rem;
}

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

.hidden {
    display: none;
}

/* Container de resultado melhorado */
.mt-8 {
    margin-top: 2rem;
}

.p-6 {
    padding: 1.5rem;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.shadow-inner {
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.rounded-lg {
    border-radius: 0.5rem;
}

/* Animação de aparição */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Texto do resultado */
.text-gray-700 {
    color: #374151;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

/* Link encurtado */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.font-mono {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

.text-pagar-blue {
    color: #007BFF;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flex-grow {
    flex-grow: 1;
}

/* Botão copiar */
.bg-pagar-blue {
    background-color: #007BFF;
}

.text-white {
    color: #ffffff;
}

.font-bold {
    font-weight: 700;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.rounded {
    border-radius: 0.25rem;
}

.hover\:bg-pagar-cyan:hover {
    background-color: #00D9FF;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-300 {
    transition-duration: 300ms;
}

.whitespace-nowrap {
    white-space: nowrap;
}

/* Rodapé */
.bg-white {
    background-color: #ffffff;
}

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

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.text-gray-500 {
    color: #6b7280;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

/* Melhorias visuais adicionais */
.text-shadow-sm {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Input com melhor foco */
.focus\:ring-2:focus {
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

/* Otimizações de performance */
img {
    max-width: 100%;
    height: auto;
}

/* Critical above-the-fold CSS otimizado */
.critical-css {
    contain: layout style paint;
}

/* Responsividade melhorada */
@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .sm\:flex-row {
        flex-direction: row;
    }

    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .md\:px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Animações suaves */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}