/* Stayora landing page: current HTML/JS-only styles */

:root {
    --color-primary: #0147ff;
    --color-primary-hover: #013fe3;
    --color-text: #383838;
    --color-text-muted: rgba(56, 56, 56, 0.7);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    color: var(--color-text);
    /* background: linear-gradient(
        165deg,
        rgba(1, 71, 255, 0.14) 0%,
        rgba(1, 71, 255, 0.1) 22%,
        rgba(255, 255, 255, 1) 46%,
        rgba(1, 71, 255, 0.07) 70%,
        rgba(255, 255, 255, 1) 100%
    ); */
    background:white; 
    background-attachment: fixed;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.page-top-anchor {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

#features,
#howItWorks,
#waitlist,
#contact {
    scroll-margin-top: 96px;
}

.header-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.header-sticky.is-scrolled {
    border-bottom-color: rgba(56, 56, 56, 0.08);
    box-shadow: 0 1px 0 rgba(56, 56, 56, 0.04);
}

.header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.logo {
    justify-self: start;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 28px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo img:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 8px;
    transition: background 0.2s;
}

.nav-toggle:hover {
    background: rgba(56, 56, 56, 0.06);
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav {
    display: contents;
}

.nav-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--color-text);
}

.nav .nav-link {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out, color 0.2s;
}

.load-wrap.loaded .nav .nav-link:nth-child(1) { transition-delay: 0.08s; }
.load-wrap.loaded .nav .nav-link:nth-child(2) { transition-delay: 0.14s; }
.load-wrap.loaded .nav .nav-link:nth-child(3) { transition-delay: 0.2s; }

.load-wrap.loaded .nav .nav-link {
    opacity: 1;
    transform: translateY(0);
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: 999px;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--color-text);
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid var(--color-text);
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
    background: var(--color-text);
    color: #fff;
}

.btn-header {
    margin-left: auto;
}

.nav .btn-primary {
    color: #fff;
    margin-left: auto;
}

.nav .btn-primary:hover {
    color: #fff;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.cta-waitlist {
    justify-self: end;
}

.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
    text-align: center;
}

.hero-with-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-inner {
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(56, 56, 56, 0.75);
    max-width: 36rem;
    margin: 0 auto 1.75rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-demo {
    width: 100%;
    max-width: 1060px;
    margin-top: 2rem;
}

.hero-demo .calendar-demo-shell {
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(56, 56, 56, 0.15);
}

.why-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4rem;
}

.why-inner {
    max-width: 960px;
    margin: 0 auto;
    padding-top: 5rem;
    text-align: left;
}

.section-kicker {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.why-section h2 {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    text-align: center;
}

.why-sub {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 40rem;
    margin-bottom: 2rem;
}

.why-heading .why-brand img {
    padding-top: 0.1rem;
    height: 2.25rem;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.why-item {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(56, 56, 56, 0.06);
    padding: 2.25rem 2rem;
    min-height: 240px;
    box-shadow: 0 10px 30px rgba(56, 56, 56, 0.04);
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.why-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(56, 56, 56, 0.08);
    border-color: rgba(1, 71, 255, 0.14);
}

.why-section.reveal.in-view .why-item {
    opacity: 1;
    transform: translateY(0);
}

.why-section.reveal.in-view .why-item:nth-child(1) { transition-delay: 0.08s; }
.why-section.reveal.in-view .why-item:nth-child(2) { transition-delay: 0.16s; }
.why-section.reveal.in-view .why-item:nth-child(3) { transition-delay: 0.24s; }

.why-item h3 {
    font-size: 1.14rem;
    font-weight: 600;
    margin-bottom: 0.55rem;
    color: var(--color-text);
}

.why-item p {
    font-size: 1rem;
    color: rgba(56, 56, 56, 0.75);
    line-height: 1.6;
}

.how-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10rem 1.5rem 4.25rem;
}

.how-inner {
    max-width: 960px;
    margin: 0 auto;
}

.how-section h2 {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 0.75rem;
}

.how-sub {
    text-align: center;
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 42rem;
    margin: 0 auto 2.2rem;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.how-step {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(56, 56, 56, 0.06);
    padding: 2.1rem 1.9rem;
    min-height: 240px;
    box-shadow: 0 10px 30px rgba(56, 56, 56, 0.04);
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.how-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(56, 56, 56, 0.08);
    border-color: rgba(1, 71, 255, 0.14);
}

.how-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.7rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(1, 71, 255, 0.1);
    color: var(--color-primary);
    font-size: 0.92rem;
    font-weight: 700;
}

.how-step h3 {
    font-size: 1.14rem;
    font-weight: 600;
    margin-bottom: 0.55rem;
    color: var(--color-text);
}

.how-step p {
    font-size: 1rem;
    color: rgba(56, 56, 56, 0.75);
    line-height: 1.6;
}

.how-section.reveal.in-view .how-step {
    opacity: 1;
    transform: translateY(0);
}

.how-section.reveal.in-view .how-step:nth-child(1) { transition-delay: 0.08s; }
.how-section.reveal.in-view .how-step:nth-child(2) { transition-delay: 0.16s; }
.how-section.reveal.in-view .how-step:nth-child(3) { transition-delay: 0.24s; }

.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem 4.25rem;
}

