/* ============================= */
/* GLOBAL RESET */
/* ============================= */

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

body {
    font-family: 'Inter', sans-serif;
    background: #f4f6fb;
    color: #1c1f2a;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

section {
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}



/* ============================= */
/* NAVBAR */
/* ============================= */

.nav {
    background: white;
    padding: 22px 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0b63ff;
    letter-spacing: 0.5px;
}

.nav nav a {
    margin-left: 35px;
    text-decoration: none;
    color: #4a4f5c;
    font-weight: 500;
    transition: 0.2s ease;
}

.nav nav a:hover {
    color: #0b63ff;
}

/* NAV BUTTON WRAPPER */
.nav-buttons {
    display: flex;
    gap: 14px;
    align-items: center;
}

/* ============================= */
/* BUTTONS */
/* ============================= */

.btn-primary {
    background: #0b63ff;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #084ecc;
    text-decoration: none;
}

.btn-primary.large {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-outline {
    border: 1.5px solid #0b63ff;
    color: #0b63ff;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
    display: inline-block;
    background: white;
    cursor: pointer;
}

.btn-outline:hover {
    background: #0b63ff;
    color: white;
    text-decoration: none;
}

.btn-outline.large {
    padding: 14px 32px;
    font-size: 1rem;
}


/* ============================= */
/* HERO */
/* ============================= */

.hero {
    background: linear-gradient(135deg, #ffffff 0%, #eef3ff 100%);
    padding: 140px 0;
}

.hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.hero-text {
    max-width: 600px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero h1 span {
    color: #ff3c3c;
}

.hero p {
    font-size: 18px;
    color: #5b6170;
    margin-bottom: 40px;
}


/* ============================= */
/* FEATURES */
/* ============================= */

.features {
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 36px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
}

.section-title p {
    color: #6c7280;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #f8faff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #0b63ff;
}

.feature-card p {
    color: #6c7280;
}


/* ============================= */
/* HOW IT WORKS */
/* ============================= */

.how {
    background: #f2f5fc;
}

.steps {
    display: flex;
    gap: 60px;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
}

.step {
    max-width: 500px;
    position: relative;

}


.step {
    position: relative;
}

.optional-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: #e5e7eb;
    color: #333;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 6px;
    font-weight: 600;
}

.step h2 {
    margin-bottom: 25px;
}


.step span {
    font-size: 32px;
    font-weight: 700;
    color: #ff3c3c;
    display: block;
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 15px;
}

.step p {
    color: #6c7280;
}


/* ============================= */
/* CTA */
/* ============================= */

.cta {
    background: linear-gradient(135deg, #0b63ff, #002f87);
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.cta h2 {
    font-size: 38px;
    margin-bottom: 25px;
}

.cta p {
    margin-bottom: 35px;
    font-size: 18px;
    opacity: 0.9;
}


/* ============================= */
/* FOOTER */
/* ============================= */

.footer {
    background: #10131a;
    color: #a4a9b8;
    padding: 60px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer a {
    color: #a4a9b8;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer a:hover {
    color: white;
}


.showcase-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.showcase-text {
    max-width: 520px;
}

.showcase-box {
    width: 420px;
    height: 260px;
    background: linear-gradient(135deg, #0b63ff, #ff3c3c);
    border-radius: 16px;
}


.trust {
    padding: 40px 0 20px;
    text-align: center;
}

.trust-text {
    font-size: 1.05rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.trust-text span {
    display: block;
    margin-top: 6px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0b63ff;
}

/* AUTH PAGE BACKGROUND */
.auth-page,
.auth-body {
    background: linear-gradient(135deg, #f6f8fb, #eef2f9);
    min-height: 100vh;
    display: block;
}

/* WRAPPER */
.auth-wrapper {
    width: 100%;
    padding: 56px 20px 40px;
}

/* CARD */
.auth-card {
    max-width: 420px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* TITLES */
.auth-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 6px;
}

.auth-subtitle {
    color: #666;
    margin-bottom: 24px;
}

/* INPUTS */
.auth-card input {
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
}

.auth-card input:focus {
    outline: none;
    border-color: #0b63ff;
    box-shadow: 0 0 0 3px rgba(11, 99, 255, 0.1);
}

.auth-card input.auth-input-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
    background: #fff7f7;
}

/* BUTTON */
.auth-btn {
    width: 100%;
    margin-top: 10px;
}

.auth-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.auth-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
}

.password-row {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    z-index: 1;
}

.password-row input {
    margin-bottom: 0;
    padding-right: 88px;
}

.password-toggle {
    position: absolute;
    right: 44px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0.92rem;
}

.password-toggle .eye-closed {
    display: none;
}

.password-toggle.showing .eye-open {
    display: none;
}

.password-toggle.showing .eye-closed {
    display: inline;
}

.password-toggle.showing {
    animation: blinkEye 0.22s ease;
}

.confirm-row .password-toggle {
    right: 12px;
}

.field-help {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 8;
}

.info-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: white;
    color: #0b63ff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.field-tooltip {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    width: 220px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #111827;
    color: white;
    font-size: 0.8rem;
    line-height: 1.45;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 999;
    pointer-events: none;
}

.field-help:hover .field-tooltip,
.field-help:focus-within .field-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.captcha-card {
    margin-top: 2px;
    margin-bottom: 8px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #dbe7f5;
}

.captcha-card label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
}

.captcha-row {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 10px;
    align-items: center;
}

.captcha-prompt {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 12px;
    background: white;
    border: 1px dashed #bfd4ee;
    font-weight: 600;
    color: #0f172a;
}

.captcha-prompt img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: 64px;
    object-fit: contain;
}

.captcha-row input {
    margin-bottom: 0;
}

.trap-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* FOOTER */
.auth-footer {
    margin-top: 18px;
    font-size: 0.9rem;
    color: #555;
}

.auth-footer a {
    color: #0b63ff;
    font-weight: 600;
}

/* ERROR */
.auth-error {
    background: #ffecec;
    color: #b80000;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 14px;
}

/* SUCCESS */
.auth-success {
    background: #e9f8ef;
    color: #1f7a4d;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 14px;
}

/* ANIMATION */
.fade-in-up {
    animation: fadeUp 0.7s ease;
}

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

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

@keyframes blinkEye {
    0% {
        transform: translateY(-50%) scaleY(1);
    }

    45% {
        transform: translateY(-50%) scaleY(0.12);
    }

    100% {
        transform: translateY(-50%) scaleY(1);
    }
}

@media (max-width: 640px) {
    .auth-wrapper {
        padding: 36px 16px 28px;
    }

    .auth-card {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .captcha-row {
        grid-template-columns: 1fr;
    }

    .field-tooltip {
        right: -8px;
        width: min(220px, 70vw);
    }
}


/* GLOBAL LOADER OVERLAY */
#global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.75);
    /* semi-transparent dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

/* SHOW THE LOADER */
#global-loader.active {
    opacity: 1;
    visibility: visible;
}

/* LOADER ANIMATION */
.loader {
    display: flex;
    gap: 10px;
}

.loader div {
    width: 15px;
    height: 15px;
    background: linear-gradient(45deg, #007BFF, #FF4D4D);
    /* Blue -> Red gradient */
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

/* stagger the animation delay for each ball */
.loader div:nth-child(1) {
    animation-delay: 0s;
}

.loader div:nth-child(2) {
    animation-delay: 0.2s;
}

.loader div:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-20px);
    }
}



/* DASHBOARD BODY */
.dashboard-body {
    background: linear-gradient(135deg, #eef2f9, #f9fbff);
    font-family: 'Inter', sans-serif;
}

.dashboard-wrapper {
    max-width: 1300px;
    margin: auto;
    padding: 60px 30px;
}

/* TOP */
.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.dashboard-top h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
}

.status-indicator {
    background: white;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

/* PULSE DOT */
.pulse {
    width: 10px;
    height: 10px;
    background: #00c853;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: pulseAnim 1.5s infinite;
}

@keyframes pulseAnim {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 200, 83, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 200, 83, 0);
    }
}

/* STATS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #0b63ff;
}

/* LOGOUT BUTTON */
.btn-logout {
    background: #ef4444;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-logout:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

/* GRID */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.graph-card,
.activity-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.activity-card ul {
    list-style: none;
    padding: 0;
}

.activity-card li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* BOTTOM */
.bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.project-preview,
.create-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.preview-box {
    margin-top: 20px;
    height: 180px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0b63ff, #ff3c3c);
}

.create-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #0b63ff, #002b75);
    color: white;
}

.create-card h2 {
    margin-bottom: 10px;
}

.create-card p {
    margin-bottom: 20px;
    opacity: 0.9;
}




.builder-body {
    background: linear-gradient(135deg, #eef3fb, #f7f9fc);
    min-height: 100vh;
}

.builder-container {
    width: 90%;
    max-width: 1400px;
    margin: auto;
    padding: 40px 300px 40px 20px;
    position: relative;
    min-height: 100vh;
}


.wizard {
    padding: 70px;
    border-radius: 20px;
}


.step {
    display: none;
}

.step.active {
    display: block;
}

.options-grid,
.theme-grid,
.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.option-card,
.theme-card {
    padding: 25px;
    background: #f3f6fb;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
    font-weight: 600;
}

.option-card:hover,
.theme-card:hover {
    transform: translateY(-4px);
    background: #e8efff;
}

.palette {
    height: 40px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.palette.blue {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.palette.dark {
    background: linear-gradient(90deg, #111, #444);
}

.palette.warm {
    background: linear-gradient(90deg, #d97706, #fbbf24);
}



.hours-grid {
    display: grid;
    gap: 25px;
}

.hours-grid div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    background: #f5f8ff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #1c1f2a;
}


#priceBox {
    position: absolute;
    top: 40px;
    right: 20px;
    width: 264px;
    bottom: 40px;
    z-index: 4;
    padding: 22px 20px 24px;
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(248, 250, 252, 0.35));
    border-left: 1px solid rgba(148, 163, 184, 0.28);
    animation: floatIn 0.8s ease;
    display: flex;
    flex-direction: column;
}

#priceBox h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    line-height: 1.1;
    color: #0f172a;
    letter-spacing: -0.02em;
}

#priceAmount {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    color: #0b63ff;
    line-height: 1;
    letter-spacing: -0.05em;
}

.price-box-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.72rem;
    margin-bottom: 0.85rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.price-box-note {
    margin: 1rem 0 0;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.6;
}

.receipt-lines {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.9rem;
    flex: 1;
    align-content: start;
}

.receipt-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.4;
}

.receipt-line span {
    flex: 1;
}

.receipt-line strong {
    color: #0f172a;
    font-size: 0.95rem;
}

.receipt-line-base strong {
    color: #1d4ed8;
}

.receipt-line-empty {
    color: #94a3b8;
    font-style: italic;
}

.receipt-divider {
    height: 1px;
    margin: 1rem 0 0.95rem;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.6), rgba(148, 163, 184, 0));
}

