/* ═══════════════════════════════════════════════════════ */
/*  HOXAITECH — Company Website Design System & Styling    */
/* ═══════════════════════════════════════════════════════ */

/* ─── CSS Variables (Design Tokens) ─── */
:root {
    /* Sophisticated Monochrome Palette */
    --primary: #0a0a0b;
    --primary-hover: #1f1f23;
    --primary-light: #27272a;
    --primary-subtle: #f4f4f5;
    --primary-glow: rgba(10, 10, 11, 0.05);

    /* Neutrals */
    --bg: #ffffff;
    --bg-alt: #fafafa;
    --bg-widget: #fcfcfd;
    --surface: #ffffff;
    --border: #e4e4e7;
    --border-subtle: #f4f4f5;

    /* Text */
    --text-primary: #09090b;
    --text-secondary: #52525b;
    --text-tertiary: #a1a1aa;
    --text-inverse: #ffffff;

    /* Accents */
    --accent-red: #ef4444;
    --accent-yellow: #f59e0b;
    --accent-green: #10b981;
    --accent-rose: #f43f5e;
    
    /* Grid Pattern Lines */
    --grid-line: rgba(0, 0, 0, 0.035);

    /* Spacing System */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Radius */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.015);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.06);
    --shadow-glass: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 20px rgba(0, 0, 0, 0.025);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

/* ─── Selection ─── */
::selection {
    background: var(--primary);
    color: var(--text-inverse);
}

/* ─── Layout Containers ─── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-4xl) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: var(--primary-subtle);
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: 1px solid rgba(10, 10, 11, 0.08);
    margin-bottom: var(--space-md);
    letter-spacing: 0.5px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5.5vw, 54px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.8px;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.accent-text {
    background: linear-gradient(135deg, var(--text-primary) 30%, #4b5563 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 10, 11, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-outline:hover {
    background: var(--bg-alt);
    border-color: var(--text-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--primary-subtle);
}

.btn-block {
    width: 100%;
}

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--ease-out);
}

.btn:hover svg {
    transform: translateX(2px);
}

/* ═══════════════════════════════════════════ */
/*  NAVIGATION                                */
/* ═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s var(--ease-out);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-accent {
    font-weight: 500;
    color: var(--text-secondary);
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.25s var(--ease-out);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s var(--ease-out);
}

.nav-link:hover::after,
.nav-link.active-link::after {
    transform: scaleX(1);
}

.nav-link-login {
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-widget);
    transition: all 0.25s var(--ease-out);
}

.nav-link-login:hover {
    background: var(--primary-subtle);
    border-color: var(--text-primary);
}

.nav-link-cta {
    background: var(--primary);
    color: var(--text-inverse) !important;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.25s var(--ease-out);
}

.nav-link-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.nav-link-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all 0.25s var(--ease-out);
}

/* ═══════════════════════════════════════════ */
/*  HERO SECTION                                */
/* ═══════════════════════════════════════════ */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: var(--space-4xl);
    background: var(--bg);
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.hero-radial-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(10, 10, 11, 0.012) 0%, transparent 60%);
    z-index: 2;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulse 1.8s infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 6.5vw, 60px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2.2px;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    width: 100%;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    border-top: 1px solid var(--border);
    padding-top: var(--space-lg);
    width: 100%;
    max-width: 520px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num-row {
    display: flex;
    align-items: baseline;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.stat-suffix {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 2px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ─── Hero Visual (CSS Dashboard) ─── */
.hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.hero-dashboard {
    width: 100%;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.08), 0 10px 30px rgba(0, 0, 0, 0.04), var(--shadow-glass);
    overflow: hidden;
    transform-style: preserve-3d;
    /* Default state: cool 3D perspective rotation tilt */
    transform: rotateX(12deg) rotateY(-16deg) rotateZ(4deg) scale(0.92);
    transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    will-change: transform;
}

.hero-dashboard:hover {
    box-shadow: -25px 25px 70px rgba(0, 0, 0, 0.12), 0 15px 40px rgba(0, 0, 0, 0.06), var(--shadow-glass);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
}

.dashboard-dots .dot:nth-child(1) { background: rgba(0,0,0,0.15); }

.dashboard-title {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.08);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.status-pulse {
    width: 5px;
    height: 5px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-text {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-body {
    display: grid;
    grid-template-columns: 50px 1fr;
    height: 300px;
}

.dash-sidebar {
    background: var(--bg-alt);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-md) 0;
    gap: 16px;
}

.dash-nav-item {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
}

.dash-nav-item.active {
    background: var(--primary);
    color: white;
}

.dash-nav-item svg {
    width: 16px;
    height: 16px;
}

.dash-main {
    padding: var(--space-md);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.dash-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.dash-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
}

.dash-card-label {
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 500;
}

.dash-card-value {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2px;
}

.dash-card-trend {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 600;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.dash-card-trend.up {
    color: var(--accent-green);
}

.dash-card-trend.neutral {
    color: var(--text-secondary);
}

.dash-card-trend svg {
    width: 8px;
    height: 8px;
}

.dash-chart-container {
    background: var(--bg-alt);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.dash-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.chart-title {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.chart-period {
    font-family: var(--font-mono);
    font-size: 8px;
    color: var(--text-tertiary);
}

.dash-chart-graphic {
    width: 100%;
    height: 100px;
    flex-grow: 1;
    position: relative;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

/* ═══════════════════════════════════════════ */
/*  TRUSTED SECTION (Marquee)                 */
/* ═══════════════════════════════════════════ */
.trusted-section {
    padding: var(--space-xl) 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-subtle);
}

.trusted-label {
    text-align: center;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
    margin-bottom: var(--space-md);
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-alt) 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-alt) 0%, transparent 100%);
}

.marquee-track {
    display: inline-flex;
    gap: var(--space-3xl);
    animation: scroll 30s linear infinite;
    padding: 8px 0;
}

.logo-item {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-tertiary);
    letter-spacing: -0.5px;
    transition: color 0.3s;
}

.logo-item:hover {
    color: var(--text-primary);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════ */
/*  PRODUCTS SECTION                          */
/* ═══════════════════════════════════════════ */
.products-section {
    background: var(--bg);
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

/* Featured Product Card */
.product-featured-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md), var(--shadow-glass);
    transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.product-featured-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--shadow-glass);
}

