/* public/css/main.css - Основные стили */
:root {
    --font-sans: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-size-base: 15px;
    --font-size-small: 13px;
    --font-size-control: 15px;
    --line-height-base: 1.55;
    --text: #111827;
    --text-muted: #667085;
}

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

html {
    font-size: var(--font-size-base);
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text);
    background: #f8f9fa;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
select,
textarea {
    font-family: var(--font-sans);
}

h1,
h2,
h3,
h4 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 18px;
}

p {
    font-size: 15px;
}

small {
    font-size: var(--font-size-small);
    line-height: 1.45;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 30px 0;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 650;
}

.header p {
    font-size: 15px;
    opacity: 0.9;
}

/* Card styles */
.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    transition: all 0.3s ease;
    margin: 5px;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #1e7e34;
    transform: translateY(-1px);
}

.btn-warning {
    background: #ffc107;
    color: black;
}

.btn-warning:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

input,
select,
textarea,
button {
    font-size: var(--font-size-control);
    line-height: 1.35;
}

/* Success and error messages */
.success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

/* Loading states */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { color: rgba(0,0,0,0); text-shadow: .25em 0 0 rgba(0,0,0,0), .5em 0 0 rgba(0,0,0,0); }
    40% { color: #666; text-shadow: .25em 0 0 rgba(0,0,0,0), .5em 0 0 rgba(0,0,0,0); }
    60% { text-shadow: .25em 0 0 #666, .5em 0 0 rgba(0,0,0,0); }
    80%, 100% { text-shadow: .25em 0 0 #666, .5em 0 0 #666; }
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 40px;
    color: #666;
}

.empty-state i {
    font-size: 42px;
    margin-bottom: 15px;
    display: block;
    opacity: 0.7;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 20px 0;
    }
    
    .header h1 {
        font-size: 26px;
    }
    
    .card {
        padding: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 17px;
    }
}

/* Weight normalization: lighter UI text */
body{font-weight:400;}
h1,h2,h3,h4,.admin-page-title,.page-title{font-weight:700;}
.card h2,.card h3,.tab-header h2,.item-header h3,.modal-content h3{font-weight:700;}
.sidebar-logo__icon,.dashboard-brand__mark,.app-brand-mark{font-weight:700;}
.sidebar-logo__text:after,.dashboard-brand>span:last-child,.app-brand>span:last-child{font-weight:700;}
.sidebar-nav__item,.sidebar-footer__link,.dashboard-nav__link,.app-nav-link,.app-logout{font-weight:600;}
.sidebar-nav__item--active,.dashboard-nav__link.is-active,.app-nav-link.active{font-weight:650;}
.btn,button,input[type="submit"]{font-weight:600;}
label{font-weight:600;}
th{font-weight:700;}
.status-badge{font-weight:600;}
.stat-card{font-weight:400;}
.stat-number{font-weight:700;}
.nav-tab{font-weight:600;}
strong,b{font-weight:650;}

/* Weight tuning: calmer dashboard */
h1,h2,h3,h4,.admin-page-title,.page-title{font-weight:600;}
.card h2,.card h3,.tab-header h2,.item-header h3,.modal-content h3{font-weight:600;}
.sidebar-nav__item,.sidebar-footer__link,.dashboard-nav__link,.app-nav-link,.app-logout{font-weight:500;}
.sidebar-nav__item--active,.dashboard-nav__link.is-active,.app-nav-link.active{font-weight:600;}
.btn,button,input[type="submit"]{font-weight:600;}
label{font-weight:500;}
th{font-weight:600;}
.status-badge{font-weight:500;}
.stat-card{font-weight:400;}
.stat-number{font-weight:700;}
.nav-tab{font-weight:500;}
strong,b{font-weight:600;}

/* Landing page */
.landing-page {
    background: #f4f7fb;
    color: #122033;
}

.landing-page a {
    color: inherit;
}

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0;
    background: transparent;
    backdrop-filter: none;
}

.landing-nav::before {
    content: "";
    position: absolute;
    inset: 0 calc(50% - 50vw);
    z-index: -1;
    background: transparent;
    pointer-events: none;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    color: #132238;
    text-decoration: none;
}

.landing-brand img {
    width: 118px;
    height: auto;
    max-height: 38px;
    object-fit: contain;
    flex: 0 0 auto;
}