.receipt-total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
}

.receipt-total span {
    color: #475569;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.receipt-total strong {
    text-align: right;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

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



h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #0f172a;
}

/* NEXT BUTTON */
.next,
.finish {
    margin-top: 25px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.next:hover,
.finish:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

/* BACK BUTTON */
.back {
    margin-top: 12px;
    padding: 10px 18px;
    border-radius: 12px;
    background: #ffffff;
    color: #dc2626;
    /* harsh red text */
    border: 2px solid #dc2626;
    /* harsh red border */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.12s;
}

.back:hover {
    background: #fff5f5;
}

/* OPTION CARDS */
.option-card,
.theme-card {
    border: 2px solid transparent;
}

.option-card.selected,
.theme-card.selected {
    background: #e0eaff;
    border: 2px solid #2563eb;
    transform: scale(1.03);
}

/* INPUTS */
input[type="text"],
input[type="time"],
input[type="email"] {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #dbe2f0;
    font-size: 15px;
}


/* MODULE GRID */
.modules-grid label {
    display: block;
    background: #f4f7fc;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.modules-grid label:hover {
    background: #e9f0ff;
}

/* WIZARD PANEL FEEL */
.wizard {
    background: linear-gradient(180deg, #ffffff, #f9fbff);
    border: 1px solid #e3e9f5;
}


.module-card {
    background: #eef2ff;
    padding: 16px 18px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1.1rem;
    color: #1f2937;
    cursor: pointer;
    border: 1px solid #dfe5f3;
    transition: all 0.25s ease;
}

.module-card .module-title {
    color: #1f2937;
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 600;
}

.module-card:hover {
    background: #f6f8ff;
    transform: translateY(-2px);
    border-color: #cfd8e6;
}

.module-card.selected {
    background: #1f3a8a;
    color: #f8fafc;
    border: 1px solid #445a99;
}

.module-card.selected .module-title {
    color: #f8fafc;
}

/* Hide native checkboxes but keep them accessible and toggleable via label */
.module-card input[type="checkbox"] {
    position: absolute;
    left: -9999px;
}

.subtitle {
    color: #6b7280;
    margin-bottom: 25px;
}

.color-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 30px 0 40px;
}

.color-card {
    width: 180px;
    height: 140px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.25s;
    cursor: pointer;
}

.color-card:hover {
    transform: translateY(-5px);
}

.color-card input {
    width: 60px;
    height: 60px;
    border: none;
    background: none;
    cursor: pointer;
}

.color-card label {
    margin-top: 10px;
    font-weight: 600;
}


.error-text {
    margin-top: 10px;
    font-size: 13px;
    color: #d9534f;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-4px);
    transition: 0.2s ease;
}

#moduleError.error-text {
    color: #d9534f;
    /* harsh red instead of amber */
}

