:root {
    --bg-main: #07111F;
    --bg-secondary: #0B1628;
    --card-bg: #132238;

    --primary: #14B8A6;
    --secondary: #22D3EE;
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;

    --text-main: #FFFFFF;
    --text-secondary: #9DB4C9;

    --radius: 22px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(circle at 18% 18%, rgba(20, 184, 166, 0.18), transparent 32%),
        radial-gradient(circle at 82% 28%, rgba(34, 211, 238, 0.14), transparent 30%),
        var(--bg-main);

    color: var(--text-main);
    font-family: Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    padding: 22px 0;

    z-index: 1000;

    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.logo::first-letter {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 700;

    transition: 0.3s ease;
}

.nav a:hover {
    color: var(--text-main);
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 24px;

    border: none;
    border-radius: 16px;

    font-size: 0.95rem;
    font-weight: 900;

    cursor: pointer;

    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-4px);
}

.btn-primary {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    box-shadow: 0 18px 45px rgba(20, 184, 166, 0.28);
}

.btn-secondary {
    color: var(--text-main);

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

/* HERO */

.hero {
    position: relative;

    min-height: 100vh;
    padding: 140px 0 80px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);

    background-size: 72px 72px;

    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-content {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;

    margin-bottom: 24px;
    padding: 9px 15px;

    border-radius: 999px;

    color: var(--secondary);
    background: rgba(6, 182, 212, 0.08);

    border: 1px solid rgba(6, 182, 212, 0.28);

    font-size: 0.9rem;
    font-weight: 900;
}

.hero h1 {
    max-width: 720px;

    margin-bottom: 28px;

    font-size: clamp(3.6rem, 7vw, 6.7rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
}

.hero h1 span {
    color: var(--primary);

    text-shadow: 0 0 35px rgba(139, 92, 246, 0.45);
}

.hero p {
    max-width: 620px;

    margin-bottom: 38px;

    color: var(--text-secondary);
    font-size: 1.16rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* DASHBOARD PREVIEW */

.dashboard-preview {
    position: relative;

    padding: 28px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(30, 41, 59, 0.92),
            rgba(17, 24, 39, 0.72)
        );

    border: 1px solid rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(18px);

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(139, 92, 246, 0.18);

    animation: dashboardFloat 5s ease-in-out infinite;
}

.dashboard-preview::before {
    content: "";

    position: absolute;
    inset: -1px;

    border-radius: inherit;

    background:
        linear-gradient(
            135deg,
            rgba(139, 92, 246, 0.5),
            transparent 35%,
            rgba(6, 182, 212, 0.3)
        );

    z-index: -1;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    margin-bottom: 24px;
}

.preview-header span {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 900;
}

.preview-header h3 {
    margin-top: 7px;
    font-size: 1.55rem;
}

.preview-header strong {
    color: var(--success);
    font-size: 2.1rem;
}

.preview-progress {
    height: 12px;

    margin-bottom: 24px;

    overflow: hidden;

    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.preview-progress div {
    width: 78%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;

    margin-bottom: 24px;
}

.preview-stats div {
    padding: 18px;

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.055);
}

.preview-stats span {
    display: block;

    margin-bottom: 8px;

    color: var(--text-secondary);
    font-size: 0.82rem;
}

.preview-stats strong {
    font-size: 1.4rem;
}

.preview-tasks {
    display: grid;
    gap: 12px;
}

.preview-task {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;

    padding: 15px;

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.055);
}

.preview-task span {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: var(--warning);
}

.preview-task.done span {
    background: var(--success);
}

.preview-task.active span {
    background: var(--secondary);
}

.preview-task p {
    margin: 0;

    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.4;
}

.preview-task strong {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

@keyframes dashboardFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* FEATURES */

.features {
    padding: 110px 0;
}

.section-head {
    max-width: 720px;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-flex;

    margin-bottom: 18px;
    padding: 8px 14px;

    border-radius: 999px;

    color: var(--secondary);
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.25);

    font-size: 0.85rem;
    font-weight: 900;
}

.section-head h2 {
    margin-bottom: 18px;

    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.section-head p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 30px;

    border-radius: 26px;

    background:
        linear-gradient(
            135deg,
            rgba(19, 34, 56, 0.95),
            rgba(11, 22, 40, 0.78)
        );

    border: 1px solid rgba(255, 255, 255, 0.08);

    transition: 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 211, 238, 0.3);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(20, 184, 166, 0.12);
}

