/* RestroBiz Marketing Stylesheet - Premium Dark Theme & Glassmorphism */

:root {
    --bg-dark: #070913;
    --bg-card: rgba(18, 24, 47, 0.6);
    --bg-card-hover: rgba(26, 35, 68, 0.8);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-focus: rgba(99, 102, 241, 0.4);
    
    --primary: #818cf8;
    --primary-grad: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --primary-glow: rgba(99, 102, 241, 0.5);
    
    --success: #34d399;
    --success-grad: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --success-glow: rgba(16, 185, 129, 0.4);
    
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --text-dim: #94a3b8;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --blur-strength: 16px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Ambient Background Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    mix-blend-mode: screen;
    animation: floatBlob 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: #6366f1;
}

.blob-2 {
    bottom: -10%;
    left: 5%;
    width: 600px;
    height: 600px;
    background: #a855f7;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: #10b981;
    animation-delay: -10s;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 40px) scale(1.1); }
}

/* Grid overlay for tech look */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    pointer-events: none;
}

/* Typography & Layouts */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

p {
    color: var(--text-muted);
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: 120px 0;
    position: relative;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .section {
        padding: 72px 0;
    }
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 9, 19, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-fast);
}

.navbar.scrolled {
    background: rgba(7, 9, 19, 0.94);
    padding: 10px 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -0.03em;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-grad);
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 0 20px var(--primary-glow);
}

.navbar-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    margin-left: 56px;
}

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-grad);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    gap: 10px;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--primary-grad);
    color: white;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.btn-success {
    background: var(--success-grad);
    color: white;
    box-shadow: 0 4px 24px rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(16, 185, 129, 0.6);
}