.error-text.show {
    opacity: 1;
    transform: translateY(0);
}

.input-error {
    border: 1px solid #d9534f !important;
    background: #fff5f5;
}

.card-error {
    border: 1px solid #d9534f;
}


.summary-report {
    padding: 20px 0;
}

@media (max-width: 1180px) {
    .builder-container {
        padding-right: 20px;
    }

    #priceBox {
        position: relative;
        top: 0;
        right: 0;
        bottom: auto;
        width: min(100%, 420px);
        margin: 0 0 28px auto;
    }
}

.summary-section {
    margin-bottom: 30px;
}

.summary-section h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

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

.summary-color-tab {
    height: 68px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 10px 24px rgba(15, 23, 42, 0.08);
}

.invoice-list {
    list-style: none;
    padding: 0;
}

.invoice-list li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.invoice-total {
    font-size: 22px;
    font-weight: 700;
    margin-top: 20px;
}


.logo-upload-section {
    margin-top: 25px;
}

.upload-title {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.upload-sub {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
}

.upload-box {
    border: 2px dashed #cfd8e3;
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    background: #fafcff;
    cursor: pointer;
    transition: 0.2s;
}

.upload-box:hover {
    border-color: #4f7cff;
    background: #f3f7ff;
}

.upload-box.dragover {
    border-color: #2563eb;
    background: #eef4ff;
}

.upload-content p {
    font-weight: 600;
    margin: 8px 0 3px;
}

.upload-content span {
    font-size: 12px;
    color: #888;
}

.upload-icon {
    font-size: 28px;
}

.logo-preview {
    margin-top: 18px;
}

.logo-preview img {
    height: 70px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}



/* PROGRESS BAR */
.progress-container {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
}

.progress-bar {
    height: 14px;
    width: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg,
            #2563eb 0%,
            /* color 1 */
            #60a5fa 12.5%,
            /* color 2 */
            #f65c5c 25%,
            /* color 3 */
            #2563eb 37.5%,
            /* color 1 */
            #60a5fa 50%,
            /* color 2 */
            #f65c5c 62.5%,
            /* color 3 */
            #2563eb 75%,
            /* color 1 */
            #60a5fa 87.5%,
            /* color 2 */
            #f65c5c 100%
            /* color 3 */
        );
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.4s ease;
}

.progress-triangle {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 12px solid #111a2e;
    position: absolute;
    top: -12px;
    left: 0;
    transition: left 0.4s ease;
}

/* Step labels */
.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
}



/* PREVIEW BUTTON */
.preview-btn {
    z-index: 10000;

    padding: 14px 22px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
    border: none;
    cursor: pointer;

    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: 0.25s ease;

    pointer-events: auto;
}

.preview-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.preview-btn.show {
    display: block !important;
    opacity: 1 !important;
}


