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

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family: Arial, Helvetica, sans-serif;

    color: #172033;

    background:
        radial-gradient(
            circle at 10% 5%,
            rgba(99, 102, 241, 0.10),
            transparent 28%
        ),
        #f8fafc;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


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

.navbar {
    width: min(1200px, calc(100% - 64px));

    margin: 0 auto;
    padding: 28px 0;

    display: flex;
    align-items: center;
    gap: 35px;
}

.logo {
    font-size: 1.7rem;
    font-weight: 800;

    letter-spacing: -1px;

    color: #5b5cf0;
}

.nav__links {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 30px;
}

.nav__links a {
    font-size: 0.82rem;
    font-weight: 600;

    color: #64748b;

    transition: color 0.2s ease;
}

.nav__links a:hover {
    color: #5b5cf0;
}

.signin {
    margin-left: 5px;
}

.nav__button {
    padding: 11px 19px;

    border-radius: 9px;

    color: white;

    background: #5b5cf0;

    font-size: 0.78rem;
    font-weight: 700;

    box-shadow:
        0 7px 18px rgba(91, 92, 240, 0.20);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.nav__button:hover {
    background: #4f46e5;

    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(91, 92, 240, 0.28);
}


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

.hero {
    width: min(1200px, calc(100% - 64px));

    min-height: 680px;

    margin: 20px auto 0;

    display: grid;
    grid-template-columns: 1fr 0.9fr;

    align-items: center;
    gap: 80px;
}


/* HERO CONTENT */

.hero__content {
    max-width: 570px;
}

.hero__tag {
    display: inline-block;

    margin-bottom: 20px;

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 2px;

    color: #5b5cf0;
}

.hero h1 {
    margin-bottom: 25px;

    font-size: clamp(3.4rem, 6vw, 5.6rem);

    line-height: 0.96;

    letter-spacing: -5px;

    color: #172033;
}

.hero h1 span {
    display: block;

    color: #5b5cf0;
}

.hero__content > p {
    max-width: 530px;

    margin-bottom: 30px;

    color: #64748b;

    font-size: 1.05rem;
    line-height: 1.75;
}


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

.hero__buttons {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 15px;
}

.primary__button,
.secondary__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 21px;

    border-radius: 9px;

    font-size: 0.8rem;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.primary__button {
    color: white;

    background: #5b5cf0;

    box-shadow:
        0 8px 20px rgba(91, 92, 240, 0.20);
}

.primary__button:hover {
    background: #4f46e5;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(91, 92, 240, 0.28);
}

.secondary__button {
    border: 1px solid #dbe1ea;

    color: #475569;

    background: white;
}

.secondary__button:hover {
    border-color: #c7ccd8;

    background: #f8fafc;

    transform: translateY(-2px);
}

.hero__content small {
    color: #94a3b8;

    font-size: 0.7rem;
}


/* =========================================
   DASHBOARD
========================================= */

.dashboard {
    position: relative;

    padding: 25px;

    border: 1px solid #e1e6ef;
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.88);

    box-shadow:
        0 35px 80px rgba(15, 23, 42, 0.10),
        0 8px 25px rgba(15, 23, 42, 0.05);

    overflow: hidden;

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

.dashboard::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -80px;

    border-radius: 50%;

    background: rgba(99, 102, 241, 0.10);
}

@keyframes floatDashboard {

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

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


/* DASHBOARD TOP */

.dashboard__top {
    position: relative;

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

    padding-bottom: 20px;

    border-bottom: 1px solid #edf0f5;
}

.dashboard__top strong {
    font-size: 0.95rem;
}

.dashboard__top span {
    color: #94a3b8;

    letter-spacing: 2px;
}


/* STATS */

.dashboard__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    padding: 20px 0;
}

.dashboard__stats > div {
    padding: 14px;

    border-radius: 12px;

    background: #f7f8fc;
}

.dashboard__stats small {
    display: block;

    margin-bottom: 5px;

    color: #94a3b8;

    font-size: 0.68rem;
}

.dashboard__stats strong {
    font-size: 1.35rem;

    color: #27324a;
}


/* TASKS */

.task {
    min-height: 55px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 12px;

    border-bottom: 1px solid #f0f2f6;

    color: #475569;

    font-size: 0.78rem;
}

.task:last-child {
    border-bottom: none;
}

.check,
.empty {
    width: 20px;
    height: 20px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;
}

.check {
    color: white;

    background: #6366f1;

    font-size: 0.65rem;
}

.empty {
    border: 1px solid #cbd5e1;
}