.pfc-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.pfc-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pfc-icon svg {
    width: 20px;
    height: 20px;
}

.pfc-title-meta {
    display: flex;
    flex-direction: column;
}

.pfc-title-meta h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.pfc-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    background: rgba(10, 10, 11, 0.06);
    color: var(--text-secondary);
    padding: 1px 6px;
    border-radius: var(--radius-xs);
    width: max-content;
    margin-top: 2px;
}

.pfc-version {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-tertiary);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.pfc-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    max-width: 820px;
}

.pfc-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.module-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all 0.25s var(--ease-out);
}

.module-chip:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.module-chip svg {
    width: 14px;
    height: 14px;
    color: var(--text-secondary);
}

.module-chip span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.pfc-footer {
    display: flex;
    gap: var(--space-md);
    border-top: 1px solid var(--border);
    padding-top: var(--space-xl);
}

/* Coming Soon grid */
.products-soon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.soon-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    transition: all 0.35s var(--ease-out);
}

.soon-card:hover {
    border-color: var(--border);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.soon-badge {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    color: var(--text-tertiary);
    border: 1px solid var(--border-subtle);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.soon-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--primary-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.soon-icon svg {
    width: 16px;
    height: 16px;
}

.soon-card h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.soon-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════ */
/*  STICKY SCROLL SHOWCASE                    */
/* ═══════════════════════════════════════════ */
.scroll-showcase-container {
    display: grid;
    grid-template-columns: 44% 56%;
    gap: var(--space-3xl);
    align-items: start;
    position: relative;
    margin-top: var(--space-2xl);
}

.scroll-showcase-left {
    display: flex;
    flex-direction: column;
    gap: 160px;
    padding-bottom: 240px;
    position: relative;
    padding-left: 28px;
}

.scroll-progress-track {
    position: absolute;
    left: 14px;
    top: 36px;
    bottom: 250px;
    width: 3px;
    background: var(--border-subtle);
    border-radius: var(--radius-full);
}

.scroll-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: #2E7D5F;
    border-radius: var(--radius-full);
    box-shadow: 0 0 8px rgba(46, 125, 95, 0.4);
    transition: height 0.05s ease-out;
}

.feature-text-block {
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    border-left: 3px solid transparent;
    transition: all 0.5s var(--ease-out);
    opacity: 0.15;
    transform: scale(0.96);
}

.feature-text-block.active {
    opacity: 1;
    transform: scale(1.01) translateX(6px);
    background: var(--surface);
    border-color: var(--border);
    border-left-color: #2E7D5F;
    box-shadow: 0 16px 40px rgba(46, 125, 95, 0.05), var(--shadow-md);
}

.feat-num {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-tertiary);
    display: block;
    margin-bottom: var(--space-sm);
}

.feature-text-block.active .feat-num {
    color: #2E7D5F;
}

