/* ===== VIDEO INTRO OVERLAY ===== */
.video-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-jet-black);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
    opacity: 1;
    visibility: visible;
}

.video-intro.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.video-intro video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-intro-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10001;
}

.video-intro-logo {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulseRotate 2s ease-in-out infinite;
}

@keyframes pulseRotate {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.1) rotate(10deg);
        opacity: 1;
    }
}

.video-intro-text {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Ari Display', 'Inter', sans-serif;
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.video-intro-tagline {
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.skip-intro {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: rgba(220, 38, 38, 0.8);
    color: var(--fg-mist-white);
    border: 2px solid var(--accent-dark-red);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: 'Ari Display', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10001;
}

.skip-intro:hover {
    background: var(--accent-dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    background: black;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 80px 0 20px;
    z-index: 0;
}

.hero-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.8);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(77, 184, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(77, 184, 255, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    z-index: 2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(77, 184, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(77, 184, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite;
    filter: blur(60px);
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -60%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 45%;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 350px;
}

.hero-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
    justify-content: center;
    gap: 2rem;
    display: flex;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.stat::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(50, 245, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: statGlow 2s ease-in-out infinite;
}

@keyframes statGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.stat-number {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-top: 0.3rem;
    position: relative;
    z-index: 1;
}

/* ===== GRID BACKGROUND STYLES ===== */
.grid-container {
    position: relative;
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.grid-background {
    position: relative;
    width: 454px;
    height: 430px;
    display: grid;
    grid-template-columns: repeat(21, 1fr);
    grid-template-rows: repeat(20, 1fr);
    gap: 0;
    background: black;
}

.grid-square {
    background: black;
    border: 1px solid #00a2ff;
    cursor: crosshair;
    position: relative;
    overflow: visible;
}

.grid-square.half-bottom {
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
}

.grid-square.half-bottom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #00a2ff;
    pointer-events: none;
}

.grid-square.diag-tl {
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.grid-square.diag-tl::after {
    content: '';
    position: absolute;
    background: linear-gradient(to bottom right, transparent calc(50% - 1px), #00a2ff calc(50% - 1px), #00a2ff calc(50% + 1px), transparent calc(50% + 1px));
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.grid-square.diag-br {
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.grid-square.diag-br::after {
    content: '';
    position: absolute;
    width: 141.4%;
    height: 1px;
    background: #00a2ff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    transform-origin: center;
    pointer-events: none;
}

.grid-square.hidden {
    visibility: hidden;
    border: none;
}

.floating-particle {
    position: fixed;
    width: 24px;
    height: 24px;
    border: 1px solid #00a2ff;
    background: black;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    animation: floatAcrossScreen 8s linear forwards;
}

.floating-particle.particle-small {
    width: 16px;
    height: 16px;
}

.floating-particle.particle-large {
    width: 32px;
    height: 32px;
}

.floating-particle.particle-glow {
    box-shadow: 0 0 10px rgba(77, 184, 255, 0.5);
}

@keyframes floatAcrossScreen {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5) rotate(0deg);
    }
    10% {
        opacity: 1;
        transform: translate(var(--x1), var(--y1)) scale(1) rotate(90deg);
    }
    50% {
        opacity: 0.8;
        transform: translate(calc(var(--x1) + var(--x2) / 2), calc(var(--y1) + var(--y2) / 2)) scale(1.1) rotate(180deg);
    }
    90% {
        opacity: 1;
        transform: translate(var(--x2), var(--y2)) scale(1) rotate(270deg);
    }
    100% {
        opacity: 0;
        transform: translate(var(--x2), var(--y2)) scale(0.5) rotate(360deg);
    }
}

@keyframes floatDrift {
    0% {
        opacity: 0;
        transform: translateX(0) translateY(0);
    }
    20% {
        opacity: 0.6;
    }
    80% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateX(var(--drift-x)) translateY(var(--drift-y));
    }
}

.floating-particle.drift {
    animation: floatDrift 12s linear forwards;
}

.grid-square.trail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: colorTrail 3s linear forwards;
    pointer-events: none;
    z-index: 2;
}

@keyframes colorTrail {
    0% {
        background: #00a2ff;
        opacity: 1;
    }
    33% {
        background: #ff0040;
        opacity: 0.8;
    }
    66% {
        background: white;
        opacity: 0.6;
    }
    100% {
        background: transparent;
        opacity: 0;
    }
}

.gradient-transition {
    position: absolute;
    background: linear-gradient(to bottom, 
        transparent 0%,
        transparent 40%,
        rgba(42, 42, 42, 0.2) 50%,
        rgba(42, 42, 42, 0.4) 60%,
        rgba(42, 42, 42, 0.6) 70%,
        rgba(42, 42, 42, 0.8) 80%,
        rgba(42, 42, 42, 0.9) 90%,
        #2a2a2a 100%
    );
    height: 150px;
    width: 100%;
    bottom: -75px;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

/* ===== CAROUSEL SECTION ===== */
.carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 25px 0;
    z-index: 2;
}

.carousel-section {
    background: transparent;
    padding: 12px 0;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    animation: scroll 25s linear infinite;
}

.carousel-track-reverse {
    animation: scroll-reverse 25s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.carousel-item {
    flex: 0 0 auto;
    margin: 0 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.carousel-item:hover {
    background: rgba(77, 184, 255, 0.1);
    border-color: var(--accent-sky-blue);
}

.carousel-item-icon {
    font-size: 1.4rem;
}

.carousel-item-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
}

.carousel-2 {
    padding-top: 0;
}

.carousel-2 .carousel-item:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: var(--accent-dark-red);
}

/* ===== FEATURES SECTION ===== */
.features {
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    color: white;
    padding: 60px 0 50px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(77, 184, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
}

.features .container {
    position: relative;
    z-index: 3;
}

.features h2 {
    position: relative;
    z-index: 10;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #00a2ff 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 200%;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.features-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.features-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.features-bottom-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.features .feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.features .feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(77, 184, 255, 0.5),
        rgba(102, 126, 234, 0.5),
        rgba(220, 38, 38, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.features .feature-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(77, 184, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s, transform 0.4s;
    pointer-events: none;
}

.features .feature-card-large {
    padding: 2rem;
    min-height: 180px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.features .feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(77, 184, 255, 0.3);
}

.features .feature-card:hover::before {
    opacity: 1;
}

.features .feature-card:hover::after {
    opacity: 1;
    transform: translate(50%, 50%);
}

.features .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(77, 184, 255, 0.5));
    animation: iconFloat 3s ease-in-out infinite;
    animation-delay: calc(var(--icon-index) * 0.2s);
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.features h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.features p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.feature-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(77, 184, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat 10s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 49%, rgba(77, 184, 255, 0.03) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(77, 184, 255, 0.03) 50%, transparent 51%);
    background-size: 50px 50px;
    animation: circuitPulse 4s ease-in-out infinite;
}

@keyframes circuitPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.how-it-works .section-title {
    color: white;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    background: linear-gradient(90deg, #4DB8FF, #DC2626, #4DB8FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: gradientSlide 4s linear infinite;
}

@keyframes gradientSlide {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.how-it-works-wrapper {
    display: flex;
    gap: 3rem;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.video-demo-container {
    flex: 0 0 280px;
    position: relative;
}

.video-placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 25px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                inset 0 0 60px rgba(77, 184, 255, 0.1);
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 2px;
    background: linear-gradient(45deg, #4DB8FF, #667eea, #4DB8FF);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: borderRotate 4s linear infinite;
    background-size: 300% 300%;
}

@keyframes borderRotate {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.video-placeholder > div {
    position: relative;
    z-index: 2;
}

.steps-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        transparent,
        rgba(77, 184, 255, 0.3),
        rgba(77, 184, 255, 0.6),
        rgba(77, 184, 255, 0.3),
        transparent);
    z-index: 0;
}

.step-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    opacity: 0;
    animation: slideInFromRight 0.8s ease-out forwards;
    position: relative;
    z-index: 1;
}

.step-item:nth-child(1) { animation-delay: 0.2s; }
.step-item:nth-child(2) { animation-delay: 0.4s; }
.step-item:nth-child(3) { animation-delay: 0.6s; }
.step-item:nth-child(4) { animation-delay: 0.8s; }

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-icon {
    font-size: 2rem;
    flex-shrink: 0;
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(77, 184, 255, 0.2), rgba(102, 126, 234, 0.2));
    border-radius: 50%;
    border: 2px solid rgba(77, 184, 255, 0.5);
    z-index: 2;
}

.step-icon::before {
    content: '';
    position: absolute;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: #0a0a0a;
    border-radius: 50%;
    z-index: -1;
    top: -2px;
    left: -2px;
}

.step-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(77, 184, 255, 0.5);
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0;
    }
}

.step-content {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 12px;
    padding: 1.2rem;
    border: 1px solid rgba(77, 184, 255, 0.2);
    transition: all 0.3s ease;
}

.step-content:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-color: rgba(77, 184, 255, 0.5);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(77, 184, 255, 0.2);
}

.step-content h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    background: linear-gradient(90deg, #fff, #4DB8FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* ===== USE CASES SECTION ===== */
.use-cases {
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 50%, #2a2a2a 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.use-cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='hexagons' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpolygon points='30,1 45,10 45,30 30,40 15,30 15,10' fill='none' stroke='rgba(77,184,255,0.1)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23hexagons)'/%3E%3C/svg%3E");
    animation: hexFloat 20s linear infinite;
    opacity: 0.5;
}

@keyframes hexFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.use-cases::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbPulse 8s ease-in-out infinite;
    filter: blur(60px);
}

@keyframes orbPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.8;
    }
}

.use-cases .section-title {
    color: white;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff, #DC2626, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2) drop-shadow(0 0 20px rgba(220, 38, 38, 0.5)); }
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
}

.use-case-card {
    background: linear-gradient(145deg, #1f1f1f, #2a2a2a);
    border: none;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
    transform-style: preserve-3d;
    box-shadow: 10px 10px 30px #0a0a0a,
                -10px -10px 30px #3a3a3a,
                inset 0 0 0 1px rgba(77, 184, 255, 0.1);
}

.use-case-card:hover {
    transform: rotateY(5deg) rotateX(-5deg) translateZ(10px) scale(1.03);
    box-shadow: 20px 20px 50px #0a0a0a,
                -20px -20px 50px #3a3a3a,
                inset 0 0 0 2px rgba(220, 38, 38, 0.5),
                0 0 30px rgba(220, 38, 38, 0.3);
}

.use-case-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: linear-gradient(45deg, 
        transparent,
        rgba(77, 184, 255, 0.3),
        transparent,
        rgba(220, 38, 38, 0.3),
        transparent);
    opacity: 0;
    transition: opacity 0.5s;
    animation: holographic 3s linear infinite;
    background-size: 200% 200%;
    z-index: -1;
}

@keyframes holographic {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.use-case-card:hover::before {
    opacity: 1;
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.5s;
    filter: drop-shadow(0 5px 10px rgba(77, 184, 255, 0.4));
    animation: iconBounce 3s ease-in-out infinite;
    animation-delay: calc(var(--card-index) * 0.2s);
}

@keyframes iconBounce {
    0%, 100% { 
        transform: translateY(0) scale(1);
    }
    50% { 
        transform: translateY(-8px) scale(1.1);
    }
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.25) rotateZ(10deg);
    filter: drop-shadow(0 10px 20px rgba(220, 38, 38, 0.6));
}

.use-case-card h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.use-case-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4DB8FF, #DC2626);
    transition: width 0.3s;
}