#builderLoadingScreen.active~#exitBuilderBtn {
    display: none;
}


#postBuildActions {
    position: fixed;
    bottom: 28px;
    right: 28px;

    display: flex;
    flex-direction: column;
    gap: 12px;

    z-index: 10000;
}



/* PREVIEW LAYER */
#themePreviewLayer {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 9999;
    overflow: hidden;

    transition: 0.7s cubic-bezier(.77, 0, .18, 1);

    /* Premium background depth */
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(0, 0, 0, 0.15), transparent 40%);
}


#themePreviewLayer.active {
    top: 0;
}

/* NAVBAR */
.preview-navbar {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;

    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.08);

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);

    transform: translateY(-100px);
    transition: 0.6s ease;

    letter-spacing: 0.4px;
}

#themePreviewLayer.active .preview-navbar {
    transform: translateY(0);
}



/* NAV CONTENT */
.preview-navbar a {
    margin: 0 18px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    transition: 0.25s ease;
}

.preview-navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: currentColor;
    transition: 0.25s ease;
}

.preview-navbar a:hover::after {
    width: 100%;
}

.preview-navbar a:hover {
    opacity: 0.85;
}


.nav-cta {
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);

    transition: 0.25s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}


.nav-left {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.8px;
}


/* HERO */
.preview-hero {
    text-align: center;
    margin-top: 140px;
    padding: 0 20px;

    animation: fadeUp 0.8s ease;
}

.preview-hero h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.preview-hero p {
    font-size: 18px;
    opacity: 0.9;
}


.hero-btn {
    margin-top: 28px;
    padding: 16px 26px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);

    transition: 0.25s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
}



/* SMOOTH ENTRY */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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




/* =========================
   BUILDER LOADING SCREEN
   ========================= */

#builderLoadingScreen {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, #0b63ff, #05070f);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    opacity: 0;
    pointer-events: none;
    transition: 0.5s ease;
}

#builderLoadingScreen.active {
    opacity: 1;
    pointer-events: all;
}

.loading-center {
    text-align: center;
    color: white;
    animation: fadeUp 0.8s ease;
}

.builder-loader {
    justify-content: center;
    margin-bottom: 30px;
}

.builder-success-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 24px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 3rem;
    font-weight: 800;
    color: #0f5132;
    background: linear-gradient(180deg, #dcfce7, #bbf7d0);
    box-shadow:
        0 18px 50px rgba(34, 197, 94, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.builder-error-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 24px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 2.6rem;
    font-weight: 800;
    color: #7f1d1d;
    background: linear-gradient(180deg, #fee2e2, #fecaca);
    box-shadow:
        0 18px 50px rgba(239, 68, 68, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.builder-progress {
    width: min(360px, 82vw);
    height: 12px;
    margin: 14px auto 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.18);
}

.builder-progress-bar {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #93c5fd, #ffffff 45%, #60a5fa 100%);
    box-shadow: 0 0 22px rgba(147, 197, 253, 0.35);
    transition: width 0.35s ease;
}

.builder-progress-text {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.loading-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.loading-spinner div {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    animation: bounce 1.2s infinite ease-in-out;
}

.loading-spinner div:nth-child(2) {
    animation-delay: 0.15s;
}

.loading-spinner div:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

#previewWebsiteBtn {
    margin-top: 30px;
    padding: 14px 28px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #ff3c3c, #ff6a6a);
    color: white;
    font-weight: 600;
    cursor: pointer;

    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s ease;
}

#previewWebsiteBtn.show {
    opacity: 1;
    transform: translateY(0);
}


.project-bar {
    background: #111;
    border: 1px solid #d4a373;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.project-bar:hover {
    background: black;
    transform: translateY(-2px);
}

.project-name {
    font-weight: 600;
    color: #d4a373;
}

.project-date {
    font-size: 12px;
    color: #aaa;
}


.webconfig-body {
    background: #f5f7fb;
    font-family: 'Inter', sans-serif;
    color: #111;
}

.webconfig-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 50px 30px;
}

/* Top Header */
.webconfig-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.webconfig-top h1 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.4px;
}

/* Buttons */
.webconfig-actions {
    display: flex;
    gap: 12px;
}

.webconfig-actions button {
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s ease;
}

