/* ============================================
   TheDesktopNB - Main Stylesheet
   Matches logo: clean, architectural, monospace
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #1a1a1a;
    --primary-light: #333;
    --accent: #c8a45e;
    --accent-light: #d4b778;
    --accent-dark: #a8864a;
    --text: #1a1a1a;
    --text-light: #555;
    --text-muted: #999;
    --bg: #ffffff;
    --bg-alt: #f5f4f1;
    --bg-warm: #eae7e0;
    --bg-dark: #111;
    --border: #ddd;
    --border-light: #eee;
    --shadow: 0 1px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --radius: 4px;
    --radius-sm: 3px;
    --max-width: 1140px;
    --transition: 0.3s ease;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'DM Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---- NAV ---- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.06); }
.nav-inner {
    max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
    color: var(--text-light); font-size: 13px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 1.2px;
    font-family: var(--font-mono);
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
    background: var(--primary) !important; color: #fff !important;
    padding: 10px 24px; border-radius: var(--radius);
    font-weight: 500; font-size: 13px; letter-spacing: 1.2px;
    transition: background var(--transition);
}
.nav-cta:hover { background: var(--accent-dark) !important; color: #fff !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text); margin: 5px 0; transition: var(--transition); }

/* ---- HERO ---- */
.hero {
    padding: 160px 0 100px;
    background: var(--bg-alt);
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}
.hero-logo { margin-bottom: 32px; }
.hero-logo img { height: 100px; width: auto; border: 1px solid #ddd; border-radius: 4px; }
.hero h1 {
    font-size: 42px; font-weight: 700; line-height: 1.2;
    margin-bottom: 20px; color: var(--text);
    letter-spacing: -0.5px;
}
.hero p {
    font-size: 18px; color: var(--text-light);
    max-width: 520px; margin: 0 auto 36px;
    line-height: 1.7;
}
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-block; padding: 13px 32px; border-radius: var(--radius);
    font-size: 13px; font-weight: 500; cursor: pointer; border: none;
    transition: all var(--transition); text-align: center;
    text-transform: uppercase; letter-spacing: 1.5px;
    font-family: var(--font-mono);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-lg { padding: 15px 40px; font-size: 14px; }

.hero-stats {
    display: flex; gap: 64px; justify-content: center; margin-top: 56px;
    padding-top: 48px; border-top: 1px solid var(--border);
}
.hero-stat { text-align: center; }
.hero-stat .num {
    font-size: 32px; font-weight: 400; color: var(--primary);
    font-family: var(--font-mono);
}
.hero-stat .label {
    font-size: 12px; color: var(--text-muted); margin-top: 4px;
    text-transform: uppercase; letter-spacing: 1.5px;
}

/* ---- SECTIONS ---- */
section { padding: 80px 0; }
section:nth-child(even) { background: var(--bg-alt); }
section.cta-section { background: var(--primary); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
    font-size: 32px; font-weight: 700; margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.section-header p { font-size: 16px; color: var(--text-light); max-width: 500px; margin: 0 auto; }
.section-label {
    display: block; font-family: var(--font-mono); font-size: 12px;
    text-transform: uppercase; letter-spacing: 2px; color: var(--accent);
    margin-bottom: 12px;
}

/* ---- FEATURES ---- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: var(--bg); padding: 32px; border: 1px solid var(--border-light);
    transition: all var(--transition); position: relative;
}
.feature-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 40px; height: 2px;
    background: var(--accent); transition: width var(--transition);
}
.feature-card:hover::before { width: 100%; }
.feature-icon {
    font-size: 28px; margin-bottom: 16px; display: block;
    width: 48px; height: 48px; line-height: 48px; text-align: center;
    background: var(--bg-alt); border: 1px solid var(--border-light);
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; font-weight: 600; }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ---- PRICING ---- */
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
    max-width: 700px; margin: 0 auto;
}
.pricing-card {
    background: var(--bg); border: 1px solid var(--border);
    overflow: hidden; transition: all var(--transition); position: relative;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent); }