.landing-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: none;
}

.landing-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #102033;
}

.landing-nav__links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.landing-nav__link,
.landing-nav__cta,
.landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.landing-nav__link {
    color: #42526b;
}

.landing-nav__link:hover {
    background: rgba(255, 255, 255, 0.72);
    color: #122033;
}

.landing-nav__link--strong {
    color: #15803d;
}

.landing-nav__cta,
.landing-button--primary {
    color: #fff;
    background: linear-gradient(135deg, #16a34a, #14b8a6);
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.22);
}

.landing-nav__cta:hover,
.landing-button--primary:hover {
    background: linear-gradient(135deg, #15803d, #0f9f8f);
    transform: translateY(-1px);
}

.landing-button--secondary {
    color: #122033;
    background: #fff;
    border: 1px solid #d8e0ec;
}

.landing-button--secondary:hover {
    border-color: #b9c6d8;
    transform: translateY(-1px);
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    align-items: center;
    gap: 54px;
    min-height: calc(100vh - 74px);
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 76px;
}

.landing-hero__content {
    min-width: 0;
}

.landing-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 16px;
    padding: 7px 11px;
    border: 1px solid #cfe5da;
    border-radius: 8px;
    color: #19705a;
    background: #ecf8f2;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.landing-eyebrow--free {
    max-width: 650px;
    color: #0f5132;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.landing-hero h1 {
    max-width: 760px;
    margin-bottom: 20px;
    color: #102033;
    font-size: 58px;
    line-height: 1.02;
    font-weight: 700;
}

.landing-hero__lead {
    max-width: 640px;
    color: #53627a;
    font-size: 19px;
    line-height: 1.58;
}

.landing-free-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 680px;
    margin-top: 22px;
}

.landing-free-strip span {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: #344054;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.landing-free-strip span::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 8px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #16a34a;
}

.landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.landing-hero__free-note {
    max-width: 640px;
    margin-top: 14px;
    padding-left: 14px;
    border-left: 3px solid #16a34a;
    color: #475467;
    font-size: 15px;
    line-height: 1.5;
}

.landing-button {
    min-height: 50px;
    padding: 14px 20px;
}

.landing-hero-media {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(39, 57, 84, 0.18);
}

.landing-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.landing-hero-card {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: grid;
    gap: 5px;
    max-width: 360px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}

.landing-hero-card small {
    color: #15803d;
    font-weight: 700;
}

.landing-hero-card strong {
    color: #111827;
    font-size: 20px;
}

.landing-hero-card span {
    color: #667085;
    font-size: 14px;
}

.landing-product {
    overflow: hidden;
    border: 1px solid rgba(151, 166, 188, 0.35);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(39, 57, 84, 0.18);
}

.landing-product__top {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 46px;
    padding: 0 18px;
    background: #122033;
}

.landing-product__top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}

.landing-product__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    background: linear-gradient(180deg, #f9fbfe 0%, #eef4fb 100%);
}

.landing-product__panel,
.landing-product__schedule {
    border: 1px solid #dde6f2;
    border-radius: 8px;
    background: #fff;
}

.landing-product__panel {
    min-height: 118px;
    padding: 18px;
}

.landing-product__panel--wide {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
}

.landing-product small {
    display: block;
    margin-bottom: 7px;
    color: #66748a;
    font-size: 13px;
}

.landing-product strong {
    display: block;
    color: #132238;
    font-size: 20px;
}

.landing-product__status {
    padding: 8px 12px;
    border-radius: 999px;
    color: #176955;
    background: #e8f7ef;
    font-size: 13px;
    font-weight: 700;
}

.landing-product__bar {
    width: 100%;
    height: 9px;
    margin-top: 24px;
    border-radius: 999px;
}

