/* =========================================
   Emart Media Base Styles
   Stripe-inspired clean SaaS look
========================================= */

:root {
    --primary: #4f6ef7;
    --primary-dark: #3b55d1;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
    --border-light: #e5e7eb;
}

/* Global */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    background: #ffffff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    color: var(--text-dark);
}

/* Navbar */
.navbar {
    padding: 0.8rem 0;
}

.navbar-brand img {
    height: 64px;
}

/* Buttons */
.navbar .btn {
    padding: 8px 16px;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
}

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

.btn-outline-secondary {
    border-radius: 8px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Cards */
.card {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.card img {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Sections */
section {
    padding: 70px 0;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* Footer */
footer {
    background: #ffffff;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 1px solid var(--border-light);
    padding: 10px 12px;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.15);
}

/* Utility */
.text-muted {
    color: var(--text-muted) !important;
}

/* Feature Blocks */
.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 110, 247, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    color: var(--primary);
}

/* Pricing (future use) */
.pricing-card {
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.pricing-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
}


/* Hero image styling */
.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
        text-align: center;
    }

    .hero-image {
        margin-top: 25px;
        max-width: 90%;
    }
}

.hero-image-wide {
    max-width: 110%;
}

/* =========================================
   Services Layout
========================================= */

.service-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 14px;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
    align-items: flex-start;
    gap: 18px;
    height: 100%;
    transition: 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.service-icon {
    min-width: 70px;
    height: 70px;
    background: rgba(79, 110, 247, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 40px;
    height: auto;
}

.service-content h4 {
    margin-bottom: 6px;
    font-weight: 600;
}

.service-content p {
    margin-bottom: 0;
    color: var(--text-muted);
}

/* Mobile stacking */
@media (max-width: 768px) {
    .service-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-icon {
        margin-bottom: 10px;
    }
}

/* Service CTA buttons */
.service-cta {
    margin-top: 12px;
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.capability-list {
    list-style: none;
    padding-left: 0;
}

.capability-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-muted);
}

/* =========================================
   Product Cards
========================================= */

.product-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
    transition: 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

/* Image container */
.product-image {
    width: 100%;
    max-height:600px;
    object-fit: contain;
    padding: 20px;
    background: #f8fafc;
}

/* Body */
.product-body {
    padding: 24px;
    flex-grow: 1;
}

.product-body h5 {
    margin-bottom: 10px;
    font-weight: 600;
}

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

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px dashed var(--border-light);
    min-height: 280px;
}

/* =========================================
   Cookie Banner
========================================= */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 16px 20px;
    z-index: 9999;
    display: none;
}

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

.cookie-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 700px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

/* Mobile */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        justify-content: center;
    }
}

/* =========================================
   Pricing
========================================= */

.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-light);
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.04);
    height: 100%;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.03);
}

.pricing-card h4 {
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
}

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

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pricing-card ul li {
    padding: 6px 0;
    color: var(--text-muted);
}

/* =========================================
   Dashboard
========================================= */

.dashboard-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
    height: 100%;
}

