/* ===== VARIABLES ===== */
:root {
    /* Oracle Colors */
    --oracle-red: #FF0000;
    --oracle-blue: #0073C7;
    --oracle-dark-blue: #1E3A8A;
    
    /* Tech Colors */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --tech-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --oracle-gradient: linear-gradient(135deg, var(--oracle-red) 0%, var(--oracle-blue) 100%);
    
    /* Neutral Colors */
    --dark-bg: #0a0e27;
    --darker-bg: #050814;
    --light-bg: #f8fafc;
    --text-light: #e2e8f0;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    
    /* Terminal Colors */
    --terminal-bg: #1a1a1a;
    --terminal-green: #00ff00;
    --terminal-blue: #0099ff;
    --terminal-yellow: #ffff00;
    
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --section-padding: 100px 0;
    --border-radius: 12px;
    --box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.section-padding {
    padding: var(--section-padding);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.gradient-text {
    background: var(--oracle-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-family: var(--font-mono);
    font-weight: 600;
    text-decoration: none;
}

.brand-text {
    font-size: 1.5rem;
    color: var(--terminal-green);
    display: block;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--terminal-blue);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--tech-gradient);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    margin-top: 80px;
    min-height: 100vh;
    background: var(--dark-bg);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/ai-tech-bg.jpg') center/cover;
    opacity: 0.1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    color: var(--terminal-blue);
    font-size: 2rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; }
.floating-icon:nth-child(3) { top: 30%; left: 70%; animation-delay: 2s; }
.floating-icon:nth-child(4) { top: 80%; left: 20%; animation-delay: 3s; }
.floating-icon:nth-child(5) { top: 10%; left: 60%; animation-delay: 4s; }
.floating-icon:nth-child(6) { top: 70%; left: 40%; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.terminal-window {
    background: var(--terminal-bg);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.terminal-header {
    background: #333;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close { background: #ff5f56; }
.btn-minimize { background: #ffbd2e; }
.btn-maximize { background: #27ca3f; }

.terminal-title {
    color: var(--text-light);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.terminal-body {
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.terminal-line {
    margin-bottom: 0.5rem;
}

.prompt {
    color: var(--terminal-green);
    margin-right: 0.5rem;
}

.command {
    color: var(--terminal-blue);
}

.terminal-output {
    margin-top: 1rem;
}

.output-line {
    color: var(--text-light);
    margin-bottom: 0.3rem;
    opacity: 0;
    animation: typewriter 0.5s ease forwards;
}

.output-line:nth-child(1) { animation-delay: 1s; }
.output-line:nth-child(2) { animation-delay: 2s; }
.output-line:nth-child(3) { animation-delay: 3s; }
.output-line:nth-child(4) { animation-delay: 4s; }

.output-line.success {
    color: var(--terminal-green);
}

@keyframes typewriter {
    to { opacity: 1; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--terminal-blue);
    margin-bottom: 1.5rem;
    min-height: 2rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 2rem;
}

.fa-icon {
    width: 60px;
    height: 60px;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--oracle-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
}

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

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down {
    color: var(--text-light);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== CONCEPT CARDS ===== */
.concept-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.concept-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.concept-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.ai-card .concept-icon {
    background: var(--primary-gradient);
}

.ds-card .concept-icon {
    background: var(--tech-gradient);
}

.concept-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.concept-features {
    margin-top: 1.5rem;
}

.feature-tag {
    display: inline-block;
    background: var(--light-bg);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 0.2rem;
    font-weight: 500;
}

/* ===== TECH CARDS ===== */
.tech-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tech-card.oracle-highlight {
    border-color: var(--oracle-red);
    position: relative;
}

.tech-card.oracle-highlight::before {
    content: 'Destaque';
    position: absolute;
    top: -10px;
    right: 1rem;
    background: var(--oracle-gradient);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--oracle-blue);
}

.tech-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* ===== APPLICATION CARDS ===== */
.application-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--oracle-red);
}

.application-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--oracle-gradient);
    color: white;
    padding: 4rem 0;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--oracle-blue);
    box-shadow: 0 0 0 3px rgba(0, 115, 199, 0.1);
}

.contact-info {
    text-align: center;
    padding: 1rem;
}

.contact-info i {
    color: var(--oracle-blue);
    margin-bottom: 1rem;
}

.contact-info h5 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-info a {
    color: var(--oracle-blue);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 0 2rem;
}

.footer-content h4 {
    font-family: var(--font-mono);
    color: var(--terminal-green);
    margin-bottom: 1rem;
}

.social-links {
    margin: 2rem 0;
}

.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--oracle-gradient);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .terminal-window {
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1rem;
    }
    
    .floating-icon {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .terminal-body {
        font-size: 0.8rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== UTILITY CLASSES ===== */
.bg-light {
    background-color: var(--light-bg) !important;
}

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

.text-primary {
    color: var(--oracle-blue) !important;
}

.text-danger {
    color: var(--oracle-red) !important;
}



/* ===== ADDITIONAL COMPONENTS STYLES ===== */

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 4px solid;
}

.notification-success .notification-content {
    border-left-color: #10b981;
    color: #065f46;
}

.notification-error .notification-content {
    border-left-color: #ef4444;
    color: #991b1b;
}

.notification-info .notification-content {
    border-left-color: var(--oracle-blue);
    color: var(--oracle-dark-blue);
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.notification-close:hover {
    opacity: 1;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--oracle-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.terminal-loader {
    background: var(--terminal-bg);
    border-radius: var(--border-radius);
    width: 400px;
    max-width: 90vw;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.terminal-loader .terminal-header {
    background: #333;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.terminal-loader .terminal-body {
    padding: 2rem;
    font-family: var(--font-mono);
}

.loading-text {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.loading-text .prompt {
    color: var(--terminal-green);
    margin-right: 0.5rem;
}

.loading-command {
    color: var(--terminal-blue);
}

.loading-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: var(--terminal-green);
    width: 0;
    animation: loadingProgress 2s ease-in-out forwards;
}

@keyframes loadingProgress {
    to { width: 100%; }
}

/* Easter Egg */
.easter-egg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}

.easter-egg-content {
    background: var(--terminal-bg);
    color: var(--text-light);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 500px;
    margin: 2rem;
}

.easter-egg-content h3 {
    color: var(--terminal-green);
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.matrix-rain span {
    position: absolute;
    color: var(--terminal-green);
    font-family: var(--font-mono);
    font-size: 1rem;
    animation: matrixFall linear infinite;
    opacity: 0.7;
}

@keyframes matrixFall {
    0% {
        transform: translateY(-100vh);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Navbar Scrolled State */
.navbar-scrolled {
    background: rgba(10, 14, 39, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Enhanced Hover Effects */
.tech-card:hover .tech-icon,
.application-card:hover .app-icon,
.concept-card:hover .concept-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Loading States */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Terminal Effects */
.terminal-line {
    position: relative;
}

.terminal-line::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--terminal-green);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .terminal-loader {
        width: 350px;
    }
    
    .easter-egg-content {
        padding: 2rem;
        margin: 1rem;
    }
}

@media (max-width: 576px) {
    .terminal-loader {
        width: 300px;
    }
    
    .terminal-loader .terminal-body {
        padding: 1.5rem;
        font-size: 0.8rem;
    }
    
    .easter-egg-content {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-to-top,
    .notification,
    #preloader,
    .easter-egg {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .floating-elements {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --text-muted: #000;
        --border-radius: 4px;
    }
    
    .tech-card,
    .application-card,
    .concept-card {
        border: 2px solid #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-icon {
        animation: none;
    }
    
    .scroll-down {
        animation: none;
    }
}

