/* MK-Industries Flagship Portal Stylesheet */
:root {
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    --vde-green: #3fa535;
    --vde-green-dark: #2e983c;
    --vde-green-light: rgba(63, 165, 53, 0.12);
    --vde-green-glow: rgba(63, 165, 53, 0.25);
    
    --flow-blue: #0284c7;
    --flow-blue-light: rgba(2, 132, 199, 0.12);
    
    --bg-base: #f0f3f6;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.9);
    --metallic-silver: #d1d5db;
    --metallic-border: #f0f3f6;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    background-image: 
        radial-gradient(circle at 10% 15%, rgba(63, 165, 53, 0.06), transparent 35%),
        radial-gradient(circle at 90% 70%, rgba(2, 132, 199, 0.05), transparent 35%);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Ensure UI elements render above the canvas background */
header, footer, main, nav, section, .hero-section, .products-section, .bundle-section {
    position: relative;
    z-index: 1;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    border-radius: 20px;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    margin: 20px 24px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    background: linear-gradient(135deg, var(--vde-green), var(--vde-green-dark));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--vde-green-glow);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.trademark {
    font-size: 0.8rem;
    vertical-align: top;
    color: var(--vde-green);
    margin-left: 2px;
}

.sub-badge {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s;
}

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

.nav-btn-outline {
    padding: 8px 16px;
    border: 1px solid var(--metallic-silver);
    border-radius: 8px;
}

.nav-btn-primary {
    padding: 8px 16px;
    background: var(--vde-green);
    color: white !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--vde-green-glow);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 48px 24px 32px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--vde-green-light);
    color: var(--vde-green-dark);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: var(--vde-green);
    color: white;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 16px var(--vde-green-glow);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--vde-green-glow);
}

.btn-hero-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.btn-hero-secondary:hover {
    background: var(--vde-green-light);
    color: var(--vde-green-dark);
    box-shadow: 0 4px 12px var(--vde-green-glow);
}

/* Products Showcase */
.products-section {
    max-width: 1140px;
    margin: 32px auto 48px;
    padding: 0 24px;
    width: 100%;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.product-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.product-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-accent {
    background: var(--vde-green-light);
    color: var(--vde-green);
}

.flow-accent {
    background: var(--flow-blue-light);
    color: var(--flow-blue);
}

.product-status-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--vde-green-light);
    color: var(--vde-green-dark);
}

.flow-tag {
    background: var(--flow-blue-light);
    color: var(--flow-blue);
}

.product-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.product-features {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.product-features li svg {
    color: var(--vde-green);
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: var(--vde-green);
    color: white;
    box-shadow: 0 4px 14px var(--vde-green-glow);
}

.btn-primary:hover {
    background-color: var(--vde-green-dark);
}

.btn-flow {
    background-color: var(--flow-blue);
    color: white;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.btn-flow:hover {
    background-color: #0369a1;
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* Bundle Section */
.bundle-section {
    max-width: 1140px;
    margin: 0 auto 48px;
    padding: 0 24px;
    width: 100%;
}

.bundle-card {
    padding: 44px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(240, 253, 244, 0.8));
    border: 1.5px solid rgba(63, 165, 53, 0.3);
}

.bundle-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.bundle-title {
    font-size: 2rem;
    margin-bottom: 8px;
}

.bundle-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.bundle-pricing-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 32px;
}

.bundle-price-box {
    background: white;
    padding: 24px 32px;
    border-radius: 16px;
    border: 1px solid var(--metallic-silver);
    text-align: center;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.current-price {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--vde-green-dark);
}

.price-period {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.save-tag {
    margin-top: 6px;
    display: inline-block;
    background: var(--vde-green-light);
    color: var(--vde-green-dark);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.bundle-includes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Footer */
.main-footer {
    margin: auto 24px 24px;
    padding: 24px 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: var(--vde-green);
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .bundle-pricing-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 600px) {
    .main-header {
        flex-direction: column;
        gap: 16px;
        padding: 16px 20px;
        margin: 12px;
    }
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .hero-section {
        padding: 32px 16px 24px;
    }
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    .product-card, .bundle-card {
        padding: 24px 20px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

