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

:root {
    --primary: #111827;
    --secondary: #2563eb;
    --secondary-dark: #1d4ed8;
    --text: #111827;
    --muted: #64748b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #d97706;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

button {
    font-family: inherit;
}

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


/* ================= HEADER ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-container {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 20px;
    font-weight: 800;
}

.logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: white;
    font-weight: 800;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

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

.nav-button {
    background: var(--primary);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.menu-button {
    display: none;
    border: 0;
    background: none;
    cursor: pointer;
}

.menu-button span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    display: block;
    margin: 5px;
}


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

.hero {
    position: relative;
    padding: 150px 0 100px;
    overflow: hidden;
    background: #f8fafc;
}

.hero-background {
    position: absolute;
    width: 700px;
    height: 700px;
    right: -250px;
    top: -250px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.07);
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 70px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 30px;
    background: white;
    border: 1px solid var(--border);
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 22px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
}

.hero h1 {
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.04;
    letter-spacing: -2.5px;
    max-width: 650px;
}

.hero h1 span {
    color: var(--secondary);
    display: block;
}

.hero-text {
    color: var(--muted);
    font-size: 18px;
    max-width: 570px;
    margin: 25px 0 30px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 21px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s;
}

.btn-primary {
    background: var(--secondary);
    color: white;
}

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

.btn-secondary {
    background: white;
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: #94a3b8;
}

.hero-trust {
    display: flex;
    gap: 22px;
    margin-top: 27px;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 12px;
    color: #64748b;
}

.trust-item strong {
    color: var(--success);
    margin-right: 4px;
}


/* ================= DASHBOARD ================= */

.hero-dashboard {
    perspective: 1200px;
}

.dashboard-window {
    background: white;
    border-radius: 15px;
    border: 1px solid #dbe3ee;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.15);
    overflow: hidden;
    transform: rotateY(-4deg) rotateX(2deg);
}

.window-header {
    height: 48px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    gap: 15px;
}

.window-controls {
    display: flex;
    gap: 5px;
}

.window-controls span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.window-title {
    font-size: 11px;
    color: #64748b;
    flex: 1;
}

.online-status {
    font-size: 10px;
    color: var(--success);
}

.online-status span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    margin-right: 3px;
}

.dashboard-body {
    padding: 22px;
}

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

.dashboard-top small {
    font-size: 10px;
    color: #94a3b8;
}

.dashboard-top h3 {
    font-size: 19px;
}