/* Primary */
.btn-primary {
    background: #0b63ff;
    color: white;
    box-shadow: 0 4px 12px rgba(11, 99, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(11, 99, 255, 0.35);
}

/* Secondary */
.btn-secondary {
    background: white;
    color: #0b63ff;
    border: 1px solid #dbe2f0;
}

.btn-secondary:hover {
    background: #f0f4ff;
}

/* Danger */
.btn-danger {
    background: white;
    color: #ff3c3c;
    border: 1px solid #ffdada;
}

.btn-danger:hover {
    background: #fff5f5;
}

/* Grid */
.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Cards */
.config-card {
    background: white;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef1f6;
    transition: 0.2s ease;
}

.config-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.config-card h3 {
    font-size: 15px;
    margin-bottom: 14px;
    font-weight: 600;
    color: #0b63ff;
}

.config-card p {
    font-size: 14px;
    margin: 6px 0;
    color: #444;
}

/* Module Badges */
.module-badge {
    display: inline-block;
    background: #0b63ff;
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    margin: 4px 4px 0 0;
    font-size: 12px;
    font-weight: 500;
}

/* Theme Colors */
.color-preview {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.color-preview span {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #e3e8f2;
}


/* Floating Exit Button */
.exit-builder-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;

    padding: 14px 28px;
    border-radius: 50px;
    /* Oval shape */

    background: linear-gradient(135deg, #ff4d4d, #cc0000);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;

    border: none;
    cursor: pointer;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    z-index: 9999;

    transition: all 0.25s ease;
}

.exit-builder-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, #ff3333, #990000);
}

.exit-builder-btn:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.module-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.module-row {
    background: #eef4ff;
    border-left: 4px solid #0b63ff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

p.error-text {
    color: #ff4d4d;
}

.error-text {
    color: #ff4d4d !important;
}


.error-text {
    color: #ff4d4d;
    font-size: 14px;
    margin-top: 6px;
    display: none;
}

.error-text.show {
    display: block;
}

.input-error {
    border: 2px solid #ff4d4d !important;
}


.webconfig-top h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
}

.config-card {
    min-height: 140px;
}


/* ============================= */
/* FULL-WIDTH GLASS BOTTOM BAR */
/* ============================= */

.bottom-actions {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;

    padding: 0 24px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    z-index: 9999;
    overflow: visible;
}


/* BUTTONS BIGGER */
.bottom-actions button {
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;

    border: 1px solid rgba(15, 23, 42, 0.06);
    cursor: pointer;

    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

/* HOVER */
.bottom-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

/* PRIMARY */
.bottom-actions .btn-primary {
    background: linear-gradient(135deg, #0b63ff, #2563eb);
    color: white;
    box-shadow: 0 6px 16px rgba(11, 99, 255, 0.3);
}

/* SECONDARY */
.bottom-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.92);
    color: #0b63ff;
    border: 1px solid rgba(226, 232, 240, 0.95);
}

/* DANGER */
.bottom-actions .btn-danger {
    background: rgba(255, 255, 255, 0.92);
    color: #ff3c3c;
    border: 1px solid rgba(255, 218, 218, 0.95);
}

.bottom-actions::before {
    content: none;
}

.bottom-actions::after {
    content: none;
}


.webconfig-wrapper {
    padding-bottom: 120px;
}

.option-card.option-card-disabled {
    position: relative;
    cursor: not-allowed;
    background: linear-gradient(180deg, #fbfcfe, #f3f6fb);
    color: #64748b;
    border: 1px solid #e2e8f0;
    opacity: 0.92;
}

.option-card.option-card-disabled:hover {
    transform: none;
    background: linear-gradient(180deg, #fbfcfe, #f3f6fb);
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08) !important;
    color: #475569 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0;
    text-transform: none;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.wizard-helper-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}

.wizard-helper-text {
    margin: 0 0 12px;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
}

.address-search-group {
    position: relative;
    margin-bottom: 14px;
}

.address-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 8px;
    border: 1px solid #dbe2f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
    z-index: 30;
}

.address-search-results.show {
    display: block;
}

.address-result-item {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 12px 14px;
    border-radius: 10px;
    color: #0f172a;
    font: inherit;
    cursor: pointer;
}

.address-result-item:hover {
    background: #eff6ff;
}

.address-search-empty {
    padding: 12px 14px;
    color: #64748b;
    font-size: 0.92rem;
}

.summary-preline {
    white-space: pre-line;
}

.module-title {
    display: block;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 600;
    color: inherit;
}

.module-card.module-card-disabled {
    cursor: not-allowed;
    background: linear-gradient(180deg, #fcfdff, #f5f7fb);
    border: 2px solid #e6ebf3;
    color: #475569 !important;
}

.module-card.module-card-disabled:hover {
    transform: none;
    background: linear-gradient(180deg, #fafcff, #f4f7fb);
}

.module-soon-badge {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 12px;
}

.modules-grid .coming-soon-badge,
.options-grid .coming-soon-badge {
    color: #475569 !important;
}

.module-dependent {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(10px);
    pointer-events: none;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    transition: max-height 0.35s ease, opacity 0.28s ease, transform 0.35s ease, margin 0.35s ease, padding 0.35s ease, border-width 0.35s ease;
}

.module-dependent.module-dependent-visible {
    max-height: 220px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    padding-top: 22px;
    padding-bottom: 22px;
    border-width: 2px;
}

.auth-password-row input {
    margin-bottom: 0;
}

.auth-footer-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.auth-footer-separator {
    color: #94a3b8;
}

.auth-inline-link {
    background: none;
    border: none;
    padding: 0;
    color: #0b63ff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.auth-inline-link:hover {
    color: #0848bb;
}

.auth-inline-link:focus-visible {
    outline: 2px solid rgba(11, 99, 255, 0.3);
    outline-offset: 3px;
    border-radius: 4px;
}

.auth-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 10020;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.auth-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.54);
    backdrop-filter: blur(6px);
}

.auth-modal-panel {
    position: relative;
    width: min(460px, 100%);
    padding: 30px 28px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.auth-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 999px;
    background: #eef2ff;
    color: #334155;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
}

.auth-modal-title {
    margin: 0 0 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.45rem;
}

.auth-modal-text {
    margin: 0 0 18px;
    color: #64748b;
    line-height: 1.55;
}

@media (max-width: 640px) {
    .auth-modal {
        padding: 16px;
    }

    .auth-modal-panel {
        padding: 24px 18px 18px;
        border-radius: 18px;
    }
}

/* =============================
   DINEBLOC PUBLIC WEBSITE
============================= */

.dinebloc-page {
    --sb-ink: #111827;
    --sb-muted: #566174;
    --sb-blue: #2563eb;
    --sb-blue-dark: #1d4ed8;
    --sb-red: #ef4444;
    --sb-line: rgba(15, 23, 42, 0.11);
    --sb-panel: rgba(255, 255, 255, 0.74);
    min-height: 100vh;
    color: var(--sb-ink);
    background:
        radial-gradient(circle at 8% 10%, rgba(37, 99, 235, 0.20), transparent 34%),
        radial-gradient(circle at 88% 14%, rgba(239, 68, 68, 0.17), transparent 30%),
        radial-gradient(circle at 18% 82%, rgba(37, 99, 235, 0.14), transparent 32%),
        radial-gradient(circle at 82% 78%, rgba(239, 68, 68, 0.12), transparent 28%),
        linear-gradient(135deg, #eef2f7 0%, #f8fafc 46%, #edf2f8 100%);
    background-attachment: fixed;
    font-family: 'Inter', sans-serif;
}

.dinebloc-page section {
    padding: 88px 0;
}

.sb-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.sb-nav {
    position: sticky;
    top: 0;
    z-index: 80;
    padding: 14px 0;
    background: rgba(248, 250, 252, 0.78);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
}

.sb-nav-inner,
.sb-nav-links,
.sb-nav-actions,
.sb-hero-actions,
.sb-proof-row {
    display: flex;
    align-items: center;
}

.sb-nav-inner {
    justify-content: space-between;
    gap: 20px;
}

.sb-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
    color: var(--sb-ink);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}

.sb-logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    object-fit: cover;
    display: block;
    flex: 0 0 auto;
}