.done,
.pending {
    margin-left: auto;

    padding: 5px 8px;

    border-radius: 20px;

    font-size: 0.62rem;
    font-weight: 700;
}

.done {
    color: #16a34a;
    background: #ecfdf3;
}

.pending {
    color: #6366f1;
    background: #eef2ff;
}


/* =========================================
   SECTION DEFAULTS
========================================= */

.features,
.how {
    width: min(1100px, calc(100% - 64px));

    margin: 0 auto;
}

.features {
    padding: 110px 0;
}

.how {
    padding: 110px 0;
}

.section__heading {
    max-width: 650px;

    margin: 0 auto 60px;

    text-align: center;
}

.section__heading > span {
    display: block;

    margin-bottom: 14px;

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 2px;

    color: #6366f1;
}

.section__heading h2 {
    margin-bottom: 15px;

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.05;

    letter-spacing: -2px;
}

.section__heading p {
    color: #64748b;

    font-size: 0.95rem;
    line-height: 1.7;
}


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

.feature__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.feature__card {
    padding: 30px;

    border: 1px solid #e5e9f0;
    border-radius: 18px;

    background: white;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.feature__card:hover {
    transform: translateY(-6px);

    border-color: #d8dafa;

    box-shadow:
        0 20px 45px rgba(15, 23, 42, 0.08);
}

.icon {
    width: 44px;
    height: 44px;

    margin-bottom: 22px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    color: #6366f1;

    background: #eef2ff;

    font-size: 1.1rem;
    font-weight: 800;
}

.feature__card h3 {
    margin-bottom: 10px;

    font-size: 1rem;
}

.feature__card p {
    color: #64748b;

    font-size: 0.82rem;

    line-height: 1.7;
}


/* =========================================
   HOW IT WORKS
========================================= */

.how {
    border-top: 1px solid #e9edf3;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 45px;
}

.step {
    position: relative;
}

.number {
    margin-bottom: 20px;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 2px;

    color: #6366f1;
}

.step h3 {
    margin-bottom: 10px;

    font-size: 1rem;
}

.step p {
    color: #64748b;

    font-size: 0.82rem;
    line-height: 1.7;
}


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

.cta {
    width: min(1100px, calc(100% - 64px));

    margin: 20px auto 100px;

    padding: 75px 30px;

    border-radius: 28px;

    text-align: center;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 255, 255, 0.12),
            transparent 25%
        ),
        #171d35;

    color: white;

    box-shadow:
        0 25px 60px rgba(15, 23, 42, 0.15);
}

.cta h2 {
    margin-bottom: 15px;

    font-size: clamp(2rem, 4vw, 3rem);

    letter-spacing: -2px;
}

.cta p {
    max-width: 500px;

    margin: 0 auto 28px;

    color: #b8c0d4;

    font-size: 0.9rem;
    line-height: 1.7;
}

.cta .primary__button {
    background: #6366f1;

    margin-bottom: 14px;
}

.cta .primary__button:hover {
    background: #818cf8;
}

.cta small {
    display: block;

    color: #8e98b2;

    font-size: 0.68rem;
}


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

footer {
    width: min(1100px, calc(100% - 64px));

    margin: 0 auto;

    padding: 25px 0 35px;

    border-top: 1px solid #e5e9f0;

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

    gap: 20px;

    color: #94a3b8;

    font-size: 0.7rem;
}

footer strong {
    color: #5b5cf0;

    font-size: 1rem;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 950px) {

    .navbar,
    .hero,
    .features,
    .how,
    .cta,
    footer {
        width: min(900px, calc(100% - 48px));
    }

    .hero {
        grid-template-columns: 1fr 0.85fr;

        gap: 45px;

        min-height: 620px;
    }

    .hero h1 {
        font-size: 4rem;

        letter-spacing: -3.5px;
    }

    .dashboard {
        padding: 19px;
    }

    .features,
    .how {
        padding: 90px 0;
    }

    .feature__card {
        padding: 24px;
    }
}


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

