/* ==========================================================================
   ClickVenta POS - Modern Compact Light Mode CSS Design System & Landing Page Styles
   ========================================================================== */

/* 1. Design Tokens & CSS Custom Properties (Light Mode Theme) */
:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.85);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #3b82f6;
    --accent: #0284c7;
    --accent-glow: rgba(2, 132, 199, 0.15);
    
    --success: #059669;
    --success-hover: #047857;
    --success-bg: #ecfdf5;
    --warning: #d97706;
    --danger: #dc2626;

    --border-color: #e2e8f0;
    --border-highlight: #cbd5e1;

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --shadow-subtle: 0 4px 15px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 8px 25px rgba(15, 23, 42, 0.06);
    --shadow-glow: 0 12px 30px rgba(37, 99, 235, 0.1);

    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Global Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* 3. Utility Components & Typography Effects */
.gradient-text {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-text {
    color: var(--primary);
}

.text-center { text-align: center; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }

.section-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

/* Compact Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
    line-height: 1.2;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(37, 99, 235, 0.35);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #047857 100%);
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(5, 150, 105, 0.2);
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(5, 150, 105, 0.35);
}

.btn-outline-success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: var(--success);
}

.btn-outline-success:hover {
    background: #d1fae5;
    color: #047857;
}

.btn-secondary {
    background: #ffffff;
    border-color: var(--border-color);
    color: var(--text-primary);
    box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
    background: #f1f5f9;
    border-color: var(--border-highlight);
}

.btn-lg {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
}

/* 4. Compact Header Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-normal);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.2);
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.version-badge {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: -3px;
}

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

.nav-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    width: 26px;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* 5. Hero Section */
.hero-section {
    position: relative;
    padding-top: 105px;
    padding-bottom: 60px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.hero-bg-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(2, 132, 199, 0.02) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.9rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-subtle);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    max-width: 860px;
    margin: 0 auto 1.25rem auto;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 2rem auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.75rem;
    flex-wrap: wrap;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 950px;
    margin: 0 auto 3rem auto;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    text-align: left;
    box-shadow: var(--shadow-subtle);
}

.highlight-icon {
    font-size: 1.15rem;
}

/* Software Mockup Window */
.software-mockup-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    text-align: left;
    margin-top: 0.5rem;
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #0f172a;
    color: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

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

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

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.window-title {
    font-size: 0.8rem;
    color: #94a3b8;
    font-family: monospace;
}

.window-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: #34d399;
}

.status-online {
    width: 5px;
    height: 5px;
    background: #34d399;
    border-radius: 50%;
}

.mockup-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 480px;
}

.mockup-sidebar {
    background: #f8fafc;
    border-right: 1px solid var(--border-color);
    padding: 0.85rem 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mockup-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    width: 100%;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
}

.mockup-tab-btn:hover {
    background: #e2e8f0;
    color: var(--text-primary);
}

.mockup-tab-btn.active {
    background: #eff6ff;
    color: var(--primary);
    font-weight: 600;
    border-left: 3px solid var(--primary);
}

.mockup-content {
    padding: 1.25rem;
    background: #ffffff;
    overflow-y: auto;
}

.mockup-panel {
    display: none;
    animation: fadeIn 0.25s ease;
}

.mockup-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* POS Demo Content */
.pos-demo-grid {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 1rem;
}

.pos-search-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.85rem;
}

.pos-search-bar input {
    background: none;
    border: none;
    color: var(--primary);
    width: 100%;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
}

.pos-grid-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.pos-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.85rem;
    border-radius: var(--radius-md);
    position: relative;
    box-shadow: var(--shadow-subtle);
}

.pos-card.selected {
    border-color: var(--primary);
    background: #f0f9ff;
}

.pos-card-title {
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.2rem;
}

.pos-card-code {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: monospace;
}

.pos-card-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--success);
    margin-top: 0.4rem;
}

