@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 15% 5%,
            rgba(82, 45, 180, 0.22),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 20%,
            rgba(0, 180, 255, 0.15),
            transparent 30%
        ),
        radial-gradient(
            circle at 50% 100%,
            rgba(100, 40, 200, 0.15),
            transparent 35%
        ),
        #03040a;

    background-attachment: fixed;
}

.container {
    width: 94%;
    max-width: 850px;
    margin: auto;
    padding: 20px 0 40px;
}


/* =========================
   ANIMATED BORDER
========================= */

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes borderRotate {
    to {
        --angle: 360deg;
    }
}


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

.hero {
    position: relative;
    isolation: isolate;

    text-align: center;

    padding: 32px 15px;
    margin-bottom: 22px;

    border: 2px solid transparent;
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #12111b,
            #05070d
        ) padding-box,

        conic-gradient(
            from var(--angle),
            #00d9ff,
            #426cff,
            #7548ff,
            #c044ff,
            #426cff,
            #00d9ff
        ) border-box;

    animation: borderRotate 6s linear infinite;

    box-shadow:
        0 12px 40px rgba(0, 0, 0, .75),
        0 0 25px rgba(90, 70, 255, .08);
}

.hero-title {
    font-size: 28px;
    font-weight: 800;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #bca8ff,
            #63ddff,
            #ffffff
        );

    background-size: 250% auto;

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    animation: titleShine 5s linear infinite;
}

@keyframes titleShine {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 250% center;
    }
}

.hero-subtitle {
    color: #aaa8b9;
    font-size: 14px;
    margin-top: 8px;
}


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

.card {
    position: relative;
    isolation: isolate;

    padding: 20px;
    margin-bottom: 18px;

    border: 2px solid transparent;
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #11101a,
            #05070d
        ) padding-box,

        conic-gradient(
            from var(--angle),
            #00d9ff,
            #426cff,
            #7045ff,
            #b53dff,
            #426cff,
            #00d9ff
        ) border-box;

    animation: borderRotate 7s linear infinite;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, .65);

    transition: .3s;
}

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

    box-shadow:
        0 15px 45px rgba(0, 0, 0, .8),
        0 0 30px rgba(90, 70, 255, .15);
}

.card h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 18px;

    color: #eeeaff;
}


/* =========================
   ITEMS
========================= */

.item {
    position: relative;
    isolation: isolate;

    padding: 17px;
    margin-top: 13px;

    border: 2px solid transparent;
    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #0c0b13,
            #05060b
        ) padding-box,

        conic-gradient(
            from var(--angle),
            #00cfff,
            #426cff,
            #7146ff,
            #9d3fff,
            #426cff,
            #00cfff
        ) border-box;

    animation: borderRotate 5s linear infinite;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, .4);

    transition: .3s;
}

.item:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .6),
        0 0 20px rgba(80, 80, 255, .12);
}

.item-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.8;

    color: #f2efff;
}

.item-description {
    color: #9997a9;
    font-size: 13px;
    line-height: 1.9;

    margin: 5px 0 14px;
}


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

.download-btn,
.social-btn,
.contact-btn {
    display: block;

    width: 100%;

    padding: 13px 15px;

    border-radius: 12px;

    text-align: center;

    text-decoration: none;

    font-weight: 800;

    transition: .25s;

    cursor: pointer;
}


/* =========================
   DOWNLOAD
========================= */

.download-btn {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #ddd6ff
        );

    color: #08070d;

    box-shadow:
        0 5px 20px rgba(110, 80, 255, .15);
}

.download-btn:hover {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #c3b4ff
        );

    transform: scale(1.02);

    box-shadow:
        0 8px 30px rgba(100, 70, 255, .3);
}


/* =========================
   SOCIAL
========================= */

.social-btn {
    background:
        linear-gradient(
            135deg,
            #100e19,
            #080a12
        );

    color: #e9e5ff;

    border: 1px solid #30294a;

    margin-top: 12px;
}

.social-btn:hover {
    background:
        linear-gradient(
            135deg,
            #19142c,
            #0a1020
        );

    border-color: #704cff;

    box-shadow:
        0 0 20px rgba(105, 76, 255, .18);

    transform: translateY(-2px);
}


/* =========================
   CONTACT
========================= */

.contact-box {
    position: relative;
    isolation: isolate;

    text-align: center;

    padding: 22px;

    border: 2px solid transparent;
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #100e1b,
            #05070d
        ) padding-box,

        conic-gradient(
            from var(--angle),
            #00d9ff,
            #426cff,
            #7045ff,
            #b53dff,
            #426cff,
            #00d9ff
        ) border-box;

    animation: borderRotate 6s linear infinite;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, .65);
}

.contact-title {
    font-size: 20px;
    font-weight: 800;

    color: #eeeaff;
}

.contact-description {
    color: #9997aa;
    font-size: 14px;
    margin: 8px 0 18px;
}

.contact-btn {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #dcd4ff
        );

    color: #08070d;
}

.contact-btn:hover {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #bcaaff
        );

    transform: scale(1.02);

    box-shadow:
        0 8px 28px rgba(110, 80, 255, .25);
}


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

footer {
    text-align: center;

    color: #77758a;

    font-size: 13px;

    line-height: 2;

    padding: 20px;
}


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

@media (max-width: 600px) {

    .container {
        width: 94%;
        padding-top: 12px;
    }

    .hero {
        padding: 26px 10px;
        border-radius: 19px;
    }

    .hero-title {
        font-size: 21px;
    }

    .hero-subtitle {
        font-size: 12px;
    }

    .card {
        padding: 15px;
        border-radius: 17px;
    }

    .card h2 {
        font-size: 17px;
    }

    .item {
        border-radius: 14px;
    }

    .item-title {
        font-size: 15px;
    }

    .item-description {
        font-size: 12px;
    }

    .download-btn,
    .social-btn,
    .contact-btn {
        font-size: 14px;
    }
}