/* ==========================================================================
   REDESIGNED SECTIONS - Sci-Fi Space Design
   ========================================================================== */

/* --------------------------------------------------------------------------
   GLOBAL SPACE BACKGROUND ELEMENTS
   -------------------------------------------------------------------------- */
@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes shootingStar {
    0% { transform: translateX(0) translateY(0); opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateX(300px) translateY(300px); opacity: 0; }
}

@keyframes nebulaFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.98); }
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-10px); }
    75% { transform: translateY(-30px) translateX(5px); }
}

/* --------------------------------------------------------------------------
   0. WHAT IS AUTOAFF SECTION - Space Version
   -------------------------------------------------------------------------- */
.what-is-section {
    padding: 120px 20px;
    background: #030312;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.what-is-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 50%, rgba(88, 28, 135, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 30%, rgba(15, 23, 42, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(30, 58, 138, 0.3) 0%, transparent 50%);
    pointer-events: none;
    animation: nebulaFloat 20s ease-in-out infinite;
}

.what-is-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 200px 50px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 250px 150px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 300px 100px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 350px 60px, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 400px 180px, rgba(255,255,255,0.9), transparent);
    background-size: 450px 200px;
    animation: starTwinkle 4s ease-in-out infinite;
    pointer-events: none;
}

.what-is-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.what-is-header {
    text-align: center;
    margin-bottom: 60px;
}

.what-is-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #e0e7ff 0%, #a5b4fc 30%, #c084fc 60%, #f0abfc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(167, 139, 250, 0.5);
}

.what-is-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.9;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.what-is-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.what-is-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 24px;
    padding: 45px 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.what-is-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.8), rgba(236, 72, 153, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.what-is-card:hover::before {
    opacity: 1;
}

.what-is-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(167, 139, 250, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.what-is-card:hover::after {
    opacity: 1;
}

.what-is-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(167, 139, 250, 0.4);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(167, 139, 250, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.what-is-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.what-is-card:nth-child(1) .what-is-icon { animation: iconFloat 4s ease-in-out infinite; }
.what-is-card:nth-child(2) .what-is-icon { animation: iconFloat 4s ease-in-out infinite 0.5s; }
.what-is-card:nth-child(3) .what-is-icon { animation: iconFloat 4s ease-in-out infinite 1s; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.05); }
}

.what-is-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.what-is-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   FEATURES LABEL - Space Style
   -------------------------------------------------------------------------- */
.features-label {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.4), rgba(30, 58, 138, 0.4));
    border: 1px solid rgba(167, 139, 250, 0.4);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #c4b5fd;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    box-shadow:
        0 0 30px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   1. FEATURES SECTION - Deep Space Version
   -------------------------------------------------------------------------- */
.features-section {
    padding: 120px 20px;
    background: #020210;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.features-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 60% at 10% 20%, rgba(88, 28, 135, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 90% 80%, rgba(30, 58, 138, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 50%, rgba(127, 29, 29, 0.2) 0%, transparent 50%);
    pointer-events: none;
    animation: nebulaFloat 25s ease-in-out infinite;
}

.features-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 25% 45%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 50% 15%, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 75% 60%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 90% 35%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 15% 80%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 85% 90%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 35% 55%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 5% 95%, rgba(255,255,255,0.5), transparent);
    background-size: 100% 100%;
    animation: starTwinkle 5s ease-in-out infinite;
    pointer-events: none;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.features-header {
    text-align: center;
    margin-bottom: 70px;
}

.features-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.features-title .gradient-text {
    background: linear-gradient(135deg, #a5b4fc 0%, #c084fc 40%, #f0abfc 70%, #a5b4fc 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientDrift 4s ease-in-out infinite;
}

@keyframes gradientDrift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.features-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.7) 100%);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 24px;
    padding: 45px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(167, 139, 250, 0.6), rgba(236, 72, 153, 0.6), rgba(167, 139, 250, 0.6));
    background-size: 200% 100%;
    opacity: 0;
    transition: all 0.5s ease;
    animation: gradientLine 3s linear infinite;
}

@keyframes gradientLine {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(167, 139, 250, 0.3);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(139, 92, 246, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 75px;
    height: 75px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(167, 139, 250, 0.3);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
}

.feature-icon {
    font-size: 2.2rem;
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
}

.feature-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.feature-stats {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.feature-stat {
    text-align: center;
}

.feature-stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a5b4fc, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* --------------------------------------------------------------------------
   2. HOW IT WORKS - Nebula Space Version
   -------------------------------------------------------------------------- */
.hiw-section-redesign {
    padding: 130px 20px;
    background: #020214;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.hiw-section-redesign::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 120% 80% at 50% 50%, rgba(88, 28, 135, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(30, 58, 138, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(127, 29, 29, 0.25) 0%, transparent 50%);
    pointer-events: none;
    animation: nebulaFloat 30s ease-in-out infinite;
}

.hiw-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 12s ease-in-out infinite;
    pointer-events: none;
}

.hiw-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
    top: 5%;
    left: 5%;
    animation-delay: 0s;
}