.stock-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    font-size: 0.68rem;
    padding: 0.1rem 0.35rem;
    background: #f1f5f9;
    border-radius: 4px;
    color: var(--text-muted);
}

.pos-ticket-summary {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.6rem;
}

.ticket-header h4 { font-size: 0.88rem; }
.ticket-date { font-size: 0.72rem; color: var(--text-muted); }

.ticket-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.8rem;
}

.ticket-item {
    display: flex;
    justify-content: space-between;
}

.ticket-totals {
    border-top: 1px dashed var(--border-color);
    padding-top: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
}

.total-row.discount { color: var(--success); }
.total-row.grand-total {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 0.3rem;
}

.payment-methods-demo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
}

.pay-btn {
    padding: 0.4rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
}

.pay-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: #eff6ff;
}

.pos-quick-change {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
}

.pos-quick-change input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.3rem 0.45rem;
    border-radius: 4px;
    margin: 0.2rem 0 0.4rem 0;
    font-weight: 600;
}

.change-result {
    font-size: 0.8rem;
    color: var(--warning);
}

/* Caja Demo Panel */
.caja-demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.caja-status-badge {
    padding: 0.3rem 0.75rem;
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.bills-grid-demo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.bill-input-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 0.85rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.bill-denom {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.bill-control {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
}

.demo-calc-input {
    width: 65px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}

.denom-total {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: right;
}

.caja-summary-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.85rem;
    background: #eff6ff;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid #bfdbfe;
}

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

.caja-stat-title {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.caja-stat-value {
    font-size: 1rem;
    font-weight: 700;
}

.caja-stat.highlight .caja-stat-value { color: var(--primary); }
.caja-stat.success .caja-stat-value { color: var(--success); }

/* Cuentas Corrientes Demo */
.fiados-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.clients-table-demo {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.table-header-row, .table-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr 1fr;
    padding: 0.75rem 1rem;
    align-items: center;
    font-size: 0.8rem;
}

.table-header-row {
    background: #f1f5f9;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.table-row {
    border-bottom: 1px solid var(--border-color);
}

.table-row:last-child { border-bottom: none; }

.status-pill {
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
}

.status-pill.status-warn { background: #fef2f2; color: var(--danger); }
.status-pill.status-ok { background: var(--success-bg); color: var(--success); }

/* Reportes Demo */
.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    margin: 1rem 0;
}

.stat-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: var(--radius-md);
}

.stat-label { font-size: 0.75rem; color: var(--text-muted); }
.stat-val { font-size: 1.2rem; font-weight: 800; display: block; margin: 0.2rem 0; color: var(--text-primary); }
.stat-sub { font-size: 0.72rem; color: var(--text-secondary); }

.chart-simulated-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: var(--radius-md);
}

.chart-title { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.25rem; }

.bars-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 140px;
    padding-top: 0.85rem;
}

.bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    width: 30px;
    height: 100%;
    justify-content: flex-end;
}

.bar {
    width: 100%;
    background: #93c5fd;
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
}

.bar.active { background: var(--primary); }
.bar-col span { font-size: 0.72rem; color: var(--text-muted); }