.use-case-card:hover h3::after {
    width: 80%;
}

.use-case-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.use-case-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #DC2626;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

.use-case-card:hover .use-case-particle {
    animation: particleExplosion 1s ease-out forwards;
}

@keyframes particleExplosion {
    0% {
        opacity: 1;
        transform: translate(0, 0);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty));
    }
}

/* ===== SERVICES CTA SECTION ===== */
.services-cta-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.services-cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(77, 184, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(100px);
}

.services-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-cta-content h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -2px;
}

.services-cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.services-cta-section .btn-secondary {
    background: transparent;
    color: #4DB8FF;
    border: 2px solid #4DB8FF;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.services-cta-section .btn-secondary:hover {
    background: #4DB8FF;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(77, 184, 255, 0.4);
}

/* ===== CTA SECTION - STARS WITH FLOWING BORDER ===== */
.cta-section {
    background: radial-gradient(ellipse at top, #0a0a0a 0%, #000000 100%);
    padding: 6rem 0;
    border-top: 1px solid var(--border-iron-gray);
    border-bottom: 1px solid var(--border-iron-gray);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-radius: 0;
    background: 
        linear-gradient(90deg,
            transparent 0%,
            transparent 20%,
            rgba(77, 184, 255, 0.4) 30%,
            rgba(77, 184, 255, 1) 35%,
            rgba(249, 250, 251, 1) 40%,
            rgba(220, 38, 38, 1) 45%,
            rgba(220, 38, 38, 0.4) 50%,
            transparent 60%,
            transparent 100%
        ) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    background-size: 400% 100%;
    animation: ctaFlowingBorder 12s linear infinite;
    filter: drop-shadow(0 0 10px rgba(77, 184, 255, 0.6));
}

@keyframes ctaFlowingBorder {
    0% {
        background-position: 0% 0%;
    }
    60% {
        background-position: 400% 0%;
    }
    100% {
        background-position: 800% 0%;
    }
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: -2px;
    border: 2px solid transparent;
    border-radius: 0;
    background: 
        linear-gradient(90deg,
            transparent 0%,
            transparent 25%,
            rgba(77, 184, 255, 0.3) 35%,
            rgba(220, 38, 38, 0.3) 40%,
            transparent 50%,
            transparent 100%
        ) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    background-size: 400% 100%;
    animation: ctaFlowingBorder 12s linear infinite;
    animation-delay: -6s;
    filter: blur(4px);
    opacity: 0.6;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background-image: 
        radial-gradient(circle 3px at 12% 18%, rgba(77, 184, 255, 1) 0%, rgba(77, 184, 255, 0.4) 70%, transparent 100%),
        radial-gradient(circle 3px at 88% 12%, rgba(77, 184, 255, 0.9) 0%, rgba(77, 184, 255, 0.3) 70%, transparent 100%),
        radial-gradient(circle 3px at 25% 75%, rgba(77, 184, 255, 0.95) 0%, rgba(77, 184, 255, 0.35) 70%, transparent 100%),
        radial-gradient(circle 3px at 65% 42%, rgba(77, 184, 255, 0.92) 0%, rgba(77, 184, 255, 0.38) 70%, transparent 100%),
        radial-gradient(circle 2px at 45% 25%, rgba(249, 250, 251, 1) 0%, rgba(249, 250, 251, 0.3) 65%, transparent 100%),
        radial-gradient(circle 2px at 78% 45%, rgba(249, 250, 251, 0.9) 0%, rgba(249, 250, 251, 0.25) 65%, transparent 100%),
        radial-gradient(circle 2px at 35% 55%, rgba(249, 250, 251, 0.85) 0%, rgba(249, 250, 251, 0.3) 65%, transparent 100%),
        radial-gradient(circle 2px at 92% 72%, rgba(249, 250, 251, 0.9) 0%, rgba(249, 250, 251, 0.3) 65%, transparent 100%),
        radial-gradient(circle 2px at 22% 38%, rgba(249, 250, 251, 0.88) 0%, rgba(249, 250, 251, 0.28) 65%, transparent 100%),
        radial-gradient(circle 2px at 18% 42%, rgba(220, 38, 38, 0.8) 0%, rgba(220, 38, 38, 0.25) 60%, transparent 100%),
        radial-gradient(circle 2px at 62% 68%, rgba(220, 38, 38, 0.75) 0%, rgba(220, 38, 38, 0.22) 60%, transparent 100%),
        radial-gradient(circle 2px at 82% 28%, rgba(220, 38, 38, 0.7) 0%, rgba(220, 38, 38, 0.2) 60%, transparent 100%),
        radial-gradient(circle 2px at 42% 88%, rgba(220, 38, 38, 0.78) 0%, rgba(220, 38, 38, 0.24) 60%, transparent 100%),
        radial-gradient(circle 1px at 8% 62%, rgba(77, 184, 255, 0.7) 0%, transparent 100%),
        radial-gradient(circle 1px at 52% 15%, rgba(249, 250, 251, 0.8) 0%, transparent 100%),
        radial-gradient(circle 1px at 95% 88%, rgba(220, 38, 38, 0.6) 0%, transparent 100%),
        radial-gradient(circle 1px at 38% 92%, rgba(77, 184, 255, 0.6) 0%, transparent 100%),
        radial-gradient(circle 1px at 68% 8%, rgba(249, 250, 251, 0.7) 0%, transparent 100%),
        radial-gradient(circle 1px at 5% 35%, rgba(220, 38, 38, 0.5) 0%, transparent 100%),
        radial-gradient(circle 1px at 72% 82%, rgba(77, 184, 255, 0.5) 0%, transparent 100%),
        radial-gradient(circle 1px at 28% 32%, rgba(249, 250, 251, 0.6) 0%, transparent 100%),
        radial-gradient(circle 1px at 58% 58%, rgba(220, 38, 38, 0.55) 0%, transparent 100%),
        radial-gradient(circle 1px at 15% 88%, rgba(77, 184, 255, 0.6) 0%, transparent 100%),
        radial-gradient(circle 1px at 85% 35%, rgba(249, 250, 251, 0.65) 0%, transparent 100%),
        radial-gradient(circle 1px at 32% 65%, rgba(220, 38, 38, 0.52) 0%, transparent 100%),
        radial-gradient(circle 1px at 48% 48%, rgba(77, 184, 255, 0.58) 0%, transparent 100%),
        radial-gradient(circle 1px at 75% 22%, rgba(249, 250, 251, 0.68) 0%, transparent 100%),
        radial-gradient(circle 1px at 18% 12%, rgba(220, 38, 38, 0.54) 0%, transparent 100%),
        radial-gradient(circle 1px at 92% 52%, rgba(77, 184, 255, 0.62) 0%, transparent 100%);
    background-size: 100% 100%;
    animation: ctaStarsFloat 50s ease-in-out infinite, ctaStarsTwinkle 4s ease-in-out infinite;
    opacity: 0.95;
    z-index: -1;
    pointer-events: none;
}

@keyframes ctaStarsFloat {
    0%, 100% { 
        transform: translateY(0) translateX(0);
    }
    25% { 
        transform: translateY(-20px) translateX(10px);
    }
    50% { 
        transform: translateY(-30px) translateX(-8px);
    }
    75% { 
        transform: translateY(-15px) translateX(12px);
    }
}

@keyframes ctaStarsTwinkle {
    0%, 100% { 
        opacity: 0.95;
    }
    50% { 
        opacity: 1;
    }
}

.cta-content::after {
    content: '';
    position: absolute;
    width: 180%;
    height: 180%;
    background: 
        radial-gradient(
            ellipse at 25% 45%, 
            rgba(77, 184, 255, 0.1) 0%, 
            rgba(77, 184, 255, 0.03) 35%,
            transparent 70%
        ),
        radial-gradient(
            ellipse at 75% 55%, 
            rgba(220, 38, 38, 0.08) 0%, 
            rgba(220, 38, 38, 0.02) 35%,
            transparent 70%
        ),
        radial-gradient(
            ellipse at 50% 25%, 
            rgba(249, 250, 251, 0.04) 0%, 
            transparent 60%
        );
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ctaAuroraGlow 18s ease-in-out infinite;
    filter: blur(70px);
    z-index: -1;
}

@keyframes ctaAuroraGlow {
    0%, 100% { 
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    25% { 
        opacity: 0.7;
        transform: translate(-48%, -52%) scale(1.08) rotate(90deg);
    }
    50% { 
        opacity: 0.6;
        transform: translate(-52%, -50%) scale(1.04) rotate(180deg);
    }
    75% { 
        opacity: 0.75;
        transform: translate(-50%, -48%) scale(1.06) rotate(270deg);
    }
}

.cta-content h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, #4DB8FF 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: ctaTextShine 4s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(77, 184, 255, 0.3);
}

@keyframes ctaTextShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}