.feature-icon {
    width: 48px;
    height: 48px;

    margin-bottom: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    color: var(--text-main);
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    font-weight: 900;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* WORKFLOW */

.workflow {
    padding: 110px 0;
}

.workflow-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.workflow-text h2 {
    margin-bottom: 20px;

    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.workflow-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.workflow-steps {
    display: grid;
    gap: 18px;
}

.workflow-step {
    padding: 26px;

    border-radius: 24px;

    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);

    transition: 0.3s ease;
}

.workflow-step:hover {
    transform: translateX(8px);
    border-color: rgba(34, 211, 238, 0.28);
}

.workflow-step span {
    display: inline-block;

    margin-bottom: 16px;

    color: var(--secondary);
    font-weight: 900;
}

.workflow-step h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.workflow-step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* APP PREVIEW */

.app-preview {
    padding: 120px 0;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.app-window {
    display: grid;
    grid-template-columns: 240px 1fr;

    min-height: 520px;

    overflow: hidden;

    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.1);

    background:
        linear-gradient(
            135deg,
            rgba(19, 34, 56, 0.96),
            rgba(11, 22, 40, 0.86)
        );

    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(20, 184, 166, 0.12);
}

.app-sidebar {
    padding: 28px;

    background: rgba(255, 255, 255, 0.035);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.app-sidebar strong {
    display: block;

    margin-bottom: 34px;

    font-size: 1.4rem;
}

.app-sidebar nav {
    display: grid;
    gap: 14px;
}

.app-sidebar nav span {
    padding: 13px 14px;

    border-radius: 14px;

    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);

    font-weight: 800;
}

.app-sidebar nav span:first-child {
    color: var(--text-main);
    background:
        linear-gradient(
            135deg,
            rgba(20, 184, 166, 0.22),
            rgba(34, 211, 238, 0.14)
        );
}

.app-main {
    padding: 30px;
}

.app-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 24px;
}

.app-topbar h3 {
    font-size: 1.7rem;
}

.app-search {
    width: 260px;

    padding: 14px 16px;

    border-radius: 14px;

    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.06);
}

.app-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;

    margin-bottom: 24px;
}

.app-stats div {
    padding: 24px;

    border-radius: 22px;

    background: rgba(255, 255, 255, 0.055);
}

.app-stats span {
    display: block;

    margin-bottom: 10px;

    color: var(--text-secondary);
}

.app-stats strong {
    font-size: 2rem;
}

.app-content-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 18px;
}

.app-chart,
.app-deadlines {
    padding: 24px;

    border-radius: 22px;

    background: rgba(255, 255, 255, 0.055);
}

.app-chart h4,
.app-deadlines h4 {
    margin-bottom: 22px;
}

.chart-bars {
    height: 220px;

    display: flex;
    align-items: end;
    gap: 14px;
}

.chart-bars span {
    flex: 1;

    border-radius: 999px 999px 0 0;

    background:
        linear-gradient(
            180deg,
            var(--secondary),
            var(--primary)
        );
}

.app-deadlines {
    display: flex;
    flex-direction: column;
}

.app-deadlines p {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px 0;

    color: var(--text-secondary);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-deadlines p:last-child {
    border-bottom: none;
}

.app-deadlines span {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: var(--warning);
}

/* TESTIMONIALS */

.testimonials {
    padding: 110px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 28px;

    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);

    background: rgba(255, 255, 255, 0.055);
}

.testimonial-card p {
    margin-bottom: 24px;

    color: var(--text-secondary);
    line-height: 1.7;
}

.testimonial-card strong {
    display: block;
    margin-bottom: 6px;
}

