/* ============================================================================
   tenant-public.css — Flowpeat Front-Facing Public Website Stylesheet
   Sleek executive dark slate styling governed by vars.css tokens.
   ============================================================================ */

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

body {
    background-color: var(--brand-bg, #090d16);
    background-image: 
        radial-gradient(at 15% 15%, rgba(14, 165, 233, 0.10) 0px, transparent 45%),
        radial-gradient(at 85% 5%, rgba(99, 102, 241, 0.08) 0px, transparent 40%),
        radial-gradient(at 50% 90%, rgba(14, 165, 233, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary, #f8fafc);
    font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header & Nav */
.public-header {
    background: var(--brand-surface, #111827);
    border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.brand-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm, 6px);
    background: var(--brand-primary, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.brand-company-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--text-primary, #f8fafc);
}

.brand-tagline-sub {
    font-size: 0.75rem;
    color: var(--text-muted, #94a3b8);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-link {
    color: var(--text-muted, #94a3b8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.15s;
}

.nav-link:hover {
    color: var(--text-primary, #f8fafc);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.phone-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    color: var(--brand-primary, #0ea5e9);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.5rem 0.85rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.phone-pill:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-portal-link {
    background: var(--brand-primary, #0ea5e9);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm, 6px);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: opacity 0.15s;
}
.btn-portal-link:hover {
    opacity: 0.9;
}

/* Hero Section */
.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2.5rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: var(--brand-primary, #0ea5e9);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.75px;
    margin-bottom: 1rem;
    color: var(--text-primary, #f8fafc);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted, #94a3b8);
    max-width: 650px;
    margin: 0 auto 2rem;
}

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

.btn-hero-primary {
    background: var(--brand-primary, #0ea5e9);
    color: #ffffff;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md, 10px);
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: transform 0.15s;
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background: var(--brand-surface, #111827);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    color: var(--text-primary, #f8fafc);
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md, 10px);
    text-decoration: none;
}
.btn-hero-secondary:hover {
    background: var(--brand-surface-hover, #1f2937);
}

/* Feature Grid */
.features-grid {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--brand-surface, #111827);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-md, 10px);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-icon {
    font-size: 2rem;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary, #f8fafc);
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--text-muted, #94a3b8);
    line-height: 1.5;
}

/* Quote Booking & Tracker Section */
.operations-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .operations-section {
        grid-template-columns: 1fr;
    }
}

.booking-card, .tracker-card {
    background: var(--brand-surface, #111827);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-md, 10px);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.section-head {
    margin-bottom: 1.5rem;
}

.section-head h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--text-primary, #f8fafc);
}

.section-head p {
    font-size: 0.875rem;
    color: var(--text-muted, #94a3b8);
    margin-top: 0.25rem;
}

/* Forms */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted, #94a3b8);
}

.form-input, .form-select, .form-textarea {
    background: linear-gradient(180deg, #0b111e 0%, #111a2d 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.7),
        inset 0 1px 2px rgba(0, 0, 0, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.08),
        0 2px 5px rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-sm, 6px);
    color: var(--text-primary, #f8fafc);
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-input:hover, .form-select:hover, .form-textarea:hover {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.75),
        inset 0 1px 2px rgba(0, 0, 0, 0.6),
        0 1px 0 rgba(255, 255, 255, 0.12),
        0 3px 8px rgba(0, 0, 0, 0.5);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.6),
        0 0 0 3px rgba(14, 165, 233, 0.35),
        0 4px 16px rgba(14, 165, 233, 0.25);
    transform: translateY(-1px);
}

.form-textarea {
    min-height: 90px;
    resize: vertical;
}

.btn-submit-quote {
    background: linear-gradient(180deg, var(--brand-primary, #0ea5e9) 0%, var(--brand-accent, #0284c7) 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    padding: 0.95rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    border-radius: var(--radius-sm, 6px);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0.5rem;
}
.btn-submit-quote:hover {
    background: linear-gradient(180deg, #38bdf8 0%, var(--brand-primary, #0ea5e9) 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-submit-quote:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Progress Tracker Widget */
.tracker-lookup-box {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.btn-track {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    color: var(--text-primary, #f8fafc);
    padding: 0 1rem;
    border-radius: var(--radius-sm, 6px);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.tracker-result {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-sm, 6px);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}

.step-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.step-indicator {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted, #94a3b8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.step-row.completed .step-indicator {
    background: var(--color-success, #10b981);
    color: #ffffff;
}

.step-row.active .step-indicator {
    background: var(--brand-primary, #0ea5e9);
    color: #ffffff;
}

/* Meet the Team Section */
.team-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.member-card {
    background: var(--brand-surface, #111827);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-md, 10px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.member-photo {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: var(--brand-surface-hover, #1f2937);
}

.member-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary, #f8fafc);
}

.member-role {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-primary, #0ea5e9);
    letter-spacing: 0.5px;
}

.member-bio {
    font-size: 0.875rem;
    color: var(--text-muted, #94a3b8);
    line-height: 1.5;
}

/* Footer */
.public-footer {
    border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    background: var(--brand-surface, #111827);
    padding: 3rem 1.5rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted, #94a3b8);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-link {
    color: var(--text-muted, #94a3b8);
    text-decoration: none;
}
.footer-link:hover {
    color: var(--brand-primary, #0ea5e9);
}

/* ============================================================================
   Bento Grid & 2026 Micro-UI Visual Containers (Stripe / Linear Style)
   ============================================================================ */

.hero-highlight {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

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

.bento-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.bento-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary, #f8fafc);
    margin-bottom: 0.5rem;
}

.bento-header p {
    font-size: 0.95rem;
    color: var(--text-muted, #94a3b8);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-lg, 16px);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    position: relative;
}

.bento-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}

.bento-card.span-7 {
    grid-column: span 7;
}

.bento-card.span-5 {
    grid-column: span 5;
}

.bento-card.span-6 {
    grid-column: span 6;
}

@media (max-width: 960px) {
    .bento-card.span-7,
    .bento-card.span-5,
    .bento-card.span-6 {
        grid-column: span 12;
    }
}

.bento-content {
    margin-bottom: 1.5rem;
}

.bento-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-primary, #0ea5e9);
    margin-bottom: 0.85rem;
}

.bento-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary, #f8fafc);
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.bento-card p {
    font-size: 0.875rem;
    color: var(--text-muted, #94a3b8);
    line-height: 1.55;
}

/* Micro-UI Visual Containers (Stripe style) */
.bento-mockup {
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md, 10px);
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.6);
}

.mockup-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    color: var(--text-subtle, #64748b);
}

.mockup-dots {
    display: flex;
    gap: 5px;
}
.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.mockup-badge {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.mockup-pill-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.param-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-muted, #94a3b8);
    font-weight: 600;
}

.param-pill.active {
    background: rgba(14, 165, 233, 0.15);
    border-color: var(--brand-primary, #0ea5e9);
    color: #38bdf8;
}

.mockup-receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.65rem 0.85rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.receipt-amount {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
}

/* ============================================================================
   Bento Instagram-Style Swiper Carousels & Pagination Dots
   ============================================================================ */

.bento-carousel {
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
    cursor: grab;
    user-select: none;
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    box-sizing: border-box;
    padding: 2px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.carousel-dot.active {
    width: 18px;
    background: var(--brand-primary, #0ea5e9);
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.6);
}

.carousel-hint {
    font-size: 0.68rem;
    color: var(--text-subtle, #64748b);
    text-align: center;
    margin-top: 5px;
    letter-spacing: 0.2px;
}

/* ==========================================================================
   Portfolio & Filter Bar (Executive Slate Theme)
   ========================================================================== */
.category-filters.portfolio-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-btn,
.filter-pill {
    padding: 0.5rem 1.15rem;
    border-radius: 9999px;
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted, #94a3b8);
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.15s ease;
}

.filter-btn:hover,
.filter-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary, #f8fafc);
    border-color: rgba(255, 255, 255, 0.18);
}

.filter-btn.active,
.filter-pill-active {
    background: var(--brand-primary, #0ea5e9) !important;
    border-color: var(--brand-primary, #0ea5e9) !important;
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.35);
}

.portfolio-empty-box {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3.5rem 2rem;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px dashed var(--border-subtle, rgba(255, 255, 255, 0.12));
    border-radius: var(--radius-lg, 16px);
}

.portfolio-empty-title {
    margin-top: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary, #f8fafc);
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.portfolio-empty-desc {
    max-width: 55ch;
    margin: 0 auto;
    color: var(--text-muted, #94a3b8);
    line-height: 1.6;
    font-size: 0.95rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.portfolio-card {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.portfolio-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}
