/* ================================================= */
/* ROOT COLORS                                       */
/* ================================================= */

:root {
    --primary: #0025fd;
    --background: #00001a;
    --container: #011491;

    --white: #ffffff;
    --shadow: rgba(0, 37, 253, 0.35);
}

/* ================================================= */
/* RESET                                             */
/* ================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--background);
    color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ================================================= */
/* PAGE FADE IN                                      */
/* ================================================= */

body {
    animation: pageFade 1s ease;
}

@keyframes pageFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ================================================= */
/* FLOATING BUBBLES                                  */
/* ================================================= */

#bubbles-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    filter: blur(90px);
    opacity: 0.18;
    animation: floatBubble linear infinite;
}

@keyframes floatBubble {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-250px);
    }
}

/* ================================================= */
/* NAVBAR                                            */
/* ================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 999;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 8%;

    background: rgba(0, 0, 26, 0.65);

    backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-logo {
    font-size: 2rem;
    font-weight: 900;

    background: linear-gradient(
        90deg,
        #0025fd,
        #011491
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-buttons {
    display: flex;
    gap: 15px;
}

/* ================================================= */
/* BUTTONS                                           */
/* ================================================= */

.btn-primary,
.btn-secondary {
    text-decoration: none;

    padding: 12px 24px;

    border-radius: 14px;

    font-weight: 700;

    transition: 0.3s ease;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--background);

    box-shadow:
        0 0 15px rgba(0, 37, 253, 0.5),
        0 0 40px rgba(0, 37, 253, 0.25);
}

.btn-primary:hover {
    transform: scale(1.06);

    box-shadow:
        0 0 25px rgba(0, 37, 253, 0.9),
        0 0 60px rgba(0, 37, 253, 0.4);
}

.btn-secondary {
    border: 2px solid var(--primary);

    color: var(--primary);

    background: transparent;

    box-shadow:
        0 0 12px rgba(0, 37, 253, 0.2);
}

.btn-secondary:hover {
    transform: scale(1.06);

    box-shadow:
        0 0 20px rgba(0, 37, 253, 0.6);
}

.btn-primary:active,
.btn-secondary:active {
    transform: scale(0.95);
}

/* ================================================= */
/* HERO                                              */
/* ================================================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 100px;

    padding: 0 8%;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
}

.white-text {
    color: white;
}

/* ================================================= */
/* ANIMATED ROBI TEXT                                */
/* ================================================= */

.gradient-text {
    background: linear-gradient(
        90deg,
        #0025fd,
        #011491
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    display: inline-block;

    animation: gradientRotate 8s linear infinite;
    background-size: 200% 200%;
}

@keyframes gradientRotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-description {
    margin-top: 20px;

    color: #d9d9d9;

    font-size: 1.15rem;

    line-height: 1.8;

    max-width: 650px;
}

.hero-buttons {
    margin-top: 35px;

    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ================================================= */
/* HERO LOGO                                         */
/* ================================================= */

.hero-image-container {
    flex: 1;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
}

.logo-glow {
    position: absolute;

    width: 350px;
    height: 350px;

    background: var(--primary);

    border-radius: 50%;

    filter: blur(90px);

    opacity: 0.35;

    animation: flicker 3s infinite;
}

@keyframes flicker {
    0%,100% {
        opacity: 0.35;
    }

    50% {
        opacity: 0.55;
    }
}

.hero-logo {
    width: 320px;
    max-width: 90%;

    position: relative;

    animation: logoFloat 5s ease-in-out infinite;
}

@keyframes logoFloat {
    0% {
        transform: translateY(0px);
    }

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

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

/* ================================================= */
/* WAVE                                              */
/* ================================================= */

.wave-top,
.wave-bottom {
    width: 100%;
    overflow: hidden;
    height: 200px;
}

.wave-top svg,
.wave-bottom svg {
    display: block;
    width: 100%;
    height: 100%;

    animation: waveMove 10s linear infinite;
}

@keyframes waveMove {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-15px);
    }

    100% {
        transform: translateX(0);
    }
}

/* ================================================= */
/* FEATURES SECTION                                  */
/* ================================================= */

.features-section {
    padding: 80px 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
}

.section-header p {
    color: var(--primary);
    margin-top: 15px;
}

/* ================================================= */
/* FEATURE SLIDER                                    */
/* ================================================= */

.feature-slider-container {
    max-width: 900px;

    margin: auto;

    padding: 40px;

    border-radius: 30px;

    background:
        rgba(1, 20, 145, 0.25);

    backdrop-filter: blur(20px);

    box-shadow:
        0 0 40px rgba(0, 37, 253, 0.25);

    text-align: center;

    position: relative;
}

.feature-slide {
    position: relative;
}

.feature-slide img {
    width: 250px;
    max-width: 100%;
    transition: opacity 0.3s ease;
}

.feature-slide h3 {
    margin-top: 20px;
    font-size: 2rem;
    transition: opacity 0.3s ease;
}

.feature-slide p {
    color: var(--primary);
    margin-top: 15px;
    transition: opacity 0.3s ease;
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 37, 253, 0.3);
    border: 2px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(0, 37, 253, 0.6);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

#slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: rgba(255,255,255,.25);

    transition: .3s;
    cursor: pointer;
}

.dot:hover {
    background: rgba(255,255,255,.4);
}

.dot.active {
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

/* ================================================= */
/* FEATURE CARDS                                     */
/* ================================================= */

.feature-cards {
    margin-top: 80px;

    display: none;
}

.feature-card {
    background:
        rgba(1,20,145,0.2);

    backdrop-filter: blur(20px);

    border-radius: 25px;

    padding: 30px;

    transition: .35s ease;

    box-shadow:
        0 0 20px rgba(0,37,253,.15);
}

.feature-card:hover {
    transform:
        translateY(-8px);

    box-shadow:
        0 0 30px rgba(0,37,253,.4);
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--primary);
}

/* ================================================= */
/* CTA                                               */
/* ================================================= */

.cta-section {
    text-align: center;

    padding: 150px 8%;
}

.cta-title {
    font-size: 4rem;

    background: linear-gradient(
        90deg,
        #0025fd,
        #011491
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-section p {
    margin-top: 20px;
    color: #d0d0d0;
}

.cta-buttons {
    margin-top: 35px;

    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ================================================= */
/* FOOTER                                            */
/* ================================================= */

footer {
    padding: 40px 8%;

    border-top:
        1px solid rgba(255,255,255,.06);

    text-align: center;
}

.footer-links {
    margin-top: 15px;

    display: none;
}

.footer-links a {
    text-decoration: none;
    color: var(--primary);
}

/* ================================================= */
/* FADE-IN ON SCROLL                                 */
/* ================================================= */

.fade-section {
    opacity: 0;
    transform: translateY(40px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================= */
/* MOBILE                                            */
/* ================================================= */

@media (max-width: 900px) {

    .hero {
        flex-direction: column-reverse;
        text-align: center;

        padding-top: 60px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .navbar {
        padding: 16px 20px;
    }

    .navbar-logo {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 2.7rem;
    }

    .section-header h2 {
        font-size: 2.3rem;
    }
}

@media (max-width: 600px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .navbar-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-logo {
        width: 240px;
    }

    .feature-slider-container {
        padding: 25px;
    }

    .feature-slide img {
        width: 180px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}