/* ===== ROOT VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #410741;
    --secondary-color: #ff6b6b;
    --accent-color: #410741;
    --bg-dark: #f8fafc;
    --bg-darker: #ffffff;
    --bg-card: rgba(0, 0, 0, 0.05);
    --text-primary: var(--secondary-color, #096438);
    --text-secondary: var(--secondary-color, #096438);
    --text-muted: var(--secondary-color, #096438);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #410741 0%, #410741 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    --gradient-glow: linear-gradient(135deg, #410741, #410741, #ff6b6b);
    --gradient-dark: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    
    /* Shadows */
    --shadow-glow: 0 0 30px rgba(65, 7, 65, 0.3);
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.4);
    
    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-display: 'Orbitron', monospace;
    
    /* Spacing */
    --container-padding: 2rem;
    --section-padding: 6rem 0;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-darker);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-cube {
    width: 80px;
    height: 80px;
    position: relative;
    margin: 0 auto 2rem;
    transform-style: preserve-3d;
    animation: rotateCube 3s infinite linear;
}

.cube-face {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    opacity: 0.8;
    border: 2px solid var(--primary-color);
}

.cube-face.front { transform: rotateY(0deg) translateZ(40px); }
.cube-face.back { transform: rotateY(180deg) translateZ(40px); }
.cube-face.right { transform: rotateY(90deg) translateZ(40px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(40px); }
.cube-face.top { transform: rotateX(90deg) translateZ(40px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(40px); }

@keyframes rotateCube {
    0% { transform: rotateX(0) rotateY(0); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.loading-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
}

.loading-text span {
    display: inline-block;
    opacity: 0;
    animation: letterGlow 2s infinite;
}

.loading-text span:nth-child(1) { animation-delay: 0.1s; }
.loading-text span:nth-child(2) { animation-delay: 0.2s; }
.loading-text span:nth-child(3) { animation-delay: 0.3s; }
.loading-text span:nth-child(4) { animation-delay: 0.4s; }
.loading-text span:nth-child(6) { animation-delay: 0.6s; }
.loading-text span:nth-child(7) { animation-delay: 0.7s; }
.loading-text span:nth-child(8) { animation-delay: 0.8s; }
.loading-text span:nth-child(9) { animation-delay: 0.9s; }
.loading-text span:nth-child(10) { animation-delay: 1.0s; }
.loading-text span:nth-child(11) { animation-delay: 1.1s; }
.loading-text span:nth-child(12) { animation-delay: 1.2s; }

@keyframes letterGlow {
    0%, 100% { 
        opacity: 0.3; 
        color: var(--text-secondary);
        text-shadow: none;
    }
    50% { 
        opacity: 1; 
        color: var(--primary-color);
        text-shadow: 0 0 20px var(--primary-color);
    }
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: loadProgress 3s ease-in-out infinite;
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}


/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(248, 250, 252, 0.95);
    box-shadow: var(--shadow-glow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color, #431748);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    animation: brandPulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.brand-icon:hover {
    background: #0a5b0a;
}

@keyframes brandPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(65, 7, 65, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(65, 7, 65, 0); }
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-2px);
}

.nav-link i {
    font-size: 1.1rem;
}

.nav-link span {
    text-transform: uppercase;
}

.nav-extras {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    animation: floatShapes 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    top: 60%;
    right: -5%;
    animation-delay: -7s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.1) 0%, transparent 70%);
    bottom: 30%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes floatShapes {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 0 2rem;
    margin: 0 auto;
    gap: 3rem;
}

.hero-text {
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    position: relative;
}

.title-line {
    display: block;
    position: relative;
    overflow: hidden;
}

.title-line::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(-100%);
    animation: textReveal 1s ease-out forwards;
}

.title-line:nth-child(1)::after { animation-delay: 0.2s; }
.title-line:nth-child(2)::after { animation-delay: 0.4s; }
.title-line:nth-child(3)::after { animation-delay: 0.6s; }

