/* Lorem Ipsum Generator — professional dashboard UI */
.lip-app {
    --lip-accent: #00aeef;
    --lip-accent-2: #38bdf8;
    --lip-card: rgba(15, 23, 42, 0.72);
    --lip-border: rgba(148, 163, 184, 0.18);
}

.lip-trust {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .65rem;
    margin-bottom: 1.25rem;
}
.lip-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .7rem .5rem;
    border-radius: 12px;
    border: 1px solid var(--lip-border);
    background: linear-gradient(180deg, rgba(0,174,239,.08), rgba(15,23,42,.4));
    font-size: .78rem;
    font-weight: 700;
    color: #e2e8f0;
    text-align: center;
}

.lip-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 1.15rem;
    align-items: start;
}

.lip-intro {
    position: sticky;
    top: 1rem;
    padding: 1.25rem;
    border-radius: 18px;
    border: 1px solid var(--lip-border);
    background:
        radial-gradient(circle at top left, rgba(0,174,239,.18), transparent 55%),
        linear-gradient(165deg, #111827, #0b1220 70%);
}
.lip-kicker {
    margin: 0 0 .5rem;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lip-accent-2);
}
.lip-intro-title {
    margin: 0 0 .75rem;
    font-size: 1.4rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #e0f2fe, #7dd3fc 40%, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lip-intro-text {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.6;
}
.lip-cta {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    margin-bottom: 1rem;
}
.lip-why,
.lip-about {
    padding: 1rem;
    border-radius: 14px;
    background: rgba(0,174,239,.07);
    border: 1px solid rgba(0,174,239,.18);
    margin-bottom: .85rem;
}
.lip-about {
    background: rgba(15,23,42,.45);
    border-color: var(--lip-border);
    margin-bottom: 0;
}
.lip-why h3,
.lip-about h3 {
    margin: 0 0 .55rem;
    font-size: .92rem;
    display: flex;
    align-items: center;
    gap: .35rem;
}
.lip-why ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
    font-size: .84rem;
    line-height: 1.55;
}
.lip-why li { margin-bottom: .3rem; }
.lip-about p {
    margin: 0;
    color: var(--text-muted);
    font-size: .84rem;
    line-height: 1.55;
}

.lip-workspace { min-width: 0; }
.lip-card {
    background: var(--lip-card);
    border: 1px solid var(--lip-border);
    border-radius: 18px;
    padding: 1.15rem 1.2rem;
    box-shadow: 0 12px 40px rgba(0,0,0,.22);
    margin-bottom: 1rem;
}

.lip-tabs {
    display: flex;
    gap: .35rem;
    padding: .3rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: rgba(2, 8, 20, .55);
    border: 1px solid var(--lip-border);
}
.lip-tab {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 700;
    font-size: .85rem;
    padding: .65rem .75rem;
    border-radius: 9px;
    cursor: pointer;
}
.lip-tab.active {
    background: linear-gradient(135deg, rgba(0,174,239,.25), rgba(56,189,248,.12));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(0,174,239,.35);
}

.lip-main-grid {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 1.1rem;
    align-items: stretch;
}

.lip-field { margin-bottom: 1rem; }
.lip-field label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: .4rem;
    color: #e2e8f0;
}
.lip-select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--lip-border);
    background: rgba(2, 8, 20, .65);
    color: #f8fafc;
    padding: .7rem .85rem;
    font: inherit;
}

.lip-stepper {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: .45rem;
}
.lip-stepper-btn {
    border: 1px solid var(--lip-border);
    background: rgba(0,174,239,.1);
    color: #fff;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
}
.lip-stepper-btn:hover { background: rgba(0,174,239,.22); }
.lip-stepper-input {
    width: 100%;
    text-align: center;
    border-radius: 12px;
    border: 1px solid var(--lip-border);
    background: rgba(2, 8, 20, .65);
    color: #f8fafc;
    font: inherit;
    font-weight: 800;
    font-size: 1.05rem;
    padding: .65rem;
}

.lip-toggles {
    display: grid;
    gap: .65rem;
    margin-bottom: 1.1rem;
}
.lip-toggle {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: .75rem;
    align-items: start;
    cursor: pointer;
    padding: .7rem .75rem;
    border-radius: 12px;
    border: 1px solid var(--lip-border);
    background: rgba(2, 8, 20, .35);
}
.lip-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.lip-toggle-ui {
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: rgba(148,163,184,.25);
    position: relative;
    transition: background .2s;
    margin-top: .15rem;
}
.lip-toggle-ui::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s;
}
.lip-toggle input:checked + .lip-toggle-ui {
    background: linear-gradient(90deg, #0284c7, #00aeef);
}
.lip-toggle input:checked + .lip-toggle-ui::after {
    transform: translateX(20px);
}
.lip-toggle-text strong {
    display: block;
    font-size: .86rem;
    margin-bottom: .15rem;
}
.lip-toggle-text small {
    display: block;
    color: var(--text-muted);
    font-size: .75rem;
    line-height: 1.35;
}

.lip-generate-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 48px;
}

.lip-output-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 14px;
    border: 1px solid var(--lip-border);
    background: rgba(2, 8, 20, .45);
    overflow: hidden;
}
.lip-output-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--lip-border);
}
.lip-output-head h3 {
    margin: 0;
    font-size: .98rem;
}
.lip-output {
    flex: 1;
    width: 100%;
    min-height: 280px;
    border: none;
    resize: vertical;
    background: transparent;
    color: #e2e8f0;
    padding: 1rem;
    font: inherit;
    line-height: 1.7;
}
.lip-output:focus { outline: none; }
.lip-output-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    padding: .75rem 1rem;
    border-top: 1px solid var(--lip-border);
    background: rgba(15,23,42,.55);
}
.lip-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    font-size: .8rem;
    color: var(--text-muted);
}
.lip-stats strong { color: var(--lip-accent-2); }
.lip-clear-btn {
    border: none;
    background: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: .8rem;
    cursor: pointer;
}
.lip-clear-btn:hover { color: #fca5a5; }

.lip-presets h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.lip-presets-sub {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: .85rem;
}
.lip-preset-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .7rem;
}
.lip-preset {
    text-align: center;
    padding: .9rem .65rem;
    border-radius: 12px;
    border: 1px solid var(--lip-border);
    background: rgba(2, 8, 20, .4);
    color: #e2e8f0;
    font-weight: 800;
    font-size: .88rem;
    line-height: 1.25;
    cursor: pointer;
    transition: border-color .15s, transform .15s, background .15s;
}
.lip-preset small {
    display: block;
    margin-top: .25rem;
    font-weight: 600;
    font-size: .72rem;
    color: var(--text-muted);
}
.lip-preset:hover {
    border-color: rgba(0,174,239,.45);
    background: rgba(0,174,239,.1);
    transform: translateY(-1px);
}

.lip-feature-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .65rem;
}
.lip-feature {
    text-align: center;
    padding: .9rem .55rem;
    border-radius: 12px;
    border: 1px solid var(--lip-border);
    background: rgba(15,23,42,.45);
}
.lip-feature strong {
    display: block;
    font-size: .82rem;
    margin-bottom: .25rem;
}
.lip-feature span {
    font-size: .72rem;
    color: var(--text-muted);
}

@media (max-width: 1100px) {
    .lip-layout { grid-template-columns: 1fr; }
    .lip-intro { position: static; }
    .lip-main-grid { grid-template-columns: 1fr; }
    .lip-preset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lip-feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .lip-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lip-trust-item:last-child { grid-column: 1 / -1; }
    .lip-tabs { flex-direction: column; }
    .lip-feature-row { grid-template-columns: 1fr; }
}