/* Glass Card Style */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px 36px;
    transition: var(--transition-smooth);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-5px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    padding-top: 150px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.hero-title {
    font-size: clamp(38px, 4.2vw, 64px);
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.gradient-text {
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(16px, 1.25vw, 20px);
    line-height: 1.65;
    margin-bottom: 40px;
    max-width: 620px;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Floating Mockups */
.mockup-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
}

.mockup-card {
    position: absolute;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.mockup-main {
    top: 10%;
    left: 0;
    width: 85%;
    height: 70%;
    background: linear-gradient(145deg, #13172e, #0c0f20);
    z-index: 2;
    padding: 16px;
    overflow: hidden;
}

.mockup-widget-1 {
    top: 0;
    right: 0;
    width: 45%;
    height: 35%;
    background: rgba(185, 28, 28, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    backdrop-filter: blur(10px);
    z-index: 3;
    animation: floatWidget 6s infinite alternate ease-in-out;
}

.mockup-widget-2 {
    bottom: 5%;
    right: 5%;
    width: 50%;
    height: 40%;
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(10px);
    z-index: 4;
    animation: floatWidget 8s infinite alternate-reverse ease-in-out;
}

@keyframes floatWidget {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

/* Interactive POS Simulator */
.pos-simulator {
    margin-top: 64px;
    background: #0e1224;
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.simulator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.simulator-title {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
}

.simulator-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 24px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
}

.menu-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 100%;
    color: inherit;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-card:hover, .menu-card:focus-visible {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    transform: scale(1.03);
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.menu-card-img {
    font-size: 32px;
    margin-bottom: 8px;
}

.menu-card-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.menu-card-price {
    font-size: 13px;
    color: var(--success);
    font-weight: 700;
}

.cart-panel {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 320px;
}

.cart-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 8px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 16px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 10px;
    animation: slideInItem 0.25s ease-out;
}

@keyframes slideInItem {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.cart-totals {
    border-top: 1px solid var(--border-glass);
    padding-top: 12px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
}

/* ROI/Savings Calculator */
.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.slider-group {
    margin-bottom: 32px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
}

.slider-value {
    color: var(--primary);
    font-weight: 700;
}

.calc-slider {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    border-radius: 3px;
    -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-grad);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-glow);
    transition: var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-result-box {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.result-val {
    font-size: 48px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--success);
    line-height: 1;
    margin-bottom: 8px;
}

.result-lbl {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Features Tabs */
.features-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary-grad);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.tab-content {
    display: none;
    animation: fadeInTab 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

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

/* Pricing Grid */
.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.toggle-switch {
    width: 60px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    position: relative;
    cursor: pointer;
    transition: var(--transition-fast);
}

.toggle-pill {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.toggle-switch.active {
    background: var(--primary);
}

.toggle-switch.active .toggle-pill {
    left: 32px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.pricing-card {
    position: relative;
    padding: 44px 36px;
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 24px 60px rgba(99, 102, 241, 0.25);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-grad);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.price-box {
    margin: 28px 0;
}

.price-currency {
    font-size: 26px;
    vertical-align: super;
    font-weight: 700;
    color: var(--primary);
}

.price-amount {
    font-size: 60px;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
}

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

.pricing-limits {
    border-top: 1px solid var(--border-glass);
    margin-top: 28px;
    padding-top: 28px;
    list-style: none;
}

.pricing-limits li {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin-bottom: 14px;
}

/* Comparison Matrix */
.matrix-section {
    margin-top: 112px;
}

.matrix-title {
    text-align: center;
    margin-bottom: 56px;
}

.matrix-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: var(--bg-card);
}

.matrix-table th, .matrix-table td {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-glass);
}

.matrix-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    background: rgba(0, 0, 0, 0.3);
}

.matrix-category {
    font-weight: 700;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.02);
}

.matrix-desc {
    font-size: 12px;
    color: var(--text-dim);
    display: block;
    margin-top: 4px;
}

/* Accordion */
.accordion {
    max-width: 800px;
    margin: 48px auto 0;
}

.accordion-item {
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    background: var(--bg-card);
}

.accordion-header {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.accordion-icon {
    font-size: 14px;
    transition: transform var(--transition-fast);
    color: var(--primary);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
    padding: 0 24px;
    color: var(--text-muted);
}

.accordion-item.active .accordion-body {
    padding-bottom: 20px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

/* Contact Form & Input Styling */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

.form-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-glass);
    background: rgba(7, 9, 19, 0.95);
    padding: 96px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 56px;
    margin-bottom: 64px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footer-brand p {
    margin-top: 16px;
    max-width: 360px;
    font-size: 14.5px;
    line-height: 1.65;
}

.footer-title {
    font-size: 17px;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
    font-size: 14.5px;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 36px;
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-grad);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Utility Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
}

/* Responsive adjust */
@media (max-width: 992px) {
    .navbar .container {
        position: relative;
    }

    .navbar .logo-text {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0 !important;
        padding: 0 !important;
    }

    .mobile-nav-toggle {
        display: flex !important;
    }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #070913; /* Solid background prevents text overlap */
        border-bottom: 1px solid var(--border-glass);
        padding: 24px;
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        z-index: 2000 !important; /* Stack above hero contents */
        margin-left: 0 !important; /* Reset desktop left margin offset */
    }
    
    .navbar-menu.open {
        display: flex;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-align: left;
        font-size: 16px !important;
    }

    .nav-link::after {
        display: none !important; /* Hide hover line indicator on mobile */
    }

    #companyDropdownTrigger {
        padding: 12px 0 !important;
        width: 100% !important;
        justify-content: space-between !important;
        color: var(--text-muted) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    
    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 12px;
    }
    
    .nav-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px !important; /* Larger comfortable button targets */
        font-size: 15px !important;
    }
    
    .dropdown-content {
        position: static;
        transform: none;
        background: rgba(255, 255, 255, 0.02);
        box-shadow: none;
        margin-top: 4px;
        min-width: 100%;
        border: none;
        border-radius: 6px;
        padding: 4px 0;
    }

    .dropdown-content a {
        padding: 12px 20px !important;
        font-size: 14px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.02) !important;
    }

    .dropdown-content a:last-child {
        border-bottom: none !important;
    }

    .hero-grid, .calc-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer {
        text-align: center !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand .logo-text {
        justify-content: center !important;
    }

    .footer-brand p {
        margin: 16px auto 0 !important;
    }

    .footer-bottom {
        justify-content: center !important;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 40px;
    }
}

/* Dropdown Navigation Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #0b0f19;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    z-index: 100;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 0;
    backdrop-filter: blur(var(--blur-strength));
}

.dropdown-content a {
    color: var(--text-muted);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
    text-align: left;
}

.dropdown-content a:hover {
    background-color: rgba(99, 102, 241, 0.1);
    color: white;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}

/* Date & Time Picker Custom Dark Theme indicators */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-fast);
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Story Filters Layout */
.story-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-grad);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* Accessibility Utilities */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.visually-hidden-focusable:focus {
    position: fixed !important;
    top: 16px !important;
    left: 16px !important;
    width: auto !important;
    height: auto !important;
    padding: 12px 24px !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    background-color: var(--primary) !important;
    color: white !important;
    border-radius: 8px !important;
    border: 2px solid white !important;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.6) !important;
    z-index: 99999 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* Custom High-Contrast Focus Visible Rings */
