@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0f62fe;
    --primary-dark: #0043ce;
    --secondary: #f59e0b;
    --dark: #0f172a;
    --light: #82cfff;
    --gradient: linear-gradient(135deg, #0f62fe, #0072c3);
    --gradient-2: linear-gradient(135deg, #0072c3, #001d6c);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-2 {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient {
    background: var(--gradient);
}

.bg-gradient-2 {
    background: var(--gradient-2);
}

.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(15, 98, 254, 0.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1.5rem;
}

.faq-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
    padding-top: 1rem;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(15, 98, 254, 0.15), 0 10px 10px -5px rgba(15, 98, 254, 0.08);
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.blob {
    position: absolute;
    filter: blur(40px);
    border-radius: 50%;
    z-index: -1;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: rgba(15, 98, 254, 0.1);
    top: 10%;
    left: 10%;
    animation: float 15s ease-in-out infinite;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.1);
    bottom: 10%;
    right: 10%;
    animation: float 20s ease-in-out infinite reverse;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: rgba(0, 114, 195, 0.1);
    top: 40%;
    right: 20%;
    animation: float 18s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(50px, 50px); }
    50% { transform: translate(100px, 0); }
    75% { transform: translate(50px, -50px); }
}

.gradient-border {
    position: relative;
    border-radius: 1.5rem;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 1.5rem;
    background: var(--gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 15px;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { top: 8px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

.service-card {
    perspective: 1000px;
    height: 100%;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1.5rem;
}

.service-card-back {
    transform: rotateY(180deg);
    background: var(--gradient);
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.h-screen-80 {
    height: 80vh;
}

.neon-text {
    text-shadow: 0 0 10px rgba(15, 98, 254, 0.5),
                 0 0 20px rgba(15, 98, 254, 0.3),
                 0 0 30px rgba(15, 98, 254, 0.15);
}

.neon-border {
    box-shadow: 0 0 15px rgba(15, 98, 254, 0.4),
                0 0 30px rgba(15, 98, 254, 0.2);
}

.animated-bg {
    background: linear-gradient(270deg, #0f62fe, #0043ce, #f59e0b);
    background-size: 600% 600%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.fixed-nav-spacing {
    padding-top: 100px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card-content {
    position: relative;
    z-index: 2;
}

.service-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient);
}

.service-card:hover .feature-icon ion-icon {
    color: white;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list li::after {
    content: '✓';
    position: absolute;
    left: 4px;
    top: 7px;
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.process-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 60px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary);
    z-index: 1;
}

.process-step {
    position: relative;
    display: flex;
    margin-bottom: 80px;
    z-index: 2;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
    padding: 30px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(15, 98, 254, 0.15);
    transition: all 0.4s ease;
}

.step-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(15, 98, 254, 0.25);
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    border: 4px solid white;
    z-index: 3;
}

.step-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(15, 98, 254, 0.08);
    margin-right: 30px;
    flex-shrink: 0;
}

.process-step:nth-child(even) .step-icon {
    margin-right: 0;
    margin-left: 30px;
}

.step-connector {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 3px;
    background: var(--primary);
    z-index: 2;
}

.process-step:nth-child(odd) .step-connector {
    right: -40px;
}

.process-step:nth-child(even) .step-connector {
    left: -40px;
}

@media (max-width: 768px) {
    .process-timeline::before {
        left: 30px;
    }

    .process-step {
        flex-direction: row !important;
        margin-left: 60px;
        margin-right: 20px;
    }

    .process-step:nth-child(even) .step-icon {
        margin-left: 0;
        margin-right: 30px;
    }

    .step-number {
        left: 30px;
    }

    .step-connector {
        left: -40px !important;
        right: auto !important;
    }
}