.feature-text-block h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.feature-text-block p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feat-bullet-list {
    list-style: none;
    margin-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feat-bullet-list li {
    font-size: 12.5px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.feat-bullet-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2E7D5F;
    font-weight: 800;
}

.scroll-showcase-right {
    position: sticky;
    top: 110px;
    height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.sticky-device-wrapper {
    width: 100%;
    max-width: 600px;
}

/* ─── Mock Device Browser Frame ─── */
.device-browser-frame {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.06), var(--shadow-xl), var(--shadow-glass);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    aspect-ratio: 1.4 / 1;
}

.browser-header {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    align-items: center;
    padding: 10px 16px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.header-dots {
    display: flex;
    gap: 6px;
}

.header-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e4e4e7;
}

.header-dots .dot:nth-child(1) { background: #ff5f56; }
.header-dots .dot:nth-child(2) { background: #ffbd2e; }
.header-dots .dot:nth-child(3) { background: #27c93f; }

.header-address-bar {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px 12px;
    font-size: 10.5px;
    color: var(--text-secondary);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-mono);
}

.header-address-bar .lock-icon {
    width: 10px;
    height: 10px;
    color: #10b981;
}

.header-actions-icon {
    justify-self: end;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
}

.header-actions-icon svg {
    width: 11px;
    height: 11px;
}

.browser-app-body {
    display: grid;
    grid-template-columns: 145px 1fr;
    height: 100%;
    overflow: hidden;
}

/* Original Forma Dark Sidebar styling */
.app-sidebar {
    background: rgba(15, 23, 33, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: white;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-square {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(135deg, #2E7D5F 0%, #1E88A8 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 12px;
}

.brand-txt {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
}

.app-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 9.5px;
    font-weight: 500;
    transition: all 0.25s var(--ease-out);
    white-space: nowrap;
}

.menu-item svg {
    width: 12px;
    height: 12px;
}

.menu-item.active {
    background: rgba(46, 125, 95, 0.25);
    color: white;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(46, 125, 95, 0.3);
}

.app-user-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 8px;
}

.user-avatar-small {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1E88A8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: white;
    font-weight: 600;
}

.user-details-small {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.user-name-small {
    font-size: 9px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-org-small {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.4);
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ─── Mock Viewport and Mock Screens ─── */
.app-viewport {
    position: relative;
    background: #fafafa;
    overflow: hidden;
}

.mock-screen {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    right: var(--space-md);
    bottom: var(--space-md);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.mock-screen.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.screen-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.screen-header-row h2 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-mock-add {
    background: #2E7D5F;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 9.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.btn-mock-add svg {
    width: 9px;
    height: 9px;
}

/* Screen 1: CRM Kanban layout */
.mock-pipeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    flex-grow: 1;
}

.pipeline-col {
    background: #f4f4f5;
    border-radius: 6px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
}

.col-title {
    font-size: 8.5px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.col-title .count {
    background: rgba(0, 0, 0, 0.05);
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 8px;
}

.mock-lead-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.015);
}

.mock-lead-card.border-accent {
    border-left: 2px solid #1E88A8;
}

.mock-lead-card.border-green {
    border-left: 2px solid #2E7D5F;
}

.card-lead-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-primary);
}

.card-lead-meta {
    font-size: 8px;
    color: var(--text-secondary);
    margin-top: 1px;
}

.card-tag {
    font-size: 7.5px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-secondary);
    padding: 1px 3px;
    border-radius: 2px;
    width: max-content;
    margin-top: 3px;
}

.card-tag.progress-tag {
    background: rgba(30, 136, 168, 0.08);
    color: #1E88A8;
}

.card-tag.won-tag {
    background: rgba(46, 125, 95, 0.08);
    color: #2E7D5F;
}

/* Screen 2: Quotations layout */
.mock-quotation-editor {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.editor-meta-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4px;
    font-size: 9px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 4px;
}

.editor-meta-grid strong {
    color: var(--text-primary);
    margin-left: 2px;
}

.editor-table {
    display: flex;
    flex-direction: column;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 0.8fr 1fr;
    font-size: 8px;
    font-weight: 700;
    color: var(--text-tertiary);
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 3px;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 0.8fr 1fr;
    font-size: 8.5px;
    color: var(--text-secondary);
    padding: 4px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.03);
}

.table-row span:last-child {
    font-weight: 600;
    color: var(--text-primary);
}

.discount-calculation-panel {
    margin-top: auto;
    background: var(--bg-alt);
    border-radius: 4px;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 8.5px;
    color: var(--text-secondary);
}

.calc-row.discount-row {
    font-weight: 600;
}

.calc-row.total-row {
    border-top: 1px dashed var(--border);
    padding-top: 3px;
    font-size: 10px;
    color: var(--text-primary);
    font-weight: 700;
}

.mock-status-pill {
    font-family: var(--font-mono);
    font-size: 8.5px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: var(--radius-full);
}

.mock-status-pill.approved {
    background: rgba(46, 125, 95, 0.08);
    color: #2E7D5F;
    border: 1px solid rgba(46, 125, 95, 0.15);
}

.mock-status-pill.active-status {
    background: rgba(30, 136, 168, 0.08);
    color: #1E88A8;
    border: 1px solid rgba(30, 136, 168, 0.15);
}

.green-text {
    color: #2E7D5F;
}

/* Screen 3: Moodboards layout */
.mock-moodboard-canvas {
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    padding: 8px;
}

.moodboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    height: 100%;
}

.mood-tile {
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.tile-pat {
    flex-grow: 1;
    width: 100%;
}

.tile-pat.wood {
    background-color: #d7ccc8;
    background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.02) 0px, rgba(0,0,0,0.02) 2px, transparent 2px, transparent 8px);
}

.tile-pat.velvet {
    background-color: #1a237e;
    opacity: 0.8;
}

.tile-pat.marble {
    background-color: #f5f5f5;
    background-image: radial-gradient(circle at 30% 20%, rgba(0,0,0,0.03) 2px, transparent 40px);
}