:focus-visible {
    outline: 3px solid var(--primary) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.4) !important;
}

/* Ensure focus states on text inputs and standard buttons are clear */
.form-input:focus-visible, .btn:focus-visible, .nav-link:focus-visible, .dropdown-content a:focus-visible {
    outline: 3px solid var(--primary) !important;
    outline-offset: 2px !important;
}

/* Responsive Grid & Text Overrides */
@media (max-width: 768px) {
    /* Stack inline grid elements that have 2 columns */
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr;"],
    div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Stack solutions tab panels that use 1.2fr 0.8fr */
    div[style*="grid-template-columns: 1.2fr 0.8fr"],
    div[style*="grid-template-columns: 1.2fr 0.8fr;"],
    div[style*="grid-template-columns:1.2fr 0.8fr"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Stack interactive POS simulator grid (catalog + cart) */
    .simulator-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    /* Stack hero mockup POS layout if matching 2fr 1fr */
    div[style*="grid-template-columns: 2fr 1fr"],
    div[style*="grid-template-columns: 2fr 1fr;"],
    div[style*="grid-template-columns:2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        height: auto !important;
    }
    
    /* Adjust heights for mobile container of hero mockup */
    .mockup-container {
        height: 380px !important;
    }
    
    .mockup-main {
        height: auto !important;
        min-height: 260px !important;
        padding: 12px !important;
    }
    
    /* Shrink sizes of floating widgets slightly so they don't cover everything */
    .mockup-widget-1 {
        width: 50% !important;
        height: auto !important;
        top: -10px !important;
    }
    
    .mockup-widget-2 {
        width: 55% !important;
        height: auto !important;
        bottom: -20px !important;
        right: 0 !important;
    }
    
    .container {
        padding: 0 16px !important;
    }
    
    .section {
        padding: 48px 0 !important;
    }

    h1, .hero-title {
        font-size: 32px !important;
    }
}

/* Testimonials Carousel */
.testimonials-carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.testimonials-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    box-sizing: border-box;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dots .dot.active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 8px var(--primary-glow);
}

/* ==========================================================================
   Interactive Accessibility Panel (WCAG 2.2 AA / AAA Compliance Toolbar)
   ========================================================================== */
#a11y-trigger-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 99999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #6366f1;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.2s ease, background 0.2s ease;
}
#a11y-trigger-btn:hover, #a11y-trigger-btn:focus-visible {
    transform: scale(1.1);
    outline: 3px solid #818cf8;
    outline-offset: 3px;
    background: #4f46e5;
}

#a11y-panel-modal {
    position: fixed;
    bottom: 84px;
    left: 24px;
    z-index: 99999;
    width: 320px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    display: none;
    flex-direction: column;
    gap: 16px;
    backdrop-filter: blur(12px);
    color: #f8fafc;
}
#a11y-panel-modal.active {
    display: flex;
}
.a11y-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}
.a11y-title {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 8px;
}
.a11y-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}
.a11y-close-btn:hover { color: #ffffff; }

.a11y-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.a11y-opt-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    transition: all 0.2s ease;
}
.a11y-opt-btn:hover, .a11y-opt-btn:focus-visible {
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
    color: #ffffff;
    outline: 2px solid #818cf8;
}
.a11y-opt-btn.active {
    background: #6366f1;
    color: #ffffff;
    border-color: #818cf8;
}

/* Accessibility Body Modifier Classes */
body.large-text { font-size: 115% !important; }
body.high-contrast {
    background-color: #000000 !important;
    color: #ffffff !important;
}
body.high-contrast .glass-card, body.high-contrast header {
    background: #111111 !important;
    border-color: #ffffff !important;
}
body.dyslexic-font, body.dyslexic-font * {
    font-family: 'Comic Sans MS', 'OpenDyslexic', sans-serif !important;
    letter-spacing: 0.05em !important;
}
body.highlight-links a {
    background: #facc15 !important;
    color: #000000 !important;
    font-weight: 800 !important;
    padding: 2px 4px !important;
    border-radius: 4px !important;
    text-decoration: underline !important;
}
#a11y-reading-ruler {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 36px;
    background: rgba(250, 204, 21, 0.25);
    border-top: 2px solid #facc15;
    border-bottom: 2px solid #facc15;
    pointer-events: none;
    z-index: 999999;
    display: none;
}
#a11y-reading-ruler.active { display: block; }