.landing-product__bar--green {
    background: linear-gradient(90deg, #2ab673 72%, #e4edf6 72%);
}

.landing-product__bar--blue {
    background: linear-gradient(90deg, #14b8a6 56%, #e4edf6 56%);
}

.landing-product__schedule {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
    padding: 14px;
}

.landing-product__slot {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f5f8fc;
}

.landing-product__slot span {
    color: #15803d;
    font-weight: 700;
}

.landing-product__slot strong {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.landing-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 86px 0;
}

.landing-section--light {
    width: 100%;
    padding: 86px max(16px, calc((100% - 1180px) / 2));
    background: #fff;
}

.landing-section__head {
    max-width: 690px;
    margin-bottom: 34px;
}

.landing-section h2,
.landing-cta h2 {
    color: #122033;
    font-size: 38px;
    line-height: 1.14;
}

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

.landing-feature {
    min-height: 238px;
    padding: 24px;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    background: #f8fbff;
}

.landing-feature span {
    display: inline-flex;
    margin-bottom: 28px;
    color: #15803d;
    font-size: 13px;
    font-weight: 700;
}

.landing-feature h3 {
    margin-bottom: 12px;
    color: #122033;
}

.landing-feature p,
.landing-workflow p,
.landing-cta p {
    color: #5b6a80;
    line-height: 1.62;
}

.landing-workflow {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: 44px;
    align-items: start;
}

.landing-workflow > div {
    max-width: 520px;
}

.landing-workflow h2 {
    margin-bottom: 18px;
}

.landing-steps {
    display: grid;
    gap: 12px;
    list-style: none;
    counter-reset: none;
}

.landing-steps li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    background: #fff;
}

.landing-steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    color: #15803d;
    background: #dcfce7;
    font-weight: 700;
}

.landing-steps strong {
    display: block;
    margin-bottom: 5px;
    color: #122033;
    font-size: 18px;
}

.landing-steps p {
    grid-column: 2;
    margin-top: -4px;
}

.landing-free {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 72px;
    padding: 34px;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

.landing-free__intro h2,
.landing-free__intro p,
.landing-free__note {
    color: #fff;
}

.landing-free__intro h2 {
    margin-bottom: 16px;
    font-size: 36px;
    line-height: 1.14;
}

.landing-free__intro p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.62;
}

.landing-free__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.landing-free__grid article {
    min-height: 154px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.landing-free__grid strong {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.25;
}

.landing-free__grid p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.58;
}

.landing-free__note {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

.landing-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 80px;
    padding: 36px;
    border-radius: 8px;
    background: #132238;
    color: #fff;
}

.landing-cta h2,
.landing-cta p {
    color: #fff;
}

.landing-cta p:not(.landing-eyebrow) {
    max-width: 650px;
    margin-top: 10px;
    color: #c8d4e4;
}

.landing-cta .landing-eyebrow {
    color: #bce9d4;
    background: rgba(42, 182, 115, 0.14);
    border-color: rgba(188, 233, 212, 0.28);
}

