/* --- SmartTrack Demo Shared Styles --- */
:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --secondary: #00D1FF;
    --dark: #1A1A1A;
    --light: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--light);
}

body.products-page {
    background: linear-gradient(120deg, var(--gray-100) 0%, var(--secondary) 100%);
    min-height: 100vh;
}

body.home-page main {
    margin-top: 120px;
}

main {
    margin-top: 120px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero section */
.hero {
    min-height: 340px;
    padding: 7rem 2rem 5rem 2rem;
    background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    margin-bottom: 3.5rem;
    color: var(--light);
    box-shadow: 0 8px 32px rgba(0,102,255,0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero h1 {
    font-size: 3.7rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
}
.hero p {
    font-size: 1.35rem;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.95;
    font-weight: 500;
}

/* Interactive elements */
.demo-section {
    margin: 2.5rem 0;
    padding: 0;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,102,255,0.04);
    border: 1px solid var(--gray-200);
    background: var(--light);
}

.form-columns .form-col-left {
    padding: 2rem;
}

/* Form elements */
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}
input, textarea {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}
button {
    background: var(--primary);
    color: var(--light);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
}
button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Scrollable content */
.scroll-content {
    height: 300px;
    overflow-y: auto;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: 12px;
    margin: 1rem 0;
    border: 1px solid var(--gray-200);
}
.scroll-content::-webkit-scrollbar {
    width: 8px;
}
.scroll-content::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 4px;
}
.scroll-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* Product grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 2.5rem 0 3rem 0;
}

.product-card {
    background: var(--light);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,102,255,0.10);
    border-color: var(--primary);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-100);
}

.product-info {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--gray-600);
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.product-button {
    background: var(--primary);
    color: var(--light);
    border: none;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    margin-top: auto;
    box-shadow: 0 2px 8px rgba(0,102,255,0.07);
}

.product-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px) scale(1.04);
}

.page-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--gray-900);
}

.page-title h1 {
    font-size: 2.7rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.page-title p {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.15rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.demo-section {
    animation: fadeIn 0.6s ease-out forwards;
}
.demo-section:nth-child(2) { animation-delay: 0.2s; }
.demo-section:nth-child(3) { animation-delay: 0.4s; }
.demo-section:nth-child(4) { animation-delay: 0.6s; }

.logo {
    border: 1px solid #ccc;
    border-radius: 8px;
}

.logo img {
    display: block;
    border-radius: 8px;
}

@media (max-width: 700px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero {
        padding: 3.5rem 1rem 2rem 1rem;
    }
    .demo-section {
        padding: 1.5rem 0.7rem;
    }
}

/* --- Header/Menu Modern Gradient Style --- */
header {
    background: linear-gradient(120deg, #1a1c27 0%, #aaadba 100%);
    color: #fff;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(40,40,80,0.18);
    min-height: 110px;
    border-bottom: 1.5px solid rgba(255,255,255,0.08);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 110px;
}
.logo img {
    height: 70px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.nav-links {
    display: flex;
    gap: 0;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1.5px;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    position: relative;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-links a.active, .nav-links a:focus, .nav-links a:hover {
    color: #ffd700;
}
.nav-links a.active::before {
    content: '';
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    z-index: -1;
    box-shadow: 0 2px 12px rgba(255,215,0,0.08);
}

/* Nav Cart Icon Styles */
.nav-cart-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}
.nav-cart-link:hover {
    background: #f0f6ff;
}
.nav-cart-link:hover svg {
    stroke: #0066cc;
}
.nav-cart-link svg {
    display: block;
}

/* Instagram Gradient for About Page Hero */
.hero span {
    background: linear-gradient(90deg, #f58529 0%, #dd2a7b 40%, #8134af 70%, #515bd4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-weight: 800;
}

/* --- Product Interactions Section (Home) --- */
.demo-section.product-interactions {
    background: linear-gradient(120deg, var(--light) 60%, var(--secondary) 100%);
    border: 1.5px solid var(--primary);
    box-shadow: 0 8px 32px rgba(0,102,255,0.07);
    padding: 3.5rem 2.5rem 2.5rem 2.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.demo-section.product-interactions::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.12;
    z-index: 0;
}
.demo-section.product-interactions h2 {
    color: var(--primary-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}
.product-interactions .product-grid {
    gap: 2rem;
    margin: 0;
}
.product-interactions .product-card {
    border: 1.5px solid var(--gray-200);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,102,255,0.04);
    background: var(--light);
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.2s;
    z-index: 1;
}
.product-interactions .product-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(0,102,255,0.10);
    transform: translateY(-6px) scale(1.03);
}
.product-interactions .product-title {
    color: var(--primary-dark);
    font-size: 1.2rem;
    font-weight: 700;
}
.product-interactions .product-description {
    color: var(--gray-600);
    font-size: 1rem;
}

footer {
    background: #1a1c27;
    color: var(--light);
    padding: 3rem 1rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-section:first-child {
    grid-column: span 2;
}

.footer-section h3 {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

.footer-section a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
}

.footer-section .logo {
    display: inline-block;
    border-radius: 5px;
    margin-bottom: 25px;
}

.footer-section .logo img {
    display: block;
    border-radius: 3px;
    height: 40px;
    max-height: 40px;
}

@media (max-width: 700px) {
    .footer-section:first-child {
        grid-column: span 1;
    }
}

/* --- Games Section (Bet/iGaming Style) --- */
.games-section {
    margin: 3.5rem 0 2.5rem 0;
    padding: 2.5rem 1rem 1.5rem 1rem;
    background: #e5ebff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,102,255,0.10);
    border: 1px solid #ccc;
    position: relative;
    overflow: hidden;
}
.games-section h2 {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
}
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.8rem;
    justify-items: center;
}
.game-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 rgba(0,102,255,0.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 1.5rem 0;
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.2s;
    min-width: 240px;
    max-width: 320px;
    width: 100%;
    position: relative;
}
.game-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px 0 rgba(0,102,255,0.18);
    transform: translateY(-6px) scale(1.03);
}
.game-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: #222b44;
}
.game-title {
    color: #333;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 1.2rem 0 1.1rem 0;
    text-align: center;
    letter-spacing: 0.2px;
}
.game-demo-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    margin-top: auto;
    box-shadow: 0 2px 8px rgba(0,102,255,0.13);
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.5px;
}
.game-demo-btn span {
    font-size: 1.2em;
    margin-left: 0.2em;
}
.game-demo-btn:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-2px) scale(1.04);
}

