/* Design System - MAGRA DE NOVO */

:root {
    /* Colors */
    --background: hsl(262, 73%, 95%);
    --foreground: hsl(240, 10%, 15%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(240, 10%, 15%);
    --primary: hsl(262, 73%, 65%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(198, 93%, 70%);
    --secondary-foreground: hsl(240, 10%, 15%);
    --muted: hsl(262, 30%, 92%);
    --muted-foreground: hsl(240, 5%, 50%);
    --accent: hsl(145, 60%, 45%);
    --accent-foreground: hsl(0, 0%, 100%);
    --success: hsl(262, 60%, 85%);
    --success-foreground: hsl(262, 70%, 35%);
    --border: hsl(262, 20%, 90%);
    
    /* Gradients */
    --gradient-bg: linear-gradient(135deg, hsl(145, 70%, 55%) 0%, hsl(145, 60%, 35%) 100%);
    --gradient-cta: linear-gradient(135deg, hsl(145, 70%, 55%) 0%, hsl(145, 60%, 40%) 100%);
    
    /* Shadows */
    --shadow-card: 0 10px 40px -10px hsl(262, 50%, 60%, 0.2);
    
    /* Spacing */
    --radius: 1rem;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

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

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

.p-4 {
    padding: 1rem;
}

.bg-gradient-primary {
    background: var(--gradient-bg);
}

/* Container */
.container {
    width: 100%;
    max-width: 42rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Card Styles */
.card {
    background-color: var(--card);
    color: var(--card-foreground);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-card);
    padding: 2rem;
}

.main-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}

@media (min-width: 768px) {
    .main-card {
        padding: 3rem;
    }
    
    .footer-card {
        padding: 2rem;
    }
}

/* Logo Section */
.logo-container {
    display: flex;
    justify-content: center;
}

.logo {
    width: 100%;
    max-width: 20rem;
    height: auto;
}

/* Badge */
.badge-container {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
}

.badge-success {
    background-color: var(--success);
    color: var(--success-foreground);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .badge-success {
        font-size: 1rem;
    }
}

/* CTA Section */
.cta-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 1.875rem;
    }
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}

.cta-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .cta-text {
        font-size: 1.125rem;
    }
}

.cta-subtext {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Button */
.button-container {
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

.btn-cta {
    background: var(--gradient-cta);
    color: var(--accent-foreground);
    font-size: 1.125rem;
    font-weight: bold;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
}

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

/* Closing Message */
.closing-message {
    text-align: center;
    padding-top: 0.75rem;
}

.closing-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .closing-text {
        font-size: 1.25rem;
    }
}

/* Footer */
.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .footer-title {
        font-size: 1.5rem;
    }
}

.footer-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .footer-subtitle {
        font-size: 1rem;
    }
}

.footer-legal {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

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

.footer-link:hover {
    text-decoration: underline;
}

.separator {
    color: var(--muted-foreground);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: hsl(240, 5%, 50%, 0.7);
    margin-top: 1rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}