/* QMS - Quantum Management Suite Styles */
/* Shared styles for all QMS pages */

:root {
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0f2442;
    --accent-color: #38b2ac;
    --accent-light: #4fd1c5;
    --accent-dark: #2c9a94;
    --text-dark: #1a202c;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --error-color: #f56565;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    min-width: 200px;
    padding: 10px 0;
    z-index: 1001;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-content a:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(56, 178, 172, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* Hero Sections */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-product {
    padding: 100px 20px 80px;
    background: #EDF4FF;
    color: var(--text-dark, #1a202c);
}

.hero-product h1 {
    color: var(--primary-color, #1a365d);
}

.hero-product p {
    color: var(--text-medium, #4a5568);
}

.hero-product .btn-outline-light {
    border-color: var(--primary-color, #1a365d);
    color: var(--primary-color, #1a365d);
}

.hero-product .btn-outline-light:hover {
    background: var(--primary-color, #1a365d);
    color: white;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Section Styles */
section {
    padding: 80px 20px;
}

section.alt-bg {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-medium);
    font-size: 1.1rem;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.feature-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

.feature-card .learn-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.feature-card .learn-more:hover {
    color: var(--accent-dark);
}

/* Product Navigation for Sub-pages */
.product-nav {
    background: var(--primary-dark);
    padding: 0;
}

.product-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.product-nav a {
    display: block;
    padding: 15px 25px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.product-nav a:hover,
.product-nav a.active {
    color: white;
    background: rgba(255,255,255,0.1);
    border-bottom-color: var(--accent-color);
}

/* Feature Detail Section */
.feature-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-detail.reverse {
    direction: rtl;
}

.feature-detail.reverse > * {
    direction: ltr;
}

.feature-detail-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-detail-content p {
    color: var(--text-medium);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.feature-detail-content ul {
    list-style: none;
    margin-bottom: 25px;
}

.feature-detail-content li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-medium);
}

.feature-detail-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.feature-image {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 30px;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.feature-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.screenshot-placeholder {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    color: var(--text-light);
    border: 2px dashed var(--border-color);
    width: 100%;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.highlight-box h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.highlight-box p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 25px;
}

/* Comparison/Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    padding: 30px;
}

.stat-item .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.stat-item .label {
    color: var(--text-medium);
    font-size: 1rem;
}

/* Benefits List */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.benefit-item .icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.benefit-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.benefit-item p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 50px 20px 30px;
}

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

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent-light);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.6);
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

/* Integration Logos */
.integrations-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    padding: 30px 0;
}

.integration-item {
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.integration-item:hover {
    opacity: 1;
}

.integration-item img {
    height: 50px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.integration-item:hover img {
    filter: grayscale(0%);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-detail.reverse {
        direction: ltr;
    }
    
    .nav-links {
        display: none;
    }
    
    .product-nav ul {
        flex-direction: column;
    }
    
    .product-nav a {
        text-align: center;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .product-nav a:hover,
    .product-nav a.active {
        border-left-color: var(--accent-color);
        border-bottom-color: transparent;
    }
    
    section {
        padding: 50px 20px;
    }
}

/* QMS-SHOP Specific Styles - Add to your existing styles.css */

/* Shop Hero Gradient */
.hero-shop {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* Order Flow */
.order-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 40px 0;
}

.flow-step {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    min-width: 140px;
}

.flow-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.flow-step h4 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.flow-step p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #ccc;
}

/* Payment Flow */
.payment-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 40px 0;
}

.payment-step {
    text-align: center;
    padding: 25px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    min-width: 180px;
    max-width: 200px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-color, #2d6cdf);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.payment-step h4 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.payment-step p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.payment-arrow {
    font-size: 1.5rem;
    color: #ccc;
    padding-top: 40px;
}

/* Processor Highlight */
.processor-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: 0 auto;
}

.processor-logo-large {
    max-height: 60px;
}

.processor-features {
    display: flex;
    gap: 40px;
    text-align: center;
}

.processor-feature strong {
    display: block;
    font-size: 1.5rem;
    color: var(--accent-color, #2d6cdf);
}

.processor-feature span {
    font-size: 0.9rem;
    color: #666;
}

/* Security Features */
.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.security-feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.security-feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.security-feature-card h3 {
    margin: 0 0 15px;
}

.security-feature-card p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.security-item {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.security-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.security-item h4 {
    margin: 0 0 10px;
}

.security-item p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Setup Steps */
.setup-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.setup-step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.setup-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color, #2d6cdf);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.setup-step h4 {
    margin: 0 0 10px;
}

.setup-step p {
    margin: 0;
    color: #666;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 700px;
    margin: 0 auto;
}

.comparison-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.comparison-card.highlight {
    border: 2px solid var(--accent-color, #2d6cdf);
}

.comparison-card h3 {
    margin: 0 0 20px;
    font-size: 1.2rem;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.comparison-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color, #2d6cdf);
    font-weight: bold;
}

/* Dashboard Preview */
.dashboard-preview {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.dashboard-stat {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.dashboard-stat .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color, #2d6cdf);
    display: block;
}

.dashboard-stat .stat-label {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin: 5px 0;
}

.dashboard-stat .stat-change {
    font-size: 0.85rem;
    display: block;
}

.dashboard-stat .stat-change.positive {
    color: #28a745;
}

.dashboard-stat .stat-change.negative {
    color: #dc3545;
}

/* Chart Features */
.chart-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.chart-feature {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.chart-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.chart-feature h4 {
    margin: 0 0 10px;
}

.chart-feature p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Email Templates */
.email-templates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.email-template {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.email-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.email-template h4 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.email-template p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

.email-features {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
}

.email-features p {
    margin: 0 0 10px;
    font-weight: 600;
}

.inline-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.inline-features li {
    position: relative;
    padding-left: 20px;
}

.inline-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color, #2d6cdf);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .order-flow,
    .payment-flow {
        flex-direction: column;
    }
    
    .flow-arrow,
    .payment-arrow {
        transform: rotate(90deg);
        padding: 0;
    }
    
    .processor-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 180px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    text-decoration: none;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.benefit-card h4 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.benefit-card p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin: 0 0 15px;
}

.feature-card p {
    margin: 0 0 15px;
    color: #666;
}

.feature-link {
    font-weight: 600;
    color: var(--accent-color, #2d6cdf);
}

/* Admin Features Grid */
.admin-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.admin-feature {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.admin-feature h4 {
    margin: 0 0 10px;
}

.admin-feature p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* ================================================
   ADD THESE MISSING STYLES TO YOUR styles.css
   ================================================ */

/* Section Alternating Background */
.section {
    padding: 80px 20px;
}

.section-alt {
    background: var(--bg-light, #f7fafc);
}

/* Hero Variants */
.hero-sm {
    padding: 60px 20px;
}

.hero-sm h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.hero-sm p {
    font-size: 1.1rem;
}

/* Button Variants */
.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-white {
    background: white;
    color: var(--primary-color, #1a365d);
}

.btn-white:hover {
    background: var(--bg-light, #f7fafc);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color, #1a365d);
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-light, #f7fafc);
    padding: 30px 20px;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.stats-bar .stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.stats-bar .stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}

.stats-bar .stat-icon {
    font-size: 1.5rem;
}

.stats-bar .stat-label {
    font-size: 0.9rem;
    color: var(--text-medium, #4a5568);
    line-height: 1.3;
}

/* Split Content (Two Column Layout) */
.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.split-content.reverse {
    direction: rtl;
}

.split-content.reverse > * {
    direction: ltr;
}

.split-text h2 {
    font-size: 2rem;
    color: var(--primary-color, #1a365d);
    margin-bottom: 20px;
}

.split-text p {
    color: var(--text-medium, #4a5568);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.split-image {
    background: linear-gradient(135deg, var(--bg-light, #f7fafc) 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 20px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Check List */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.check-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-medium, #4a5568);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color, #38b2ac);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Feature Blocks (Large Alternating Sections) */
.feature-blocks {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-block {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    align-items: start;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse > * {
    direction: ltr;
}

.feature-block-icon {
    font-size: 4rem;
    text-align: center;
}

.feature-block-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color, #1a365d);
    margin-bottom: 15px;
}

.feature-block-content p {
    color: var(--text-medium, #4a5568);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Feature List (inside feature blocks) */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-medium, #4a5568);
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color, #38b2ac);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Processor Logos Section */
.processor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.processor-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.processor-logo img {
    height: 50px;
    object-fit: contain;
}

.processor-logo span {
    font-size: 0.9rem;
    color: var(--text-medium, #4a5568);
}

/* Feature Card Link */
.feature-link {
    display: inline-block;
    color: var(--accent-color, #38b2ac);
    font-weight: 600;
    text-decoration: none;
}

.feature-link:hover {
    color: var(--accent-dark, #2c9a94);
    text-decoration: underline;
}

/* Responsive for new styles */
@media (max-width: 768px) {
    .split-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .split-content.reverse {
        direction: ltr;
    }
    
    .feature-block {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .feature-block.reverse {
        direction: ltr;
    }
    
    .feature-block-icon {
        font-size: 3rem;
    }
    
    .feature-block-content {
        text-align: left;
    }
    
    .stats-bar .stats-grid {
        gap: 30px;
    }
    
    .hero-sm h1 {
        font-size: 1.8rem;
    }
}

/* Light Theme Override for QMS-SHOP */

/* Hero - White Background */
.hero-shop {
    background: #EDF4FF;
    color: var(--text-dark, #1a202c);
}

.hero-shop h1 {
    color: var(--primary-color, #1a365d);
}

.hero-shop p {
    color: var(--text-medium, #4a5568);
}

/* Keep the outline button visible on white */
.hero-shop .btn-outline {
    border-color: var(--primary-color, #1a365d);
    color: var(--primary-color, #1a365d);
}

.hero-shop .btn-outline:hover {
    background: var(--primary-color, #1a365d);
    color: white;
}

/* Footer - White Background */
footer {
    background: white;
    color: var(--text-dark, #1a202c);
    border-top: 1px solid var(--border-color, #e2e8f0);
}

.footer-section a {
    color: var(--text-medium, #4a5568);
}

.footer-section a:hover {
    color: var(--accent-color, #38b2ac);
}

.footer-bottom {
    border-top-color: var(--border-color, #e2e8f0);
    color: var(--text-light, #718096);
}

/* CTA Section - Keep dark for contrast */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

/* Light Theme for QMS-CLUB Hero */
.hero-club {
    background: #EDF4FF;
    color: var(--text-dark, #1a202c);
}

.hero-club h1 {
    color: var(--primary-color, #1a365d);
}

.hero-club p {
    color: var(--text-medium, #4a5568);
}

.hero-club .btn-outline {
    border-color: var(--primary-color, #1a365d);
    color: var(--primary-color, #1a365d);
}

.hero-club .btn-outline:hover {
    background: var(--primary-color, #1a365d);
    color: white;
}
