/* Toc d'Apoio Design System - Professional Accounting & Financial Consultancy */

:root {
    /* Professional Blue Theme */
    --background: 0 0% 100%;
    --foreground: 210 15% 15%;

    --card: 0 0% 100%;
    --card-foreground: 210 15% 15%;

    --popover: 0 0% 100%;
    --popover-foreground: 210 15% 15%;

    /* Primary - Professional Blue */
    --primary: 217 91% 60%;
    --primary-foreground: 0 0% 100%;
    --primary-dark: 217 91% 45%;
    --primary-light: 217 91% 85%;

    /* Secondary - Trust Gray */
    --secondary: 210 20% 96%;
    --secondary-foreground: 210 15% 15%;

    --muted: 210 20% 96%;
    --muted-foreground: 210 15% 45%;

    --accent: 217 91% 95%;
    --accent-foreground: 217 91% 20%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 100%;

    --border: 210 20% 90%;
    --input: 210 20% 95%;
    --ring: 217 91% 60%;

    --radius: 0.75rem;

    /* Professional Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(217 91% 60%) 0%, hsl(217 91% 45%) 100%);
    --gradient-card: linear-gradient(145deg, hsl(0 0% 100%) 0%, hsl(210 20% 98%) 100%);
    --gradient-subtle: linear-gradient(180deg, hsl(217 91% 98%) 0%, hsl(0 0% 100%) 100%);

    /* Professional Shadows */
    --shadow-card: 0 4px 20px -2px hsl(217 91% 60% / 0.1);
    --shadow-hover: 0 8px 30px -4px hsl(217 91% 60% / 0.15);
    --shadow-button: 0 2px 8px -2px hsl(217 91% 60% / 0.2);

    /* Smooth Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;

    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;

    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;

    --primary: 210 40% 98%;
    --primary-foreground: 222.2 47.4% 11.2%;

    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;

    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;

    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;

    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;

    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 212.7 26.8% 83.9%;
}

* {
    border-color: hsl(var(--border));
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Utility Classes */
.gradient-hero {
    background: var(--gradient-hero);
}

.gradient-card {
    background: var(--gradient-card);
}

.gradient-subtle {
    background: var(--gradient-subtle);
}

.shadow-card {
    box-shadow: var(--shadow-card);
}

.shadow-hover {
    box-shadow: var(--shadow-hover);
}

.shadow-button {
    box-shadow: var(--shadow-button);
}

.transition-smooth {
    transition: var(--transition-smooth);
}

.transition-bounce {
    transition: var(--transition-bounce);
}

.bg-background { 
    background-color: hsl(var(--background)); 
}

.text-foreground { 
    color: hsl(var(--foreground)); 
}

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

.text-primary { 
    color: hsl(var(--primary)); 
}

.text-primary-foreground { 
    color: hsl(var(--primary-foreground)); 
}

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

.bg-secondary { 
    background-color: hsl(var(--secondary)); 
}

.border-border { 
    border-color: hsl(var(--border)); 
}

/* Custom Components */
.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}

.btn-outline {
    border: 2px solid hsl(var(--primary));
    color: hsl(var(--primary));
    background-color: transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.card {
    background: var(--gradient-card);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.card:hover {
    box-shadow: var(--shadow-hover);
}

/* Form Elements */
.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    resize: vertical;
    min-height: 100px;
    transition: var(--transition-smooth);
}

.form-textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .grid {
        gap: 1rem;
    }
    
    .text-4xl {
        font-size: 2rem;
    }
    
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-6xl {
        font-size: 3rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid hsl(var(--primary));
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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