.sb-logo::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 7px;
    border-radius: 50%;
    background: var(--sb-red);
}

.sb-nav-links {
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sb-nav-links a,
.sb-footer a {
    color: var(--sb-muted);
    text-decoration: none;
}

.sb-nav-links a {
    padding: 9px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
}

.sb-nav-links a:hover {
    color: var(--sb-ink);
    background: rgba(37, 99, 235, 0.08);
}

.sb-nav-actions {
    gap: 10px;
}

.sb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.sb-btn:hover {
    transform: translateY(-1px);
}

.sb-btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--sb-blue), var(--sb-blue-dark));
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.sb-btn-ghost {
    color: var(--sb-ink);
    background: rgba(255, 255, 255, 0.68);
    border-color: rgba(15, 23, 42, 0.12);
}

.sb-btn-large {
    min-height: 50px;
    padding: 0 22px;
}

.sb-hero {
    padding: 96px 0 70px;
}

.sb-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 52px;
    align-items: center;
}

.sb-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 16px;
    padding: 8px 11px;
    border-radius: 8px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    background: rgba(255, 255, 255, 0.68);
    color: var(--sb-blue-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.sb-hero h1,
.sb-section-head h2,
.sb-showcase-copy h2,
.sb-ai-grid h2,
.sb-pricing-panel h2,
.sb-final-cta h2,
.sb-page-hero h1,
.sb-process-step h2,
.sb-contact-panel h2 {
    margin: 0;
    color: var(--sb-ink);
    font-family: 'Playfair Display', serif;
    letter-spacing: 0;
    line-height: 1.04;
}

.sb-hero h1 {
    max-width: 820px;
    font-size: 4.1rem;
}

.sb-hero p,
.sb-section-head p,
.sb-showcase-copy p,
.sb-pricing-panel p,
.sb-final-cta p,
.sb-page-hero p,
.sb-contact-panel p {
    color: var(--sb-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.sb-hero p {
    max-width: 680px;
    margin: 24px 0 0;
}

.sb-hero-actions {
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.sb-proof-row {
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.sb-proof-row span {
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.09);
    color: #334155;
    font-size: 0.88rem;
    font-weight: 800;
}

.sb-hero-board {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

.sb-board-top {
    display: flex;
    gap: 7px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.92);
}

.sb-board-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.sb-hero-board img {
    width: 100%;
    height: 390px;
    display: block;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02);
}

.sb-board-panel {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
}

.sb-board-panel strong,
.sb-price-card strong {
    display: block;
    color: var(--sb-ink);
    font-size: 1.05rem;
}

.sb-board-panel p {
    margin: 4px 0 0;
    color: var(--sb-muted);
    font-size: 0.9rem;
    line-height: 1.35;
}

.sb-board-panel span {
    align-self: start;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--sb-red);
    color: white;
    font-weight: 900;
}

.sb-floating-note {
    position: absolute;
    top: 74px;
    right: 16px;
    max-width: 190px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(17, 24, 39, 0.82);
    color: white;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
}

.sb-strip {
    padding: 24px 0;
}

.sb-trial-band {
    padding: 14px 0 26px;
}

.sb-trial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 20px;
    align-items: stretch;
    padding: 22px;
    border-radius: 8px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 42%),
        radial-gradient(circle at bottom right, rgba(239, 68, 68, 0.12), transparent 36%),
        rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.sb-trial-copy h2 {
    margin: 0;
    font-size: 2.35rem;
}

.sb-trial-copy p {
    margin: 16px 0 0;
    max-width: 60ch;
    color: var(--sb-muted);
    line-height: 1.7;
}

.sb-trial-panels {
    display: grid;
    gap: 12px;
}

.sb-trial-card {
    padding: 18px 18px 17px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    background: rgba(255, 255, 255, 0.78);
}

.sb-trial-card strong {
    display: block;
    color: var(--sb-ink);
    font-size: 1.05rem;
}

.sb-trial-card span {
    display: block;
    margin-top: 6px;
    color: var(--sb-muted);
    line-height: 1.55;
}

.sb-strip-grid,
.sb-feature-grid,
.sb-showcase-grid,
.sb-ai-grid,
.sb-pricing-panel,
.sb-contact-grid,
.sb-footer-grid {
    display: grid;
    gap: 16px;
}

.sb-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sb-strip-grid div,
.sb-feature-card,
.sb-price-card,
.sb-process-step,
.sb-contact-form,
.sb-contact-panel,
.sb-contact-cards div {
    border-radius: 8px;
    border: 1px solid var(--sb-line);
    background: var(--sb-panel);
    backdrop-filter: blur(16px);
}

.sb-strip-grid div {
    padding: 18px;
}

.sb-strip-grid strong {
    color: var(--sb-ink);
}

.sb-strip-grid strong,
.sb-strip-grid span,
.sb-contact-cards strong,
.sb-contact-cards span {
    display: block;
}

.sb-strip-grid span {
    margin-top: 4px;
    color: var(--sb-muted);
    font-size: 0.92rem;
}

.sb-section-head {
    max-width: 760px;
    margin-bottom: 42px;
}

.sb-section-head h2,
.sb-showcase-copy h2,
.sb-ai-grid h2,
.sb-pricing-panel h2,
.sb-final-cta h2,
.sb-page-hero h1 {
    font-size: 3rem;
}

.sb-section-head p {
    margin-top: 16px;
}

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

.sb-feature-card {
    padding: 24px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.sb-feature-card span {
    color: var(--sb-red);
    font-weight: 900;
}

.sb-feature-card h3 {
    margin: 18px 0 10px;
    color: var(--sb-ink);
    font-size: 1.2rem;
}

.sb-feature-card p,
.sb-ai-list p,
.sb-check-list,
.sb-process-step p,
.sb-contact-form label,
.sb-contact-cards span,
.sb-footer p,
.sb-footer a {
    color: var(--sb-muted);
}

.sb-showcase-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: center;
}

.sb-food-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.sb-food-stack img {
    width: 100%;
    min-height: 190px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.sb-food-stack img:first-child {
    grid-row: span 2;
    min-height: 396px;
}

.sb-showcase-copy p {
    margin: 18px 0;
}

.sb-check-list {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sb-check-list li {
    padding-left: 24px;
    position: relative;
}

.sb-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--sb-red);
}

.sb-ai-band,
.sb-final-cta {
    background: rgba(255, 255, 255, 0.34);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.sb-ai-grid,
.sb-pricing-panel,
.sb-contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.sb-ai-list {
    display: grid;
    gap: 12px;
}

.sb-ai-list p {
    margin: 0;
    padding: 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.sb-pricing-panel {
    align-items: center;
    padding: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--sb-line);
}

.sb-price-card {
    padding: 24px;
}

.sb-price-card span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--sb-blue-dark);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.sb-price-card strong {
    margin-bottom: 20px;
    font-size: 1.4rem;
    line-height: 1.25;
}

.sb-final-cta {
    text-align: center;
}

.sb-final-cta .sb-container {
    max-width: 820px;
}

.sb-final-cta p {
    margin: 18px auto 28px;
    max-width: 650px;
}

.sb-page-hero {
    padding: 82px 0 58px;
}

.sb-page-hero .sb-container {
    max-width: 850px;
}

.sb-page-hero p {
    margin-top: 18px;
    max-width: 720px;
}

.sb-process-list {
    display: grid;
    gap: 16px;
}

.sb-process-step {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 22px;
    padding: 28px;
}

.sb-process-step span {
    color: var(--sb-red);
    font-size: 2rem;
    font-weight: 900;
}

.sb-process-step h2 {
    font-size: 1.8rem;
}

.sb-process-step p {
    margin-top: 10px;
}

.sb-contact-form {
    display: grid;
    gap: 16px;
    padding: 26px;
}

.sb-contact-form label {
    display: grid;
    gap: 7px;
    font-weight: 800;
}

.sb-contact-form input,
.sb-contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.13);
    background: rgba(255, 255, 255, 0.82);
    color: var(--sb-ink);
    font: inherit;
}