.tile-pat.brass {
    background-color: #cfd8dc;
    background-image: linear-gradient(135deg, #ffe082 0%, #bcaaa4 100%);
}

.tile-label {
    font-size: 8px;
    font-weight: 600;
    text-align: center;
    padding: 2px 0;
    background: var(--bg-alt);
    color: var(--text-secondary);
    border-top: 1px solid var(--border-subtle);
}

.canvas-annotations {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.annotation-pin {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 3px;
    background: rgba(10, 10, 11, 0.85);
    color: white;
    border-radius: var(--radius-full);
    padding: 2px 6px;
    font-size: 7.5px;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.annotation-pin .pin-dot {
    width: 3.5px;
    height: 3.5px;
    background: #4CAF82;
    border-radius: 50%;
}

.annotation-pin.pin-a {
    top: 22%;
    left: 20%;
}

.annotation-pin.pin-b {
    top: 60%;
    left: 45%;
}

/* Screen 4: Production queue layout */
.mock-production-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.prod-item {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.prod-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9.5px;
}

.prod-item-header strong {
    color: var(--text-primary);
}

.prod-progress-bar {
    width: 100%;
    height: 5px;
    background: #e4e4e7;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.prod-progress-bar .fill {
    height: 100%;
    background: #2E7D5F;
    border-radius: var(--radius-full);
}

.prod-progress-bar.completed .fill {
    background: #10b981;
}

.prod-meta {
    font-size: 8px;
    color: var(--text-tertiary);
}

.live-indicator {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 600;
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 3px;
}

.live-indicator .pulse {
    width: 5px;
    height: 5px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

/* Screen 5: AI Chat Assistant layout */
.mock-chat-interface {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-history {
    padding: 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

.msg {
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 9px;
    max-width: 85%;
    line-height: 1.4;
}

.msg.user {
    background: #e2e8f0;
    color: var(--text-primary);
    align-self: flex-end;
    border-bottom-right-radius: 1px;
}

.msg.assistant {
    background: var(--bg-alt);
    color: var(--text-secondary);
    align-self: flex-start;
    border-bottom-left-radius: 1px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid var(--border-subtle);
}

.mock-chat-chart {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 4px;
}

.chat-chart-bar {
    height: 12px;
    background: rgba(46,125,95,0.1);
    border-left: 2px solid #2E7D5F;
    border-radius: 2px;
    display: flex;
    align-items: center;
    padding-left: 4px;
    font-size: 7.5px;
    font-weight: 600;
    color: #2E7D5F;
    width: var(--val);
}

.summary-highlight {
    font-size: 8px;
    font-style: italic;
    color: var(--text-tertiary);
    border-left: 1.5px solid var(--border);
    padding-left: 4px;
    margin-top: 1px;
}

.chat-input-bar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 5px;
    border-top: 1px solid var(--border-subtle);
    padding: 4px 8px;
    background: var(--bg-alt);
}

.chat-input-bar input {
    border: none;
    background: transparent;
    font-size: 9px;
    outline: none;
    color: var(--text-primary);
}

.chat-input-bar svg {
    width: 11px;
    height: 11px;
    color: var(--text-tertiary);
}

.gemini-tag {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 600;
    color: #4f46e5;
}

/* Screen 4: Presentations & Agreements */
.mock-agreement-viewer {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.doc-container {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    background: #fbfbfb;
    padding: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.doc-header {
    border-bottom: 1px dashed var(--border);
    padding-bottom: 4px;
}

.doc-header h3 {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-primary);
}

.doc-header span {
    font-family: var(--font-mono);
    font-size: 7.5px;
    color: var(--text-tertiary);
}

.doc-body {
    font-size: 8px;
    color: var(--text-secondary);
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.doc-body p {
    flex-grow: 1;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.signature-box-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px dashed var(--border-subtle);
    padding-top: 4px;
    margin-top: auto;
}

.signature-box {
    border: 1px solid var(--border);
    background: white;
    border-radius: 4px;
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90px;
}

.signature-line {
    font-size: 11px;
    border-bottom: 1px solid var(--text-tertiary);
    width: 100%;
    text-align: center;
    padding-bottom: 2px;
}

.signature-font {
    font-family: 'Plus Jakarta Sans', cursive, sans-serif;
    font-style: italic;
    font-weight: 600;
    color: #2E7D5F;
}

.sig-label {
    font-size: 6.5px;
    color: var(--text-tertiary);
    margin-top: 2px;
    text-transform: uppercase;
}

.verification-badge {
    background: rgba(46, 125, 95, 0.08);
    border: 1px solid rgba(46, 125, 95, 0.15);
    border-radius: var(--radius-xs);
    padding: 4px 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: 130px;
}

.verification-badge svg {
    width: 10px;
    height: 10px;
    color: #2E7D5F;
}

.verification-badge span {
    font-size: 7.5px;
    color: #2E7D5F;
    font-weight: 600;
    white-space: nowrap;
}

/* Screen 6: Procurement */
.mock-procurement-grid {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.inventory-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.table-header-proc {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    font-size: 8px;
    font-weight: 700;
    color: var(--text-tertiary);
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 4px;
    margin-bottom: 4px;
}

.proc-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    font-size: 8.5px;
    color: var(--text-secondary);
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.03);
    align-items: center;
}

.proc-row span:nth-child(2) {
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.status-pill {
    font-size: 7.5px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    width: max-content;
}

.status-pill.ok {
    background: rgba(46, 125, 95, 0.08);
    color: #2E7D5F;
}

.status-pill.low {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
}

.proc-row.alert-row {
    background: rgba(239, 68, 68, 0.01);
}

/* Screen 7: Site & Installation */
.live-indicator-green {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 600;
    color: #2E7D5F;
    display: flex;
    align-items: center;
    gap: 3px;
}

.live-indicator-green svg {
    width: 9px;
    height: 9px;
    color: #2E7D5F;
}

.mock-installation-body {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9.5px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 4px;
}

.progress-header strong {
    color: #2E7D5F;
}

.installation-checklist {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 8.5px;
    color: var(--text-secondary);
}

.check-item.done {
    color: var(--text-tertiary);
}

.check-item.done svg {
    color: #2E7D5F;
    width: 10px;
    height: 10px;
}

.check-item.active {
    color: var(--text-primary);
    font-weight: 600;
}

.check-item.pending svg {
    color: var(--text-tertiary);
    width: 10px;
    height: 10px;
}

.check-pulse-dot {
    width: 8px;
    height: 8px;
    background: #1E88A8;
    border-radius: 50%;
    box-shadow: 0 0 6px #1E88A8;
    display: inline-block;
    animation: pulse 1.8s infinite;
}

.photo-proof-row {
    display: flex;
    gap: 6px;
    border-top: 1px dashed var(--border-subtle);
    padding-top: 6px;
}

.photo-thumb {
    flex: 1;
    background: var(--bg-alt);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 4px 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 7.5px;
    color: var(--text-secondary);
}

.photo-thumb svg {
    width: 10px;
    height: 10px;
    color: var(--text-tertiary);
}

/* Screen 8: Accounting Suite */
.mock-accounts-body {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.accounts-summary-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    background: var(--bg-alt);
    border-radius: 4px;
    padding: 6px;
}

.acc-stat {
    display: flex;
    flex-direction: column;
}

.acc-label {
    font-size: 7.5px;
    color: var(--text-secondary);
}

.acc-val {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    color: var(--text-primary);
}

.acc-val.text-green {
    color: #2E7D5F;
}

.acc-val.text-red {
    color: #ef4444;
}

.project-pl-bar {
    width: 100%;
    height: 12px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.pl-fill {
    height: 100%;
    background: #2E7D5F;
    color: white;
    font-size: 7.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding-left: 6px;
}

.financial-ledger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.ledger-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 8px;
    color: var(--text-secondary);
    padding: 3px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.02);
}

.ledger-item span:last-child {
    font-family: var(--font-mono);
    font-weight: 600;
}

/* Screen 9: HR & Staff Management */
.mock-hr-body {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.attendance-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.att-row {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.02);
    padding-bottom: 4px;
}

.att-row .user-avatar-small {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    font-size: 8px;
}

.att-row .bg-blue {
    background: #3b82f6;
}

.att-row .bg-teal {
    background: #14b8a6;
}

.att-row .bg-indigo {
    background: #6366f1;
}

.att-details {
    display: flex;
    flex-direction: column;
}

.att-details strong {
    font-size: 8.5px;
    color: var(--text-primary);
}

.att-details span {
    font-size: 7px;
    color: var(--text-tertiary);
}

.leave-request-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    padding: 6px 8px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lrc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 8px;
    color: var(--text-secondary);
}

.lrc-header .date-badge {
    background: rgba(0, 0, 0, 0.05);
    padding: 1px 4px;
    border-radius: 2px;
    font-family: var(--font-mono);
}

.lrc-actions {
    display: flex;
    gap: 4px;
}

.lrc-btn {
    flex: 1;
    text-align: center;
    font-size: 7.5px;
    font-weight: 600;
    padding: 3px 0;
    border-radius: 3px;
    cursor: pointer;
}

.lrc-btn.approve {
    background: #2E7D5F;
    color: white;
}

.lrc-btn.reject {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

/* More Features */
.more-features {
    margin-top: var(--space-3xl);
    text-align: center;
}

.more-features-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    margin-bottom: var(--space-xl);
}

.more-features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
}

.mini-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px var(--space-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.25s var(--ease-out);
}

.mini-feature:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.mini-feature svg {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
}

.mini-feature span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════ */
/*  PRICING SECTION                           */
/* ═══════════════════════════════════════════ */
.pricing-section {
    background: var(--bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.pricing-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s var(--ease-out);
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.pricing-card.core {
    background: var(--surface);
    border-color: var(--primary);
}

.pricing-card-header {
    margin-bottom: var(--space-lg);
    display: flex;
    flex-direction: column;
}

.group-label {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.group-note {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.pricing-card-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    flex-grow: 1;
}

.pricing-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pricing-item.border-top {
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-md);
}

.pi-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.pi-header svg {
    width: 14px;
    height: 14px;
    color: var(--text-secondary);
}

.pi-header h4 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.pricing-item p {
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 6px;
}

.pi-price {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.pi-price span {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
}

.pi-price-free {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.08);
    padding: 1px 6px;
    border-radius: var(--radius-xs);
}

/* AI add-on card spans 4th column */
.pricing-card.ai-card {
    border: 1.5px dashed var(--border);
    background: linear-gradient(to bottom, var(--bg-alt), #fcfcfd);
}

.pricing-card.ai-card:hover {
    border-color: var(--primary);
    border-style: solid;
}

.group-note.hot {
    background: rgba(245, 158, 11, 0.08);
    color: var(--accent-yellow);
    padding: 1px 6px;
    border-radius: var(--radius-xs);
    width: max-content;
}

/* Pricing Summary bar */
.pricing-summary-bar {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: var(--space-xl);
    align-items: center;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.summary-left h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.summary-left p {
    font-size: 13.5px;
    color: var(--text-secondary);
}

.summary-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-math {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.old-price {
    font-size: 14px;
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.new-price {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
}

.new-price span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.save-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-green);
    font-weight: 600;
}

/* ═══════════════════════════════════════════ */
/*  QUOTE BUILDER                              */
/* ═══════════════════════════════════════════ */
.quote-section {
    background: var(--bg-alt);
}

.quote-builder-workspace {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-xl);
    align-items: start;
}

.quote-selection-pane {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.quote-group-label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xs);
}

.quote-module-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.quote-module {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-md);
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
}

.quote-module:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.quote-module.selected {
    border-color: var(--primary);
    background: var(--primary-subtle);
    box-shadow: 0 0 0 2px var(--primary);
}

.quote-module.ai-opt {
    border: 1.5px dashed var(--border);
}

.quote-module.ai-opt.selected {
    border-style: solid;
}

.qm-check-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.qm-check-label input {
    display: none;
}

.custom-check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-xs);
    position: relative;
    transition: all 0.2s var(--ease-out);
}

.quote-module.selected .custom-check {
    border-color: var(--primary);
    background: var(--primary);
}

.quote-module.selected .custom-check::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 7px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.qm-details h4 {
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-primary);
}

.qm-details p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 1px;
}

.qm-price {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Custom requirements textarea */
.custom-requirements-container {
    margin-top: var(--space-lg);
}

.custom-requirements-container textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 14px;
    font-family: var(--font-sans);
    font-size: 13.5px;
    color: var(--text-primary);
    outline: none;
    resize: none;
    transition: border-color 0.25s var(--ease-out);
}

.custom-requirements-container textarea:focus {
    border-color: var(--primary);
}

/* Receipt / Quote Summary Panel */
.quote-summary-panel {
    position: sticky;
    top: 110px;
}

.receipt-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg), var(--shadow-glass);
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.receipt-header h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.receipt-id {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-tertiary);
}

