:root{
    --home-bg-2: #0b1722;
    --panel: rgba(10, 22, 32, 0.72);
    --panel-strong: rgba(10, 22, 32, 0.88);
    --stroke: rgba(170, 255, 241, 0.12);
    --stroke-strong: rgba(170, 255, 241, 0.24);
    --text: #ecfdfb;
    --muted: #9bb4b9;
    --teal: #1cc6b7;
    --glow: 0 20px 60px rgba(0, 255, 220, 0.12);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --container-pad: clamp(18px, 4vw, 34px);
    --section-space: clamp(72px, 10vw, 130px);
}

.home-page{
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(97,243,255,0.08), transparent 28%),
        radial-gradient(circle at left center, rgba(136,255,217,0.07), transparent 25%),
        linear-gradient(180deg, var(--home-bg), var(--home-bg-2));
    color: var(--text);
}

.s-container{
    margin-inline: auto;
}

.section-space{
    padding-block: var(--section-space);
}

.glass-card{
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid var(--stroke);
    box-shadow: var(--glow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--radius-xl);
}

.section-heading{
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 42px;
}

.section-heading--split{
    max-width: 100%;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    text-align: right;
}

.section-heading__kicker{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(97,243,255,0.08);
    border: 1px solid rgba(97,243,255,0.16);
    color: var(--mint);
    font-size: .9rem;
    margin-bottom: 14px;
}

.section-heading__title{
    margin: 0 0 14px;
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    line-height: 1.3;
    color: #fff;
}

.section-heading__text{
    margin: 0;
    color: var(--muted);
    line-height: 2;
    font-size: 1rem;
}

.section-link{
    color: var(--cyan);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.home-hero{
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 0 70px;
    isolation: isolate;
}

.home-hero__bg{
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.home-hero__orb{
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: .85;
    animation: floatOrb 9s ease-in-out infinite;
}

.home-hero__orb--1{
    width: 320px;
    height: 320px;
    top: 8%;
    right: 8%;
    background: radial-gradient(circle, rgba(97,243,255,0.22), transparent 70%);
    transform: translate(var(--mx, 0), var(--my, 0));
}

.home-hero__orb--2{
    width: 260px;
    height: 260px;
    bottom: 10%;
    left: 6%;
    background: radial-gradient(circle, rgba(136,255,217,0.18), transparent 70%);
    transform: translate(calc(var(--mx, 0) * -0.6), calc(var(--my, 0) * -0.6));
    animation-delay: 1s;
}

.home-hero__grid-glow{
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at center, black 28%, transparent 78%);
    opacity: .35;
}

.home-hero__noise{
    position: absolute;
    inset: 0;
    opacity: .03;
    background-image: radial-gradient(#fff 0.7px, transparent 0.7px);
    background-size: 14px 14px;
}

.home-hero__grid{
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 38px;
    align-items: center;
}

.home-hero__content{
    position: relative;
    z-index: 2;
}

.home-hero__eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--stroke);
    color: var(--mint);
    font-size: .95rem;
}

.home-hero__eyebrow-dot{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--mint));
    box-shadow: 0 0 18px rgba(97,243,255,0.75);
}

.home-hero__title{
    margin: 0 0 18px;
    font-size: clamp(2.4rem, 5vw, 4.9rem);
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.02em;
}

.home-hero__text{
    margin: 0 0 28px;
    max-width: 680px;
    color: var(--muted);
    line-height: 2;
    font-size: 1.06rem;
}

.home-hero__actions{
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.home-hero__btn{
    box-shadow: 0 12px 34px rgba(97,243,255,0.18);
}

.home-hero__ghost-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    border: 1px solid var(--stroke-strong);
    background: rgba(255,255,255,0.04);
    transition: .3s ease;
}

.home-hero__ghost-btn:hover{
    transform: translateY(-2px);
    border-color: rgba(97,243,255,0.4);
    box-shadow: 0 12px 30px rgba(97,243,255,0.08);
}

.home-hero__mini-points{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-hero__mini-points span{
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.06);
    color: #d8f9f4;
    font-size: .92rem;
}

.home-hero__visual{
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-showcase-card{
    position: relative;
    width: min(100%, 470px);
    padding: 34px;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04)),
        linear-gradient(135deg, rgba(97,243,255,0.08), rgba(136,255,217,0.04));
    border: 1px solid var(--stroke-strong);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255,255,255,0.03) inset;
    backdrop-filter: blur(22px);
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
}

.hero-showcase-card__label{
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(97,243,255,0.08);
    color: var(--cyan);
    margin-bottom: 14px;
    font-size: .9rem;
}

.hero-showcase-card h3{
    margin: 0 0 14px;
    font-size: 1.9rem;
    line-height: 1.45;
    color: #fff;
}

.hero-showcase-card p{
    margin: 0;
    color: var(--muted);
    line-height: 2;
}

.hero-floating-card{
    position: absolute;
    min-width: 180px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(7, 17, 26, 0.72);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(16px);
    box-shadow: var(--glow);
}

.hero-floating-card strong{
    display: block;
    color: #fff;
    font-size: 1.45rem;
    margin-bottom: 4px;
}

.hero-floating-card span{
    color: var(--muted);
    font-size: .92rem;
}

.hero-floating-card--top{
    top: 12%;
    right: -8%;
    animation: floatOrb 5s ease-in-out infinite;
}

.hero-floating-card--bottom{
    bottom: 10%;
    left: -8%;
    animation: floatOrb 5.5s ease-in-out infinite;
}