.pricing-card.featured { border: 2px solid var(--primary); }
.pricing-badge {
    position: absolute; top: 0; right: 0;
    background: var(--primary); color: #fff; padding: 6px 16px;
    font-size: 11px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 1px; font-family: var(--font-mono);
}
.pricing-header { padding: 32px 32px 16px; text-align: center; }
.pricing-header h3 {
    font-size: 14px; margin-bottom: 16px;
    text-transform: uppercase; letter-spacing: 2px;
    font-family: var(--font-mono); color: var(--text-light);
}
.pricing-header .price {
    font-size: 48px; font-weight: 700; color: var(--primary);
    font-family: var(--font-mono);
}
.pricing-header .price span { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.pricing-body { padding: 0 32px 32px; }
.pricing-body ul { list-style: none; margin-bottom: 24px; }
.pricing-body li {
    padding: 10px 0; border-bottom: 1px solid var(--border-light);
    font-size: 14px; color: var(--text-light);
    display: flex; align-items: center; gap: 10px;
}
.pricing-body li::before {
    content: "\2014"; color: var(--accent); font-weight: 700;
    font-family: var(--font-mono);
}
.pricing-body .btn { width: 100%; }

/* ---- OFFICES ---- */
.offices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.office-card {
    background: var(--bg); border: 1px solid var(--border-light);
    overflow: hidden; transition: all var(--transition);
}
.office-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.office-info { padding: 24px; }
.office-info h3 { font-size: 18px; margin-bottom: 2px; font-weight: 600; }
.office-info .room-name {
    font-family: var(--font-mono); font-size: 12px;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--accent); margin-bottom: 8px;
}
.office-info .capacity { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.office-info p.desc { font-size: 14px; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.office-info .price { font-size: 22px; font-weight: 600; color: var(--primary); font-family: var(--font-mono); }
.office-info .price span { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.office-placeholder {
    height: 180px; background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; border-bottom: 1px solid var(--border-light);
}

.badge-booked {
    display: inline-block; margin-top: 12px;
    font-family: var(--font-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: #c53030; background: #fff5f5;
    border: 1px solid #feb2b2; padding: 4px 12px;
}

/* ---- SIGNAGE ---- */
.sign-container { max-width: 540px; margin: 0 auto; }
.sign-card {
    background: var(--bg); border: 1px solid var(--border-light);
    padding: 40px; text-align: center; transition: all var(--transition);
}
.sign-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.sign-icon { font-size: 48px; margin-bottom: 16px; }
.sign-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.sign-card .price { font-size: 26px; font-weight: 600; font-family: var(--font-mono); margin-bottom: 20px; }
.sign-card .price span { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.sign-details {
    list-style: none; text-align: left; margin-bottom: 28px;
    max-width: 360px; margin-left: auto; margin-right: auto;
}
.sign-details li {
    padding: 8px 0; font-size: 14px; color: var(--text-light);
    border-bottom: 1px solid var(--border-light);
    padding-left: 20px; position: relative;
}
.sign-details li::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 6px; height: 6px; background: var(--accent); transform: translateY(-50%);
}

/* ---- HOURS ---- */
.hours-container {
    max-width: 500px; margin: 0 auto;
    border: 1px solid var(--border);
}
.hours-row {
    display: flex; justify-content: space-between; padding: 14px 28px;
    border-bottom: 1px solid var(--border-light); font-size: 14px;
}
.hours-row:last-child { border-bottom: none; }
.hours-row.closed .hours-time { color: #c53030; }
.hours-day { font-weight: 600; font-size: 14px; }
.hours-time { color: var(--text-light); font-family: var(--font-mono); font-size: 13px; }

/* ---- LOCATION ---- */
.location-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.location-info h3 { font-size: 22px; margin-bottom: 20px; }
.location-info p { font-size: 15px; color: var(--text-light); margin-bottom: 10px; }
.location-info .address {
    font-size: 16px; font-weight: 600; color: var(--text);
    margin-bottom: 20px; line-height: 1.8;
}
.location-map { border: 1px solid var(--border); height: 320px; }
.location-map iframe { width: 100%; height: 100%; border: 0; }

/* ---- MAILING ADDRESSES ---- */
.mailing-grid { max-width: 600px; margin: 0 auto; }
.mailing-features {
    list-style: none; margin: 0; padding: 0;
}
.mailing-features li {
    padding: 10px 0 10px 24px; font-size: 15px; color: var(--text-light);
    border-bottom: 1px solid var(--border-light); position: relative;
}
.mailing-features li::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 8px; height: 8px; background: var(--accent); transform: translateY(-50%);
}

/* ---- WAITLIST FORM ---- */
#waitlist .form-group label {
    font-family: var(--font-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: 1px;
    display: block; margin-bottom: 4px;
}
#waitlist .form-group input,
#waitlist .form-group select {
    width: 100%; padding: 10px 12px; font-size: 13px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1); color: #fff;
}
#waitlist .form-group input::placeholder { color: rgba(255,255,255,0.4); }
#waitlist .form-group input:focus,
#waitlist .form-group select:focus {
    outline: none; border-color: var(--accent);
}
#waitlist .form-group select option { background: var(--primary); color: #fff; }
#waitlist .alert-success { background: rgba(16,185,129,0.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
#waitlist .alert-error { background: rgba(197,48,48,0.15); color: #fca5a5; border: 1px solid rgba(197,48,48,0.3); }

/* ---- CTA ---- */
.cta-section {
    background: var(--primary); color: #fff; text-align: center; padding: 80px 0;
}
.cta-section h2 { font-size: 32px; margin-bottom: 12px; color: #fff; }
.cta-section p { font-size: 16px; opacity: 0.7; margin-bottom: 32px; }
.cta-section .btn-accent { font-size: 14px; padding: 16px 48px; }

/* ---- FOOTER ---- */
.footer { background: var(--bg-dark); color: #888; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 32px; }
.footer h4 {
    color: #fff; font-size: 12px; margin-bottom: 16px;
    text-transform: uppercase; letter-spacing: 2px;
    font-family: var(--font-mono);
}
.footer p { font-size: 14px; line-height: 1.8; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #888; font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid #222; padding-top: 24px;
    text-align: center; font-size: 12px; color: #555;
    font-family: var(--font-mono); letter-spacing: 0.5px;
}

/* ---- BOOKING ---- */
.booking-container {
    max-width: 640px; margin: 0 auto;
    background: var(--bg); border: 1px solid var(--border);
    padding: 48px;
}
.booking-container h2 {
    font-size: 24px; margin-bottom: 8px; text-align: center;
}
.booking-container .sub {
    text-align: center; font-size: 14px; color: var(--text-muted);
    margin-bottom: 32px; font-family: var(--font-mono);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-weight: 500; font-size: 12px; margin-bottom: 6px;
    text-transform: uppercase; letter-spacing: 1px; color: var(--text-light);
    font-family: var(--font-mono);
}
.form-group input, .form-group select {
    width: 100%; padding: 12px 14px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-size: 15px;
    font-family: var(--font-body);
    transition: border var(--transition);
}
.form-group input:focus, .form-group select:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26,26,26,0.05);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.booking-summary {
    background: var(--bg-alt); border: 1px solid var(--border-light);
    padding: 20px; margin: 24px 0;
}
.booking-summary h3 {
    font-size: 11px; margin-bottom: 12px;
    text-transform: uppercase; letter-spacing: 2px;
    font-family: var(--font-mono); color: var(--text-muted);
}
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.summary-total {
    border-top: 1.5px solid var(--primary); padding-top: 10px; margin-top: 4px;
    font-weight: 700; font-size: 18px;
}

.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* ---- DIVIDER ---- */
.divider {
    width: 40px; height: 2px; background: var(--accent);
    margin: 0 auto 24px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute;
        top: 72px; left: 0; right: 0; background: #fff;
        padding: 24px; gap: 16px; box-shadow: var(--shadow);
        border-bottom: 1px solid var(--border);
    }
    .hero { padding: 130px 0 60px; }
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 16px; }
    .hero-logo img { height: 72px; }
    .hero-stats { flex-direction: column; gap: 24px; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .offices-grid { grid-template-columns: 1fr; }
    .location-content { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 26px; }
    .booking-container { padding: 28px 20px; }
}