@media (max-width: 980px) {
    .landing-nav {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .landing-menu-toggle {
        display: inline-flex;
    }

    .landing-brand img {
        width: 104px;
        max-height: 34px;
    }

    .landing-nav__links {
        display: none;
        width: 100%;
        margin-top: 8px;
        padding: 10px;
        border: 1px solid rgba(148, 163, 184, 0.24);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    }

    .landing-nav.is-open .landing-nav__links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

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

    .landing-hero {
        min-height: auto;
        padding-top: 34px;
    }

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

    .landing-product {
        max-width: 620px;
    }

    .landing-hero-media {
        max-width: 680px;
        min-height: 420px;
    }

    .landing-hero-media img {
        min-height: 420px;
    }

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

@media (max-width: 640px) {
    .landing-nav {
        width: min(100% - 24px, 1180px);
        padding: 12px 0;
    }

    .landing-brand img {
        width: 96px;
        max-height: 32px;
    }

    .landing-nav__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .landing-nav__link,
    .landing-nav__cta {
        width: 100%;
        min-height: 40px;
        padding: 9px 10px;
        white-space: normal;
    }

    .landing-hero,
    .landing-section,
    .landing-cta {
        width: min(100% - 24px, 1180px);
    }

    .landing-hero {
        gap: 34px;
        padding-bottom: 52px;
    }

    .landing-hero h1 {
        font-size: 34px;
        line-height: 1.08;
    }

    .landing-hero__lead {
        font-size: 16px;
    }

    .landing-free-strip {
        grid-template-columns: 1fr;
    }

    .landing-hero__actions {
        display: grid;
    }

    .landing-button {
        width: 100%;
        white-space: normal;
    }

    .landing-hero-media {
        min-height: 340px;
    }

    .landing-hero-media img {
        min-height: 340px;
    }

    .landing-hero-card {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 14px;
    }

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

    .landing-product__panel--wide,
    .landing-product__schedule {
        grid-column: auto;
    }

    .landing-section,
    .landing-section--light {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .landing-section h2,
    .landing-cta h2 {
        font-size: 28px;
    }

    .landing-feature {
        min-height: 0;
    }

    .landing-workflow {
        gap: 26px;
    }

    .landing-free {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .landing-free__intro h2 {
        font-size: 28px;
    }

    .landing-free__grid {
        grid-template-columns: 1fr;
    }

    .landing-steps li {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 16px;
    }

    .landing-steps p {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    .landing-cta {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 48px;
        padding: 24px;
    }
}

/* Landing refinements: align with service palette */
.landing-page {
    background:
        linear-gradient(180deg, #f3fbf7 0, #f3fbf7 640px, #ffffff 640px, #ffffff 980px, #f6f8fb 980px),
        #f6f8fb;
}

.landing-nav {
    background: transparent;
}

.landing-nav::before {
    background: rgba(243, 251, 247, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.landing-nav__link--strong,
.landing-product__slot span,
.landing-feature span {
    color: #15803d;
}

.landing-nav__cta,
.landing-button--primary {
    background: linear-gradient(135deg, #16a34a, #14b8a6);
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.22);
}

.landing-nav__cta:hover,
.landing-button--primary:hover {
    background: linear-gradient(135deg, #15803d, #0f9f8f);
}

.landing-eyebrow {
    border-color: #bbf7d0;
    color: #15803d;
    background: #f0fdf4;
}

.landing-product__top,
.landing-cta {
    background: #111827;
}

.landing-product__status {
    color: #15803d;
    background: #dcfce7;
}

.landing-product__bar--green {
    background: linear-gradient(90deg, #16a34a 72%, #e4edf6 72%);
}

.landing-product__bar--blue {
    background: linear-gradient(90deg, #14b8a6 56%, #e4edf6 56%);
}

.landing-section--light {
    background: #ffffff;
}

.landing-feature {
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.landing-screens {
    padding-top: 92px;
}

.landing-screen-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.landing-screen {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.landing-screen__caption {
    padding: 22px;
}

.landing-screen__caption h3 {
    margin-bottom: 10px;
    color: #111827;
}

.landing-screen__caption p {
    color: #667085;
    line-height: 1.62;
}

.landing-process {
    display: grid;
    gap: 22px;
}

.process-screen {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
    gap: 28px;
    align-items: stretch;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.process-screen--client {
    background:
        linear-gradient(90deg, rgba(37, 99, 235, 0.05), rgba(20, 184, 166, 0.06)),
        #ffffff;
}

.process-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 10px 4px;
}

.process-role {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 10px;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 13px;
    font-weight: 700;
}

.process-role--client {
    border-color: #bae6fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.process-copy h3 {
    margin-bottom: 14px;
    color: #111827;
    font-size: 28px;
    line-height: 1.16;
}

.process-copy p {
    color: #667085;
    font-size: 16px;
    line-height: 1.64;
}

.process-visual {
    min-width: 0;
    padding: 18px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 248, 251, 0.92)),
        #f6f8fb;
}

.ui-window,
.link-flow,
.client-phone,
.calendar-flow {
    overflow: hidden;
    height: 100%;
    min-height: 330px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.ui-topbar {
    display: flex;
    gap: 7px;
    height: 42px;
    align-items: center;
    padding: 0 16px;
    background: #111827;
}

.ui-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
}

.ui-layout {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    min-height: 288px;
}

.ui-layout aside {
    display: grid;
    align-content: start;
    gap: 9px;
    padding: 18px;
    border-right: 1px solid rgba(148, 163, 184, 0.18);
}

.ui-layout aside strong {
    margin-bottom: 8px;
    color: #111827;
}

.ui-layout aside em {
    padding: 10px;
    border-radius: 8px;
    color: #475467;
    font-size: 13px;
    font-style: normal;
}

.ui-layout aside em.active {
    color: #15803d;
    background: #ecfdf3;
}

.ui-content {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 18px;
}

.ui-row {
    padding: 15px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #ffffff;
}

.ui-row.is-green {
    border-color: #16a34a;
    background: #ecfdf3;
    box-shadow: inset 3px 0 0 #16a34a;
}

.ui-row b,
.link-card b,
.phone-card b {
    display: block;
    color: #111827;
}

.ui-row small,
.link-card small,
.phone-card small {
    display: block;
    margin-top: 4px;
    color: #667085;
}

.link-flow {
    display: grid;
    align-content: center;
    gap: 16px;
    padding: 22px;
}

.link-card {
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: #ffffff;
}

.link-card.featured {
    border-color: #16a34a;
    background: #f0fdf4;
}

.link-card span {
    display: inline-flex;
    margin-bottom: 16px;
    color: #15803d;
    font-size: 13px;
    font-weight: 800;
}

.link-output {
    padding: 14px;
    border-radius: 8px;
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    word-break: break-all;
}

.channel-row,
.status-row,
.phone-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.channel-row span,
.status-row span,
.phone-slots span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    font-weight: 700;
}

.client-phone {
    width: min(360px, 100%);
    min-height: 390px;
    margin: 0 auto;
    padding: 14px;
}

.phone-hero {
    display: grid;
    gap: 5px;
    margin: -14px -14px 14px;
    padding: 22px 18px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, #111827, #163225);
}

.phone-hero small {
    color: #bbf7d0;
}

.phone-hero b {
    color: #ffffff;
    font-size: 22px;
}

.phone-card {
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #ffffff;
}

.phone-card.selected {
    border-color: #16a34a;
    background: #ecfdf3;
}

.phone-form {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.phone-form span {
    display: block;
    padding: 12px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    color: #667085;
    background: #f8fafc;
    font-size: 13px;
}

.calendar-flow {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 8px;
    padding: 18px;
}

.calendar-head,
.calendar-body {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.calendar-head span {
    padding: 10px;
    border-radius: 8px;
    background: #f8fafc;
    color: #475467;
    text-align: center;
    font-weight: 700;
}

.calendar-body span {
    min-height: 82px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: #ffffff;
}

.calendar-body .event {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.calendar-body .event.done {
    background: #dbeafe;
    color: #1d4ed8;
}

.landing-shot {
    min-height: 310px;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 248, 251, 0.96)),
        #f6f8fb;
}

.landing-shot--booking {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 14px;
}

.landing-shot__hero {
    display: grid;
    gap: 5px;
    padding: 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, #111827, #163225);
    color: #ffffff;
}

.landing-shot__hero span {
    font-size: 13px;
    color: #bbf7d0;
}

.landing-shot__hero strong {
    font-size: 24px;
    color: #ffffff;
}

.landing-shot__body {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
}

.landing-shot-card {
    padding: 14px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #ffffff;
}

.landing-shot-card strong,
.landing-shot-link strong {
    display: block;
    color: #111827;
}

.landing-shot-card small,
.landing-shot-link small {
    display: block;
    margin-top: 4px;
    color: #667085;
}

.landing-shot-card.is-selected {
    border-color: #16a34a;
    background: #ecfdf3;
    box-shadow: inset 3px 0 0 #16a34a;
}

.landing-shot-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.landing-shot-slots span,
.landing-calendar-grid .has-event {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    font-weight: 700;
}

.landing-shot--dashboard {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 14px;
}

.landing-shot__sidebar {
    display: grid;
    align-content: start;
    gap: 9px;
    padding: 16px;
    border-radius: 8px;
    background: #ffffff;
}

.landing-shot__sidebar strong {
    display: block;
    margin: -16px -16px 8px;
    padding: 18px 16px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, #16a34a, #14b8a6);
    color: #ffffff;
}

.landing-shot__sidebar span {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    color: #475467;
    font-size: 12px;
}

.landing-shot__sidebar .is-active {
    color: #15803d;
    background: #ecfdf3;
}

.landing-shot__main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.landing-shot-stat,
.landing-shot-list {
    padding: 15px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.landing-shot-stat {
    color: #ffffff;
    background: linear-gradient(135deg, #16a34a, #14b8a6);
}

.landing-shot-stat small {
    display: block;
    color: rgba(255, 255, 255, 0.82);
}

.landing-shot-stat strong {
    display: block;
    margin-top: 8px;
    color: #ffffff;
    font-size: 28px;
}

.landing-shot-list {
    grid-column: 1 / -1;
    display: grid;
    gap: 9px;
}

.landing-shot-list span {
    display: block;
    padding: 10px;
    border-radius: 8px;
    background: #f8fafc;
    color: #475467;
    font-size: 13px;
}

.landing-shot--links {
    display: grid;
    gap: 14px;
}

.landing-shot-link {
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: #ffffff;
}

.landing-shot-link span {
    display: inline-flex;
    margin-bottom: 18px;
    color: #15803d;
    font-size: 13px;
    font-weight: 800;
}

.landing-shot-link em {
    display: block;
    margin-top: 12px;
    padding: 10px;
    border-radius: 8px;
    background: #f8fafc;
    color: #475467;
    font-size: 12px;
    font-style: normal;
    word-break: break-all;
}

.landing-shot--calendar {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 8px;
}

.landing-calendar-head,
.landing-calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.landing-calendar-head span {
    padding: 10px;
    border-radius: 8px;
    background: #ffffff;
    color: #475467;
    text-align: center;
    font-weight: 700;
}

.landing-calendar-grid span {
    min-height: 92px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: #ffffff;
}

.landing-calendar-grid .has-event {
    min-height: 92px;
    border: 0;
}

.landing-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.landing-audience-grid article {
    min-height: 220px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.landing-audience-grid h3 {
    margin-bottom: 12px;
}

.landing-audience-grid p {
    color: #667085;
    line-height: 1.62;
}

.landing-seo {
    padding-top: 78px;
}

.landing-seo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.landing-seo-grid article {
    min-height: 220px;
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.landing-seo-grid h3 {
    margin-bottom: 10px;
    color: #111827;
    font-size: 21px;
    line-height: 1.2;
}

.landing-seo-grid p {
    color: #667085;
    line-height: 1.62;
}

.landing-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 44px;
    border-top: 1px solid rgba(148, 163, 184, 0.28);
    color: #475467;
}

.landing-footer strong {
    display: block;
    margin-bottom: 8px;
    color: #111827;
}

.landing-footer p {
    margin: 4px 0;
    color: #667085;
}

.landing-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
}

.landing-footer a,
.terms-back {
    color: #15803d;
    font-weight: 600;
    text-decoration: none;
}

.terms-page {
    width: min(860px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 80px;
}

.terms-back {
    display: inline-flex;
    margin-bottom: 18px;
}

.terms-card {
    padding: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.terms-card h1 {
    margin-bottom: 18px;
    color: #111827;
    font-size: 38px;
}

.terms-card h2 {
    margin: 28px 0 10px;
    color: #111827;
    font-size: 22px;
}

.terms-card p {
    color: #475467;
    line-height: 1.65;
}

.terms-note {
    margin-top: 26px;
    padding: 14px;
    border-radius: 8px;
    background: #f0fdf4;
    color: #15803d !important;
}

@media (max-width: 980px) {
    .process-screen {
        grid-template-columns: 1fr;
    }

    .landing-screen-grid,
    .landing-audience-grid,
    .landing-seo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .process-screen {
        gap: 18px;
        padding: 16px;
    }

    .process-copy h3 {
        font-size: 22px;
    }

    .process-copy p {
        font-size: 15px;
    }

    .process-visual {
        padding: 12px;
    }

    .ui-layout {
        grid-template-columns: 1fr;
    }

    .ui-layout aside {
        border-right: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    }

    .ui-window,
    .link-flow,
    .client-phone,
    .calendar-flow {
        min-height: 0;
    }

    .calendar-body span {
        min-height: 62px;
    }

    .landing-screen-grid,
    .landing-audience-grid,
    .landing-seo-grid {
        grid-template-columns: 1fr;
    }

    .landing-shot {
        min-height: 0;
    }

    .landing-shot--dashboard {
        grid-template-columns: 1fr;
    }

    .landing-shot__main {
        grid-template-columns: 1fr;
    }

    .landing-calendar-grid span,
    .landing-calendar-grid .has-event {
        min-height: 64px;
    }

    .landing-footer {
        flex-direction: column;
        width: min(100% - 24px, 1180px);
    }

    .landing-footer nav {
        justify-content: flex-start;
    }

    .terms-page {
        width: min(100% - 24px, 860px);
        padding-top: 24px;
    }

    .terms-card {
        padding: 24px;
    }

    .terms-card h1 {
        font-size: 30px;
    }
}
