@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg: #f7f9fb;
    --text: #10202f;
    --muted: #71808d;
    --blue: #087fc1;
    --blue-dark: #075b8a;
    --line: rgba(16, 32, 47, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Vazirmatn", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
}

.hero {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 70px 9%;
    overflow: hidden;
}

/* -------------------- */
/* Background */
/* -------------------- */

.bg-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(20, 145, 210, 0.055);
    top: -230px;
    right: -100px;
}

.glow-2 {
    width: 350px;
    height: 350px;
    background: rgba(20, 145, 210, 0.04);
    bottom: -170px;
    left: -100px;
}

/* -------------------- */
/* Content */
/* -------------------- */

.content {
    position: relative;
    z-index: 5;
    max-width: 600px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 50px;

    color: var(--muted);
    font-size: 13px;
    background: rgba(255, 255, 255, 0.5);

    backdrop-filter: blur(10px);

    animation: fadeUp 0.8s ease forwards;
}

.brand-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);

    box-shadow: 0 0 0 5px rgba(8, 127, 193, 0.1);

    animation: pulse 2s infinite;
}

h1 {
    margin-top: 25px;

    font-size: clamp(70px, 9vw, 130px);
    line-height: 0.95;
    letter-spacing: -5px;
    font-weight: 800;

    animation: fadeUp 0.9s 0.1s ease both;
}

h1 span {
    color: var(--blue);
    letter-spacing: 0;
}

.description {
    margin-top: 28px;

    max-width: 480px;

    font-size: 18px;
    line-height: 2;

    color: var(--muted);

    animation: fadeUp 0.9s 0.2s ease both;
}

.description strong {
    color: var(--text);
    font-weight: 600;
}

/* -------------------- */
/* Status */
/* -------------------- */

.status {
    margin-top: 35px;

    display: inline-flex;
    align-items: center;
    gap: 13px;

    color: #566875;
    font-size: 13px;

    animation: fadeUp 0.9s 0.3s ease both;
}

.loader {
    display: flex;
    gap: 4px;
}

.loader span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue);

    animation: loading 1.4s infinite ease-in-out;
}

.loader span:nth-child(2) {
    animation-delay: 0.15s;
}

.loader span:nth-child(3) {
    animation-delay: 0.3s;
}

/* -------------------- */
/* Tank */
/* -------------------- */

.tank-wrapper {
    position: absolute;

    left: 8%;
    bottom: 9%;

    width: 300px;
    height: 480px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    opacity: 0.92;

    animation: tankFloat 5s ease-in-out infinite;
}

.tank {
    position: relative;
    width: 220px;
    height: 360px;
}

/* Tank top */

.tank-top {
    position: absolute;

    width: 185px;
    height: 45px;

    top: -20px;
    left: 17px;

    border-radius: 50%;

    background: #eaf1f5;
    border: 1px solid #d6e1e7;

    z-index: 3;
}

.tank-top::after {
    content: "";

    position: absolute;

    width: 55px;
    height: 17px;

    left: 65px;
    top: 8px;

    border-radius: 50%;

    background: #cfdce3;
}

/* Tank body */

.tank-body {
    position: absolute;

    width: 220px;
    height: 330px;

    top: 0;

    border-radius:
        30px
        30px
        48px
        48px;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            #dce7ec 0%,
            #f7fafb 20%,
            #ffffff 50%,
            #e3edf1 80%,
            #d1dfe5 100%
        );

    border: 1px solid #d2dfe5;

    box-shadow:
        25px 30px 60px rgba(25, 62, 82, 0.12),
        inset 8px 0 15px rgba(255,255,255,.7);
}

/* Water */

.water-level {
    position: absolute;

    width: 100%;
    height: 52%;

    bottom: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(8, 127, 193, 0.5),
            rgba(8, 127, 193, 0.8)
        );

    opacity: 0.8;
}

.water-wave {
    position: absolute;

    top: -11px;
    left: -10%;

    width: 120%;
    height: 22px;

    border-radius: 50%;

    background: rgba(255,255,255,.35);

    animation: waveMove 4s linear infinite;
}

/* Tank highlight */

.tank-highlight {
    position: absolute;

    width: 15px;
    height: 230px;

    left: 30px;
    top: 55px;

    border-radius: 20px;

    background: rgba(255,255,255,.5);

    filter: blur(1px);
}

/* Tank base */

.tank-base {
    position: absolute;

    width: 150px;
    height: 20px;

    bottom: -17px;
    left: 35px;

    border-radius: 50%;

    background: #ccd9df;
}

/* Shadow */

.tank-shadow {
    position: absolute;

    width: 270px;
    height: 35px;

    bottom: 0;

    border-radius: 50%;

    background: rgba(25, 54, 70, 0.1);

    filter: blur(15px);
}

/* -------------------- */
/* Water Background */
/* -------------------- */

.water {
    position: absolute;

    width: 100%;
    height: 220px;

    bottom: -170px;
    left: 0;

    opacity: 0.25;
}

.wave {
    position: absolute;

    width: 130%;
    height: 100px;

    left: -15%;

    border-radius: 50%;

    border-top: 1px solid rgba(8, 127, 193, .2);
}

.wave-1 {
    top: 0;

    animation: bigWave 8s ease-in-out infinite;
}

.wave-2 {
    top: 25px;

    opacity: .5;

    animation: bigWave 11s ease-in-out infinite reverse;
}

/* -------------------- */
/* Footer */
/* -------------------- */

footer {
    position: absolute;

    left: 9%;
    bottom: 35px;

    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 11px;

    color: #9aa7af;

    direction: ltr;
}

footer strong {
    color: var(--text);
    font-size: 13px;
    letter-spacing: 1px;
}

/* -------------------- */
/* Animations */
/* -------------------- */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(8,127,193,.08);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(8,127,193,.02);
    }
}

@keyframes loading {
    0%, 80%, 100% {
        transform: scale(.7);
        opacity: .4;
    }

    40% {
        transform: scale(1.3);
        opacity: 1;
    }
}

@keyframes tankFloat {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-14px) rotate(1deg);
    }
}

@keyframes waveMove {
    0% {
        transform: translateX(-5%);
    }

    50% {
        transform: translateX(5%);
    }

    100% {
        transform: translateX(-5%);
    }
}

@keyframes bigWave {
    0%, 100% {
        transform: translateX(-2%);
    }

    50% {
        transform: translateX(4%);
    }
}

/* -------------------- */
/* Responsive */
/* -------------------- */

@media (max-width: 900px) {

    .hero {
        padding: 50px 7%;
    }

    .tank-wrapper {
        left: auto;
        right: -30px;
        bottom: 3%;

        transform: scale(.75);
        opacity: .35;
    }

    footer {
        left: 7%;
    }
}

@media (max-width: 600px) {

    body {
        overflow: hidden;
    }

    .hero {
        min-height: 100svh;
        padding: 35px 24px;
        align-items: center;
    }

    .content {
        width: 100%;
    }

    .brand {
        font-size: 11px;
    }

    h1 {
        margin-top: 22px;

        font-size: clamp(65px, 20vw, 95px);
        letter-spacing: -4px;
    }

    .description {
        margin-top: 22px;

        font-size: 15px;
        line-height: 2;

        max-width: 330px;
    }

    .status {
        margin-top: 25px;
    }

    .tank-wrapper {
        right: -90px;
        bottom: -50px;

        transform: scale(.65);

        opacity: .18;
    }

    footer {
        left: 24px;
        bottom: 22px;
    }
}