.home-stats{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 54px;
}

.home-stat-card{
    padding: 24px 18px;
    border-radius: 22px;
    text-align: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(14px);
}

.home-stat-card__number{
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.home-stat-card__label{
    color: var(--muted);
    font-size: .95rem;
}

.home-intro__grid,
.services-grid,
.process-grid,
.projects-grid{
    display: grid;
    gap: 22px;
}

.home-intro__grid{
    grid-template-columns: repeat(3, 1fr);
}

.home-intro__card{
    padding: 28px;
}

.home-intro__card h3{
    margin: 0 0 12px;
    color: #fff;
}

.home-intro__card p{
    margin: 0;
    color: var(--muted);
    line-height: 2;
}

.services-grid{
    grid-template-columns: repeat(3, 1fr);
}

.service-card{
    overflow: hidden;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.service-card:hover{
    transform: translateY(-8px);
    border-color: rgba(97,243,255,0.24);
}

.service-card__image-wrap{
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.service-card__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.service-card:hover .service-card__image{
    transform: scale(1.08);
}

.service-card__glow{
    position: absolute;
    inset: auto 0 0 0;
    height: 55%;
    background: linear-gradient(180deg, transparent, rgba(7,17,26,0.88));
}

.service-card__content{
    padding: 22px;
}

.service-card__icon{
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    margin-bottom: 14px;
    background: rgba(97,243,255,0.08);
    border: 1px solid rgba(97,243,255,0.16);
    color: var(--cyan);
    font-size: 1.1rem;
}

.service-card__title{
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.2rem;
}

.service-card__text{
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.95;
}

.service-card__link{
    color: var(--mint);
    text-decoration: none;
    font-weight: 700;
}

.process-grid{
    grid-template-columns: repeat(4, 1fr);
}

.process-card{
    padding: 28px;
    position: relative;
}

.process-card__step{
    font-size: 2rem;
    font-weight: 800;
    color: rgba(97,243,255,0.22);
    margin-bottom: 12px;
}

.process-card h3{
    margin: 0 0 12px;
    color: #fff;
}

.process-card p{
    margin: 0;
    color: var(--muted);
    line-height: 2;
}

.projects-grid{
    grid-template-columns: repeat(3, 1fr);
}

.project-card{
    position: relative;
}

.project-card__media{
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    aspect-ratio: 16 / 12;
    margin-bottom: -36px;
    z-index: 1;
}

.project-card__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s ease;
}

.project-card:hover .project-card__image{
    transform: scale(1.07);
}

.project-card__overlay{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    justify-content: start;
    padding: 22px;
    background: linear-gradient(180deg, transparent, rgba(7,17,26,0.82));
    color: #fff;
    opacity: 0;
    transition: opacity .35s ease;
}

.project-card:hover .project-card__overlay{
    opacity: 1;
}

.project-card__content{
    position: relative;
    z-index: 2;
    padding: 58px 22px 22px;
}

.project-card__content h3{
    margin: 0 0 10px;
    color: #fff;
}

.project-card__content p{
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.95;
}

.project-card__link{
    color: var(--cyan);
    text-decoration: none;
    font-weight: 700;
}

.home-cta__box{
    padding: clamp(28px, 5vw, 52px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    position: relative;
    overflow: hidden;
}

.home-cta__box::before{
    content: "";
    position: absolute;
    inset: auto -10% -40% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(97,243,255,0.13), transparent 70%);
}

.home-cta__content{
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.home-cta__content h2{
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.35;
}

.home-cta__content p{
    margin: 0;
    color: var(--muted);
    line-height: 2;
}

.home-cta__actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.empty-state{
    padding: 32px;
    text-align: center;
}

.empty-state h3{
    color: #fff;
    margin: 0 0 10px;
}

.empty-state p{
    color: var(--muted);
    margin: 0;
    line-height: 2;
}

.reveal{
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal-delay-1{
    transition-delay: .12s;
}

.reveal-delay-2{
    transition-delay: .24s;
}

.reveal-visible{
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatOrb{
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(-14px); }
}

@media (max-width: 1100px){
    .home-hero__grid,
    .section-heading--split,
    .home-cta__box{
        grid-template-columns: 1fr;
        display: grid;
    }

    .home-stats,
    .home-intro__grid,
    .services-grid,
    .projects-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-floating-card--top{
        right: 0;
    }

    .hero-floating-card--bottom{
        left: 0;
    }
}

@media (max-width: 767px){
    .home-hero{
        min-height: auto;
        padding-top: 110px;
    }

    .home-hero__grid,
    .home-stats,
    .home-intro__grid,
    .services-grid,
    .process-grid,
    .projects-grid{
        grid-template-columns: 1fr;
    }

    .home-hero__title{
        font-size: 2.2rem;
    }

    .hero-showcase-card{
        transform: none;
        padding: 26px;
    }

    .hero-floating-card{
        position: static;
        margin-top: 14px;
    }

    .home-hero__visual{
        min-height: auto;
        display: block;
    }

    .section-heading--split{
        display: block;
    }

    .home-cta__actions,
    .home-hero__actions{
        width: 100%;
    }

    .home-hero__actions .s-btn,
    .home-hero__actions .home-hero__ghost-btn,
    .home-cta__actions .s-btn,
    .home-cta__actions .home-hero__ghost-btn{
        width: 100%;
    }

    .project-card__media{
        margin-bottom: -24px;
    }

    .project-card__content{
        padding-top: 42px;
    }
}
