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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-orbitron {
    font-family: 'Orbitron', monospace;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #FF0000, #0045FF);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #FF3333, #3366FF);
}

/* Animations */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes breath {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.02);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.shimmer {
    animation: shimmer 2s infinite;
}

.glow {
    animation: glow 3s ease-in-out infinite;
}

.breath {
    animation: breath 4s ease-in-out infinite;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    height: 40px;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Navigation */
.nav {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FF0000;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #FF0000, #0045FF);
    transition: width 0.3s ease;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover span {
    background: #FF0000;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #000 100%);
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
}

.bg-effect {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(3rem);
    animation: pulse 3s ease-in-out infinite;
}

.bg-effect-1 {
    top: 25%;
    left: 25%;
    background: rgba(255, 0, 0, 0.1);
}

.bg-effect-2 {
    bottom: 25%;
    right: 25%;
    background: rgba(0, 69, 255, 0.1);
    animation-delay: 1s;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 64rem;
    padding: 0 1rem;
}

.hero-title {
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-title-main {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(to right, #FF0000, #0045FF, #FF0000);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

@media (min-width: 640px) {
    .hero-title-main {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title-main {
        font-size: 4.5rem;
    }
}

.hero-title-sub {
    font-family: 'Inter', sans-serif;
    font-size: 1.875rem;
    color: white;
    display: block;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .hero-title-sub {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-title-sub {
        font-size: 3rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.5rem;
    }
}

/* CTA Button */
.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(to right, #dc2626, #2563eb);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1);
}

.cta-button:hover {
    background: linear-gradient(to right, #ef4444, #3b82f6);
    box-shadow: 0 25px 50px -12px rgba(255, 0, 0, 0.25);
}

.cta-button:active {
    transform: scale(0.95);
    background: linear-gradient(to right, #b91c1c, #1d4ed8);
    transition: all 0.1s ease;
}

.cta-button span {
    position: relative;
    z-index: 10;
}

.cta-arrow {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(0.25rem);
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #ef4444, #3b82f6);
    border-radius: 9999px;
    filter: blur(8px);
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.cta-button:hover .cta-glow {
    opacity: 1;
}

/* Brand Sections */
.brand-section {
    padding: 5rem 0;
}

.nubira-section {
    background: linear-gradient(to bottom, #000, #1a1a1a);
}

.nube-section {
    background: #1a1a1a;
}

.dma-section {
    background: linear-gradient(to bottom, #1a1a1a, #000);
}

.brand-card {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a, #000);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.5s ease;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .brand-card {
        padding: 3rem;
    }
}

.brand-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.nubira-card:hover {
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 25px 50px -12px rgba(255, 0, 0, 0.1);
}

.nube-card:hover {
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 25px 50px -12px rgba(0, 255, 255, 0.1);
}

.dma-card:hover {
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 25px 50px -12px rgba(255, 0, 0, 0.1);
}

.brand-glow {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.nubira-glow {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05), rgba(0, 69, 255, 0.05));
}

.nube-glow {
    background: linear-gradient(135deg, rgba(0, 69, 255, 0.05), rgba(0, 255, 255, 0.05));
}

.dma-glow {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05), rgba(255, 165, 0, 0.05));
}

.brand-card:hover .brand-glow {
    opacity: 1;
}

.brand-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.brand-logo-container {
    margin-bottom: 2rem;
}

.brand-logo-placeholder {
    width: 8rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
}

.nubira-logo {
    color: #60a5fa;
}

.nubira-logo img {
    max-width: 100%;
    height: auto;
}

.nube-logo {
    color: #22d3ee;
}

.nube-logo img {
    max-width: 100%;
    height: auto;
}

.dma-logo {
    color: #f87171;
}

.dma-logo img {
    height: 110px;
    width: auto;
    object-fit: contain; /* opcional: evita deformaciones raras */
}

.brand-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .brand-title {
        font-size: 3rem;
    }
}

.nubira-title {
    background: linear-gradient(to right, #60a5fa, #2563eb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nube-title {
    background: linear-gradient(to right, #22d3ee, #2563eb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dma-title {
    background: linear-gradient(to right, #f87171, #f97316);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-subtitle {
    font-size: 1.125rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.brand-divider {
    width: 6rem;
    height: 4px;
    margin: 0 auto;
    border-radius: 9999px;
}

.nubira-divider {
    background: linear-gradient(to right, #2563eb, #dc2626);
}

.nube-divider {
    background: linear-gradient(to right, #06b6d4, #2563eb);
}

.dma-divider {
    background: linear-gradient(to right, #dc2626, #f97316);
}

.brand-description {
    font-size: 1.5rem;
    color: #e5e7eb;
    margin-bottom: 1rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .brand-description {
        font-size: 1.875rem;
    }
}

.brand-subdescription {
    font-size: 1.125rem;
    color: #9ca3af;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .brand-subdescription {
        font-size: 1.25rem;
    }
}

/* Brand Buttons */
.brand-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    background: transparent;
    border: 2px solid;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: none;
}

.brand-button:hover {
    /* Hover effects without scaling */
}

.nubira-button {
    border-color: #2563eb;
}

.nubira-button:hover {
    background: #2563eb;
}

.nubira-button:active {
    transform: scale(0.95);
    background: #1d4ed8;
    transition: all 0.1s ease;
}

.nube-button {
    border-color: #06b6d4;
}

.nube-button:hover {
    background: #06b6d4;
}

.nube-button:active {
    transform: scale(0.95);
    background: #0891b2;
    transition: all 0.1s ease;
}

.dma-button {
    border-color: #dc2626;
}

.dma-button:hover {
    background: #dc2626;
}

.dma-button:active {
    transform: scale(0.95);
    background: #b91c1c;
    transition: all 0.1s ease;
}

.brand-button span {
    position: relative;
    z-index: 10;
}

.brand-arrow {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.brand-button:hover .brand-arrow {
    transform: translateX(0.25rem);
}

.brand-button-glow {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nubira-button-glow {
    background: #2563eb;
}

.nube-button-glow {
    background: #06b6d4;
}

.dma-button-glow {
    background: #dc2626;
}

.brand-button:hover .brand-button-glow {
    opacity: 0.25;
}

/* Vision Section */
.vision-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #000, #1a1a1a, #000);
}

.vision-content {
    text-align: center;
    max-width: 96rem;
    margin: 0 auto;
}

.vision-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: white;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .vision-title {
        font-size: 2.25rem;
    }
}

.vision-highlight {
    background: linear-gradient(to right, #dc2626, #2563eb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quote-container {
    position: relative;
    margin-bottom: 4rem;
}

.quote-mark {
    position: absolute;
    font-size: 4rem;
    font-family: serif;
    opacity: 0.3;
}

.quote-mark-left {
    top: -1rem;
    left: -1rem;
    color: #dc2626;
}

.quote-mark-right {
    bottom: -1rem;
    right: -1rem;
    color: #2563eb;
}

.vision-quote {
    font-size: 1.25rem;
    color: #e5e7eb;
    line-height: 1.6;
    max-width: 64rem;
    margin: 0 auto;
    font-weight: 300;
}

@media (min-width: 640px) {
    .vision-quote {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .vision-quote {
        font-size: 1.875rem;
    }
}

.quote-highlight-red {
    color: #f87171;
}

.quote-highlight-blue {
    color: #60a5fa;
}

.quote-highlight-gradient {
    background: linear-gradient(to right, #dc2626, #2563eb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.vision-decorative {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.vision-bar {
    width: 2px;
    border-radius: 9999px;
}

.vision-bar-1 {
    height: 4rem;
    background: linear-gradient(to bottom, #dc2626, transparent);
}

.vision-bar-2 {
    height: 5rem;
    background: linear-gradient(to bottom, #2563eb, transparent);
}

.vision-bar-3 {
    height: 4rem;
    background: linear-gradient(to bottom, #dc2626, transparent);
}

/* Footer */
.footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    height: 40px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.125rem;
    font-weight: bold;
}

.footer-studios-text {
    font-size: 0.625rem;
    font-weight: normal;
    fill: white;
    opacity: 0.9;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
    text-decoration: underline;
    text-decoration-color: #dc2626;
}

.footer-divider {
    width: 100%;
    max-width: 24rem;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-copyright {
    text-align: center;
    color: #9ca3af;
}

.footer-copyright p {
    font-size: 0.875rem;
}

.copyright-highlight {
    color: #f87171;
    margin: 0 0.25rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-icon-1 {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(0, 69, 255, 0.2));
}

.social-icon-1:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.4), rgba(0, 69, 255, 0.4));
}

.social-icon-2 {
    background: linear-gradient(135deg, rgba(0, 69, 255, 0.2), rgba(255, 0, 0, 0.2));
}

.social-icon-2:hover {
    background: linear-gradient(135deg, rgba(0, 69, 255, 0.4), rgba(255, 0, 0, 0.4));
}

.social-placeholder {
    width: 1rem;
    height: 1rem;
    background: white;
    border-radius: 2px;
}

/* Text Selection */
::selection {
    background: linear-gradient(to right, #FF0000, #0045FF);
    color: white;
}

::-moz-selection {
    background: linear-gradient(to right, #FF0000, #0045FF);
    color: white;
}

/* Responsive Design */
@media (max-width: 767px) {
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-title-sub {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .brand-title {
        font-size: 2rem;
    }
    
    .brand-description {
        font-size: 1.25rem;
    }
    
    .vision-quote {
        font-size: 1.125rem;
    }
}