.contact-inner {
    max-width: 960px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 0.75rem;
}

.contact-sub {
    text-align: center;
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 42rem;
    margin: 0 auto 2.2rem;
}

.contact-form {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(56, 56, 56, 0.08);
    border-radius: 16px;
    padding: 1.6rem;
    box-shadow: 0 12px 34px rgba(56, 56, 56, 0.05);
}

.form-row + .form-row {
    margin-top: 0.9rem;
}

.contact-input,
.contact-textarea {
    width: 100%;
    border: 1px solid rgba(56, 56, 56, 0.14);
    border-radius: 12px;
    background: #fff;
    color: var(--color-text);
    font: inherit;
    font-size: 0.98rem;
    padding: 0.9rem 1rem;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: rgba(56, 56, 56, 0.5);
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: rgba(1, 71, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(1, 71, 255, 0.12);
}

.contact-btn {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.75rem 1.35rem;
    border: none;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font: inherit;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.15s ease;
}

.contact-btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
}

.load-wrap .header.load-reveal,
.load-wrap .hero .load-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.load-wrap.loaded .header.load-reveal,
.load-wrap.loaded .hero .load-reveal {
    opacity: 1;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.calendar-demo-shell {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(56, 56, 56, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(56, 56, 56, 0.08);
    overflow: hidden;
}

.calendar-demo-shell:hover {
    box-shadow: 0 24px 60px rgba(56, 56, 56, 0.1);
}

.calendar-demo-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(56, 56, 56, 0.08);
    flex-wrap: wrap;
}

.calendar-demo-title {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.calendar-demo-title strong {
    font-size: 1rem;
    font-weight: 700;
}

.calendar-demo-title span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.calendar-board-wrap {
    overflow-x: visible;
    padding: 1rem;
}

.calendar-board {
    position: relative;
    width: 100%;
}

.calendar-grid {
    display: grid;
    grid-template-columns: minmax(110px, 1.05fr) repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(62px, 6vw, 78px);
    gap: 1px;
    background: rgba(56, 56, 56, 0.03);
    border: 1px solid rgba(56, 56, 56, 0.03);
    border-radius: 18px;
    overflow: hidden;
}

.calendar-cell {
    background: #fff;
    position: relative;
}

.calendar-cell.header {
    min-height: 58px;
    background: rgba(56, 56, 56, 0.03);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem;
}

.calendar-cell.day-label {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 56, 56, 0.03);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.5rem;
    text-align: center;
}

.calendar-cell.dropzone.drag-over {
    background: rgba(1, 71, 255, 0.1);
    box-shadow:
        inset 0 0 0 2px rgba(1, 71, 255, 0.22),
        inset 0 0 24px rgba(1, 71, 255, 0.08);
}

.calendar-bookings-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.booking-bar {
    position: absolute;
    border-radius: 14px;
    color: #fff;
    padding: 0.7rem 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(56, 56, 56, 0.14);
    cursor: grab;
    pointer-events: auto;
    user-select: none;
    overflow: hidden;
    transition:
        transform 0.18s ease,
        box-shadow 0.22s ease,
        opacity 0.18s ease,
        left 0.22s ease,
        top 0.22s ease,
        height 0.22s ease;
    will-change: transform, left, top, height;
}

.booking-bar:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 18px 36px rgba(56, 56, 56, 0.2);
}

