/* =========================================
   LIGHT WAVE HERO SECTION (Adapted from Dark Wave)
   ========================================= */

:root {
    --dw-bg: #f8fafc;
    /* Light Slate/White */
    --dw-text: #1e293b;
    /* Dark Slate */
    --dw-text-muted: #64748b;
    --dw-accent: #3b82f6;
    --dw-gradient: linear-gradient(135deg, #14b8a6, #0ea5e9, #6366f1);
}

.hero-dark-wave {
    background-color: var(--dw-bg);
    color: var(--dw-text);
    padding: 80px 0 40px;
    /* Further reduced */
    /* Integrate with fixed topbar */
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 120px);
    /* Account for topbar + navbar */
    display: flex;
    align-items: center;
}

/* =========================================
   LIGHT REFRACTION EFFECT
   - Prismatic diagonal beams
   - Rainbow gradient with blur
   ========================================= */

/* Main refraction beam - diagonal from top-right */
.hero-dark-wave::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 120%;
    height: 200%;
    background: linear-gradient(135deg,
            transparent 0%,
            transparent 30%,
            rgba(239, 68, 68, 0.03) 32%,
            rgba(249, 115, 22, 0.05) 35%,
            rgba(234, 179, 8, 0.05) 38%,
            rgba(34, 197, 94, 0.05) 42%,
            rgba(6, 182, 212, 0.08) 48%,
            rgba(59, 130, 246, 0.08) 52%,
            rgba(139, 92, 246, 0.05) 58%,
            rgba(236, 72, 153, 0.03) 62%,
            transparent 65%,
            transparent 100%);
    transform: rotate(-15deg);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
    animation: refractionShift 15s ease-in-out infinite alternate;
}

/* Secondary refraction - softer, opposite angle */
.hero-dark-wave::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 100%;
    height: 150%;
    background: linear-gradient(-45deg,
            transparent 0%,
            transparent 40%,
            rgba(14, 165, 233, 0.06) 45%,
            rgba(20, 184, 166, 0.08) 50%,
            rgba(99, 102, 241, 0.06) 55%,
            transparent 60%,
            transparent 100%);
    transform: rotate(10deg);
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
    animation: refractionShift 20s ease-in-out infinite alternate-reverse;
}

/* Subtle animation for living effect */
@keyframes refractionShift {
    0% {
        opacity: 0.7;
        transform: rotate(-15deg) translateX(0);
    }

    100% {
        opacity: 1;
        transform: rotate(-15deg) translateX(30px);
    }
}

.hero-dark-wave .container {
    position: relative;
    z-index: 10;
}

/* LEFT COLUMN */
.hero-left-content {
    padding-right: 40px;
}

/* Badge (Light Mode) */
.dw-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.08);
    /* Soft Brand Color */
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: #2563eb;
    /* Strong Blue */
    font-weight: 500;
}

.dw-badge i {
    font-size: 0.8rem;
}

/* Typography */
.dw-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dw-text);
}

.dw-title span {
    background: var(--dw-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback */
}

.dw-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dw-text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Buttons */
.dw-btn-group {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.dw-btn {
    padding: 16px 32px;
    border-radius: 50px;
    /* Full pill shape for modern look */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

/* Brand Gradient Button */
.dw-btn-primary {
    background: var(--dw-gradient);
    background-size: 200% auto;
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.dw-btn-primary:hover {
    background-position: right center;
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Outline Button (Gradient Border) */
.dw-btn-outline {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--dw-text);
    position: relative;
    z-index: 1;
}

.dw-btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: var(--dw-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.dw-btn-outline:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(99, 102, 241, 0.1));
    color: var(--dw-text);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

/* Stats */
.dw-stats-row {
    display: flex;
    gap: 50px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.dw-stat h4 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    background: var(--dw-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dw-stat p {
    font-size: 0.95rem;
    color: var(--dw-text-muted);
    font-weight: 500;
    margin: 0;
}

/* RIGHT COLUMN */
.hero-right-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Light Glass Card */
.dw-glass-card {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Abstract Lines - Gradient instead of Neon */
.dw-neon-lines {
    width: 70%;
    height: 12px;
    background: var(--dw-gradient);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    position: relative;
    animation: floatLines 6s ease-in-out infinite;
}

.dw-neon-lines::before,
.dw-neon-lines::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    /* Inherit gradient */
    border-radius: inherit;
    opacity: 0.6;
}

.dw-neon-lines::before {
    top: -40px;
    width: 70%;
    right: 0;
    left: auto;
}

.dw-neon-lines::after {
    top: 40px;
    width: 60%;
}

@keyframes floatLines {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-dark-wave {
        padding-top: 100px;
        text-align: center;
    }

    .hero-left-content {
        padding-right: 0;
        margin-bottom: 60px;
    }

    .dw-btn-group {
        justify-content: center;
    }

    .dw-stats-row {
        justify-content: center;
        border-top: none;
        padding-top: 0;
        gap: 30px;
    }

    .dw-title {
        font-size: 2.8rem;
    }
}

/* =========================================
   TRUST BADGES
   ========================================= */
.trust-badges {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dw-text);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.trust-badge i {
    font-size: 1.1rem;
    background: var(--dw-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   TYPING CURSOR
   ========================================= */
.typing-text {
    display: inline;
    padding-right: 4px;
}

/* =========================================
   FLOATING ORBIT ICONS
   ========================================= */
.orbit-container {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--dw-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
    z-index: 10;
}

.orbit-center i {
    font-size: 2rem;
    color: white;
}

.orbit-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    animation: orbit 20s linear infinite;
    animation-delay: calc(var(--orbit-index) * -3.33s);
    transition: all 0.3s ease;
}

.orbit-icon:hover {
    transform: scale(1.15);
    z-index: 20;
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.orbit-icon i {
    font-size: 1.2rem;
    background: var(--dw-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.orbit-icon span {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--dw-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(140px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(140px) rotate(-360deg);
    }
}

/* =========================================
   PARALLAX LAYER
   ========================================= */
.parallax-layer {
    transition: transform 0.1s ease-out;
}

/* =========================================
   RESPONSIVE ORBIT
   ========================================= */
@media (max-width: 992px) {
    .orbit-container {
        width: 280px;
        height: 280px;
        margin-top: 40px;
    }

    .orbit-icon {
        width: 50px;
        height: 50px;
        margin: -25px 0 0 -25px;
    }

    @keyframes orbit {
        0% {
            transform: rotate(0deg) translateX(100px) rotate(0deg);
        }

    }

    .trust-badges {
        justify-content: center;
    }
}

/* =========================================
   TECHNOLOGY LOGOS GRID
   ========================================= */
.tech-logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.tech-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: floatTech 4s ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
}

.tech-logo i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.tech-logo:hover i {
    transform: scale(1.15);
}

.tech-logo span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dw-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-logo.featured {
    grid-column: span 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 223, 30, 0.1));
    border-color: rgba(247, 223, 30, 0.3);
}

/* Float Animation - Smooth Up/Down */
@keyframes floatTech {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Pause animation on hover to avoid conflict */
.tech-logo:hover {
    animation-play-state: paused;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* Responsive Tech Grid */
@media (max-width: 992px) {
    .tech-logos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        margin-top: 40px;
    }

    .tech-logo {
        padding: 16px 12px;
    }

    .tech-logo i {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .tech-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .tech-logo {
        padding: 12px 8px;
    }

    .tech-logo i {
        font-size: 1.5rem;
    }

    .tech-logo span {
        font-size: 0.65rem;
    }
}