.testimonial-card span {
    color: var(--secondary);
    font-size: 0.9rem;
}

/* CTA */

.cta {
    padding: 110px 0;
}

.cta-box {
    padding: 70px;

    text-align: center;

    border-radius: 34px;

    background:
        linear-gradient(
            135deg,
            rgba(20, 184, 166, 0.18),
            rgba(34, 211, 238, 0.1)
        );

    border: 1px solid rgba(34, 211, 238, 0.2);
}

.cta-box h2 {
    max-width: 760px;
    margin: 0 auto 20px;

    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.cta-box p {
    max-width: 620px;
    margin: 0 auto 34px;

    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* FOOTER */

.footer {
    padding: 34px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;

    color: var(--text-secondary);
}

.footer strong {
    color: var(--text-main);
}

/* DASHBOARD */

.dashboard-layout{

    display:grid;

    grid-template-columns:260px 1fr;

    min-height:100vh;

}

.sidebar{

    padding:32px;

    background:#0b1628;

    border-right:1px solid rgba(255,255,255,.08);

}

.sidebar .logo{

    display:block;

    margin-bottom:50px;

    font-size:1.7rem;

    font-weight:900;

}

.sidebar-nav{

    display:flex;

    flex-direction:column;

    gap:14px;

}

.sidebar-nav a{

    padding:16px 18px;

    border-radius:16px;

    color:var(--text-secondary);

    transition:.3s;

}

.sidebar-nav a:hover{

    background:rgba(255,255,255,.06);

    color:white;

}

.sidebar-nav .active{

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:white;

}

.dashboard{

    padding:40px;

}

.dashboard-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.dashboard-header h1{

    font-size:3rem;

}

.dashboard-header p{

    margin-top:8px;

    color:var(--text-secondary);

}

/* DASHBOARD STATS */

.stats-grid {
    margin-top: 34px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    padding: 26px;

    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);

    background:
        linear-gradient(
            135deg,
            rgba(19, 34, 56, 0.95),
            rgba(11, 22, 40, 0.78)
        );

    transition: 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.28);
}

.stat-card span {
    display: block;

    margin-bottom: 14px;

    color: var(--text-secondary);
    font-weight: 800;
}

.stat-card strong {
    display: block;

    margin-bottom: 10px;

    font-size: 2.4rem;
}

.stat-card p {
    color: var(--success);
    font-size: 0.9rem;
    font-weight: 800;
}

.stat-card.warning p {
    color: var(--warning);
}

/* TASKS PAGE */

.task-toolbar {
    margin-top: 34px;

    display: grid;
    grid-template-columns: 1fr 220px 220px;
    gap: 16px;
}

.task-toolbar input,
.task-toolbar select,
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    padding: 15px 16px;

    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);

    color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);

    outline: none;
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.tasks-list {
    margin-top: 28px;

    display: grid;
    gap: 16px;
}

.empty-state {
    padding: 50px;

    text-align: center;

    border-radius: 26px;
    border: 1px dashed rgba(255, 255, 255, 0.14);

    background: rgba(255, 255, 255, 0.04);
}

.empty-state h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.empty-state p {
    color: var(--text-secondary);
}

.task-card {
    padding: 24px;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;

    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);

    background:
        linear-gradient(
            135deg,
            rgba(19, 34, 56, 0.95),
            rgba(11, 22, 40, 0.78)
        );
}

.task-card h3 {
    margin-bottom: 8px;
}

.task-card p {
    margin-bottom: 16px;

    color: var(--text-secondary);
    line-height: 1.6;
}

.task-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.task-meta span {
    padding: 7px 10px;

    border-radius: 999px;

    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.06);

    font-size: 0.8rem;
    font-weight: 800;
}

.priority-high {
    color: #fff !important;
    background: rgba(239, 68, 68, 0.22) !important;
}

.priority-medium {
    color: #fff !important;
    background: rgba(245, 158, 11, 0.22) !important;
}

.priority-low {
    color: #fff !important;
    background: rgba(34, 197, 94, 0.22) !important;
}

