:root {
    --bg: #0b0b0f;
    --primary: #0d6efd;
    --text: #ffffff;
    --muted: #bfc2cf;
    --card: transparent;
    --glow: rgba(13, 110, 253, 0.35);
    --anim-text: #ffffff;
    --anim-btn-bg: #1A1A2E;
    --anim-circle-bg: rgba(13, 110, 253, .12);
}

* {
    box-sizing: border-box;
}

main {
    margin: 0;
    color: var(--text);
    /*background: radial-gradient(1200px 600px at 10% -10%, rgba(13, 110, 253, .12), transparent 60%),
        radial-gradient(900px 600px at 100% 20%, rgba(111, 66, 193, .10), transparent 60%),
        var(--bg);*/
    background-color: #000;
    font-family: 'Fredoka', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
    overflow-x: hidden;
    min-height: 90vh;
}

main::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="6.5" numOctaves="1" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(#n)"/></svg>');
    mix-blend-mode: soft-light;
    opacity: .6;
}

/* --- Main Section Styles --- */
.main-section {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    min-height: 100svh;
    gap: clamp(32px, 6vw, 96px);
    padding: clamp(32px, 5vw, 80px);
    z-index: 1;
}

.main-section::before,
.main-section::after {
    content: "";
    position: absolute;
    filter: blur(50px);
    opacity: .35;
    z-index: -1;
    pointer-events: none;
}

.main-section::before {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(13, 110, 253, .6), transparent 70%);
    top: 10%;
    left: -6%;
}

.main-section::after {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(111, 66, 193, .55), transparent 70%);
    bottom: 5%;
    right: -8%;
}

/* Left Content */
.left-content {
    max-width: 720px;
    padding-left: clamp(20px, 4vw, 50px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: .85rem;
    color: #9aa3b2;
    background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 8px 12px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.eyebrow-text {
    display: inline-flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    gap: 8px;
}

.eyebrow-text.active {
    opacity: 1;
    color: #0d6efd;
}

.eyebrow-text i {
    margin-right: 0;
    color: var(--primary);
}

.eyebrow-text i {
    color: var(--primary);
}

h1 {
    font-size: clamp(2.9rem, 5.2vw, 4.5rem);
    line-height: 1.15;
    margin: 14px 0 24px;
    letter-spacing: -0.02em;
    font-family: 'Fredoka', sans-serif;
    font-weight: 900;
}

.line {
    display: block;
}

.highlight {
    color: var(--primary);
    text-shadow: 0 0 24px rgba(13, 110, 253, 0.15);
    position: relative;
}

.highlight::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 6px;
    width: 64%;
    border-radius: 6px;
    background: rgba(13, 110, 253, 0.35);
    filter: blur(4px);
    opacity: .9;
    animation: underline 3.6s ease-in-out infinite;
    transform-origin: left;
}

@keyframes underline {

    0%,
    100% {
        transform: scaleX(.9)
    }

    50% {
        transform: scaleX(1)
    }
}

.cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.work-btn {
    font-family: 'Montserrat', system-ui;
    background: transparent;
    color: #fff;
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 16px 26px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .3s ease, color 0.4s ease;
    z-index: 1;
}

.work-btn::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary);
    transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.work-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(13, 110, 253, 0.25);
    color: var(--bg);
}

.work-btn:hover::before {
    height: 100%;
}

.work-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
}

.work-btn i {
    opacity: .9;
    margin-left: 10px;
}

/* Sparkle Animation for Button */
.work-btn.sparkle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: sparkle-effect 0.8s forwards;
    pointer-events: none;
}

@keyframes sparkle-effect {
    to {
        width: 200px;
        height: 200px;
        opacity: 0;
        transform: translate(-50%, -50%);
    }
}

/* Right Animation & Buttons */
.right-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 20px;
    padding: 20px;
}

.anim-box {
    position: relative;
    width: 100%;
    max-width: 650px;
    aspect-ratio: 1/1;
    margin: auto;
}

.anim-gif {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    object-fit: contain;
}

.anim-gif.active {
    opacity: 1;
}