.receipt-divider {
    height: 1px;
    border-top: 1px dashed var(--border);
    margin: 20px 0;
}

.qs-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qs-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
}

.qs-item.core {
    font-weight: 600;
    color: var(--text-primary);
}

.receipt-totals {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qs-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.qs-total span:first-child {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.qs-total span:last-child {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.qs-annual {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 12px;
    color: var(--text-secondary);
}

.qs-annual span:last-child {
    font-family: var(--font-mono);
    font-weight: 500;
}

.qs-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: var(--space-lg);
}

.form-group-receipt {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group-receipt label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.form-group-receipt input {
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--text-primary);
    background: transparent;
    outline: none;
    transition: border-color 0.25s var(--ease-out);
}

.form-group-receipt input:focus {
    border-color: var(--primary);
}

.qs-extra-users-widget {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--space-md);
    background: var(--bg-alt);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px;
}

.widget-label {
    display: flex;
    flex-direction: column;
}

.widget-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary);
}

.widget-desc {
    font-size: 10px;
    color: var(--text-tertiary);
    margin-top: 1px;
}

.qs-extra-users-widget input {
    width: 60px;
    padding: 6px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: var(--radius-sm);
    text-align: center;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-primary);
    outline: none;
}

.qs-extra-users-widget input:focus {
    border-color: var(--primary);
}