@media (max-width: 760px) {

    body {
        background:
            radial-gradient(
                circle at 50% 0%,
                rgba(99, 102, 241, 0.13),
                transparent 32%
            ),
            #f8fafc;
    }


    /* NAV */

    .navbar {
        width: calc(100% - 32px);

        padding: 20px 0;

        gap: 15px;
    }

    .logo {
        font-size: 1.45rem;
    }

    .nav__links {
        display: none;
    }

    .nav__button {
        margin-left: auto;

        padding: 10px 15px;

        font-size: 0.7rem;
    }


    /* HERO */

    .hero {
        width: calc(100% - 32px);

        min-height: auto;

        margin: 20px auto 0;

        display: flex;
        flex-direction: column;

        gap: 40px;

        text-align: center;
    }

    .hero__content {
        max-width: none;
    }

    .hero__tag {
        margin-bottom: 15px;

        font-size: 0.63rem;
    }

    .hero h1 {
        margin-bottom: 20px;

        font-size: clamp(3rem, 15vw, 4.3rem);

        line-height: 0.96;

        letter-spacing: -3px;
    }

    .hero__content > p {
        max-width: 500px;

        margin: 0 auto 25px;

        font-size: 0.9rem;

        line-height: 1.7;
    }


    /* HERO BUTTONS */

    .hero__buttons {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 10px;

        margin-bottom: 13px;
    }

    .primary__button,
    .secondary__button {
        width: 100%;

        min-height: 52px;
    }

    .hero__content small {
        font-size: 0.65rem;
    }


    /* DASHBOARD */

    .dashboard {
        width: 100%;

        padding: 17px;

        border-radius: 18px;

        text-align: left;

        animation: none;

        box-shadow:
            0 20px 45px rgba(15, 23, 42, 0.09);
    }

    .dashboard__top {
        padding-bottom: 16px;
    }

    .dashboard__top strong {
        font-size: 0.82rem;
    }

    .dashboard__stats {
        padding: 15px 0;
    }

    .dashboard__stats > div {
        padding: 11px;
    }

    .dashboard__stats small {
        font-size: 0.6rem;
    }

    .dashboard__stats strong {
        font-size: 1.05rem;
    }

    .task {
        min-height: 51px;

        font-size: 0.68rem;
    }

    .done,
    .pending {
        padding: 4px 6px;

        font-size: 0.55rem;
    }


    /* SECTIONS */

    .features,
    .how {
        width: calc(100% - 32px);

        padding: 80px 0;
    }

    .section__heading {
        margin-bottom: 40px;
    }

    .section__heading > span {
        font-size: 0.6rem;
    }

    .section__heading h2 {
        font-size: 2rem;

        letter-spacing: -1.5px;
    }

    .section__heading p {
        font-size: 0.83rem;
    }


    /* FEATURES */

    .feature__grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .feature__card {
        padding: 22px;

        border-radius: 15px;
    }

    .feature__card:hover {
        transform: none;
    }

    .icon {
        width: 40px;
        height: 40px;

        margin-bottom: 16px;
    }

    .feature__card h3 {
        font-size: 0.95rem;
    }

    .feature__card p {
        font-size: 0.76rem;
    }


    /* HOW IT WORKS */

    .how {
        border-top: 1px solid #e9edf3;
    }

    .steps {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .step {
        padding: 22px;

        border-radius: 15px;

        background: white;

        border: 1px solid #e7ebf1;
    }

    .number {
        margin-bottom: 13px;
    }

    .step h3 {
        font-size: 0.95rem;
    }

    .step p {
        font-size: 0.76rem;
    }


    /* CTA */

    .cta {
        width: calc(100% - 32px);

        margin: 10px auto 70px;

        padding: 55px 22px;

        border-radius: 21px;
    }

    .cta h2 {
        font-size: 2rem;

        letter-spacing: -1.5px;
    }

    .cta p {
        font-size: 0.78rem;
    }

    .cta .primary__button {
        width: 100%;
    }


    /* FOOTER */

    footer {
        width: calc(100% - 32px);

        padding: 22px 0 30px;

        flex-direction: column;

        text-align: center;

        gap: 8px;

        font-size: 0.63rem;
    }
}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 400px) {

    .navbar {
        width: calc(100% - 24px);
    }

    .nav__button {
        padding: 9px 12px;

        font-size: 0.65rem;
    }

    .hero,
    .features,
    .how,
    .cta,
    footer {
        width: calc(100% - 24px);
    }

    .hero h1 {
        font-size: 2.8rem;

        letter-spacing: -2.5px;
    }

    .hero__content > p {
        font-size: 0.84rem;
    }

    .dashboard {
        padding: 14px;
    }

    .dashboard__stats > div {
        padding: 9px;
    }

    .dashboard__stats strong {
        font-size: 0.95rem;
    }

    .task {
        gap: 7px;

        font-size: 0.62rem;
    }

    .task .check,
    .task .empty {
        width: 17px;
        height: 17px;
    }

    .done,
    .pending {
        display: none;
    }

    .section__heading h2 {
        font-size: 1.8rem;
    }

    .cta {
        padding: 45px 18px;
    }
}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