.task-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.task-actions button {
    padding: 10px 12px;

    border: none;
    border-radius: 12px;

    color: white;
    background: rgba(255, 255, 255, 0.08);

    cursor: pointer;
}

.task-actions button:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* TASK MODAL */

.modal-overlay {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);

    z-index: 3000;
}

.modal-overlay.active {
    display: flex;
}

.task-modal {
    position: relative;

    width: min(620px, 100%);
    padding: 34px;

    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);

    background: var(--card-bg);
}

.task-modal h2 {
    margin-bottom: 24px;
    font-size: 2rem;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;

    width: 36px;
    height: 36px;

    border: none;
    border-radius: 50%;

    color: white;
    background: rgba(255, 255, 255, 0.08);

    font-size: 1.4rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--text-secondary);
    font-weight: 800;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* TOAST */

.toast {
    position: fixed;
    right: 28px;
    bottom: 28px;

    padding: 16px 20px;

    border-radius: 16px;

    color: #04111f;
    background: var(--secondary);

    font-weight: 900;

    opacity: 0;
    transform: translateY(20px);

    pointer-events: none;

    transition: 0.3s ease;

    z-index: 4000;
}

.toast.active {
    opacity: 1;
    transform: translateY(0);
}

select option {
    color: #ffffff;
    background: #132238;
}

select option:checked {
    background: #14B8A6;
    color: #ffffff;
}

select option:hover {
    background: #0B1628;
    color: #ffffff;
}

.dashboard-section {
    margin-top: 34px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 18px;
}

.section-title h2 {
    font-size: 1.6rem;
}

.section-title a {
    color: var(--secondary);
    font-weight: 800;
}

.recent-tasks {
    display: grid;
    gap: 14px;
}

.recent-task {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    padding: 18px 20px;

    border-radius: 20px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.recent-task span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.dashboard-empty {
    padding: 24px;

    border-radius: 20px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
}

/* PROJECTS */

.projects-grid {
    margin-top: 34px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project-card {
    padding: 28px;

    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);

    background:
        linear-gradient(
            135deg,
            rgba(19, 34, 56, 0.95),
            rgba(11, 22, 40, 0.78)
        );

    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.28);
}

.project-top,
.project-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-top {
    margin-bottom: 24px;
}

.project-top span {
    color: var(--secondary);
    font-weight: 900;
}

.project-top strong {
    color: var(--success);
}

.project-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.project-card p {
    margin-bottom: 24px;

    color: var(--text-secondary);
    line-height: 1.6;
}

.project-progress {
    height: 9px;

    margin-bottom: 20px;

    overflow: hidden;

    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.project-progress div {
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );
}

.project-bottom span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ANALYTICS */

.analytics-grid {
    margin-top: 34px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.analytics-card {
    padding: 28px;

    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);

    background:
        linear-gradient(
            135deg,
            rgba(19, 34, 56, 0.95),
            rgba(11, 22, 40, 0.78)
        );
}

.analytics-card span {
    display: block;

    margin-bottom: 14px;

    color: var(--text-secondary);
    font-weight: 800;
}

.analytics-card strong {
    display: block;

    margin-bottom: 10px;

    font-size: 2.5rem;
}

.analytics-card p {
    color: var(--text-secondary);
}

.analytics-chart-card {
    margin-top: 34px;
    padding: 30px;

    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);

    background:
        linear-gradient(
            135deg,
            rgba(19, 34, 56, 0.95),
            rgba(11, 22, 40, 0.78)
        );
}

.analytics-bars {
    height: 320px;

    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 18px;
    align-items: end;
}

.analytics-bars div {
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
}

.analytics-bars span {
    display: block;

    border-radius: 999px 999px 0 0;

    background:
        linear-gradient(
            180deg,
            var(--secondary),
            var(--primary)
        );
}

.analytics-bars p {
    text-align: center;
    color: var(--text-secondary);
    font-weight: 800;
}