.booking-bar.is-dragging {
    opacity: 0.55;
    transform: scale(1.02);
    box-shadow: 0 22px 44px rgba(1, 71, 255, 0.18);
    z-index: 5;
}

.booking-bar:active {
    cursor: grabbing;
}

.booking-bar.confirmed {
    background: linear-gradient(135deg, #0147ff, #3b82f6);
}

.booking-bar.checkedin {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.booking-bar.cleaning {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.booking-guest {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booking-meta {
    margin-top: 0.22rem;
    font-size: 0.75rem;
    opacity: 0.94;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-demo-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 1rem 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.calendar-demo-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.confirmed { background: #0147ff; }
.legend-dot.checkedin { background: #14b8a6; }
.legend-dot.cleaning { background: #f59e0b; }

.cta-final {
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: 4rem 1.5rem;
}

.cta-final h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.cta-final p {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.cta-final .btn-primary {
    background: #fff;
    color: var(--color-primary);
}

.cta-final .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary-hover);
}

.footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(56, 56, 56, 0.65);
    max-width: 28rem;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-col-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(56, 56, 56, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.footer-col a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(56, 56, 56, 0.75);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(56, 56, 56, 0.08);
    width: 100%;
    max-width: 36rem;
}

.footer-copy {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(56, 56, 56, 0.5);
}

@media (max-width: 1024px) {
    .header {
        padding: 0.875rem 1.25rem;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .hero {
        padding: 3rem 1.25rem 3.5rem;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .hero-sub {
        font-size: 1rem;
    }

    .why-section,
    .how-section,
    .contact-section,
    .cta-final {
        padding: 3rem 1.25rem;
    }

    .footer {
        padding: 2.5rem 1.25rem 1.5rem;
    }

    .footer-links {
        gap: 2.5rem;
    }
}

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

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 4.5rem 1.5rem 1.5rem;
        background: #fff;
        box-shadow: -4px 0 24px rgba(56, 56, 56, 0.12);
        z-index: 99;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .nav.is-open {
        transform: translateX(0);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .nav a {
        padding: 0.75rem 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(56, 56, 56, 0.06);
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav .btn-primary {
        margin-top: 0.5rem;
        justify-content: center;
        min-height: 48px;
    }

    .header {
        padding: 0.75rem 1rem;
    }

    .hero {
        padding: 2.5rem 1rem 3rem;
    }

    .hero-inner {
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-sub {
        font-size: 0.95rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        min-height: 48px;
    }

    .why-section {
        padding: 2.5rem 1rem 3rem;
    }

    .why-inner {
        text-align: left;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .how-section {
        padding: 2rem 1rem 3rem;
    }

    .how-steps {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding: 2rem 1rem 3rem;
    }

    .contact-form {
        padding: 1.2rem;
    }

    .calendar-board-wrap {
        overflow-x: auto;
    }

    .calendar-board {
        min-width: 700px;
        width: auto;
    }

    .calendar-grid {
        grid-template-columns: 90px repeat(4, 120px);
        grid-auto-rows: 68px;
    }

    .cta-final {
        padding: 2.5rem 1rem;
    }

    .cta-final h2 {
        font-size: 1.5rem;
    }

    .footer {
        padding: 2rem 1rem 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.6rem 0.8rem;
    }

    .hero {
        padding: 2rem 0.8rem 2.25rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-sub {
        font-size: 0.9rem;
    }

    .why-section {
        padding: 2.25rem 0.8rem 2.5rem;
    }

    .how-section {
        padding: 1.75rem 0.8rem 2.5rem;
    }

    .contact-section {
        padding: 1.75rem 0.8rem 2.5rem;
    }
}

