/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a2e;
    background: #f8f9fb;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #eee;
}

.nav-container {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a2e;
    text-decoration: none;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #1a1a2e;
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s;
}

.nav-links a:hover {
    color: #1a1a2e;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    width: 22px;
    height: 2px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: .3s;
}

@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #eee;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 14px 24px;
        border-top: 1px solid #f0f0f0;
    }
}

/* ===== MAIN ===== */
.main {
    flex: 1;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

/* ===== WELCOME ===== */
.welcome {
    text-align: center;
}

.date-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: #eef0f4;
    font-size: .8rem;
    color: #555;
    margin-bottom: 12px;
}

.welcome h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 48px;
}

/* ===== SECTION BLOCKS ===== */
.section-block {
    margin-bottom: 44px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 18px;
}

.section-label-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.demo-dot {
    background: #e17055;
}

.onboard-dot {
    background: #6c5ce7;
}

/* ===== DEMO CARD (single, wide) ===== */
.demo-card-wrapper {
    max-width: 620px;
    margin: 0 auto;
}

.card--demo {
    border: 1px solid #f0d9d2;
    background: linear-gradient(135deg, #fffaf8 0%, #fff 100%);
}

.card--demo:hover {
    border-color: #e17055;
    box-shadow: 0 8px 28px rgba(225, 112, 85, .1);
}

.card-icon--demo {
    background: #e17055;
}

.card-action--demo {
    border-color: #e8b4a4;
    color: #c0392b;
}

.card-action--demo:hover {
    background: #fef0ec;
}

/* ===== CARDS GRID (onboarding) ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 860px) {
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

.card {
    background: #fff;
    border: 1px solid #e8e8ec;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: left;
    cursor: pointer;
    transition: box-shadow .25s, transform .25s, border-color .25s;
    position: relative;
}

.card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, .07);
    transform: translateY(-3px);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.card-icon--a {
    background: #6c5ce7;
}

.card-icon--b {
    background: #00b894;
}

.card-icon--c {
    background: #0984e3;
}

.card-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: .8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s;
}

.card-action:hover {
    background: #f4f4f6;
}

.card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card p {
    font-size: .88rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 14px;
}

.card-link {
    font-size: .8rem;
    color: #888;
}

.card-status {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: .7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    display: none;
}

.card-status.done {
    display: inline-block;
    background: #dff9e8;
    color: #00b894;
}

/* ===== FORMS ===== */
.form-section {
    max-width: 640px;
    margin: 0 auto;
    animation: fadeUp .35s ease;
}

.hidden {
    display: none !important;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-btn {
    background: none;
    border: none;
    font-size: .9rem;
    color: #555;
    cursor: pointer;
    margin-bottom: 20px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .2s;
}

.back-btn:hover {
    color: #1a1a2e;
}

.form-card {
    background: #fff;
    border: 1px solid #e8e8ec;
    border-radius: 16px;
    padding: 40px 36px;
}

@media (max-width: 600px) {
    .form-card {
        padding: 28px 20px;
    }
}

.form-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 14px;
}

.demo-badge {
    background: #fef0ec;
    color: #e17055;
}

.onboard-badge {
    background: #ede8ff;
    color: #6c5ce7;
}

.form-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-desc {
    color: #666;
    font-size: .9rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: .9rem;
    font-family: inherit;
    background: #fafbfc;
    transition: border .2s, box-shadow .2s;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, .12);
}

textarea {
    resize: vertical;
}

.checkbox-group,
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.check-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .88rem;
    color: #444;
    cursor: pointer;
}

.check-label input {
    accent-color: #6c5ce7;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: #1a1a2e;
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background .2s;
}

.submit-btn:hover {
    background: #2d2d4a;
}

.submit-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.submit-btn--demo {
    background: #e17055;
}

.submit-btn--demo:hover {
    background: #c0392b;
}

.form-message {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: .88rem;
    text-align: center;
}

.form-message.success {
    background: #dff9e8;
    color: #00805a;
}

.form-message.error {
    background: #ffe0e0;
    color: #c0392b;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 24px;
    font-size: .8rem;
    color: #999;
    border-top: 1px solid #eee;
}