/* --- Form Section Two-Column Layout --- */
.form-section .form-columns {
    display: flex;
    gap: 2.5rem;
    align-items: stretch;
    justify-content: center;
}
.form-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.form-col-left {
    max-width: 480px;
}

.form-col-right {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #ffce00 0%, #cc00ff 100%);
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    padding: 0;
    min-width: 0;
}

.form-cta-image {
    max-width: 100%;
    width: 100%;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 102, 255, 0.10);
    object-fit: cover;
    display: block;
    height: 100%;
}

@media (max-width: 900px) {
    .form-section .form-columns {
        flex-direction: column;
        gap: 1.5rem;
    }
    .form-col-right {
        padding: 0.5rem;
    }
    .form-cta-image {
        max-width: 100%;
    }
}

.product-features {
    margin: 1.2rem 0 1.5rem 0;
    padding-left: 1.2rem;
    color: var(--gray-700);
    font-size: 1rem;
    list-style: disc inside;
}
.product-features li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}
.product-review {
    margin-top: 2.2rem;
    background: linear-gradient(90deg, #f5f7fa 60%, #e3eaff 100%);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 1.1rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,102,255,0.04);
    max-width: 420px;
}
.review-quote {
    font-style: italic;
    color: var(--gray-800);
    font-size: 1.08rem;
    margin-bottom: 0.7rem;
}
.review-author {
    color: var(--primary-dark);
    font-size: 0.98rem;
    font-weight: 600;
    text-align: right;
}

/* --- Modern Product Details Layout --- */
.product-detail-modern {
    display: flex;
    gap: 3.5rem;
    align-items: flex-start;
    margin: 3rem 0 2.5rem 0;
}
.product-gallery {
    flex: 1 1 380px;
    max-width: 420px;
    background: #f7f8fa;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 2rem 1.5rem;
}
.product-main-image {
    width: 100%;
    max-width: 340px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(0,102,255,0.07);
}
.product-main-info {
    flex: 2 1 480px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    min-width: 0;
}
.product-breadcrumbs {
    margin: 2rem 0 1.5rem;
    font-size: 0.95rem;
    color: #666;
    text-align: left;
    padding-left: 0;
}
.product-breadcrumbs a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s;
}
.product-breadcrumbs a:hover {
    color: #004c99;
    text-decoration: underline;
}
.product-breadcrumbs span {
    color: #333;
}
.product-title-main {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: var(--gray-900);
}
.product-price-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.product-reviews {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.1rem;
    color: #fbc02d;
    margin-bottom: 0.7rem;
}
.stars {
    font-size: 1.2em;
    color: #fbc02d;
    letter-spacing: 1px;
}
.review-count {
    color: var(--gray-500);
    font-size: 1em;
}
.product-variants {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 0.7rem;
}
.variant-label {
    font-size: 1rem;
    color: var(--gray-700);
    font-weight: 500;
}
.variant-swatches {
    display: flex;
    gap: 0.5rem;
}
.swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #eee;
    display: inline-block;
    cursor: pointer;
    margin-right: 0.2rem;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.swatch-black { background: #222; }
.swatch-blue { background: #0066FF; }
.swatch-white { background: #fff; border: 2px solid #bbb; }
.swatch.selected, .swatch:hover { border: 2.5px solid var(--primary); box-shadow: 0 2px 8px rgba(0,102,255,0.10); }
.product-selectors {
    margin-bottom: 1.2rem;
}
.product-selectors label {
    font-size: 1rem;
    color: var(--gray-700);
    margin-right: 0.7rem;
}
.product-selectors select {
    padding: 0.5rem 1.2rem;
    border-radius: 7px;
    border: 1px solid var(--gray-300);
    font-size: 1rem;
    margin-right: 0.7rem;
    background: #f7f8fa;
    color: var(--gray-800);
}
.product-add-to-cart {
    background: #0066cc;
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    flex: 1;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-add-to-cart:hover {
    background: #004c99;
}
.product-delivery {
    color: var(--gray-600);
    font-size: 0.98rem;
    margin-bottom: 1.2rem;
}
.product-tabs {
    display: flex;
    gap: 1.2rem;
    margin: 1.2rem 0 0.5rem 0;
}
.tab {
    background: none;
    border: none;
    color: var(--gray-700);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}
.tab.active, .tab:hover {
    background: #f7f8fa;
    color: var(--primary);
}
.tab-content {
    background: #f7f8fa;
    border-radius: 0 0 10px 10px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
    font-size: 1.05rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.product-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 3.5rem 0 1.5rem 0;
}
.info-card {
    background: #f7f8fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,102,255,0.04);
    padding: 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 120px;
}
.info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.7rem;
}
.info-desc {
    color: var(--gray-700);
    font-size: 0.98rem;
    line-height: 1.5;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    align-items: stretch;
}

.go-to-cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border: 2px solid #0066cc;
    border-radius: 6px;
    transition: all 0.2s;
    height: 48px;
    min-width: 120px;
}

.go-to-cart-link:hover {
    background: #0066cc;
    color: #fff;
}

.go-to-cart-link::before {
    content: "🛒";
}

@media (max-width: 900px) {
    .product-detail-modern {
        flex-direction: column;
        gap: 2rem;
    }
    .product-gallery {
        max-width: 100%;
        padding: 1rem 0.5rem;
    }
    .product-main-info {
        gap: 0.7rem;
    }
    .product-info-cards {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* --- Cart Page Styles (moved from cart.html, blue color scheme) --- */
.cart-page main { max-width: 900px; margin: 0 auto; margin-top: 120px; padding: 2rem; }
.cart-list { border-radius: 12px; background: #fff; box-shadow: 0 2px 12px #0001; margin-bottom: 2rem; }
.cart-item { display: flex; align-items: center; border-bottom: 1px solid #eee; padding: 1rem; }
.cart-item:last-child { border-bottom: none; }
.cart-item-image { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; margin-right: 1.5rem; }
.cart-item-info { flex: 1; }
.cart-item-title { font-weight: 600; font-size: 1.1rem; margin-bottom: 0.3rem; }
.cart-item-options span { background: #f4f4f4; border-radius: 4px; padding: 2px 8px; margin-right: 6px; font-size: 0.95em; }
.cart-item-price { color: #444; margin: 0.5rem 0; }
.cart-item-qty { font-size: 0.95em; color: #666; }
.cart-item-total { font-weight: 600; font-size: 1.1rem; margin-left: 1.5rem; }
.remove-from-cart { background: #ffeded; color: #c00; border: none; border-radius: 4px; padding: 4px 12px; cursor: pointer; margin-top: 0.5rem; }
.remove-from-cart:hover { background: #ffd6d6; }
.cart-summary { display: flex; justify-content: flex-end; align-items: center; font-size: 1.2rem; margin-bottom: 1.5rem; }
.cart-total-label { margin-right: 1rem; font-weight: 600; }
.cart-total-value { font-size: 1.3rem; color: #0066cc; font-weight: 700; }
.checkout-btn { background: #0066cc; color: #fff; border: none; border-radius: 6px; padding: 0.8rem 2.5rem; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.checkout-btn:hover { background: #004c99; }
.cart-empty { text-align: center; color: #888; font-size: 1.2rem; margin: 3rem 0; }

/* Checkout Page Styles */
.checkout-page main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    margin-top: 120px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.checkout-form {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px #0001;
}

.checkout-form h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0,102,204,0.1);
}

.checkout-summary {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px #0001;
    position: sticky;
    top: 2rem;
}

.checkout-summary h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #eee;
    font-weight: 600;
    font-size: 1.2rem;
}

.place-order-btn {
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    margin-top: 1.5rem;
}

.place-order-btn:hover {
    background: #004c99;
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary {
        position: static;
    }
}

/* Data Sources Icon Grid Styles */
.data-sources {
    background: #f7faff;
    padding: 2rem 1.5rem 2.5rem 1.5rem;
    border-radius: 14px;
    margin: 2.5rem 0;
    border-left: 4px solid #0066cc;
    box-shadow: 0 2px 12px #0066cc11;
}
.data-sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem 1.5rem;
    margin-top: 1.5rem;
    justify-items: center;
}
.data-source-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    border: 1.5px solid #e3eaf5;
    border-radius: 10px;
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    box-shadow: 0 2px 8px #0066cc08;
    transition: box-shadow 0.2s, border-color 0.2s;
    min-width: 100px;
    min-height: 120px;
}
.data-source-item:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 16px #0066cc22;
}
.data-source-icon {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}
.data-source-label {
    font-size: 1rem;
    color: #0066cc;
    font-weight: 600;
    text-align: center;
    margin-top: 0.2rem;
    letter-spacing: 0.01em;
}

/* Pixel Sources Icon Grid Styles */
.pixel-sources {
    background: #f7faff;
    padding: 2rem 1.5rem 2.5rem 1.5rem;
    border-radius: 14px;
    margin: 2.5rem 0;
    border-left: 4px solid #0066cc;
    box-shadow: 0 2px 12px #0066cc11;
}
.pixel-sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem 1.5rem;
    margin-top: 1.5rem;
    justify-items: center;
}
.pixel-source-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    border: 1.5px solid #e3eaf5;
    border-radius: 10px;
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    box-shadow: 0 2px 8px #0066cc08;
    transition: box-shadow 0.2s, border-color 0.2s;
    min-width: 120px;
    min-height: 120px;
    max-width: 200px;
    word-break: break-all;
}
.pixel-source-item:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 16px #0066cc22;
}
.pixel-source-icon {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}
.pixel-source-label {
    font-size: 1rem;
    color: #0066cc;
    font-weight: 600;
    text-align: center;
    margin-top: 0.2rem;
    letter-spacing: 0.01em;
}
.pixel-source-url {
    font-size: 0.92rem;
    color: #444;
    background: #f7faff;
    border-radius: 5px;
    padding: 0.3rem 0.5rem;
    margin-top: 0.6rem;
    width: 100%;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 170px;
    box-sizing: border-box;
}

/* About Page Capabilities Grid Styles */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.2rem 1.5rem;
    margin: 0 auto 3rem auto;
    justify-items: center;
}
.capability-card {
    background: #fff;
    border: 1.5px solid #e3eaf5;
    border-radius: 14px;
    box-shadow: 0 2px 8px #0066cc08;
    padding: 2.2rem 1.2rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    min-height: 220px;
    max-width: 320px;
    transition: box-shadow 0.2s, border-color 0.2s;
    text-align: center;
}
.capability-card:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 16px #0066cc22;
}
.capability-icon {
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
}
.capability-title {
    font-size: 1.18rem;
    color: #0066cc;
    font-weight: 700;
    margin-bottom: 0.7rem;
    letter-spacing: 0.01em;
}
.capability-desc {
    font-size: 1rem;
    color: #444;
    font-weight: 400;
    line-height: 1.5;
}

/* Blog Page Grid Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.2rem 1.5rem;
    margin: 0 auto 3rem auto;
    justify-items: center;
}
.blog-card {
    background: #fff;
    border: 1.5px solid #e3eaf5;
    border-radius: 14px;
    box-shadow: 0 2px 8px #0066cc08;
    padding: 2.2rem 1.2rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 220px;
    min-height: 180px;
    max-width: 340px;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.blog-card:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 16px #0066cc22;
    transform: translateY(-4px) scale(1.03);
}
.blog-card-type {
    font-size: 0.95rem;
    color: #0066cc;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.blog-card-title {
    font-size: 1.18rem;
    color: #222;
    font-weight: 700;
    margin-bottom: 0.7rem;
    letter-spacing: 0.01em;
}
.blog-card-desc {
    font-size: 1rem;
    color: #444;
    font-weight: 400;
    line-height: 1.5;
}

/* FAQ Accordion Styles */
.faq-list {
    width: 100%;
}
.faq-item {
    margin-bottom: 1.2rem;
    border-radius: 10px;
    background: #f7faff;
    box-shadow: 0 2px 8px #0066cc08;
    border: 1.5px solid #e3eaf5;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-item:focus-within, .faq-item:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 16px #0066cc22;
}
.faq-q {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: #0066cc;
    font-size: 1.13rem;
    font-weight: 700;
    text-align: left;
    padding: 1.1rem 1.5rem 1.1rem 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    transition: background 0.2s;
}
.faq-q:focus, .faq-q[aria-expanded="true"] {
    background: #eaf4ff;
}
.faq-toggle {
    font-size: 1.5rem;
    font-weight: 900;
    margin-left: 1rem;
    color: #0066cc;
    transition: color 0.2s;
    width: 1.5em;
    text-align: center;
    user-select: none;
}
.faq-a {
    padding: 0 1.5rem 1.1rem 1.5rem;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.6;
    background: #fff;
    border-radius: 0 0 10px 10px;
    animation: faqOpen 0.3s cubic-bezier(.4,2,.6,1) both;
}
@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom Events Section */
.custom-events-section {
    margin: 2.5rem 0;
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,102,255,0.04);
    border: 1px solid var(--gray-200);
    background: var(--light);
}

.custom-events-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
    text-align: center;
}

.custom-events-section p {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.event-category {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.event-category h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
    font-weight: 600;
}

.event-btn {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.event-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.event-btn.success {
    background-color: #28a745;
    color: white;
}

.event-btn.success:hover {
    background-color: #218838;
}

.event-btn.info {
    background-color: #17a2b8;
    color: white;
}

.event-btn.info:hover {
    background-color: #138496;
}

.event-btn.warning {
    background-color: #ffc107;
    color: #212529;
}

.event-btn.warning:hover {
    background-color: #e0a800;
}

.event-btn.danger {
    background-color: #dc3545;
    color: white;
}

.event-btn.danger:hover {
    background-color: #c82333;
}

.event-btn.log {
    background-color: #6c757d;
    color: white;
}

.event-btn.log:hover {
    background-color: #5a6268;
}

.event-log-container {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.event-log-container h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
    font-weight: 600;
}

.event-log {
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 1rem;
}

.event-entry {
    margin: 8px 0;
    padding: 12px;
    background: var(--gray-50);
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.4;
}

.event-entry strong {
    color: var(--primary);
    font-weight: 600;
}

.event-entry small {
    color: var(--gray-500);
    display: block;
    margin: 4px 0;
}

.event-entry code {
    background: white;
    padding: 4px 6px;
    border-radius: 3px;
    border: 1px solid var(--gray-200);
    font-size: 0.8rem;
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width: 768px) {
    .custom-events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-category {
        padding: 1rem;
    }
    
    .custom-events-section {
        padding: 1.5rem;
    }
}

/* Buyer Agent Events Section */
.buyer-agent-events-section {
    margin: 2.5rem 0;
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,102,255,0.04);
    border: 1px solid var(--gray-200);
    background: var(--light);
}

.buyer-agent-events-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
    text-align: center;
}

.buyer-agent-events-section p {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.buyer-agent-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .buyer-agent-events-grid {
        grid-template-columns: 1fr;
    }
    
    .buyer-agent-events-section {
        padding: 1.5rem;
    }
    
    .demos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .demo-card {
        flex-direction: column;
        text-align: center;
    }
    
    .demo-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
}

/* --- Demos Navigation Section --- */
.demos-navigation-section {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    text-align: center;
}

.demos-navigation-section h2 {
    color: var(--gray-800);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.demos-navigation-section p {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.demo-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.demo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.demo-icon {
    font-size: 3rem;
    line-height: 1;
    flex-shrink: 0;
}

.demo-content {
    flex: 1;
}

.demo-content h3 {
    color: var(--gray-800);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.demo-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.demo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.demo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.demo-link:hover {
    color: var(--primary-dark);
    gap: 0.8rem;
}