.hiw-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
    top: 55%;
    right: 10%;
    animation-delay: -6s;
}

.hiw-orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, transparent 70%);
    bottom: 10%;
    left: 30%;
    animation-delay: -3s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    33% { transform: translate(40px, -30px) scale(1.1); opacity: 0.8; }
    66% { transform: translate(-20px, 20px) scale(0.95); opacity: 0.5; }
}

.hiw-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hiw-header-center {
    text-align: center;
    margin-bottom: 90px;
}

.hiw-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.5), rgba(30, 58, 138, 0.5));
    border: 1px solid rgba(167, 139, 250, 0.4);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #c4b5fd;
    margin-bottom: 28px;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.25);
}

.hiw-badge-dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #a5b4fc, #c084fc);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.8);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 15px rgba(167, 139, 250, 0.8); }
    50% { opacity: 0.6; transform: scale(1.3); box-shadow: 0 0 25px rgba(167, 139, 250, 1); }
}

.hiw-title-large {
    font-size: 3.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -1px;
    text-shadow: 0 0 60px rgba(167, 139, 250, 0.4);
}

.hiw-title-large .gradient-text {
    background: linear-gradient(135deg, #a5b4fc 0%, #c084fc 40%, #f0abfc 70%, #a5b4fc 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientDrift 4s ease-in-out infinite;
}

.hiw-subtitle-large {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.hiw-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 0 60px;
}

.hiw-timeline::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 100px;
    right: 100px;
    height: 4px;
    background: linear-gradient(90deg,
        rgba(167, 139, 250, 0.8),
        rgba(192, 132, 252, 0.8),
        rgba(240, 171, 252, 0.8),
        rgba(167, 139, 250, 0.8));
    background-size: 300% 100%;
    border-radius: 2px;
    animation: gradientFlow 5s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.hiw-step-node {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 230px;
}

.hiw-node-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 4px solid rgba(167, 139, 250, 0.7);
    margin: 0 auto 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 0 50px rgba(139, 92, 246, 0.4),
        inset 0 0 30px rgba(139, 92, 246, 0.1);
}

.hiw-step-node:hover .hiw-node-circle {
    transform: scale(1.12);
    border-color: rgba(240, 171, 252, 0.9);
    box-shadow:
        0 0 80px rgba(139, 92, 246, 0.6),
        0 0 120px rgba(192, 132, 252, 0.3),
        inset 0 0 40px rgba(139, 92, 246, 0.2);
}

.hiw-node-circle::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px solid rgba(167, 139, 250, 0.2);
    animation: ringExpand 3s ease-out infinite;
}

.hiw-node-circle::after {
    content: '';
    position: absolute;
    inset: -24px;
    border-radius: 50%;
    border: 1px solid rgba(167, 139, 250, 0.1);
    animation: ringExpand 3s ease-out infinite 1s;
}

@keyframes ringExpand {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.hiw-node-icon {
    font-size: 2.8rem;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.hiw-node-number {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hiw-step-content {
    text-align: center;
}

.hiw-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.hiw-step-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   3. SHOWCASE SECTION - Cosmic Glassmorphism
   -------------------------------------------------------------------------- */
.showcase-section-redesign {
    padding: 130px 20px;
    background: #020208;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.showcase-section-redesign::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 70% at 30% 0%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 70% 100%, rgba(236, 72, 153, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
    animation: nebulaFloat 22s ease-in-out infinite;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.showcase-header-center {
    text-align: center;
    margin-bottom: 70px;
}

.showcase-label {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(139, 92, 246, 0.3));
    border: 1px solid rgba(240, 171, 252, 0.35);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #f0abfc;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.2);
}

.showcase-title-large {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 0 50px rgba(236, 72, 153, 0.3);
}

.showcase-title-large .gradient-text {
    background: linear-gradient(135deg, #f0abfc 0%, #e879f9 40%, #c084fc 70%, #f0abfc 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientDrift 4s ease-in-out infinite;
}

.showcase-subtitle-large {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 600px;
    margin: 0 auto;
}

.showcase-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.showcase-card-glass {
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.7) 100%);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(25px);
}

.showcase-card-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.showcase-card-glass:hover {
    transform: translateY(-18px) scale(1.03);
    border-color: rgba(240, 171, 252, 0.35);
    box-shadow:
        0 35px 70px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(139, 92, 246, 0.15);
}

.showcase-card-glass:hover::before {
    opacity: 1;
}

.showcase-image-container {
    position: relative;
    padding-top: 62%;
    overflow: hidden;
}

.showcase-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.showcase-card-glass:hover .showcase-image-container img {
    transform: scale(1.12);
    filter: brightness(1);
}

.showcase-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(2, 2, 8, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 25px;
}

.showcase-card-glass:hover .showcase-image-overlay {
    opacity: 1;
}

.showcase-link-btn {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transform: translateY(25px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.5);
}

.showcase-card-glass:hover .showcase-link-btn {
    transform: translateY(0);
    opacity: 1;
}

.showcase-link-btn:hover {
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.7);
    transform: scale(1.05);
}

.showcase-card-body {
    padding: 32px;
}

.showcase-card-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.showcase-tag-new {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-gradient-1 {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(167, 139, 250, 0.25));
    color: #c4b5fd;
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.tag-gradient-2 {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.35), rgba(240, 171, 252, 0.25));
    color: #f0abfc;
    border: 1px solid rgba(240, 171, 252, 0.3);
}