.cta-section .btn-primary {
    background: linear-gradient(135deg, #4DB8FF 0%, #DC2626 100%);
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 10px 40px rgba(77, 184, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-section .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #DC2626 0%, #4DB8FF 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.cta-section .btn-primary:hover::before {
    opacity: 1;
}

.cta-section .btn-primary span {
    position: relative;
    z-index: 2;
}

.cta-section .btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.6);
}

.cta-section .cta-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(77, 184, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: ctaParticleFloat 15s linear infinite;
}

@keyframes ctaParticleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== TESTIMONIALS PREVIEW ===== */
.testimonials-preview {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(50, 245, 129, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 50px,
            rgba(50, 245, 129, 0.03) 50px,
            rgba(50, 245, 129, 0.03) 51px
        );
}

.testimonials-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.testimonial-preview-card {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid var(--border-iron-gray);
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
    position: relative;
}

.testimonial-preview-card::after {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 8rem;
    color: rgba(50, 245, 129, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-preview-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-neon-lime);
    box-shadow: 0 20px 60px rgba(50, 245, 129, 0.3);
    background: rgba(31, 41, 55, 0.7);
}

.testimonial-rating {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-preview-card p {
    color: var(--fg-mist-white);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author-preview {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    z-index: 1;
}

.testimonial-author-preview strong {
    color: var(--fg-mist-white);
    font-size: 1.1rem;
}

.testimonial-author-preview span {
    color: var(--text-slate);
    font-size: 0.9rem;
}

.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .how-it-works-wrapper {
        flex-direction: column !important;
    }
    
    .video-demo-container {
        flex: 1 1 auto !important;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .video-placeholder {
        height: 500px !important;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 60px 0 30px;
    }
    
    .hero .container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-content {
        width: 100%;
        padding-left: 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .grid-container {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .grid-background {
        width: 100%;
        max-width: 350px;
        height: 330px;
    }
    
    .carousel-item {
        flex: 0 0 auto;
        padding: 0.65rem 1.25rem;
    }
    
    .carousel-item-icon {
        font-size: 1.15rem;
    }
    
    .carousel-item-text {
        font-size: 0.85rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .features-top-row,
    .features-bottom-row {
        grid-template-columns: 1fr;
    }
    
    .features .feature-card-large {
        min-height: auto;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-preview-grid {
        grid-template-columns: 1fr;
    }
}