.sb-contact-form textarea {
    resize: vertical;
}

.sb-contact-panel {
    padding: 28px;
}

.sb-contact-panel p {
    margin: 16px 0 20px;
}

.sb-contact-cards {
    display: grid;
    gap: 10px;
}

.sb-contact-cards div {
    padding: 16px;
}

.sb-footer {
    padding: 54px 0;
    background: rgba(17, 24, 39, 0.94);
    color: rgba(255, 255, 255, 0.72);
}

.sb-footer .sb-logo {
    color: white;
}

.sb-footer-grid {
    grid-template-columns: 1.25fr 0.75fr 0.75fr 1fr;
    gap: 30px;
}

.sb-footer h4 {
    margin: 0 0 12px;
    color: white;
}

.sb-footer p {
    max-width: 340px;
    margin-top: 12px;
}

.sb-footer a {
    display: block;
    margin-bottom: 9px;
}

.sb-footer a:hover {
    color: white;
}

@media (max-width: 980px) {
    .sb-nav-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .sb-hero-grid,
    .sb-showcase-grid,
    .sb-ai-grid,
    .sb-pricing-panel,
    .sb-contact-grid {
        grid-template-columns: 1fr;
    }

    .sb-hero h1,
    .sb-section-head h2,
    .sb-showcase-copy h2,
    .sb-ai-grid h2,
    .sb-pricing-panel h2,
    .sb-final-cta h2,
    .sb-page-hero h1 {
        font-size: 2.55rem;
    }

    .sb-trial-grid {
        grid-template-columns: 1fr;
    }

    .sb-feature-grid,
    .sb-strip-grid,
    .sb-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .dinebloc-page section {
        padding: 62px 0;
    }

    .sb-container {
        width: min(100% - 26px, 1180px);
    }

    .sb-nav-links,
    .sb-nav-actions,
    .sb-hero-actions {
        width: 100%;
    }

    .sb-nav-links a,
    .sb-nav-actions .sb-btn,
    .sb-hero-actions .sb-btn {
        flex: 1 1 auto;
    }

    .sb-hero h1,
    .sb-section-head h2,
    .sb-showcase-copy h2,
    .sb-ai-grid h2,
    .sb-pricing-panel h2,
    .sb-final-cta h2,
    .sb-page-hero h1 {
        font-size: 2.1rem;
    }

    .sb-hero-board img {
        height: 300px;
    }

    .sb-floating-note {
        position: static;
        max-width: none;
        border-radius: 0;
    }

    .sb-feature-grid,
    .sb-strip-grid,
    .sb-footer-grid,
    .sb-food-stack {
        grid-template-columns: 1fr;
    }

    .sb-food-stack img:first-child {
        min-height: 230px;
    }

    .sb-process-step {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 22px;
    }
}

