@import url("../styles/components/base.css");


body {
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Hero Section with Enhanced Animations */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 40px 20px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(108, 50, 172, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 93, 207, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(74, 34, 118, 0.3) 0%, transparent 50%);
    animation: glow 20s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Floating particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: float 15s infinite linear;
    box-shadow: 0 0 10px var(--primary-light);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 15s; }
.particle:nth-child(2) { left: 20%; animation-delay: -2s; animation-duration: 12s; }
.particle:nth-child(3) { left: 40%; animation-delay: -4s; animation-duration: 18s; }
.particle:nth-child(4) { left: 60%; animation-delay: -6s; animation-duration: 14s; }
.particle:nth-child(5) { left: 80%; animation-delay: -8s; animation-duration: 16s; }

@keyframes float {
    0%   { transform: translateY(110vh) rotate(0deg); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-50px) rotate(360deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light), #9d50bb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    margin-bottom: 24px;
    animation: titleGlow 3s ease-in-out infinite alternate, gradientShift 3s ease infinite;
    line-height: 1.2;
}

@keyframes titleGlow {
    0%   { filter: drop-shadow(0 0 20px rgba(108, 50, 172, 0.5)); }
    100% { filter: drop-shadow(0 0 40px rgba(139, 93, 207, 0.8)); }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(108, 50, 172, 0.4);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-cta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-cta:hover::before {
    width: 300px;
    height: 300px;
}

.hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(108, 50, 172, 0.5);
}

.hero-cta i {
    transition: transform 0.3s ease;
}

.hero-cta:hover i {
    transform: translateX(4px);
}

/* Partners Section */
.partners-section {
    padding: 8rem 2rem;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(26, 26, 26, 0.5) 100%);
}

.section-title {
    text-align: center;
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 0.8rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--primary-light), transparent);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(108, 50, 172, 0.4);
}

.section-title::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(1.1);
    width: 130px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(157, 80, 187, 0.3), rgba(108, 50, 172, 0.3), transparent);
    border-radius: 10px;
    filter: blur(3px);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.partner-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease forwards;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.partner-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(108, 50, 172, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.partner-card:hover::before {
    opacity: 1;
}

.partner-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px rgba(108, 50, 172, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.partner-logo {
    width: clamp(70px, 15vw, 100px);
    height: clamp(70px, 15vw, 100px);
    border-radius: 20px;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(108, 50, 172, 0.3);
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.partner-card:hover .partner-logo {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(108, 50, 172, 0.4);
}

.partner-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.partner-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: center;
    margin-top: auto;
    padding: 12px 28px;
    font-size: 0.95rem;
    border-radius: 12px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(108, 50, 172, 0.3);
    z-index: 10;
    position: relative;
    overflow: hidden;
}

.partner-link::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.partner-link:hover::before {
    width: 300px;
    height: 300px;
}

.partner-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(108, 50, 172, 0.4);
}

.partner-link i {
    transition: transform 0.3s ease;
}

.partner-link:hover i {
    transform: translateX(4px);
}

/* CTA Section */
.cta-section {
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--primary-dark) 100%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(108, 50, 172, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(108, 50, 172, 0.5);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.partner-card:nth-child(1) { animation-delay: 0s; }
.partner-card:nth-child(2) { animation-delay: 0.1s; }
.partner-card:nth-child(3) { animation-delay: 0.2s; }
.partner-card:nth-child(4) { animation-delay: 0.3s; }
.partner-card:nth-child(5) { animation-delay: 0.4s; }
.partner-card:nth-child(6) { animation-delay: 0.5s; }

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */

/* Large Desktop */
@media (max-width: 1400px) {
    .partners-grid {
        max-width: 1200px;
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .partners-section {
        padding: 6rem 2rem;
    }
    
    .cta-section {
        padding: 6rem 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Tablet Portrait and Mobile Landscape */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: calc(var(--header-height, 80px) + 2rem) 1rem 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .partners-section {
        padding: 4rem 1rem;
    }
    
    .cta-section {
        padding: 4rem 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 3rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .partner-card {
        padding: 2rem;
    }
    
    .partner-name {
        font-size: 1.3rem;
    }
    
    .partner-description {
        font-size: 1rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .hero {
        padding: calc(var(--header-height, 80px) + 1rem) 0.5rem 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-cta,
    .cta-button {
        width: calc(100% - 2rem);
        max-width: 300px;
        justify-content: center;
        padding: 12px 24px;
    }
    
    .partners-section {
        padding: 3rem 1rem;
    }
    
    .cta-section {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2.5rem;
    }
    
    .partner-card {
        padding: 1.5rem;
    }
    
    .partner-logo {
        width: 80px;
        height: 80px;
    }
    
    .partner-name {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .partner-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .partner-link {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .partner-logo {
        width: 70px;
        height: 70px;
    }
    
    .partner-name {
        font-size: 1.1rem;
    }
    
    .partner-description {
        font-size: 0.9rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .partner-card:hover {
        transform: translateY(-8px);
    }
    
    .hero-cta:hover,
    .cta-button:hover {
        transform: translateY(-2px);
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .partner-logo {
        image-rendering: -webkit-optimize-contrast;
    }
}