/* Landing / login page — FMCG & retail accounting */

.landing-page {
    --landing-navy: #0f3d4c;
    --landing-navy-deep: #0b2c36;
    --landing-blue: #0f6e78;
    --landing-teal: #1f8a86;
    --landing-muted: #5c7078;
    --landing-border: #e4eef1;
    --landing-shadow: 0 24px 60px rgba(11, 44, 54, 0.28);
    min-height: 100vh;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(145deg, #08242c 0%, #0f3d4c 46%, #176072 100%);
    color: #0f172a;
}

.landing-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 88% 8%, rgba(31, 138, 134, 0.28) 0%, transparent 42%),
        radial-gradient(circle at 6% 92%, rgba(15, 110, 120, 0.22) 0%, transparent 38%);
    pointer-events: none;
    z-index: 0;
}

.landing-topbar {
    position: relative;
    z-index: 2;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1280px;
    margin: 0 auto;
}

.landing-topbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.landing-topbar-brand:hover {
    color: #fff;
}

.landing-topbar-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #176072 0%, #1f8a86 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 61, 76, 0.35);
}

.landing-topbar-name {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
}

.landing-topbar-tag {
    font-size: 11px;
    opacity: 0.75;
    font-weight: 500;
}

.landing-sales-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.landing-sales-cta:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    transform: translateY(-1px);
}

.landing-sales-cta i {
    font-size: 18px;
    color: #4ade80;
}

.landing-shell {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px 32px;
}

.landing-card {
    background: #fff;
    border-radius: 28px;
    box-shadow: var(--landing-shadow);
    overflow: hidden;
}

.landing-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    min-height: 0;
}

.landing-hero {
    padding: 48px 52px 44px;
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #e7f4f6;
    color: #0f6e78;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.landing-headline {
    font-size: clamp(1.85rem, 3.8vw, 2.65rem);
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.landing-headline span {
    color: #0f6e78;
}

.landing-lead {
    font-size: 17px;
    line-height: 1.65;
    color: var(--landing-muted);
    max-width: 540px;
    margin-bottom: 28px;
}

.landing-search-lines {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -8px 0 22px;
}

.landing-search-lines span {
    padding: 8px 12px;
    border-radius: 12px;
    background: #e7f4f6;
    color: #0f3d4c;
    font-size: 13px;
    font-weight: 700;
}

.landing-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.landing-pill {
    padding: 7px 14px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--landing-border);
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.landing-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.landing-feature {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--landing-border);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.landing-feature:hover {
    border-color: #c5dde3;
    box-shadow: 0 10px 24px rgba(15, 61, 76, 0.08);
    transform: translateY(-2px);
}

.landing-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.landing-feature-icon.blue { background: #e7f4f6; color: #0f6e78; }
.landing-feature-icon.green { background: #e8f7ee; color: #15803d; }
.landing-feature-icon.amber { background: #fff6e5; color: #b45309; }
.landing-feature-icon.navy { background: #e8eef1; color: #0f3d4c; }
.landing-feature-icon.purple { background: #f3eef8; color: #6d28d9; }
.landing-feature-icon.teal { background: #e6f7f4; color: #0f766e; }

.landing-feature-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.landing-feature-desc {
    font-size: 13px;
    color: var(--landing-muted);
    line-height: 1.45;
    margin: 0;
}

.landing-seo {
    margin: 0 0 22px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #f4fbfb;
    border: 1px solid #d7e8ea;
}

.landing-seo h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f3d4c;
}

.landing-seo p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #3d555c;
}

.landing-preview {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.landing-preview-stat {
    flex: 1 1 140px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff;
    color: #0f3d4c;
    border: 1px solid var(--landing-border);
    box-shadow: 0 8px 20px rgba(15, 61, 76, 0.05);
}

.landing-preview-stat .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 4px;
}

.landing-preview-stat .value {
    font-size: 1.25rem;
    font-weight: 800;
}

.landing-preview-stat.accent-green .value { color: #15803d; }
.landing-preview-stat.accent-amber .value { color: #b45309; }
.landing-preview-stat.accent-blue .value { color: #0f6e78; }

.landing-auth {
    background: linear-gradient(180deg, #0f3d4c 0%, #145866 100%);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.landing-auth::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 12%, rgba(31, 138, 134, 0.35) 0%, transparent 46%);
    pointer-events: none;
}

.landing-login-box {
    position: sticky;
    top: 24px;
    z-index: 1;
    background: #fff;
    border-radius: 22px;
    padding: 28px 26px 24px;
    box-shadow: 0 18px 40px rgba(8, 36, 44, 0.22);
}

.landing-login-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #0f3d4c 0%, #1f8a86 100%);
    color: #fff;
    font-size: 1.25rem;
}

.landing-login-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f3d4c;
    margin-bottom: 4px;
}

.landing-login-sub {
    color: #5c7078;
    font-size: 14px;
    margin-bottom: 20px;
}

.landing-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 18px;
}

.landing-alert-danger {
    background: #fdecec;
    border: 1px solid #f6c9c9;
    color: #b91c1c;
}

.landing-alert-warning {
    background: #fff6e5;
    border: 1px solid #f3ddb0;
    color: #92400e;
}

.landing-alert-info {
    background: #e7f4f6;
    border: 1px solid #c5e3e8;
    color: #0f3d4c;
}

.landing-field {
    position: relative;
    margin-bottom: 16px;
}

.landing-field i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 17px;
    pointer-events: none;
}

.landing-field .form-control {
    height: 52px;
    padding-left: 46px;
    border: 1px solid #d7e4e8;
    border-radius: 14px;
    font-size: 15px;
    background: #f7fbfb;
    color: #0f3d4c;
}

.landing-field .form-control:focus {
    background: #fff;
    border-color: #1f8a86;
    box-shadow: 0 0 0 3px rgba(31, 138, 134, 0.18);
}

.landing-btn-login {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f3d4c 0%, #176072 55%, #1f8a86 100%);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-btn-login:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 61, 76, 0.28);
}

.landing-contact-box {
    margin-top: 18px;
    padding: 16px;
    border-radius: 16px;
    background: #f4f8f9;
    border: 1px solid #e4eef1;
    text-align: center;
}

.landing-contact-box p {
    margin: 0 0 10px;
    font-size: 13px;
    color: #5c7078;
}

.landing-contact-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.landing-contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f3d4c;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.landing-contact-phone:hover {
    color: #0f6e78;
}

.landing-contact-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    background: #e8f7ee;
    color: #15803d;
    font-weight: 700;
    font-size: 13px;
    border-radius: 999px;
    padding: 6px 12px;
}

.landing-contact-wa:hover {
    background: #d8f3e3;
    color: #166534;
}

.landing-trust-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.landing-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #5c7078;
    font-weight: 600;
}

.landing-trust-item i {
    color: #4ade80;
}

.landing-footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px 24px 28px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.landing-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
}

.landing-footer a:hover {
    color: #d7f3ef;
}

@media (max-width: 991px) {
    .landing-grid {
        grid-template-columns: 1fr;
    }

    .landing-auth {
        order: -1;
        padding: 36px 28px;
    }

    .landing-hero {
        padding: 36px 28px 32px;
    }

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

@media (max-width: 575px) {
    .landing-shell {
        padding: 8px 14px 24px;
    }

    .landing-card {
        border-radius: 20px;
    }

    .landing-topbar {
        padding: 12px 14px;
    }

    .landing-sales-cta span.landing-sales-label {
        display: none;
    }
}