@media (max-width: 1024px) {
    section {
        padding: 78px 0;
    }

    .container {
        padding: 0 22px;
    }

    .nav {
        padding: 18px 0;
    }

    .nav-inner,
    .nav-buttons {
        gap: 12px;
    }

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

    .nav nav a {
        margin-left: 0;
    }

    .hero {
        padding: 98px 0 84px;
    }

    .hero-inner,
    .dashboard-grid,
    .dashboard-top,
    .builder-container {
        gap: 28px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 6vw, 3.7rem);
    }

    .dashboard-grid,
    .builder-container {
        grid-template-columns: 1fr;
    }

    .dashboard-wrapper,
    .auth-wrapper {
        padding-inline: 22px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 64px 0;
    }

    .container,
    .dashboard-wrapper,
    .auth-wrapper {
        padding-inline: 18px;
    }

    .nav {
        padding: 16px 0;
    }

    .nav-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .nav nav,
    .nav-buttons {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .nav nav a,
    .nav-buttons a {
        margin-left: 0;
    }

    .btn-primary,
    .btn-outline {
        padding: 12px 18px;
    }

    .hero {
        padding: 84px 0 70px;
    }

    .hero-inner,
    .footer-inner,
    .dashboard-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-text {
        max-width: none;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 9vw, 3.2rem);
        margin-bottom: 20px;
    }

    .hero p,
    .cta p,
    .section-title p {
        font-size: 1rem;
    }

    .steps {
        gap: 28px;
    }

    .feature-card,
    .step,
    .auth-card,
    .config-card,
    .project-bar {
        padding-left: 22px;
        padding-right: 22px;
    }

    .dashboard-grid,
    .features-grid {
        gap: 22px;
    }

    .dinebloc-page .sb-nav-inner {
        gap: 14px;
    }

    .dinebloc-page .sb-nav-links,
    .dinebloc-page .sb-nav-actions,
    .dinebloc-page .sb-hero-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .container,
    .dashboard-wrapper,
    .auth-wrapper {
        padding-inline: 14px;
    }

    .logo {
        font-size: 1.15rem;
    }

    .nav nav {
        gap: 10px 14px;
    }

    .nav nav a,
    .nav-buttons a,
    .nav-buttons button {
        width: 100%;
        text-align: center;
    }

    .hero {
        padding: 72px 0 58px;
    }

    .hero h1 {
        font-size: clamp(2rem, 10vw, 2.7rem);
    }

    .hero p,
    .cta p {
        font-size: 0.96rem;
    }

    .cta {
        padding: 82px 16px;
    }

    .section-title {
        margin-bottom: 42px;
    }

    .section-title h2,
    .cta h2 {
        font-size: 1.9rem;
    }

    .sb-trial-copy h2 {
        font-size: 2rem;
    }

    .feature-card,
    .auth-card,
    .step,
    .sb-feature-card,
    .sb-price-card,
    .sb-process-step,
    .sb-contact-form,
    .sb-contact-panel {
        border-radius: 18px;
    }

    .dinebloc-page .sb-nav {
        top: 0;
    }

    .dinebloc-page .sb-nav-inner,
    .dinebloc-page .sb-nav-links,
    .dinebloc-page .sb-nav-actions,
    .dinebloc-page .sb-hero-actions,
    .dinebloc-page .sb-proof-row {
        gap: 10px;
    }

    .dinebloc-page .sb-nav-links a,
    .dinebloc-page .sb-nav-actions .sb-btn,
    .dinebloc-page .sb-hero-actions .sb-btn {
        width: 100%;
        justify-content: center;
    }

    .dinebloc-page .sb-trial-grid {
        padding: 18px;
    }

    .dinebloc-page .sb-hero-board,
    .dinebloc-page .sb-board-panel,
    .dinebloc-page .sb-final-cta,
    .dinebloc-page .sb-page-hero {
        border-radius: 22px;
    }

    .dinebloc-page .sb-hero-board img {
        height: 240px;
    }

    .dinebloc-page .sb-strip-grid div,
    .dinebloc-page .sb-feature-card,
    .dinebloc-page .sb-price-card,
    .dinebloc-page .sb-process-step,
    .dinebloc-page .sb-contact-form,
    .dinebloc-page .sb-contact-panel,
    .dinebloc-page .sb-contact-cards div {
        padding: 18px;
    }

    .dinebloc-page .sb-footer {
        padding: 42px 0;
    }
}
