/* Hero Section */
.services-hero {
    display: none;
}

/* Services Grid */
.services-section {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--dark) 0%, #0D0D24 100%);
}

/* Section Header */
.section-header {
    margin-bottom: 2rem;
    text-align: left;
}

.section-header h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.section-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    position: relative;
    will-change: transform;
    pointer-events: auto;
    z-index: 10;
}

.service-card:hover {
    transform: translateY(-4px);
    cursor: pointer;
}

.card-inner {
    background: rgba(109, 74, 255, 0.03);
    border: 1px solid rgba(109, 74, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.service-card:hover .card-inner {
    background: rgba(109, 74, 255, 0.05);
}

.card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(var(--primary-rgb), 0.1),
        rgba(var(--secondary-rgb), 0.1)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover .card-inner {
    transform: none;
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover .card-inner::before {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 16px;
    color: var(--primary);
    position: relative;
    transition: all 0.3s ease;
}

.icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: radial-gradient(
        circle at center,
        rgba(var(--primary-rgb), 0.2),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .icon-wrapper {
    transform: scale(1.1);
    background: rgba(var(--primary-rgb), 0.15);
}

.service-card:hover .icon-wrapper::after {
    opacity: 1;
    animation: pulseIcon 2s infinite ease-in-out;
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.service-card:hover .icon-wrapper svg {
    transform: scale(1.1);
}

.card-header h2 {
    font-size: 1.5rem;
    color: var(--light);
    font-weight: 600;
    margin: 0;
    background: linear-gradient(135deg, var(--light), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-content {
    flex: 1;
    margin-bottom: 2rem;
}

.card-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.feature-list li:hover {
    transform: translateX(8px);
    background: rgba(var(--primary-rgb), 0.1);
}

.feature-list li::before {
    content: "→";
    color: var(--primary);
    margin-right: 1rem;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.feature-list li:hover::before {
    transform: translateX(4px);
}

.card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-footer .btn-primary {
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    min-width: 160px;
    text-align: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: var(--light);
}

.card-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.metric {
    display: none;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-inner {
        padding: 2rem;
    }

    .icon-wrapper {
        width: 48px;
        height: 48px;
    }

    .icon-wrapper svg {
        width: 24px;
        height: 24px;
    }

    .card-header h2 {
        font-size: 1.25rem;
    }

    .metric .number {
        font-size: 1.75rem;
    }

    .card-footer .btn-primary {
        padding: 0.75rem 1.75rem;
        min-width: 140px;
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0,102,255,0.1) 0%, rgba(0,212,255,0.1) 100%);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-section {
        padding: 100px 0 60px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 0.875rem;
        max-width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-content {
        padding: 0 1rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 0.875rem 1.5rem;
    }

    .card-footer .btn-primary {
        width: 100%;
        max-width: 280px;
    }
} 

/* Modern Footer Styles */
.footer {
    padding: 80px 0 40px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 100%;
}

.footer-logo .logo-mark {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.footer-logo span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--light);
    line-height: 1.2;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 280px;
    line-height: 1.6;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.link-group h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.link-group a {
    display: block;
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--secondary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-logo span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-nav {
        grid-template-columns: 1fr;
    }
} 

/* Partners Section */
.partners-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, 
        rgba(47, 37, 88, 0.98) 0%,
        rgba(35, 23, 75, 0.98) 100%
    );
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(var(--primary-rgb), 0.3),
        transparent
    );
}

.partners-content {
    position: relative;
    z-index: 1;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.partner-category {
    background: rgba(47, 37, 88, 0.3);
    border: 1px solid rgba(93, 83, 134, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.category-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    position: relative;
}

.category-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    background: radial-gradient(
        circle,
        rgba(var(--primary-rgb), 0.2),
        transparent 70%
    );
    border-radius: 50%;
    animation: pulseIcon 2s infinite ease-in-out;
}

.partner-category h3 {
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 1rem;
}

.partner-category p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.partner-placeholder {
    height: 120px;
    background: rgba(47, 37, 88, 0.2);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.placeholder-visual {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent,
        rgba(var(--primary-rgb), 0.1),
        transparent
    );
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}

.partners-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(47, 37, 88, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(93, 83, 134, 0.2);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom,
        transparent,
        rgba(var(--primary-rgb), 0.3),
        transparent
    );
}

.stat-highlight {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.stat-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

/* Responsive Design for Partners Section */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .partners-stats {
        gap: 2rem;
        padding: 1.5rem;
    }

    .stat-item:not(:last-child)::after {
        right: -1rem;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partners-stats {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
    }

    .stat-item:not(:last-child)::after {
        right: 50%;
        top: auto;
        bottom: -1rem;
        transform: translateX(50%) rotate(90deg);
    }

    .stat-highlight {
        font-size: 1.25rem;
    }
} 

/* Loading State */
body.loading {
    overflow: hidden;
}

body.loading::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.loading::before {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
} 