.tag-gradient-3 {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(20, 184, 166, 0.2));
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.showcase-card-title-new {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.showcase-card-desc-new {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   4. CTA SECTION - Deep Space Portal
   -------------------------------------------------------------------------- */
.cta-section-futuristic {
    padding: 180px 20px;
    background: #010108;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.cta-section-futuristic::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 800px;
    background:
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 30% 40%, rgba(236, 72, 153, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse 40% 30% at 70% 60%, rgba(59, 130, 246, 0.15) 0%, transparent 40%);
    pointer-events: none;
    animation: ctaBgPulse 8s ease-in-out infinite;
}

@keyframes ctaBgPulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.cta-section-futuristic::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 15% 25%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 30% 45%, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 55% 20%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 85% 35%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 25% 75%, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 90% 80%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 45% 85%, rgba(255,255,255,0.7), transparent);
    background-size: 100% 100%;
    animation: starTwinkle 3s ease-in-out infinite;
    pointer-events: none;
}

.cta-content-futuristic {
    position: relative;
    z-index: 2;
}

.cta-title-futuristic-en {
    font-size: 1.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.cta-title-futuristic {
    font-size: 4.8rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 28px;
    letter-spacing: 3px;
    line-height: 1.1;
    text-shadow: 0 0 100px rgba(139, 92, 246, 0.6);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 80px rgba(139, 92, 246, 0.5), 0 0 120px rgba(139, 92, 246, 0.3); }
    50% { text-shadow: 0 0 120px rgba(139, 92, 246, 0.8), 0 0 200px rgba(192, 132, 252, 0.4); }
}

.cta-title-futuristic .gradient-text {
    background: linear-gradient(135deg, #a5b4fc 0%, #c084fc 30%, #f0abfc 50%, #c084fc 70%, #a5b4fc 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.cta-subtitle-futuristic {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 70px;
    font-weight: 300;
    letter-spacing: 3px;
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary {
    padding: 20px 56px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #d946ef 100%);
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 60px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 0 50px rgba(124, 58, 237, 0.5),
        0 15px 50px rgba(124, 58, 237, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 1px;
}

.cta-btn-primary:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow:
        0 0 80px rgba(124, 58, 237, 0.7),
        0 25px 70px rgba(124, 58, 237, 0.4);
}

.cta-btn-secondary {
    padding: 20px 56px;
    background: rgba(30, 41, 59, 0.4);
    border: 2px solid rgba(167, 139, 250, 0.4);
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 60px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    letter-spacing: 1px;
}

.cta-btn-secondary:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(240, 171, 252, 0.6);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2);
}

/* --------------------------------------------------------------------------
   ANIMATIONS - Fade In Up
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-card,
.what-is-card,
.showcase-card-glass,
.hiw-step-node {
    animation: fadeInScale 0.8s ease-out forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.what-is-card:nth-child(1) { animation-delay: 0.15s; }
.what-is-card:nth-child(2) { animation-delay: 0.3s; }
.what-is-card:nth-child(3) { animation-delay: 0.45s; }

.showcase-card-glass:nth-child(1) { animation-delay: 0.2s; }
.showcase-card-glass:nth-child(2) { animation-delay: 0.35s; }
.showcase-card-glass:nth-child(3) { animation-delay: 0.5s; }

.hiw-step-node:nth-child(1) { animation-delay: 0.1s; }
.hiw-step-node:nth-child(2) { animation-delay: 0.25s; }
.hiw-step-node:nth-child(3) { animation-delay: 0.4s; }
.hiw-step-node:nth-child(4) { animation-delay: 0.55s; }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .features-grid,
    .what-is-cards,
    .showcase-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }

    .hiw-timeline {
        flex-direction: column;
        gap: 60px;
        padding: 0;
    }

    .hiw-timeline::before {
        display: none;
    }

    .hiw-step-node {
        max-width: 100%;
    }

    .hiw-title-large,
    .features-title,
    .showcase-title-large {
        font-size: 2.5rem;
    }

    .cta-title-futuristic {
        font-size: 3.5rem;
    }
}

@media (max-width: 600px) {
    .features-grid,
    .what-is-cards,
    .showcase-grid-new {
        grid-template-columns: 1fr;
    }

    .hiw-title-large,
    .features-title,
    .what-is-title,
    .showcase-title-large,
    .cta-title-futuristic {
        font-size: 2rem;
    }

    .hiw-subtitle-large,
    .features-subtitle,
    .what-is-desc,
    .showcase-subtitle-large,
    .cta-subtitle-futuristic {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .what-is-section,
    .features-section,
    .hiw-section-redesign,
    .showcase-section-redesign,
    .cta-section-futuristic {
        padding: 80px 20px;
    }
}