/* ============================================
   HOMEPAGE STYLES - Enterprise SaaS Platform
   ============================================ */

/* Hero Slider Section */
.hero-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg-pattern {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
    padding-top: 80px;
}

.slide-text {
    z-index: 1;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #818cf8;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.slide-badge.gradient-purple {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    color: #a78bfa;
}

.slide-badge.gradient-green {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.slide-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.text-gradient-blue {
    background: linear-gradient(135deg, #0070F2 0%, #6366F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-green {
    background: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.slide-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.slide-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.slide-feature svg {
    width: 20px;
    height: 20px;
    color: #10b981;
}

.slide-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.gradient-purple-btn {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
}

.gradient-green-btn {
    background: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
}

.slide-image {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.image-wrapper {
    position: relative;
    max-width: 100%;
}

.image-wrapper img {
    width: 100%;
    max-width: 600px;
    height: auto;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.floating-badge.badge-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.floating-badge.badge-2 {
    bottom: 20%;
    right: -10%;
    animation-delay: 2s;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.badge-value {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

/* BTP Visual */
.btp-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 2rem;
}

.btp-icon svg {
    width: 120px;
    height: 120px;
    color: #8B5CF6;
}

.btp-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btp-module {
    padding: 0.75rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.75rem;
    font-weight: 600;
    color: #a78bfa;
}

/* ECC Visual */
.ecc-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 3rem;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 2rem;
    min-width: 400px;
}

.ecc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.ecc-header span:first-child {
    font-size: 2rem;
    font-weight: 800;
    color: #34d399;
}

.ecc-version {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.ecc-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.ecc-module {
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.75rem;
    text-align: center;
    font-weight: 600;
    color: #34d399;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-dot.active {
    background: #0070F2;
    width: 32px;
    border-radius: 6px;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive */
@media (max-width: 1024px) {
    .slide-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .slide-image {
        order: -1;
    }
    
    .slide-features {
        justify-content: center;
    }
    
    .slide-actions {
        justify-content: center;
    }
    
    .floating-badge {
        display: none;
    }
    
    .ecc-visual {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-prev {
        left: 1rem;
    }
    
    .slider-next {
        right: 1rem;
    }
    
    .slide-features {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btp-visual,
    .ecc-visual {
        padding: 2rem;
    }
}

/* Hero Section (Legacy - Keep for reference) */
.hero {
    position: relative;
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #818cf8;
    margin-bottom: 1.5rem;
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.stat-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: #818cf8;
}

.stat-label {
    width: 100%;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    z-index: -1;
}

.hero-image {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-card {
    position: absolute;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    left: -30px;
    animation-delay: 3s;
}

.floating-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.floating-text {
    display: flex;
    flex-direction: column;
}

.floating-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.floating-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

/* Logo Cloud */
.logo-cloud {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-cloud-title {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.logo-item {
    opacity: 0.5;
    transition: opacity 0.3s ease;
    filter: grayscale(100%) brightness(200%);
}

.logo-item:hover {
    opacity: 0.8;
}

.logo-item img {
    height: 32px;
    width: auto;
}

/* Logo Slider */
.logo-slider-wrapper {
    overflow: hidden;
    padding: 1rem 0;
    position: relative;
}

.logo-slider-wrapper::before,
.logo-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #0a0a0f 0%, transparent 100%);
}

.logo-slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #0a0a0f 0%, transparent 100%);
}

.logo-slider {
    display: flex;
    width: 100%;
}

.logo-slide-track {
    display: flex;
    animation: scroll 40s linear infinite;
}

.logo-slide-track:hover {
    animation-play-state: paused;
}

.logo-slide {
    flex-shrink: 0;
    padding: 0 2rem;
}

.company-logo {
    height: 40px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%) brightness(150%);
    transition: all 0.3s ease;
}

.company-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(100%);
    transform: scale(1.05);
}

.module-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    min-width: 100px;
    transition: all 0.3s ease;
}

.module-logo:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-4px);
}

.module-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
    transition: transform 0.3s ease;
}

.module-logo:hover .module-icon {
    transform: scale(1.1);
}

.module-icon.fi { background: linear-gradient(135deg, #0070F2, #004B87); }
.module-icon.co { background: linear-gradient(135deg, #6366F1, #4F46E5); }
.module-icon.mm { background: linear-gradient(135deg, #EC4899, #DB2777); }
.module-icon.sd { background: linear-gradient(135deg, #10B981, #059669); }
.module-icon.pp { background: linear-gradient(135deg, #F0AB00, #D97706); }
.module-icon.wm { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.module-icon.hcm { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.module-icon.pm { background: linear-gradient(135deg, #EF4444, #DC2626); }
.module-icon.qm { background: linear-gradient(135deg, #F59E0B, #D97706); }
.module-icon.ps { background: linear-gradient(135deg, #14B8A6, #0D9488); }
.module-icon.ewm { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.module-icon.tm { background: linear-gradient(135deg, #84CC16, #65A30D); }
.module-icon.fiori { background: linear-gradient(135deg, #0070F2, #6366F1); }
.module-icon.bw { background: linear-gradient(135deg, #A78BFA, #8B5CF6); }
.module-icon.btp { background: linear-gradient(135deg, #EC4899, #F59E0B); }
.module-icon.abap { background: linear-gradient(135deg, #10B981, #3B82F6); }

.module-logo span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .module-logo {
        min-width: 80px;
        padding: 0.75rem;
    }
    
    .module-icon {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }
    
    .module-logo span {
        font-size: 0.625rem;
    }
    
    .logo-slide {
        padding: 0 0.75rem;
    }
}

/* Trusted By Section - Professional Design */
.trusted-by {
    padding: 5rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.03) 50%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.trusted-by::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.trusted-by::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.trusted-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.trusted-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #818cf8;
    margin-bottom: 1rem;
    letter-spacing: 0.025em;
}

.trusted-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.trusted-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.trusted-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.trusted-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0070F2, #6366F1, #8B5CF6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.trusted-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.trusted-card:hover::before {
    transform: scaleX(1);
}

.trusted-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.trusted-card:hover .trusted-logo {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

.trusted-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(150%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.trusted-card:hover .trusted-logo img {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
}

.trusted-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trusted-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.trusted-card:hover .trusted-name {
    color: #818cf8;
}

.trusted-users {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.trusted-card:hover .trusted-users {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
    .trusted-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .trusted-by {
        padding: 3rem 0;
    }
    
    .trusted-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .trusted-card {
        padding: 1rem;
    }
    
    .trusted-logo {
        width: 50px;
        height: 50px;
    }
    
    .trusted-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .trusted-grid {
        grid-template-columns: 1fr;
    }
}

/* Features Section */
.features {
    background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.03) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background-size: 300% 300%;
    animation: gradient-rotate 3s ease infinite;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}

/* Feature cards - different colors for each */
.feature-card:nth-child(1)::before,
.feature-card:nth-child(4)::before {
    background: linear-gradient(45deg, 
        #6366f1, 
        #ec4899, 
        #06b6d4, 
        #6366f1
    );
}

.feature-card:nth-child(2)::before,
.feature-card:nth-child(5)::before {
    background: linear-gradient(45deg, 
        #f59e0b, 
        #ef4444, 
        #ec4899, 
        #f59e0b
    );
}

.feature-card:nth-child(3)::before,
.feature-card:nth-child(6)::before {
    background: linear-gradient(45deg, 
        #22c55e, 
        #06b6d4, 
        #3b82f6, 
        #22c55e
    );
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(99, 102, 241, 0.2);
}

.feature-card:hover::before {
    animation: gradient-rotate 1.5s ease infinite;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.feature-card > * {
    position: relative;
    z-index: 2;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: #818cf8;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.feature-link {
    color: #818cf8;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.feature-link:hover {
    color: #a5b4fc;
}

/* SAP CTA Section */
.sap-cta {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(236, 72, 153, 0.03) 100%);
}

.sap-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sap-cta-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 1.5rem 0;
}

.sap-cta-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.sap-cta-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.sap-cta-list svg {
    color: #10b981;
    flex-shrink: 0;
}

.sap-systems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.sap-system-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.sap-system-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.sap-system-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 0.75rem;
}

.sap-system-icon.s4 {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.sap-system-icon.ecc {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.sap-system-icon.bw {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.sap-system-icon.btp {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.sap-system-name {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.sap-system-status {
    font-size: 0.875rem;
    color: #10b981;
}

/* Courses Preview */
.courses-preview {
    background: var(--bg-dark);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.course-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background-size: 300% 300%;
    animation: gradient-rotate 3s ease infinite;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}

/* First card - Purple/Pink/Cyan */
.course-card:nth-child(1)::before {
    background: linear-gradient(45deg, 
        #6366f1, 
        #ec4899, 
        #06b6d4, 
        #6366f1
    );
}

/* Second card - Orange/Red/Pink */
.course-card:nth-child(2)::before {
    background: linear-gradient(45deg, 
        #f59e0b, 
        #ef4444, 
        #ec4899, 
        #f59e0b
    );
}

/* Third card - Green/Teal/Blue */
.course-card:nth-child(3)::before {
    background: linear-gradient(45deg, 
        #22c55e, 
        #06b6d4, 
        #3b82f6, 
        #22c55e
    );
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(99, 102, 241, 0.2);
}

.course-card:hover::before {
    animation: gradient-rotate 1.5s ease infinite;
}

@keyframes gradient-rotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.course-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.75rem;
    background: #f59e0b;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
}

.course-badge.new {
    background: #10b981;
}

.course-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.course-image {
    position: relative;
    z-index: 2;
}

.course-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.course-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #818cf8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.course-level {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.course-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.course-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #fbbf24;
    font-size: 0.875rem;
}

.course-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.03) 0%, transparent 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background-size: 300% 300%;
    animation: gradient-rotate 3s ease infinite;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}

/* Testimonial cards - different colors for each */
.testimonial-card:nth-child(1)::before {
    background: linear-gradient(45deg, 
        #6366f1, 
        #ec4899, 
        #06b6d4, 
        #6366f1
    );
}

.testimonial-card:nth-child(2)::before {
    background: linear-gradient(45deg, 
        #f59e0b, 
        #ef4444, 
        #ec4899, 
        #f59e0b
    );
}

.testimonial-card:nth-child(3)::before {
    background: linear-gradient(45deg, 
        #22c55e, 
        #06b6d4, 
        #3b82f6, 
        #22c55e
    );
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(99, 102, 241, 0.2);
}

.testimonial-card:hover::before {
    animation: gradient-rotate 1.5s ease infinite;
}

/* Testimonial Card Gradient Variants */
.testimonial-card.gradient-blue {
    --testimonial-gradient-1: #6366f1;
    --testimonial-gradient-2: #8b5cf6;
    --testimonial-gradient-3: #ec4899;
    --testimonial-gradient-4: #f472b6;
}

.testimonial-card.gradient-green {
    --testimonial-gradient-1: #22c55e;
    --testimonial-gradient-2: #10b981;
    --testimonial-gradient-3: #06b6d4;
    --testimonial-gradient-4: #3b82f6;
}

.testimonial-card.gradient-orange {
    --testimonial-gradient-1: #f59e0b;
    --testimonial-gradient-2: #ef4444;
    --testimonial-gradient-3: #ec4899;
    --testimonial-gradient-4: #8b5cf6;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(99, 102, 241, 0.2);
}

.testimonial-card:hover::before {
    animation: gradient-rotate 1.5s ease infinite;
}

.testimonial-card > * {
    position: relative;
    z-index: 2;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    font-style: normal;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 40%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cta-guarantee {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Footer */
.main-footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: rgba(102, 126, 234, 0.2);
    color: var(--text-primary);
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-badges {
    display: flex;
    gap: 0.75rem;
}

.footer-badges .badge {
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-grid {
        gap: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .floating-card {
        display: none;
    }
    
    .sap-cta-grid {
        grid-template-columns: 1fr;
    }
    
    .sap-cta-visual {
        order: -1;
    }
    
    .courses-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid,
    .courses-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .sap-systems-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        text-align: center;
    }
}

/* Text utilities */
.text-center {
    text-align: center;
}

/* ============================================
   ENHANCED HOVER EFFECTS & ANIMATIONS
   ============================================ */

/* Course Card Enhanced Hover Effects */
.course-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.course-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background-size: 300% 300%;
    animation: gradient-rotate 3s ease infinite;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* First card - Purple/Pink/Cyan with enhanced glow */
.course-card:nth-child(1)::before {
    background: linear-gradient(45deg, 
        #6366f1, 
        #ec4899, 
        #06b6d4, 
        #a855f7,
        #6366f1
    );
}

/* Second card - Orange/Red/Pink with fire effect */
.course-card:nth-child(2)::before {
    background: linear-gradient(45deg, 
        #f97316, 
        #ef4444, 
        #ec4899, 
        #f59e0b,
        #f97316
    );
}

/* Third card - Green/Teal/Blue with ocean effect */
.course-card:nth-child(3)::before {
    background: linear-gradient(45deg, 
        #22c55e, 
        #06b6d4, 
        #3b82f6, 
        #14b8a6,
        #22c55e
    );
}

.course-card:hover {
    transform: translateY(-12px) rotateX(5deg);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.course-card:hover::before {
    opacity: 1;
    animation: gradient-rotate 1.5s ease infinite;
}

/* Shine effect on hover */
.course-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 60%
    );
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.8s ease;
    pointer-events: none;
    z-index: 2;
}

.course-card:hover::after {
    transform: translateX(100%) rotate(45deg);
}

/* Feature Cards Enhanced */
.feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background-size: 300% 300%;
    animation: gradient-rotate 3s ease infinite;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Feature cards with unique color schemes */
.feature-card:nth-child(1)::before,
.feature-card:nth-child(4)::before {
    background: linear-gradient(45deg, 
        #8b5cf6, 
        #ec4899, 
        #f472b6, 
        #a855f7,
        #8b5cf6
    );
}

.feature-card:nth-child(2)::before,
.feature-card:nth-child(5)::before {
    background: linear-gradient(45deg, 
        #f59e0b, 
        #ef4444, 
        #f97316, 
        #ec4899,
        #f59e0b
    );
}

.feature-card:nth-child(3)::before,
.feature-card:nth-child(6)::before {
    background: linear-gradient(45deg, 
        #10b981, 
        #06b6d4, 
        #3b82f6, 
        #22c55e,
        #10b981
    );
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3), 
        0 0 60px rgba(99, 102, 241, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

/* Icon animation on card hover */
.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.feature-icon {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Testimonial Cards Enhanced */
.testimonial-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background-size: 300% 300%;
    animation: gradient-rotate 3s ease infinite;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}

/* Rainbow gradient for testimonial cards */
.testimonial-card:nth-child(1)::before {
    background: linear-gradient(45deg, 
        #6366f1, 
        #8b5cf6, 
        #ec4899, 
        #f472b6,
        #6366f1
    );
}

.testimonial-card:nth-child(2)::before {
    background: linear-gradient(45deg, 
        #f59e0b, 
        #f97316, 
        #ef4444, 
        #ec4899,
        #f59e0b
    );
}

.testimonial-card:nth-child(3)::before {
    background: linear-gradient(45deg, 
        #22c55e, 
        #10b981, 
        #06b6d4, 
        #3b82f6,
        #22c55e
    );
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3), 
        0 0 60px rgba(99, 102, 241, 0.15);
}

/* Button Enhanced Hover Effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Gradient Text Enhanced */
.text-gradient {
    background: linear-gradient(
        90deg,
        #6366f1,
        #ec4899,
        #06b6d4,
        #8b5cf6,
        #f59e0b,
        #ec4899,
        #6366f1
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text-shift 4s ease infinite;
}

/* Mega Menu Link Enhanced Hover */
.mega-link {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.mega-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    padding: 1px;
    background-size: 300% 300%;
    animation: gradient-rotate 3s ease infinite;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mega-link:nth-child(1)::before,
.mega-link:nth-child(4)::before {
    background: linear-gradient(45deg, #6366f1, #ec4899, #a855f7, #6366f1);
}

.mega-link:nth-child(2)::before,
.mega-link:nth-child(5)::before {
    background: linear-gradient(45deg, #f59e0b, #ef4444, #ec4899, #f59e0b);
}

.mega-link:nth-child(3)::before,
.mega-link:nth-child(6)::before {
    background: linear-gradient(45deg, #22c55e, #06b6d4, #3b82f6, #22c55e);
}

.mega-link:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(8px) scale(1.02);
}

.mega-link:hover::before {
    opacity: 1;
}

/* Nav Link Hover Effect */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 1;
}

/* Footer Link Hover */
.footer-links a {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Logo Hover Effect */
.logo {
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo:hover .logo-icon {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
    }
}