.receipt-disclaimer {
    text-align: center;
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: var(--space-md);
}

/* ═══════════════════════════════════════════ */
/*  ABOUT SECTION                             */
/* ═══════════════════════════════════════════ */
.about-section {
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.about-values-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.value-item {
    display: flex;
    gap: var(--space-md);
}

.value-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon svg {
    width: 16px;
    height: 16px;
}

.value-details h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.value-details p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.stat-boxes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.about-stat-box {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.25s var(--ease-out);
}

.about-stat-box:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.asb-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.asb-lbl {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* ═══════════════════════════════════════════ */
/*  CONTACT SECTION                           */
/* ═══════════════════════════════════════════ */
.contact-section {
    background: var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-links-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.contact-link-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.25s var(--ease-out);
}

.contact-link-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.cli-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cli-icon svg {
    width: 16px;
    height: 16px;
}

.cli-details h4 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.cli-details p {
    font-size: 13px;
    color: var(--text-secondary);
}

.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg), var(--shadow-glass);
}

.contact-form-card form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    font-family: var(--font-sans);
    font-size: 13.5px;
    color: var(--text-primary);
    background: var(--bg-widget);
    outline: none;
    transition: all 0.25s var(--ease-out);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--surface);
}

/* ═══════════════════════════════════════════ */
/*  FOOTER                                     */
/* ═══════════════════════════════════════════ */
.footer {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-2xl);
    background: var(--bg);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
}

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 280px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col h4 {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.footer-links-col a {
    font-size: 13.5px;
    color: var(--text-secondary);
    transition: color 0.25s var(--ease-out);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-xl);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-tertiary);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: var(--text-secondary);
    transition: color 0.25s var(--ease-out);
}

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