/* Etiquetas Demo */
.label-preview-box {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.barcode-card-demo {
    background: #ffffff;
    color: #000000;
    padding: 1rem;
    border-radius: 8px;
    width: 240px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
}

.b-shop-name { font-size: 0.7rem; font-weight: 700; color: #475569; }
.b-prod-name { font-size: 0.8rem; font-weight: 800; margin: 0.3rem 0; }
.barcode-lines { font-family: monospace; font-size: 1.25rem; font-weight: 900; letter-spacing: 2px; }
.b-code-num { font-size: 0.68rem; font-family: monospace; color: #64748b; margin-bottom: 0.3rem; }
.b-price-tag { font-size: 1.15rem; font-weight: 900; color: #0f172a; }

.qr-version .qr-placeholder {
    display: flex;
    justify-content: center;
    margin: 0.4rem 0;
    color: #0f172a;
}

/* 6. Features Grid Section */
.features-section {
    padding: 70px 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

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

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.bg-blue { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); }
.bg-emerald { background: linear-gradient(135deg, #059669 0%, #047857 100%); }
.bg-purple { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); }
.bg-amber { background: linear-gradient(135deg, #d97706 0%, #b45309 100%); }
.bg-indigo { background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%); }
.bg-rose { background: linear-gradient(135deg, #e11d48 0%, #be123c 100%); }

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 7. Modules Detailed Breakdown Section */
.modules-section {
    padding: 70px 0;
    background: #f8fafc;
}

.module-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4.5rem;
}

.module-detail-row.reverse {
    direction: rtl;
}
.module-detail-row.reverse .module-text {
    direction: ltr;
}

.mod-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.2);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.module-text h3 {
    font-size: 1.75rem;
    margin-bottom: 0.85rem;
}

.module-text p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 1.25rem;
}

.mod-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mod-bullets li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.visual-card-glass {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.vis-header { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.85rem; color: var(--primary); }
.vis-body { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.9rem; }
.vis-stat-row { display: flex; justify-content: space-between; }
.vis-divider { height: 1px; background: var(--border-color); margin: 0.4rem 0; }
.vis-total-line { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; }

/* 8. Pricing Section */
.pricing-section {
    padding: 70px 0;
    background: #ffffff;
}

.pricing-cards-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem;
    max-width: 950px;
    margin: 0 auto;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-subtle);
}

.pricing-card.trial-card {
    border-color: #a7f3d0;
    background: #ffffff;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
    background: #ffffff;
}

.popular-ribbon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.plan-icon { font-size: 2.2rem; margin-bottom: 0.85rem; }
.card-head h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.card-head p { color: var(--text-secondary); font-size: 0.88rem; }

.card-price {
    margin: 1.5rem 0;
}

.price-val {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.price-period {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
}

/* 9. FAQ Section */
.faq-section {
    padding: 70px 0;
    background: #f8fafc;
}

.faq-accordion {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-question {
    width: 100%;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    transition: transform var(--transition-normal);
    color: var(--primary);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 1rem;
}

/* 10. CTA Banner Section */
.cta-banner-section {
    padding: 50px 0;
    background: #ffffff;
}

.cta-banner-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-lg);
    padding: 3rem 1.5rem;
    box-shadow: var(--shadow-subtle);
}

.cta-banner-box h2 {
    font-size: clamp(1.75rem, 3vw, 2.3rem);
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.cta-banner-box p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
}

.cta-banner-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* 11. Footer */
.site-footer {
    background: #0f172a;
    border-top: 1px solid var(--border-color);
    padding-top: 50px;
    color: #94a3b8;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.brand-info p {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    max-width: 380px;
}

.footer-email {
    font-size: 0.8rem;
}

.footer-email a {
    color: #38bdf8;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.85rem;
}

.footer-col a:hover {
    color: #38bdf8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    font-size: 0.78rem;
    background: #090e17;
}

/* 12. Responsive Media Queries */
@media (max-width: 992px) {
    .mockup-body {
        grid-template-columns: 1fr;
    }
    .mockup-sidebar {
        flex-direction: row;
        overflow-x: auto;
    }
    .mockup-tab-btn {
        white-space: nowrap;
    }
    .pos-demo-grid {
        grid-template-columns: 1fr;
    }
    .module-detail-row, .module-detail-row.reverse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        direction: ltr;
    }
    .pricing-cards-container {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 62px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        transition: transform var(--transition-normal);
        box-shadow: var(--shadow-card);
    }
    .nav-menu.active {
        transform: translateY(0);
    }
    .mobile-toggle {
        display: flex;
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn-lg {
        width: 100%;
    }
    .table-header-row, .table-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
    }
    .stats-cards-grid {
        grid-template-columns: 1fr;
    }
}
