/* ═══════════════════════════════════════════
   Room360 Landing Page — landing.css
   Professional & Corporate — Clean Minimal
═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
    --navy:     #0a2540;
    --navy2:    #0f3460;
    --blue:     #0f4c75;
    --blue2:    #1b6ca8;
    --accent:   #2196f3;
    --accent2:  #63b3ed;
    --white:    #ffffff;
    --off:      #f7f9fc;
    --border:   #e8edf5;
    --text:     #1a2332;
    --muted:    #6b7a90;
    --light:    #a0aec0;
    --success:  #10b981;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    --radius:   12px;
    --radius-lg: 20px;
    --shadow:   0 4px 24px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 20px 60px rgba(10, 37, 64, 0.14);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--navy);
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

/* ── Layout ── */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 96px 0; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.35);
}
.btn-primary:hover {
    background: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.45);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    color: var(--white);
}

.btn-dark {
    background: var(--navy);
    color: var(--white);
}
.btn-dark:hover {
    background: var(--navy2);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: 10px;
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 2px 20px rgba(10,37,64,0.08);
}

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

.navbar-brand {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    transition: color 0.3s;
}
.navbar-brand span { color: var(--accent2); }
.navbar.scrolled .navbar-brand { color: var(--navy); }

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color 0.2s;
}
.navbar-links a:hover { color: var(--white); }
.navbar.scrolled .navbar-links a { color: var(--muted); }
.navbar.scrolled .navbar-links a:hover { color: var(--navy); }

.navbar-cta .btn {
    padding: 9px 22px;
    font-size: 0.88rem;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    font-size: 1.5rem;
    padding: 4px;
    transition: color 0.3s;
}
.navbar.scrolled .navbar-toggle { color: var(--navy); }

/* Mobile nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 700;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.mobile-nav a:hover { opacity: 1; }
.mobile-nav-close {
    position: absolute;
    top: 20px; right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    background: linear-gradient(150deg, var(--navy) 0%, var(--navy2) 50%, var(--blue) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

/* Subtle grid overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Glowing orb */
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(33,150,243,0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-badge span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent2);
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.72);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

/* Dashboard mockup card */
.dashboard-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dashboard-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}

.dashboard-card-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
    margin-left: 4px;
}

/* Mini stat pills inside mockup */
.mock-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.mock-stat {
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.08);
}

.mock-stat-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.mock-stat-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    margin-top: 3px;
}

/* Mini room board rows */
.mock-room-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mock-room-row:last-child { border-bottom: none; }

.mock-room-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.6);
    width: 68px;
    flex-shrink: 0;
    font-weight: 500;
}

.mock-cell {
    height: 18px;
    border-radius: 4px;
    flex: 1;
}

.mock-cell.booked   { background: rgba(99,179,237,0.5); }
.mock-cell.occupied { background: rgba(33,150,243,0.6); }
.mock-cell.empty    { background: rgba(255,255,255,0.07); }
.mock-cell.short    { max-width: 50px; }
.mock-cell.medium   { max-width: 90px; }

/* ── TRUST BAR ── */
.trust-bar {
    background: var(--off);
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.trust-item i {
    font-size: 1.1rem;
    color: var(--accent);
}

/* ── FEATURES ── */
.features { background: var(--white); }

.section-intro {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 64px;
}

.section-intro h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    margin-bottom: 16px;
}

.section-intro p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

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

.feature-card {
    background: var(--off);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    opacity: 0;
    transition: opacity 0.25s;
}

.feature-card:hover {
    border-color: var(--accent2);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--blue), var(--accent));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(15,76,117,0.25);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-body);
    color: var(--navy);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--off); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

/* Connecting line between steps */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.67% + 36px);
    right: calc(16.67% + 36px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    z-index: 0;
}

.step {
    text-align: center;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 auto 24px;
    box-shadow: 0 0 0 8px var(--off), var(--shadow);
}

.step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-body);
    color: var(--navy);
}

.step p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ── WHO IT'S FOR ── */
.who-for { background: var(--white); }

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

.audience-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    text-align: center;
    transition: all 0.2s;
}

.audience-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.audience-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: block;
}

.audience-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-body);
    color: var(--navy);
}

.audience-card p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.55;
}

/* ── TESTIMONIAL / QUOTE ── */
.quote-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 40px 40px;
}

.quote-mark {
    font-size: 5rem;
    line-height: 1;
    color: rgba(255,255,255,0.1);
    font-family: var(--font-display);
    position: relative;
    z-index: 1;
    margin-bottom: -16px;
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    color: var(--white);
    max-width: 720px;
    margin: 0 auto 28px;
    line-height: 1.45;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.quote-author {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    position: relative;
    z-index: 1;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ── CTA ── */
.cta-section {
    background: var(--off);
    text-align: center;
    padding: 96px 0;
}

.cta-inner {
    max-width: 580px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 16px;
}

.cta-inner p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── FOOTER ── */
.footer {
    background: var(--navy);
    padding: 48px 0 32px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 24px;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}
.footer-brand span { color: var(--accent2); }

.footer-brand small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    margin-top: 2px;
    font-weight: 400;
    letter-spacing: 0;
}

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

.footer-links a {
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

.footer-contact {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-contact a {
    color: var(--accent2);
    font-weight: 500;
}

/* ── ANIMATIONS ── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    section { padding: 72px 0; }

    .navbar-links,
    .navbar-cta { display: none; }

    .navbar-toggle { display: block; }

    .hero { padding: 100px 0 60px; }
    .hero-visual { display: none; }

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

    .steps-grid { grid-template-columns: 1fr; gap: 40px; }
    .steps-grid::before { display: none; }

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

@media (max-width: 576px) {
    section { padding: 56px 0; }
    .container { padding: 0 16px; }

    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 0.95rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

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

    .trust-bar-inner { gap: 24px; }

    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

    .footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; }
}
