.mmg-2767-container {
    display: flex;
    flex-direction: row;
    min-height: 600px;
    border-radius: 24px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    font-family: system-ui, -apple-system, sans-serif;
    position: relative;
}

@media (max-width: 991px) {
    .mmg-2767-container {
        flex-direction: column;
    }
}

/* LEFT SIDE: Hero */
.mmg-2767-left {
    flex: 1;
    position: relative;
    min-height: 300px;
    overflow: hidden;
}

.mmg-2767-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    will-change: transform;
}

.mmg-2767-container:hover .mmg-2767-hero-bg {
    transform: scale(1.05);
}

.mmg-2767-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%);
}

@media (max-width: 991px) {
    .mmg-2767-hero-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    }
}

.mmg-2767-hero-content {
    position: absolute;
    bottom: 40px;
    right: 40px;
    color: white;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.mmg-2767-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.2;
    color: #fff;
}

.mmg-2767-hero-tagline {
    font-size: 1.25rem;
    margin: 0;
    opacity: 0.9;
}

/* RIGHT SIDE: Glass Panel */
.mmg-2767-right {
    flex: 1;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    position: relative;
}

.mmg-2767-glass-panel {
    width: 100%;
    max-width: 500px;
    position: relative;
    /* Optional glass effect if overlapping bg, but here it's on solid white for clean SaaS look */
}

.mmg-2767-badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.mmg-2767-panel-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 15px 0;
}

.mmg-2767-panel-desc {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

/* CARDS */
.mmg-2767-cards-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.mmg-2767-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mmg-2767-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mmg-2767-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
}

.mmg-2767-card:hover::before {
    opacity: 1;
}

.mmg-2767-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mmg-2767-card-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    transition: transform 0.3s ease, background 0.3s ease;
}

.mmg-2767-card:hover .mmg-2767-card-icon {
    background: #e0f2fe;
    transform: scale(1.1);
}

.mmg-2767-card-icon svg {
    width: 20px;
    height: 20px;
}

.mmg-2767-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    flex: 1;
}

.mmg-2767-card-arrow {
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.mmg-2767-card-arrow svg {
    width: 20px;
    height: 20px;
}

.mmg-2767-card.active .mmg-2767-card-arrow {
    transform: rotate(180deg);
}

.mmg-2767-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
    opacity: 0;
}

.mmg-2767-card.active .mmg-2767-card-content {
    max-height: 150px;
    opacity: 1;
    margin-top: 15px;
}

.mmg-2767-card-content p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* CTA BUTTON */
.mmg-2767-cta-btn {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    background: #0f172a;
    color: white;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, transform 0.2s ease;
}

.mmg-2767-cta-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
    color: white;
}

.mmg-2767-cta-glow {
    position: absolute;
    top: 0; left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: glow-swipe 3s infinite;
}

@keyframes glow-swipe {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Staggered load animation */
.mmg-2767-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

.mmg-2767-card:nth-child(1) { animation-delay: 0.1s; }
.mmg-2767-card:nth-child(2) { animation-delay: 0.2s; }
.mmg-2767-card:nth-child(3) { animation-delay: 0.3s; }
.mmg-2767-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
