:root {
    --color-acent: #9f4d57;
    --color-acent-light: #c46672;
    --color-acent-h: #b35661;
    --color-acent-rgba: rgba(159, 77, 87, 0.35);
    --color-acent-border: rgba(159, 77, 87, 0.55);
    --color-acent-glow: rgba(159, 77, 87, 0.35);
    --primary-bg: linear-gradient(180deg, rgba(12, 12, 14, 0.74) 0%, rgba(0, 0, 0, 0.78) 100%);
    --bg: #0c0c0e;
    --border: rgba(255, 255, 255, 0.116);
    --border-h: rgba(255, 255, 255, 0.18);
    --text: #fff;
    --muted: rgba(255, 255, 255, 0.55);
    --font: 'Quicksand', sans-serif;
    --font-heading: 'Evogria', sans-serif;
    --cubic: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --r: 10px;
    --r-sm: 5px;
    --logo-url: url('/assets/logo.png');
}

*, *::before, *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    margin: 0;
    height: 100%;
    min-height: 100%;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
body.landing-page {
    overflow: hidden;
}

a { color: var(--color-acent-light); text-decoration: none; }

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.4rem;
    padding: 0.65rem 1.15rem;
    border-radius: var(--r-sm);
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    transition: background 0.25s var(--cubic), color 0.25s var(--cubic), box-shadow 0.25s var(--cubic);
}
.lp-btn:hover {
    background: var(--color-acent-rgba);
    color: #fff;
}
.lp-btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}
.lp-btn--secondary:hover {
    background: var(--color-acent-rgba);
    color: #fff;
}
.lp-btn--primary {
    background: var(--color-acent);
    color: #fff;
    border: 4px solid #00000040;
    outline: 2px solid #00000038;
    outline-offset: 0.35vh;
}
.lp-btn--primary:hover {
    background: var(--color-acent-light);
    color: #fff;
    box-shadow: none;
}
.lp-btn i { flex-shrink: 0; }

.lp {
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    padding: 7.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
}
.lp::before {
    content: '';
    position: fixed;
    inset: -40px;
    z-index: -2;
    background: var(--landing-bg, none) center center / cover no-repeat;
    background-color: var(--bg);
    filter: blur(18px) saturate(1.05);
    transform: scale(1.08);
}
.lp::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(12, 12, 14, 0.32) 0%, rgba(0, 0, 0, 0.42) 100%);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 1.25rem;
    background: transparent;
}
.header__inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.85rem;
    background: var(--primary-bg);
    border: none;
    border-radius: var(--r);
    outline: 2px dotted rgba(0, 0, 0, 0.75);
    outline-offset: 0.35vh;
    box-shadow:
        0 1.2vh 3vh rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.header__nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}
.header__nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 5px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.25s var(--cubic), color 0.25s var(--cubic), box-shadow 0.25s var(--cubic);
}
.header__nav a:hover {
    background: var(--color-acent-rgba);
    color: #fff;
}
.header__nav a.active {
    background: #fff;
    color: var(--color-acent);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.header__actions {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.header__signup {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-acent);
    text-decoration: none;
    border: 4px solid #00000040;
    outline: 2px solid #00000038;
    outline-offset: 0.35vh;
    cursor: pointer;
}
.header__signup:hover { background: var(--color-acent-light); }

.lp-shell { width: 100%; flex: 1; display: flex; }
.lp-panel {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--primary-bg);
    border: none;
    border-radius: var(--r);
    outline: 2px dotted rgba(0, 0, 0, 0.75);
    outline-offset: 0.35vh;
    box-shadow:
        0 1.2vh 3vh rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}
.lp-panel__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    gap: 1.25rem;
    padding: 1.25rem 1.25rem 1.5rem;
}

.dc-hero {
    flex: 1;
    display: grid;
    justify-items: center;
    align-items: center;
    text-align: center;
    min-height: min(68vh, 640px);
    padding: 0.5rem 0.35rem;
}
.dc-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 40rem;
    min-width: 0;
    animation: heroIn 0.7s var(--ease-out) both;
}
@keyframes heroIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
.dc-hero__eyebrow {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-acent);
    border: 4px solid #00000040;
    outline: 2px solid #00000038;
    outline-offset: 0.35vh;
    border-radius: 12px;
    padding: 0.4rem 0.75rem;
    margin-bottom: 0.85rem;
    opacity: 1;
}
.dc-hero__title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(2.4rem, 5vw, 3.75rem);
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.02;
    text-transform: uppercase;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
}
.dc-hero__title-brand { color: #fff; }
.dc-hero__title-accent { color: var(--color-acent); }
.dc-hero__subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
    max-width: 34rem;
    line-height: 1.65;
    margin: 0 0 1.35rem;
}
.dc-hero__actions--stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 320px);
    gap: 0.55rem;
}
.dc-hero__actions--stack .lp-btn { width: 100%; }
.dc-hero__cta {
    min-height: 3rem;
    padding: 0.8rem 1.4rem;
    font-size: 0.9rem;
    animation: ctaGlow 2.8s ease-in-out infinite;
}
.dc-hero__actions--stack .lp-btn--secondary {
    min-height: 3rem;
    padding: 0.8rem 1.4rem;
    font-size: 0.9rem;
}
@keyframes ctaGlow {
    0%, 100% { box-shadow: 0 0 0 0 transparent; }
    50% { box-shadow: 0 0 28px 2px rgba(159, 77, 87, 0.35); }
}

.dc-hero__title--sm {
    font-size: clamp(1.15rem, 2.4vw, 1.65rem);
    margin-bottom: 0.15rem;
}

.dc-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    animation: heroIn 0.7s var(--ease-out) both;
}
.dc-section--fill {
    justify-content: flex-start;
    width: min(1100px, 100%);
    margin: 0 auto;
}
.dc-section__head {
    text-align: center;
    margin-bottom: 0.15rem;
}

.chip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.15rem;
    padding: 0.4rem 0.75rem;
    border-radius: 5px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s var(--cubic), color 0.25s var(--cubic);
}
.chip-btn:hover {
    background: var(--color-acent-rgba);
    color: #fff;
}

.pdf-viewer {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    gap: 0.55rem;
}
.pdf-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.pdf-zoom-label {
    min-width: 3.4rem;
    text-align: center;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.4px;
    color: var(--color-acent-light);
}
.pdf-stage {
    flex: 1;
    min-height: 62vh;
    overflow: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}
.pdf-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 62vh;
    border: 0;
    background: #111114;
}

@media (max-width: 900px) {
    .header__inner {
        flex-direction: column;
        align-items: stretch;
    }
    .header__actions {
        margin-left: 0;
        justify-content: flex-end;
    }
}

@media (max-width: 640px) {
    .lp { padding: 5.75rem 0.75rem 1rem; }
    .header { padding: 0.55rem 0.75rem; }
    .lp-panel { border-radius: 10px; }
    .dc-hero { min-height: auto; }
    .dc-hero__actions--stack { width: 100%; }
    .header__nav a { font-size: 12px; padding: 8px 10px; }
    .pdf-stage { min-height: 58vh; }
    .dc-section--fill { width: 100%; }
}
