/* =========================================================
   L-Planner Last Planner Page
   ========================================================= */

:root {
    --blue: #075dd8;
    --blue-dark: #082451;
    --text: #10264a;
    --muted: #60718f;
    --line: #dbe6f5;
    --green: #21a65b;
    --warning: #f0a000;
    --shadow: 0 24px 60px rgba(8, 36, 81, .16);
    --shadow-soft: 0 14px 35px rgba(8, 36, 81, .08);
    --radius-sm: 7px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.5;
}

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

.wrapper {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 74px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .08em;
}

.brand-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 2px solid var(--blue);
    border-radius: 6px;
    color: var(--blue);
    font-size: 14px;
}

.nav {
    display: flex;
    gap: 34px;
    font-size: 14px;
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    font-weight: 700;
}

.mobile-toggle,
.mobile-actions {
    display: none;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(7, 93, 216, .18);
    transition: .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: var(--blue);
}

.btn-secondary {
    color: var(--blue);
    background: #fff;
    border-color: #cddcf1;
}

.btn-dark {
    color: #fff;
    background: #061a39;
}

.btn-lg {
    height: 56px;
    padding: 0 34px;
}

.site-header .btn {
    height: 42px;
    padding: 0 22px;
}

/* Hero */

.hero {
    padding: 82px 0 88px;
    background:
        radial-gradient(circle at 84% 14%, rgba(7, 93, 216, .14), transparent 32%),
        radial-gradient(circle at 12% 95%, rgba(255, 203, 105, .30), transparent 36%),
        linear-gradient(105deg, #fff 0%, #f7fbff 48%, #e8f3ff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 720px;
    margin: 0 0 24px;
    color: #092755;
    font-size: 58px;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.hero-copy p {
    max-width: 660px;
    margin: 0 0 32px;
    color: #2d4569;
    font-size: 20px;
}

.cta-row {
    display: flex;
    gap: 18px;
    margin-bottom: 34px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: #324d73;
    font-size: 14px;
    font-weight: 800;
}

/* Last Planner mockup */

.planner-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #d7e3f4;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.planner-topbar {
    height: 58px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.planner-topbar span {
    padding: 7px 12px;
    color: var(--blue);
    background: #edf5ff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.planner-board {
    min-height: 360px;
    padding: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: linear-gradient(180deg, #f8fbff, #fff);
}

.column {
    padding: 14px;
    background: #fff;
    border: 1px solid #e1eaf7;
    border-radius: 14px;
}

.column h4 {
    margin: 0 0 14px;
    color: #516b91;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.task {
    padding: 12px;
    margin-bottom: 10px;
    background: #f6f9ff;
    border: 1px solid #e1eaf7;
    border-radius: 10px;
    color: #243e63;
    font-size: 13px;
    font-weight: 800;
}

.task.active {
    border-color: rgba(7, 93, 216, .28);
    background: #edf5ff;
}

.task.warning {
    border-color: rgba(240, 160, 0, .32);
    background: #fff7e6;
}

/* Problem */

.problem-section {
    padding: 78px 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: .9fr 1fr;
    gap: 70px;
    align-items: start;
}

h2 {
    margin: 0 0 24px;
    color: #092755;
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.problem-section p,
.benefit-copy p {
    margin: 0;
    color: #4b6080;
    font-size: 18px;
}

.problem-list {
    display: grid;
    gap: 18px;
}

.problem-list article {
    padding: 24px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
}

.problem-list span {
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
}

.problem-list h3 {
    margin: 8px 0;
}

.problem-list p {
    color: #4b6080;
    font-size: 15px;
}

/* Features */

.features-section {
    padding: 70px 0 82px;
    background: linear-gradient(90deg, #fff, #f3f8ff);
}

.features-section h2 {
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: 38px;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-grid article {
    padding: 28px 24px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid #d7e3f4;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.icon {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    color: var(--blue);
    background: #edf5ff;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 900;
}

.feature-grid h3 {
    margin: 0 0 10px;
}

.feature-grid p {
    margin: 0;
    color: #4b6080;
    font-size: 15px;
}

/* Workflow */

.workflow-section {
    padding: 78px 0;
}

.workflow-section h2 {
    text-align: center;
    margin-bottom: 38px;
}

.workflow {
    display: grid;
    grid-template-columns: 1fr 48px 1fr 48px 1fr;
    gap: 16px;
    align-items: center;
}

.workflow article {
    min-height: 220px;
    padding: 28px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.workflow article.highlight {
    border-color: rgba(7, 93, 216, .35);
    box-shadow: var(--shadow);
}

.workflow span {
    width: 42px;
    height: 42px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--blue);
    border-radius: 50%;
    font-weight: 900;
}

.workflow h3 {
    margin: 0 0 10px;
}

.workflow p {
    margin: 0;
    color: #4b6080;
    font-size: 15px;
}

.arrow {
    color: #516b91;
    font-size: 34px;
    font-weight: 900;
    text-align: center;
}

/* Benefits */

.benefit-section {
    padding: 70px 0;
    background: #f7fbff;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr .75fr;
    gap: 56px;
    align-items: center;
}

.benefit-card {
    padding: 30px;
    background: #fff;
    border: 1px solid #d7e3f4;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.benefit-card h3 {
    margin: 0 0 18px;
}

.benefit-card ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.benefit-card li::before {
    content: "✓";
    margin-right: 10px;
    color: var(--green);
    font-weight: 900;
}

/* CTA */

.final-cta {
    margin: 64px auto 76px;
    padding: 38px 42px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 34px;
    align-items: center;
    color: #fff;
    background: linear-gradient(100deg, #065fe2, #0046b1);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.final-cta h2 {
    margin: 0 0 8px;
    color: #fff;
}

.final-cta p {
    margin: 0;
    color: #dce9ff;
}

/* Footer */

.site-footer {
    padding: 28px 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.site-footer .wrapper {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.site-footer strong {
    color: #092755;
}

/* Mobile */

@media (max-width: 960px) {
    .site-header {
        padding: 0 18px;
    }

    .header-actions {
        display: none;
    }

    .mobile-toggle {
        position: relative;
        display: block;
        width: 48px;
        height: 48px;
        padding: 0;
        background: #fff;
        border: 1px solid #dbe6f5;
        border-radius: var(--radius-md);
        cursor: pointer;
        transition: all .2s ease;
    }

    .mobile-toggle:hover {
        background: #f4f8ff;
        border-color: var(--blue);
    }

    .mobile-toggle span {
        position: absolute;
        left: 12px;
        right: 12px;
        height: 2px;
        background: var(--blue);
        border-radius: 2px;
    }

    .mobile-toggle span:nth-child(1) { top: 15px; }
    .mobile-toggle span:nth-child(2) { top: 23px; }
    .mobile-toggle span:nth-child(3) { top: 31px; }

    #mobileNav {
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        z-index: 99999;
        display: none !important;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-top: 1px solid #dbe6f5;
        box-shadow: 0 16px 40px rgba(8, 36, 81, .12);
    }

    #mobileNav.open {
        display: flex !important;
    }

    #mobileNav a {
        display: block;
        padding: 16px 24px;
        border-bottom: 1px solid #eef4fb;
        font-weight: 700;
    }

    #mobileNav a:hover {
        background: #f7fbff;
    }

    .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .mobile-actions a:first-child {
        font-weight: 700;
        text-align: center;
    }

    .mobile-actions .btn {
        width: 100%;
        height: 48px;
    }

    .hero-grid,
    .problem-grid,
    .benefit-grid,
    .final-cta {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: 44px;
    }

    .planner-card {
        max-width: 640px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow {
        grid-template-columns: 1fr;
    }

    .arrow {
        display: none;
    }
}

@media (max-width: 620px) {
    .wrapper {
        width: min(100% - 28px, var(--container));
    }

    .site-header {
        padding: 0 14px;
    }

    .brand {
        font-size: 18px;
    }

    .hero {
        padding: 54px 0 62px;
    }

    .hero-copy h1 {
        font-size: 36px;
    }

    .hero-copy p {
        font-size: 18px;
    }

    .cta-row,
    .trust-row {
        flex-direction: column;
    }

    .planner-board {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 32px;
    }

    .site-footer .wrapper {
        flex-direction: column;
    }
}