.footer-socials svg {
    width: 18px;
    height: 18px;
}

/* ═══════════════════════════════════════════ */
/*  MODAL                                      */
/* ═══════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 11, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-out);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: transform 0.35s var(--ease-out);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg) auto;
}

.modal-icon svg {
    width: 24px;
    height: 24px;
}

.modal-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.modal-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-xl);
}

/* ═══════════════════════════════════════════ */
/*  SCROLL-DRIVEN ENTRANCE ANIMATIONS          */
/* ═══════════════════════════════════════════ */
[data-animate] {
    opacity: 0;
    will-change: transform, opacity;
}

[data-animate="fade-up"] {
    transform: translateY(24px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

[data-animate="fade-up"].visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* ═══════════════════════════════════════════ */
/*  RESPONSIVE MOBILE STYLING                  */
/* ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-dashboard {
        transform: none !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        box-shadow: var(--shadow-xl), var(--shadow-glass);
    }

    .hero-dashboard:hover {
        transform: translateY(-4px) scale(1.01) !important;
    }
    
    .products-soon-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .scroll-showcase-container {
        display: flex;
        flex-direction: column;
        gap: var(--space-md);
        position: relative;
        align-items: stretch !important;
    }
    
    .scroll-showcase-left {
        order: 1;
        gap: 140px;
        padding-bottom: 240px;
        padding-top: 20px;
        padding-left: 0 !important;
        margin-top: 10px;
    }
    
    .scroll-progress-track {
        display: none !important;
    }
    
    .feature-text-block {
        opacity: 0.15 !important;
        transform: scale(0.95) !important;
        background: var(--surface);
        border: 1px solid var(--border);
        box-shadow: var(--shadow-sm);
        transition: all 0.4s ease-in-out;
    }

    .feature-text-block.active {
        opacity: 1 !important;
        transform: scale(1) !important;
        border-color: #2E7D5F;
        border-left: 3px solid #2E7D5F;
        box-shadow: 0 10px 25px rgba(46, 125, 95, 0.05), var(--shadow-md);
    }
    
    .scroll-showcase-right {
        order: -1;
        position: sticky;
        top: 70px;
        height: auto;
        margin-top: 0;
        padding: 8px 0;
        background: var(--bg);
        z-index: 100;
        border-bottom: 1px solid var(--border-subtle);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.02);
        display: block !important;
    }

    .sticky-device-wrapper {
        width: 100% !important;
        margin: 0 auto !important;
    }

    .device-browser-frame {
        aspect-ratio: 1.55 / 1 !important;
        max-width: 100%;
        box-shadow: 0 4px 20px rgba(0,0,0,0.04);
        min-width: 0 !important;
    }

    .browser-header {
        grid-template-columns: 45px 1fr 30px !important;
        padding: 6px 10px !important;
        min-width: 0 !important;
    }
    
    .header-address-bar {
        font-size: 8px !important;
        padding: 3px 6px !important;
        min-width: 0 !important;
    }

    .header-address-bar span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        width: 100%;
        min-width: 0;
    }
    
    .header-address-bar .lock-icon {
        width: 8px !important;
        height: 8px !important;
        flex-shrink: 0;
    }

    /* Collapse App Sidebar to icon-only for all mobile/tablet views to prevent viewport overflow */
    .browser-app-body {
        grid-template-columns: 44px 1fr !important;
        min-width: 0 !important;
    }

    .app-viewport {
        min-width: 0 !important;
    }
    
    .app-sidebar {
        padding: 8px 4px !important;
        gap: 6px !important;
        align-items: center !important;
        min-width: 0 !important;
    }
    
    .brand-txt,
    .menu-item span,
    .user-details-small {
        display: none !important;
    }
    
    .menu-item {
        justify-content: center !important;
        padding: 6px !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
    }
    
    .app-user-footer {
        justify-content: center !important;
        padding-top: 6px !important;
        margin-top: auto !important;
    }

    /* Screen UI Layout overrides to fit inside the mockup browser frame without horizontal clipping */
    .mock-screen {
        top: 6px !important;
        left: 6px !important;
        right: 6px !important;
        bottom: 6px !important;
    }

    .screen-header-row h2 {
        font-size: 9px !important;
    }

    .btn-mock-add {
        padding: 2px 4px !important;
        font-size: 7px !important;
    }

    /* CRM Kanban horizontal scroll list for columns on small screens */
    .mock-pipeline-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 6px !important;
        width: 100% !important;
        flex-grow: 1 !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .mock-pipeline-grid::-webkit-scrollbar {
        display: none !important;
    }

    .pipeline-col {
        flex: 0 0 95px !important;
        width: 95px !important;
        min-width: 95px !important;
        padding: 4px !important;
        gap: 4px !important;
    }

    .col-title {
        font-size: 6.5px !important;
    }

    .mock-lead-card {
        padding: 4px !important;
    }

    .card-lead-title {
        font-size: 7.5px !important;
    }

    .card-lead-meta {
        font-size: 6px !important;
        white-space: normal !important;
        word-break: break-word !important;
        margin-top: 0px !important;
    }

    .card-tag {
        font-size: 5.5px !important;
        padding: 0px 2px !important;
        margin-top: 1px !important;
    }

    /* Moodboards grid scaling */
    .moodboard-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 4px !important;
    }

    .mood-tile {
        height: 100% !important;
        max-width: 100% !important;
    }

    .tile-label {
        font-size: 6px !important;
        padding: 1px 0 !important;
    }

    .annotation-pin {
        padding: 1px 3px !important;
        font-size: 5.5px !important;
        gap: 2px !important;
    }

    /* Smart Quotations Table overrides */
    .editor-meta-grid {
        font-size: 7px !important;
        padding-bottom: 2px !important;
    }

    .table-header, .table-row, .table-header-proc, .proc-row {
        font-size: 6.5px !important;
    }

    .table-row, .proc-row {
        padding: 2.5px 0 !important;
    }

    .table-row span, .table-header span, .proc-row span, .table-header-proc span {
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }

    .discount-calculation-panel {
        padding: 4px 6px !important;
        gap: 1.5px !important;
    }

    .calc-row {
        font-size: 6.5px !important;
    }

    .calc-row.total-row {
        font-size: 7.5px !important;
        padding-top: 2px !important;
    }

    /* Agreements Screen signature panel scaling */
    .signature-box-wrapper {
        flex-direction: row !important;
        align-items: center !important;
        gap: 4px !important;
        padding-top: 3px !important;
    }

    .signature-box {
        width: 65px !important;
        padding: 2px 4px !important;
    }

    .signature-line {
        font-size: 7.5px !important;
    }

    .sig-label {
        font-size: 5px !important;
    }

    .verification-badge {
        padding: 2px 4px !important;
        max-width: 90px !important;
        flex-shrink: 1 !important;
    }

    .verification-badge span {
        font-size: 5.5px !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        line-height: 1.1 !important;
        display: inline-block !important;
    }

    .doc-container {
        padding: 4px !important;
        gap: 3px !important;
    }

    .doc-header h3 {
        font-size: 8px !important;
    }

    .doc-header span {
        font-size: 6px !important;
    }

    .doc-body {
        font-size: 6.5px !important;
    }

    /* Production Dept scaling */
    .prod-item {
        padding: 4px 6px !important;
        gap: 1px !important;
    }

    .prod-item-header {
        font-size: 7.5px !important;
    }

    .prod-meta {
        font-size: 6px !important;
    }

    /* Site & Installation tracker styling */
    .progress-header {
        font-size: 7.5px !important;
    }

    .check-item {
        font-size: 7px !important;
        gap: 4px !important;
    }

    .photo-thumb {
        padding: 2px 4px !important;
        font-size: 6px !important;
    }

    /* Financials accounts */
    .acc-stat .acc-label {
        font-size: 6px !important;
    }

    .acc-stat .acc-val {
        font-size: 8px !important;
    }

    .project-pl-bar {
        height: 8px !important;
    }

    .pl-fill {
        font-size: 6px !important;
    }

    .ledger-item {
        font-size: 6.5px !important;
        padding: 1.5px 0 !important;
    }

    /* Staff dashboard */
    .att-row .user-avatar-small {
        width: 14px !important;
        height: 14px !important;
        font-size: 6px !important;
    }

    .att-row {
        gap: 4px !important;
        padding-bottom: 2px !important;
    }

    .att-details strong {
        font-size: 7px !important;
    }

    .att-details span {
        font-size: 5.5px !important;
    }

    .leave-request-card {
        padding: 4px 6px !important;
    }

    .lrc-header {
        font-size: 6.5px !important;
    }

    .lrc-btn {
        font-size: 6px !important;
        padding: 2px 0 !important;
    }

    /* AI assistant chat */
    .msg {
        font-size: 7.5px !important;
        padding: 4px 6px !important;
    }

    .summary-highlight {
        font-size: 6.5px !important;
    }

    .chat-input-bar input {
        font-size: 7.5px !important;
    }

    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .pricing-card.ai-card {
        grid-column: span 2;
    }
    
    .pricing-summary-bar {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .summary-right {
        align-items: center;
    }
    
    .quote-builder-workspace {
        grid-template-columns: 1fr;
    }
    
    .quote-summary-panel {
        position: relative;
        top: 0;
        margin-top: var(--space-xl);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .more-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--surface);
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 40px;
        gap: 24px;
        transition: right 0.4s var(--ease-out);
        z-index: 999;
        border-left: 1px solid var(--border);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .products-soon-grid {
        grid-template-columns: 1fr;
    }
    
    .features-section .container {
        padding: 0 10px !important;
    }

    .scroll-showcase-container {
        gap: var(--space-xs) !important;
    }
    
    .fb-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.ai-card {
        grid-column: span 1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .more-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}