.project-actions {
    margin-top: 20px;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-actions button {
    width: 100%;
    padding: 12px;

    border: none;
    border-radius: 14px;

    color: white;
    background: rgba(239, 68, 68, 0.18);

    font-weight: 800;
    cursor: pointer;

    transition: 0.3s ease;
}

.project-actions button:hover {
    background: rgba(239, 68, 68, 0.32);
}

.project-actions button:hover {
    background: rgba(239, 68, 68, 0.32);
}

/* KANBAN */

.kanban-board {
    margin-top: 34px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.kanban-column {
    min-height: 620px;
    padding: 20px;

    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);

    background: rgba(255, 255, 255, 0.045);
}

.kanban-column h2 {
    margin-bottom: 18px;

    font-size: 1.2rem;
}

.kanban-list {
    min-height: 520px;

    display: grid;
    align-content: start;
    gap: 14px;
}

.kanban-card {
    padding: 18px;

    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);

    background:
        linear-gradient(
            135deg,
            rgba(19, 34, 56, 0.95),
            rgba(11, 22, 40, 0.78)
        );

    cursor: grab;

    transition: 0.25s ease;
}

.kanban-card:active {
    cursor: grabbing;
}

.kanban-card.dragging {
    opacity: 0.5;
    transform: rotate(2deg);
}

.kanban-card h3 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.kanban-card p {
    margin-bottom: 14px;

    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.kanban-card span {
    display: inline-flex;

    padding: 6px 9px;

    border-radius: 999px;

    color: var(--secondary);
    background: rgba(34, 211, 238, 0.08);

    font-size: 0.75rem;
    font-weight: 900;
}

.kanban-column.drag-over {
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(34, 211, 238, 0.06);
}

@media (max-width: 768px) {

    .container {
        width: 90%;
    }

    .header {
        position: static;
        padding: 18px 0;
    }

    .header-content {
        flex-direction: column;
        gap: 16px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .hero {
        padding: 70px 0;
        min-height: auto;
    }

    .hero-content,
    .workflow-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1,
    .section-head h2,
    .workflow-text h2,
    .cta-box h2 {
        font-size: 3rem;
        line-height: 1.05;
    }

    .hero-right {
        overflow: hidden;
    }

    .dashboard-preview {
        width: 100%;
        transform: none;
        animation: none;
    }

    .features-grid,
    .testimonials-grid,
    .projects-grid,
    .analytics-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .app-window {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .app-content-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 42px 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        padding: 24px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .sidebar .logo {
        margin-bottom: 22px;
        text-align: center;
    }

    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 6px;
    }

    .sidebar-nav a {
        white-space: nowrap;
        padding: 12px 16px;
    }

    .dashboard {
        padding: 26px 18px;
        overflow-x: hidden;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .dashboard-header h1 {
        font-size: 2.6rem;
    }

    .task-toolbar {
        grid-template-columns: 1fr;
    }

    .task-card {
        grid-template-columns: 1fr;
    }

    .task-actions {
        justify-content: flex-start;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .kanban-board {
        grid-template-columns: 1fr;
    }

    .kanban-column {
        min-height: auto;
    }

    .kanban-list {
        min-height: 160px;
    }

    .analytics-bars {
        overflow-x: auto;
        grid-template-columns: repeat(7, 70px);
    }
}

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .dashboard-layout,
    .dashboard,
    .sidebar,
    .stats-grid,
    .task-toolbar,
    .tasks-list,
    .projects-grid,
    .kanban-board,
    .analytics-grid,
    .analytics-chart-card,
    .dashboard-section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .sidebar-nav {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
    }

    .sidebar-nav::-webkit-scrollbar {
        display: none;
    }

    .stat-card,
    .task-card,
    .project-card,
    .kanban-column,
    .analytics-card,
    .recent-task {
        width: 100%;
        max-width: 100%;
    }

    .dashboard-header h1 {
        max-width: 100%;
        word-break: break-word;
    }

    .dashboard-header .btn {
        width: 100%;
    }

    .task-actions,
    .project-actions {
        width: 100%;
    }

    .task-actions button,
    .project-actions button {
        flex: 1;
    }
}