:root {
    --primary-color: #030213;
    --secondary-color: #7BAE9E;
    --text-color: #ffffff;
    --bg-color: #000000;
    --font-main: 'Inter', sans-serif;

    /* Additional variables from theme.css */
    --font-size: 16px;
    --background: #ffffff;
    --foreground: #030213;
    --card: #ffffff;
    --card-foreground: #030213;
    --popover: #ffffff;
    --popover-foreground: #030213;
    --muted: #ececf0;
    --muted-foreground: #717182;
    --accent: #e9ebef;
    --accent-foreground: #030213;
    --destructive: #d4183d;
    --destructive-foreground: #ffffff;
    --border: rgba(0, 0, 0, 0.1);
    --input: transparent;
    --ring: #b4b4b4;
    --radius: 0.625rem;
}

body {
    font-family: var(--font-main);
    background-color: #ffffff;
    /* Default white for all pages */
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Page Index Specifics */
.page-index,
.page-index html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000000;
    /* Black for index */
}

.bg-black {
    background-color: black;
}

.text-white {
    color: white;
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8);
}

.hover-text-primary:hover {
    color: var(--secondary-color) !important;
}

/* Old button styles removed, centralized at bottom */

/* Navbar specific styles */
.navbar {
    transition: background-color 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid #E5E7EB;
}

.navbar.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.navbar .nav-link {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: #ffffff !important;
    /* Blanco puro para Index */
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #0df6fe !important;
    /* Teal al hover */
}

/* Navbar Inner (Secondary Pages) */
.navbar-inner .nav-link {
    color: #3E4C63 !important;
    /* Azul marino brand */
}

.navbar-inner .nav-link:hover,
.navbar-inner .nav-link.active {
    color: #0F6679 !important;
}

/* Hero Background Slider */
.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
    /* Suave */
    z-index: 0;
}

.hero-background.active {
    opacity: 1;
}

.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1.2s ease-in-out;
    opacity: 0;
    z-index: 1;
}

.hero-background.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.50) !important;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 6rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

/* Indicators */
.indicators-container {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 0.75rem;
}

.indicator {
    height: 0.25rem;
    background-color: rgba(229, 231, 235, 0.4);
    width: 2rem;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.indicator.active {
    width: 4rem;
    background-color: var(--secondary-color);
}

.indicator.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid rgba(123, 174, 158, 0.5);
}

/* Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.decorative-circle {
    position: absolute;
    border: 1px solid rgba(123, 174, 158, 0.2);
    border-radius: 50%;
    z-index: 5;
    animation: rotate 20s linear infinite;
}

.decorative-circle-small {
    position: absolute;
    border: 1px solid rgba(123, 174, 158, 0.1);
    border-radius: 50%;
    z-index: 5;
    animation: rotate 30s linear infinite reverse;
}

/* Color Utilities */
.text-indigo-900 {
    color: #312E81 !important;
}

.text-teal-500 {
    color: #7BAE9E !important;
}

.bg-indigo-900 {
    background-color: #312E81 !important;
}

.bg-teal-500 {
    background-color: #7BAE9E !important;
}

.bg-teal-500-hover:hover {
    background-color: #6A9D8D !important;
}

.border-teal-500 {
    border-color: #7BAE9E !important;
}

/* Custom Cursor */
.cursor-dot,
.cursor-dot-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    display: block !important;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #7BAE9E;
    /* Teal */
}

.cursor-dot-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(123, 174, 158, 0.5);
    /* Teal Outline */
    transition: transform 0.15s ease-out;
}

/* Glass Card - Dark Style */
.glass-card {
    background: rgba(15, 23, 42, 0.65);
    /* Dark blue/slate background, semi-transparent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: white;
}

/* Index Page Specifics */
.hero-title-small {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-text-small {
    font-size: 1.125rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Responsive Font Sizes */
@media (min-width: 992px) {
    .hero-title-small {
        font-size: 4.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title-small {
        font-size: 2.5rem;
    }

    .hero-text-small {
        font-size: 1rem;
    }

    .glass-card {
        margin-top: 2rem;
    }
}

/* Force Logo White */
.logo-white {
    filter: brightness(0) invert(1) !important;
    -webkit-filter: brightness(0) invert(1) !important;
}