/* =========================
   RESET AND GLOBAL STYLES
========================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #090b10;
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

button,
input {
    font: inherit;
}

:root {
    --background: #090b10;
    --surface: #151923;
    --blue: #4385ff;
    --blue-hover: #2868df;
    --white: #ffffff;
    --muted: #b7bfce;
    --border-dark: #292e3a;
}

/* =========================
   NAVIGATION
========================= */

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

    min-height: 82px;
    padding: 15px 8%;

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

    background: rgba(9, 11, 16, 0.96);
    border-bottom: 1px solid var(--border-dark);
    backdrop-filter: blur(12px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--blue);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.target-logo {
    width: 39px;
    height: 39px;

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

    border: 4px solid var(--blue);
    border-radius: 50%;

    font-size: 32px;
    line-height: 1;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navbar nav a {
    color: #d1d5df;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.navbar nav a:hover,
.navbar nav a:focus-visible {
    color: var(--blue);
}

.nav-button {
    display: inline-block;
    padding: 12px 18px;

    background: var(--blue);
    color: var(--white);
    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;

    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-button:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
}

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

.hero {
    min-height: 88vh;
    padding: 100px 8%;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 65px;

    background:
        radial-gradient(
            ellipse at 80% 35%,
            rgba(41, 91, 180, 0.16),
            transparent 48%
        ),
        var(--background);
}

.hero-content {
    max-width: 650px;
}

.badge {
    display: inline-block;
    margin-bottom: 25px;
    padding: 9px 14px;

    background: rgba(67, 133, 255, 0.12);
    border: 1px solid rgba(67, 133, 255, 0.28);
    border-radius: 30px;

    color: #79aaff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero h1 {
    margin-bottom: 26px;

    color: var(--white);
    font-size: clamp(46px, 5.2vw, 76px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2.5px;
}

.hero h1 span,
.section h2 span {
    color: var(--blue);
}

.hero-description {
    max-width: 550px;
    margin-bottom: 30px;

    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

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

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.primary-button,
.secondary-button {
    display: inline-block;
    padding: 15px 22px;

    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.primary-button {
    background: var(--blue);
    color: var(--white);
}

.primary-button:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
}

.secondary-button {
    background: transparent;
    border: 1px solid #454b59;
    color: var(--white);
}

.secondary-button:hover {
    background: #171c27;
    border-color: var(--blue);
}

/* =========================
   THREE STEPS
========================= */

.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
}

.step {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.step strong {
    color: var(--blue);
    font-size: 16px;
}

.step span {
    color: #aab3c2;
    font-size: 13px;
}

/* =========================
   WHITE DASHBOARD PREVIEW
========================= */

.dashboard {
    width: 100%;
    max-width: 510px;
    justify-self: end;

    padding: 30px;
    background: #ffffff;
    color: #172033;

    border: 1px solid #e1e7f0;
    border-radius: 20px;

    box-shadow: 0 28px 75px rgba(0, 0, 0, 0.35);
}

.dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.today {
    color: #2670f5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.dashboard h2 {
    margin-top: 8px;
    color: #172033;
    font-size: 27px;
    line-height: 1.25;
}

.dashboard-subtitle {
    margin-top: 6px;
    color: #758196;
    font-size: 13px;
}

.big-target {
    width: 49px;
    height: 49px;
    flex-shrink: 0;

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

    border: 4px solid #2670f5;
    border-radius: 50%;

    color: #2670f5;
    font-size: 37px;
    line-height: 1;
}

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

    padding: 19px 0;
    border-bottom: 1px solid #e9edf3;
}

.check {
    width: 22px;
    height: 22px;
    flex-shrink: 0;

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

    border: 2px solid #cbd5e1;
    border-radius: 50%;
}

.check.checked {
    background: #2670f5;
    border-color: #2670f5;
    color: white;
    font-size: 13px;
}

.task-preview > div {
    flex: 1;
    min-width: 0;
}

.task-preview strong {
    display: block;
    margin-bottom: 4px;

    color: #202b3c;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.task-preview small {
    color: #7a8698;
    font-size: 12px;
}

.task-status {
    color: #657287;
    font-size: 11px;
    white-space: nowrap;
}

.task-status.completed {
    color: #2670f5;
    font-weight: 700;
}

.progress-area {
    margin-top: 25px;
}

.progress-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;

    color: #687589;
    font-size: 12px;
}

.progress-top strong {
    color: #2670f5;
}

.progress-bar {
    width: 100%;
    height: 8px;
    overflow: hidden;

    background: #e8edf5;
    border-radius: 20px;
}

.progress-fill {
    width: 33%;
    height: 100%;
    background: #2670f5;
    border-radius: 20px;
}

.preview-note {
    margin-top: 14px;
    color: #929bad;
    font-size: 11px;
}

/* =========================
   GENERAL SECTIONS
========================= */

.section {
    padding: 110px 8%;
    scroll-margin-top: 80px;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 45px;
}

.section-heading.center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-label {
    display: block;
    margin-bottom: 17px;

    color: #79aaff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section h2 {
    color: var(--white);
    font-size: clamp(36px, 4.2vw, 55px);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.section-description {
    max-width: 650px;
    margin: 20px auto 0;

    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

/* =========================
   ABOUT TARGET
========================= */

.about {
    background: #0e1119;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;

    max-width: 1050px;
    margin: 0 auto;
}

.about-card {
    padding: 30px;

    background: #151923;
    border: 1px solid #292e3a;
    border-radius: 15px;

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

.about-card:hover {
    transform: translateY(-4px);
    border-color: #4385ff;
}

.about-icon {
    width: 47px;
    height: 47px;
    margin-bottom: 19px;

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

    background: rgba(67, 133, 255, 0.12);
    border-radius: 11px;

    color: #79aaff;
    font-size: 27px;
}

.about-card h3 {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 19px;
}

.about-card p {
    color: #b7bfce;
    font-size: 14px;
    line-height: 1.8;
}

.about-ending {
    margin-top: 55px;
    text-align: center;
}

.about-ending h3 {
    color: #ffffff;
    font-size: clamp(21px, 3vw, 30px);
}

.about-ending p {
    margin-top: 10px;
    color: #4385ff;
    font-weight: 700;
}

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

.features-section {
    background: #090b10;
}

.feature-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;

    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    padding: 30px;

    background: #151923;
    border: 1px solid #292e3a;
    border-radius: 15px;

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

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #4385ff;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;

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

    background: rgba(67, 133, 255, 0.12);
    border-radius: 11px;

    color: #79aaff;
    font-size: 25px;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 19px;
}

.feature-card p {
    color: #b7bfce;
    font-size: 14px;
    line-height: 1.8;
}

.features-cta {
    margin-top: 55px;
    text-align: center;
}

.features-cta h3 {
    margin-bottom: 22px;
    color: #ffffff;
    font-size: 24px;
}

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

.contact {
    background: #0e1119;
}

.contact-card {
    max-width: 440px;
    margin: 0 auto;
    padding: 32px 24px;

    background: #151923;
    border: 1px solid #292e3a;
    border-radius: 15px;

    text-align: center;
}

.contact-icon {
    display: block;
    margin-bottom: 12px;

    color: #4385ff;
    font-size: 35px;
}

.contact-card h3 {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 20px;
}

.contact-card a {
    color: #79aaff;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-card a:hover {
    color: #ffffff;
    text-decoration: underline;
}

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

footer {
    padding: 40px 8%;

    background: #06070b;
    border-top: 1px solid #292e3a;

    text-align: center;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;

    color: #4385ff;
    font-size: 24px;
    font-weight: 800;
}

.footer-logo span {
    font-size: 29px;
}

footer p {
    margin-bottom: 8px;
    color: #b7bfce;
    font-size: 14px;
}

footer .copyright {
    margin-top: 20px;
    color: #7e8798;
    font-size: 12px;
}

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

@media (max-width: 1000px) {
    .navbar {
        padding-right: 5%;
        padding-left: 5%;
        gap: 16px;
    }

    .navbar nav {
        gap: 18px;
    }

    .hero {
        padding-right: 5%;
        padding-left: 5%;
        gap: 35px;
    }

    .section {
        padding-right: 5%;
        padding-left: 5%;
    }

    .dashboard {
        padding: 25px;
    }
}

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

@media (max-width: 750px) {
    html {
        scroll-padding-top: 140px;
    }

    .navbar {
        position: sticky;
        padding: 15px 5%;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .logo {
        font-size: 22px;
    }

    .target-logo {
        width: 34px;
        height: 34px;
        font-size: 27px;
    }

    .navbar nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    .navbar nav a {
        font-size: 13px;
    }

    .nav-button {
        padding: 10px 12px;
        font-size: 12px;
    }

    .hero {
        min-height: auto;
        padding: 75px 6%;
        grid-template-columns: minmax(0, 1fr);
        gap: 45px;
    }

    .hero h1 {
        font-size: clamp(43px, 10vw, 60px);
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 35px;
    }

    .steps {
        gap: 22px;
    }

    .step span {
        font-size: 12px;
    }

    .dashboard {
        width: 100%;
        max-width: 520px;
        justify-self: center;
        padding: 22px;
    }

    .dashboard h2 {
        font-size: 24px;
    }

    .task-preview {
        gap: 9px;
    }

    .task-preview strong {
        font-size: 13px;
    }

    .task-status {
        font-size: 10px;
    }

    .section {
        padding: 80px 6%;
    }

    .section h2 {
        font-size: clamp(34px, 8vw, 46px);
    }

    .about-grid,
    .feature-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-card,
    .feature-card {
        padding: 25px;
    }

    .about-ending {
        margin-top: 40px;
    }

    .contact-card {
        width: 100%;
    }

    footer {
        padding: 35px 6%;
    }
}

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

@media (max-width: 380px) {
    .navbar {
        gap: 12px;
    }

    .logo {
        font-size: 19px;
    }

    .nav-button {
        font-size: 11px;
        padding: 9px;
    }

    .dashboard {
        padding: 17px;
    }

    .task-status {
        display: none;
    }

    .steps {
        gap: 16px;
    }
}

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

a:focus-visible {
    outline: 3px solid #79aaff;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}