/* ==========================================================================
   MODELOS DE EXEMPLO - ESTILOS COMPARTILHADOS
   ========================================================================== */

/* Fonts Import */

:root {
    /* Color Tokens */
    --color-dark: #07090E;
    --color-dark-card: #0D111A;
    --color-primary: #3B82F6;     /* Royal Blue */
    --color-secondary: #A855F7;   /* Neon Purple */
    --color-accent: #06B6D4;      /* Cyan Accent */
    --color-success: #10B981;     /* Emerald Green */
    --color-text-white: #FFFFFF;
    --color-text-muted: #94A3B8;  /* Cool Gray */
    --color-border: rgba(255, 255, 255, 0.08);

    /* Fonts */
    --font-display: 'Outfit', sans-serif;
    --font-sans: 'Inter', sans-serif;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-dark);
    color: var(--color-text-white);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 80px 0;
    position: relative;
}

/* Back navigation header */
.demo-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.demo-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.demo-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.demo-back-btn:hover {
    color: var(--color-text-white);
    transform: translateX(-3px);
}

.demo-title-badge {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--color-primary);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.demo-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-success);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.demo-cta-btn:hover {
    background: #059669;
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(13, 17, 26, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    padding: 2.25rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Tech Grid & Glow backgrounds */
.tech-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    opacity: 0.02;
    background-image: 
        linear-gradient(var(--color-primary) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-primary) 1px, transparent 1px);
    background-size: 50px 50px;
}

.glow-spot {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.12;
}

/* Text Gradients */
.grad-text {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grad-text-purple {
    background: linear-gradient(135deg, #A855F7 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.85rem 2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    font-size: 0.9375rem;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-text-white);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-accent {
    background: var(--color-accent);
    color: var(--color-dark);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-accent:hover {
    background: #0891B2;
    color: var(--color-text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Footer style for demos */
.demo-footer {
    border-top: 1px solid var(--color-border);
    padding: 3rem 0;
    text-align: center;
    background: #040508;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Success Modal Styles (Simulated forms) */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 8, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.success-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.success-modal-content {
    background: var(--color-dark-card);
    border: 1px solid var(--color-border);
    padding: 3rem;
    border-radius: 1.5rem;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.success-modal.show .success-modal-content {
    transform: scale(1);
}

.success-icon {
    width: 70px;
    height: 70px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin: 0 auto 1.5rem auto;
    border: 2px solid var(--color-success);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    color: var(--color-text-white);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(59, 130, 246, 0.02);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

/* Responsive constraints */
@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
}