.anim-btn-container {
    height: 60px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.anim-btn {
    font-family: 'Montserrat', sans-serif;
    background-image: linear-gradient(90deg, #1A1A2E, #283149);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    /* Changed to rectangular */
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    transform: translateY(20px);
}

.anim-btn.active {
    opacity: 1;
    transform: translateY(0);
}

/* GIF floating text */
.gif-text {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: all 0.5s ease-out;
    z-index: 10;
}

/* Text Positions and Animations - Adjusted for more spacing */
.gif-text.logo {
    top: 20%;
    left: -15%;
    transform: translate(0, 0);
    animation: float-logo 3s ease-in-out infinite;
}

.gif-text.designing {
    top: 10%;
    right: -10%;
    transform: translate(0, 0);
    animation: float-design 3.2s ease-in-out infinite;
}

.gif-text.social {
    bottom: 25%;
    left: -5%;
    transform: translate(0, 0);
    animation: float-social 3.4s ease-in-out infinite;
}

.gif-text.legal {
    top: 50%;
    right: -12%;
    transform: translate(0, 0);
    animation: float-legal 3.6s ease-in-out infinite;
}

.gif-text.essential {
    bottom: 10%;
    left: 45%;
    transform: translate(0, 0);
    animation: float-essential 3.8s ease-in-out infinite;
}

/* Text Animations for opacity */
.gif-text.active {
    opacity: 1;
}

/* Float Animations */
@keyframes float-logo {

    0%,
    100% {
        transform: translate(0px, 0px)
    }

    50% {
        transform: translate(10px, -5px)
    }
}

@keyframes float-design {

    0%,
    100% {
        transform: translate(0px, 0px)
    }

    50% {
        transform: translate(-10px, 5px)
    }
}

@keyframes float-social {

    0%,
    100% {
        transform: translate(0px, 0px)
    }

    50% {
        transform: translate(5px, 10px)
    }
}

@keyframes float-legal {

    0%,
    100% {
        transform: translate(0px, 0px)
    }

    50% {
        transform: translate(10px, 10px)
    }
}

@keyframes float-essential {

    0%,
    100% {
        transform: translate(0px, 0px)
    }

    50% {
        transform: translate(-5px, -10px)
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 20px;
        gap: 40px;
        min-height: auto;
    }

    .left-content {
        max-width: 100%;
        order: 1;
        /* Corrected order for mobile */
        text-align: center;
        padding-left: 0;
    }

    .right-content {
        order: 2;
        /* Corrected order for mobile */
        margin-top: -40px;
    }

    .cta-row {
        justify-content: center;
    }

    h1 {
        font-size: clamp(2.2rem, 8vw, 2.5rem);
    }

    .line {
        display: inline;
    }

    /* Hide floating texts on small screens */
    .gif-text {
        display: none;
    }
}

.gif-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;

}

.gif-label {

    background-color: #000;
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 8px;
    border: 3px solid #F5F5F5;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    letter-spacing: .2rem;
}

.gif-wrapper.active .gif-label {
    opacity: 1;
    transform: translateY(0);
}


/*PROCESS - SECTION*/

.process-sec {
    margin-top: 10px;
    font-family: 'Fredoka', sans-serif;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #fff;
}

.subtitle {
    font-size: 1rem;
    color: #bbb;
    max-width: 650px;
    margin: auto;
    margin-bottom: 60px;
    line-height: 1.5;
}

.process-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
}

.process-container::before {
    content: "";
    position: absolute;
    top: 70px;
    left: 15%;
    right: 15%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

.circle-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 280px;
    position: relative;
    z-index: 1;
}

.circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    color: #fff;
}

.circle::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 10px solid transparent;
    border-top: 10px solid #fff;
    border-left: 10px solid #fff;
    transform: rotate(0deg);
    animation: progressAnim 6s linear infinite;
}

@keyframes progressAnim {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.process-btn {
    padding: 10px 25px;
    border: 2px solid #fff;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    background: transparent;
    cursor: pointer;
}

.process-btn:hover {
    background: #fff;
    color: #111;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.dots {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #666;
    border-radius: 50%;
    transition: 0.3s;
}

.dot.active {
    background: #fff;
    width: 25px;
    border-radius: 20px;
}

@media(max-width: 900px) {
    .process-container {
        flex-direction: column;
    }

    .process-container::before {
        display: none;
    }
}

/* ===== Modal Popup (CORRECTED) ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: none;
    /* Default hidden */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* 🚀 FIX 1: Add the rule to make the overlay visible */
.modal-overlay.active {
    display: flex;
}

/* 🚀 FIX 2: Renamed .modal to .modal-box to match your HTML */
.modal-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    padding: 40px;
    border-radius: 25px;
    max-width: 450px;
    width: 90%;
    min-height: 380px;
    color: #fff;
    text-align: center;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 🚀 FIX 3: Use .modal-box.active for the content visibility */
.modal-box.active {
    transform: scale(1);
    opacity: 1;
}

.modal-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Make sure all modal content styles use the correct selector if they were using .modal before */
.modal-box h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.modal-box p {
    font-size: 1rem;
    color: #ddd;
    margin-bottom: 25px;
    line-height: 1.5;
}

.close-btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 8px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.5s;
}

.close-btn:hover {
    background: #fff;
    color: #000;
}

/* WHY CHOSE US */

#launchouse-why-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
    margin-top: -80px;
}

#launchouse-why-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

#launchouse-why-section p {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 50px;
}

/* Grid */
#launchouse-why-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Card */
.launchouse-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #1a1a1a;
    transition: all 0.4s ease;
    cursor: pointer;
    min-height: 380px;
}

.launchouse-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: transform 0.5s ease;
}

.launchouse-card:hover img {
    transform: scale(1.08);
}

.launchouse-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.3);
}

/* Glass Overlay for Text */
.launchouse-card-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 8px 16px;
    /* 👈 Smaller height */
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    /* 👈 Reduced height */
}

.launchouse-card-content .text {
    text-align: left;
}

.launchouse-card-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1px;
    color: #fff;
    min-height: 20px;
}

.launchouse-card-content p {
    font-size: 0.8rem;
    color: #ddd;
}

.launchouse-card-content i {
    font-size: 1.5rem;
    color: #fff;
    transition: all 0.3s ease;
}

/* Hover glow on icon */
.launchouse-card:hover i {
    color: #4da6ff;
    text-shadow: 0 0 12px #4da6ff, 0 0 20px #4da6ff;
}

/* Responsive */
@media(max-width: 768px) {
    #launchouse-why-section h2 {
        font-size: 2rem;
    }

    .launchouse-card {
        min-height: 300px;
    }

    .launchouse-card-content {
        min-height: 50px;
        padding: 6px 12px;
    }
}