.dashboard-date {
    border: 1px solid var(--border);
    background: white;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stat-card {
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-card small {
    display: block;
    color: #94a3b8;
    font-size: 9px;
}

.stat-card strong {
    font-size: 19px;
}

.stat-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #eff6ff;
    color: var(--secondary);
    font-size: 12px;
}

.room-preview {
    border: 1px solid var(--border);
    border-radius: 9px;
    margin-top: 12px;
    padding: 14px;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 13px;
    font-size: 11px;
}

.preview-header span {
    color: var(--secondary);
}

.rooms {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.room {
    padding: 10px 5px;
    border-radius: 7px;
    text-align: center;
    border: 1px solid;
}

.room span {
    display: block;
    font-weight: 700;
    font-size: 11px;
}

.room small {
    font-size: 7px;
}

.room.occupied {
    background: #fef2f2;
    border-color: #fecaca;
    color: var(--danger);
}

.room.available {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: var(--success);
}

.room.reserved {
    background: #fffbeb;
    border-color: #fde68a;
    color: var(--warning);
}


/* ================= SECTIONS ================= */

section {
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.eyebrow {
    display: inline-block;
    color: var(--secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.section-heading h2 span {
    color: var(--secondary);
}

.section-heading p {
    color: var(--muted);
    margin-top: 15px;
}


/* ================= PROBLEM ================= */

.problem {
    background: white;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.problem-card {
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 27px;
}

.problem-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: #fef2f2;
    color: var(--danger);
    border-radius: 9px;
    margin-bottom: 18px;
}

.problem-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.problem-card p {
    color: var(--muted);
    font-size: 14px;
}


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

.features {
    background: var(--light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 27px;
}

.feature-card.large {
    grid-column: span 2;
}

.feature-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    background: #eff6ff;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 19px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 17px;
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    color: #475569;
    font-size: 12px;
    margin: 7px 0;
}

.feature-card li::before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    margin-right: 8px;
}

.mini-room-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    margin-top: 22px;
}

.mini-room {
    border-radius: 7px;
    padding: 8px;
    font-size: 8px;
    text-align: center;
}

.mini-room span {
    display: block;
    font-size: 12px;
    font-weight: 700;
}

.mini-room.occupied {
    background: #fef2f2;
    color: var(--danger);
}

.mini-room.available {
    background: #f0fdf4;
    color: var(--success);
}

.mini-room.reserved {
    background: #fffbeb;
    color: var(--warning);
}


/* ================= OFFLINE ================= */

.offline {
    background: var(--primary);
    color: white;
}

.offline-container {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.offline .eyebrow {
    color: #60a5fa;
}

.offline h2 {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.offline h2 span {
    color: #60a5fa;
}

.offline-content > p {
    color: #94a3b8;
    margin: 18px 0 30px;
    max-width: 520px;
}

.offline-feature {
    display: flex;
    gap: 13px;
    margin-bottom: 20px;
}

.check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #1e3a8a;
    color: #60a5fa;
    font-size: 12px;
}

.offline-feature strong {
    font-size: 14px;
}

.offline-feature p {
    color: #94a3b8;
    font-size: 12px;
    margin-top: 3px;
}

.sync-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 15px;
    padding: 22px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.sync-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.sync-header strong {
    font-size: 13px;
}

.offline-label {
    font-size: 10px;
    color: #fbbf24;
}

.sync-terminal,
.cloud-status {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px;
    background: #0f172a;
    border-radius: 9px;
    margin-bottom: 8px;
}

.terminal-icon,
.cloud-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: #1e293b;
    border-radius: 7px;
    font-size: 13px;
}

.sync-terminal div:nth-child(2),
.cloud-status div:nth-child(2) {
    flex: 1;
}

.sync-terminal strong,
.cloud-status strong {
    display: block;
    font-size: 11px;
}

.sync-terminal small,
.cloud-status small {
    color: #64748b;
    font-size: 9px;
}

.terminal-check {
    color: #4ade80;
}

.sync-line {
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sync-line div {
    width: 1px;
    height: 28px;
    background: #334155;
}

.sync-line span {
    display: none;
}

.cloud-status {
    margin-bottom: 0;
}


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

.how-it-works {
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
}

.step-number {
    font-size: 12px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 25px;
}

.step h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
    font-size: 13px;
}


/* ================= PRICING ================= */

.pricing {
    background: var(--light);
}

.pricing-card {
    max-width: 850px;
    margin: auto;
    padding: 35px;
    background: white;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 35px;
    align-items: center;
}

.pricing-label {
    color: var(--secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pricing-info h3 {
    font-size: 38px;
    margin: 6px 0;
}

.pricing-info h3 small {
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
}

.pricing-info p {
    color: var(--muted);
    font-size: 12px;
}

.pricing-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 11px;
    color: #475569;
}


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

.cta {
    padding: 70px 0;
}

.cta-box {
    background: var(--secondary);
    border-radius: 18px;
    padding: 50px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta .eyebrow {
    color: #bfdbfe;
}

.cta h2 {
    font-size: 38px;
    line-height: 1.1;
}

.cta h2 span {
    display: block;
}

.cta p {
    color: #dbeafe;
    margin-top: 12px;
    font-size: 14px;
}

.cta-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-light {
    background: white;
    color: var(--secondary);
}

.btn-outline-light {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}


/* ================= FAQ ================= */

.faq {
    background: var(--light);
}

.faq-list {
    max-width: 800px;
    margin: auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 9px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: white;
    border: 0;
    padding: 19px 20px;
    display: flex;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.faq-icon {
    font-size: 20px;
    color: var(--secondary);
    transition: 0.2s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--muted);
    font-size: 13px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}


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

.footer {
    background: #0f172a;
    color: white;
    padding-top: 55px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 45px;
}

.footer-brand {
    max-width: 330px;
}

.footer-brand p {
    color: #64748b;
    font-size: 12px;
    margin-top: 15px;
}

.footer-links {
    display: flex;
    gap: 70px;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links strong {
    font-size: 12px;
    margin-bottom: 4px;
}

.footer-links a {
    color: #64748b;
    font-size: 12px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
}

.footer-bottom p {
    color: #475569;
    font-size: 11px;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 950px) {

    .nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--border);
        padding: 20px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav.active {
        display: flex;
    }

    .menu-button {
        display: block;
    }

    .nav-button {
        display: none;
    }

    .hero-container,
    .offline-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-trust {
        justify-content: center;
    }

    .dashboard-window {
        transform: none;
    }

    .pricing-card {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 700px) {

    section {
        padding: 75px 0;
    }

    .container {
        width: min(100% - 28px, 1120px);
    }

    .hero {
        padding-top: 125px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-text {
        font-size: 16px;
    }

    .problem-grid,
    .feature-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .feature-card.large {
        grid-column: auto;
    }

    .mini-room-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .rooms {
        grid-template-columns: repeat(3, 1fr);
    }

    .offline-container {
        gap: 40px;
    }

    .pricing-card {
        padding: 25px;
    }

    .pricing-features {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 32px 25px;
    }

    .cta h2 {
        font-size: 32px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-links {
        gap: 50px;
    }

}