@keyframes textReveal {
    to { transform: translateX(0); }
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
    justify-content: center;
    align-items: center;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-primary {
    background: var(--primary-color, #431748);
    color: white;
    box-shadow: 0 0 30px rgba(67, 23, 72, 0.3);
}

.btn-primary:hover {
    background: #0a5b0a;
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(10, 91, 10, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color, #431748);
    border: 2px solid var(--primary-color, #431748);
}

.btn-outline::before {
    background: var(--primary-color, #431748);
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    background: var(--secondary-color, #0a5b0a);
    color: white;
    border-color: var(--secondary-color, #0a5b0a);
    transform: translateY(-3px);
}


.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    animation: fadeInUp 1s ease-out 1.5s forwards;
    opacity: 0;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    position: relative;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { transform: translateY(-20px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(30px); opacity: 0; }
}

/* ===== REFERENCES SECTION ===== */
.references-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(65, 7, 65, 0.05) 0%, rgba(255, 107, 107, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.references-slider {
    width: 100%;
    overflow: hidden;
    margin-top: 3rem;
    position: relative;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
}

.references-track {
    display: flex;
    animation: slideReferences 30s linear infinite;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    width: fit-content;
}

@keyframes slideReferences {
    0% {
        transform: translateX(25%);
    }
    50% {
        transform: translateX(-25%);
    }
    100% {
        transform: translateX(25%);
    }
}

.reference-item {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-logo {
    width: 180px;
    height: 120px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reference-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
    filter: blur(10px);
}

.reference-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.reference-logo:hover::before {
    opacity: 0.1;
}

.reference-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.reference-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.reference-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-align: center;
}

.reference-placeholder i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.reference-placeholder span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* No References State */
.no-references {
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.no-references-visual {
    position: relative;
    margin-bottom: 3rem;
    display: inline-block;
}

.no-references h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.no-references p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== BRANDS SECTION ===== */
.brands-section {
    padding: var(--section-padding);
    position: relative;
}

.brands-carousel-container {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -25px;
}

.carousel-next {
    right: -25px;
}

.brands-carousel {
    overflow: hidden;
    width: 100%;
}

.brands-grid {
    display: flex;
    transition: transform 0.5s ease;
    gap: 3rem;
    width: 100%;
    min-width: 100%;
}

.brands-grid .brand-card {
    flex: 0 0 calc(33.333% - 2rem);
    min-width: 350px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: var(--primary-color);
    opacity: 0.8;
}

.brand-card {
    position: relative;
    height: 500px;
    perspective: 1000px;
    cursor: pointer;
}

.brand-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.brand-card.flipped .brand-card-inner {
    transform: rotateY(180deg);
}

.brand-card-front,
.brand-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-card-back {
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-header {
    padding: 2rem;
    text-align: center;
}

.brand-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    overflow: hidden;
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-preview {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
}

.brand-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    padding: 2rem;
}

.preview-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
}

.brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.brand-card:hover .brand-overlay {
    opacity: 1;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--primary-color, #431748);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: #0a5b0a;
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(10, 91, 10, 0.5);
}

.brand-details {
    padding: 3rem;
    max-width: 350px;
}

.brand-details h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-details p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.brand-features {
    margin-bottom: 2rem;
}

.brand-features .feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.brand-features .feature i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.brand-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-glow);
    border-radius: 20px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
    filter: blur(10px);
}

.brand-card:hover .brand-glow {
    opacity: 0.3;
}

/* ===== NO BRANDS STATE ===== */
.no-brands {
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.no-brands-visual {
    position: relative;
    margin-bottom: 3rem;
    display: inline-block;
}

.empty-state-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.empty-state-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.empty-state-rings .ring {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    animation: ringExpand 3s ease-in-out infinite;
}

.ring-1 {
    width: 140px;
    height: 140px;
    top: -70px;
    left: -70px;
    border-color: var(--primary-color);
    animation-delay: 0s;
}

.ring-2 {
    width: 180px;
    height: 180px;
    top: -90px;
    left: -90px;
    border-color: var(--accent-color);
    animation-delay: 0.5s;
}

.ring-3 {
    width: 220px;
    height: 220px;
    top: -110px;
    left: -110px;
    border-color: var(--secondary-color);
    animation-delay: 1s;
}

@keyframes ringExpand {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.no-brands h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.no-brands p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(255, 107, 107, 0.05) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-features .feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.about-features .feature i {
    width: 60px;
    height: 60px;
    background: var(--primary-color, #431748);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.about-features .feature i:hover {
    background: #0a5b0a;
}

.about-features .feature div h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
}

.about-features .feature div p {
    color: var(--text-secondary);
    margin: 0;
}

/* ===== TECH ORBIT ===== */
.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-orbit {
    position: relative;
    width: 400px;
    height: 400px;
    animation: orbitRotate 30s linear infinite;
}

@keyframes orbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: orbitReverse 30s linear infinite;
}

@keyframes orbitReverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.orbit-1 {
    width: 150px;
    height: 150px;
    top: 125px;
    left: 125px;
}

.orbit-2 {
    width: 250px;
    height: 250px;
    top: 75px;
    left: 75px;
}

.orbit-3 {
    width: 350px;
    height: 350px;
    top: 25px;
    left: 25px;
}


.tech-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation: centerPulse 3s ease-in-out infinite;
}

@keyframes centerPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
    }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-top: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-item {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color, #431748);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    background: #0a5b0a;
}

.contact-details h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .about-content {
        gap: 4rem;
    }
    
    .contact-content {
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 3rem 0;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: 60px;
        min-height: 100vh;
        padding-bottom: 2rem;
    }
    
    .hero-content {
        gap: 2rem;
        padding: 1rem 1rem 1rem;
        justify-content: center;
        min-height: calc(100vh - 60px);
    }
    
    .hero-text {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
        word-break: break-word;
        hyphens: auto;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
        line-height: 1.6;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 1.2rem;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 1.2rem 2rem;
        font-size: 1rem;
        border-radius: 15px;
        min-height: 56px;
    }
    
    .section-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .reference-card {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    .reference-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .reference-author {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .author-info {
        text-align: center;
    }
    
    .brands-grid {
        display: flex;
        gap: 2rem;
    }
    
    .brands-grid .brand-card {
        flex: 0 0 100%;
        min-width: 300px;
        height: 450px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: -20px;
    }
    
    .carousel-next {
        right: -20px;
    }
    
    .brand-details {
        padding: 2rem 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .about-features .feature {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .tech-orbit {
        width: 280px;
        height: 280px;
    }
    
    .orbit-1 { width: 100px; height: 100px; top: 90px; left: 90px; }
    .orbit-2 { width: 180px; height: 180px; top: 50px; left: 50px; }
    .orbit-3 { width: 260px; height: 260px; top: 10px; left: 10px; }
    
    .nav-container {
        padding: 0.8rem var(--container-padding);
    }
    
    .brand-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .brand-title {
        font-size: 1.2rem;
    }
    
    .brand-subtitle {
        font-size: 0.7rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 0.8rem;
        --section-padding: 2.5rem 0;
    }
    
    .hero {
        padding-top: 70px;
        min-height: 85vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .section-description {
        font-size: 0.9rem;
        padding: 0 0.5rem;
        line-height: 1.6;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .reference-card {
        padding: 1.5rem 1rem;
        margin: 0 0.2rem;
    }
    
    .reference-text {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .reference-stars i {
        font-size: 1rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-info span {
        font-size: 0.8rem;
    }
    
    .brand-card {
        height: 380px;
        margin: 0 0.2rem;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .stat-item {
        padding: 1.2rem 0.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .contact-form {
        padding: 1.2rem;
        margin: 0 0.5rem;
        border-radius: 15px;
    }
    
    .contact-item {
        gap: 0.8rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-details h4 {
        font-size: 1.1rem;
    }
    
    .contact-details p {
        font-size: 0.95rem;
    }
    
    .about-features .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
    }
    
    .about-features .feature i {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .about-features .feature div h4 {
        font-size: 1.1rem;
    }
    
    .about-features .feature div p {
        font-size: 0.9rem;
    }
    
    .nav-container {
        padding: 0.4rem var(--container-padding);
    }
    
    .brand-text {
        display: none;
    }
    
    .brand-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
    }
    
    .footer-column h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-column ul li a {
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .loading-text {
        font-size: 1.5rem;
    }
    
    .loading-cube {
        width: 60px;
        height: 60px;
    }
    
    .cube-face {
        width: 60px;
        height: 60px;
    }
    
    .loading-bar {
        width: 250px;
    }
    
    .brand-details {
        padding: 1.5rem 1rem;
    }
    
    .brand-details h3 {
        font-size: 1.5rem;
    }
    
    .brand-details p {
        font-size: 0.9rem;
    }
    
    .view-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 1rem;
    }
    
    .form-group label {
        font-size: 1rem;
    }
}

/* ===== EXTRA SMALL SCREENS ===== */
@media (max-width: 360px) {
    :root {
        --container-padding: 0.6rem;
        --section-padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-buttons .btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .brand-card {
        height: 350px;
    }
    
    .contact-form {
        padding: 1rem;
        margin: 0 0.3rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .nav-container {
        padding: 0.3rem var(--container-padding);
    }
    
    .brand-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* ===== ANIMATIONS & TRANSITIONS ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Intersection Observer Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--text-primary);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--text-primary);
}

/* ===== NOTIFICATIONS ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-success {
    border-left: 4px solid var(--accent-color);
}

.notification-success i {
    color: var(--accent-color);
}

.notification-error {
    border-left: 4px solid var(--secondary-color);
}

.notification-error i {
    color: var(--secondary-color);
}

.notification-info {
    border-left: 4px solid var(--primary-color);
}

.notification-info i {
    color: var(--primary-color);
}

/* ===== MOBILE MENU STYLES ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 80px);
        background: rgba(248, 250, 252, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 3rem;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 999;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.mobile-open {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 1.3rem;
        padding: 1.5rem 3rem;
        width: 80%;
        text-align: center;
        border: 2px solid rgba(65, 7, 65, 0.2);
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        color: var(--text-primary);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--gradient-primary);
        color: white;
        border-color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(65, 7, 65, 0.3);
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* ===== FORM VALIDATION STYLES ===== */
.form-group.focused label {
    top: -0.5rem;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.form-group.valid input,
.form-group.valid textarea {
    border-bottom-color: var(--accent-color);
}

.form-group.valid label {
    color: var(--accent-color);
}

.form-group.error input,
.form-group.error textarea {
    border-bottom-color: var(--secondary-color);
}

.form-group.error label {
    color: var(--secondary-color);
}

.form-group.valid .form-line {
    background: var(--accent-color);
}

.form-group.error .form-line {
    background: var(--secondary-color);
}

/* ===== EASTER EGG - RAINBOW MODE ===== */
.rainbow-mode {
    animation: rainbowBackground 3s ease-in-out infinite;
}

@keyframes rainbowBackground {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(360deg); }
}

@keyframes rainbow-glow {
    0%, 100% { 
        box-shadow: 0 0 30px #ff0000, 0 0 60px #ff0000;
        border-color: #ff0000;
    }
    16% { 
        box-shadow: 0 0 30px #ff8000, 0 0 60px #ff8000;
        border-color: #ff8000;
    }
    33% { 
        box-shadow: 0 0 30px #ffff00, 0 0 60px #ffff00;
        border-color: #ffff00;
    }
    50% { 
        box-shadow: 0 0 30px #00ff00, 0 0 60px #00ff00;
        border-color: #00ff00;
    }
    66% { 
        box-shadow: 0 0 30px #00ffff, 0 0 60px #00ffff;
        border-color: #00ffff;
    }
    83% { 
        box-shadow: 0 0 30px #0080ff, 0 0 60px #0080ff;
        border-color: #0080ff;
    }
}

/* ===== DARK THEME ===== */
.dark-theme {
    --bg-dark: #0a0a0f;
    --bg-darker: #05050a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-primary: var(--secondary-color, #096438);
    --text-secondary: var(--secondary-color, #096438);
    --text-muted: var(--secondary-color, #096438);
}

.dark-theme .navbar {
    background: rgba(248, 247, 250, 0.9);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.dark-theme .navbar.scrolled {
    background: rgba(248, 247, 250, 0.95);
}

/* ===== LIGHT THEME ===== */
.light-theme {
    --bg-dark: #f8fafc;
    --bg-darker: #ffffff;
    --bg-card: rgba(0, 0, 0, 0.05);
    --text-primary: var(--secondary-color, #096438);
    --text-secondary: var(--secondary-color, #096438);
    --text-muted: var(--secondary-color, #096438);
}


.light-theme .navbar {
    background: rgba(248, 250, 252, 0.9);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.light-theme .navbar.scrolled {
    background: rgba(248, 250, 252, 0.95);
}

/* ===== ADDITIONAL ANIMATIONS ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes flipInX {
    from {
        opacity: 0;
        transform: perspective(400px) rotateX(90deg);
    }
    to {
        opacity: 1;
        transform: perspective(400px) rotateX(0deg);
    }
}

@keyframes flipInY {
    from {
        opacity: 0;
        transform: perspective(400px) rotateY(90deg);
    }
    to {
        opacity: 1;
        transform: perspective(400px) rotateY(0deg);
    }
}

/* ===== LOADING ENHANCEMENTS ===== */
.loading-screen {
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, var(--bg-darker) 70%);
}

.loading-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: rotateBackground 20s linear infinite;
    z-index: -1;
}

@keyframes rotateBackground {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== SCROLL ENHANCEMENTS ===== */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2300d4ff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    animation: gridMove 20s linear infinite;
    z-index: -1;
}

@keyframes gridMove {
    from { transform: translate(0, 0); }
    to { transform: translate(10px, 10px); }
}

/* ===== HIGH PERFORMANCE ANIMATIONS ===== */
.brand-card,
.stat-item,
.contact-item {
    will-change: transform, opacity;
}

.loading-cube,
.hero-hologram,
.tech-orbit {
    will-change: transform;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.social-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.3);
}

/* ===== HERO LOGO STYLES ===== */
.hero-logo {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.hero-logo-image {
    max-width: 200px;
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.3));
    transition: all 0.3s ease;
}

.hero-logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.5));
}

@media (max-width: 768px) {
    .hero-logo-image {
        max-width: 150px;
        max-height: 90px;
    }
}

@media (max-width: 480px) {
    .hero-logo-image {
        max-width: 120px;
        max-height: 70px;
    }
}

/* ===== GLOBAL HOVER EFFECTS FOR #431748 COLOR ===== */
*[style*="#431748"]:hover,
.btn-outline:hover,
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover,
.brand-name:hover,
.brand-details h3:hover,
.contact-details h4:hover,
.footer-column h4:hover,
.about-features .feature div h4:hover {
    color: #0a5b0a !important;
    transition: color 0.3s ease;
}

/* Specific hover effects for elements with #431748 color */
.btn-outline {
    color: var(--primary-color, #431748);
    border-color: var(--primary-color, #431748);
}

.btn-outline:hover {
    color: var(--secondary-color, #0a5b0a);
    border-color: var(--secondary-color, #0a5b0a);
}

/* ===== PRINT STYLES ===== */
@media print {
    .loading-screen,
    .navbar,
    .scroll-indicator,
    .floating-elements,
    .hero-hologram,
    .tech-orbit {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero,
    .stats-section,
    .brands-section,
    .about-section,
    .contact-section {
        page-break-inside: avoid;
    }
}
