
/* Buying-motion cards — 2x2 grid on desktop */
.buying-motions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media (max-width: 768px) { .buying-motions-grid { grid-template-columns: 1fr; } }

.buying-motion-card {
    background: linear-gradient(135deg, rgba(15, 20, 30, 0.8), rgba(15, 20, 30, 0.5));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(96, 165, 250, 0.12);
    border-radius: 16px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.buying-motion-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--card-accent, #3b82f6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.buying-motion-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.08);
}
.buying-motion-card:hover::before { opacity: 1; }
.buying-motion-card .card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s;
}
.buying-motion-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}
.buying-motion-card:hover h3 { color: #93c5fd; }
.buying-motion-card p {
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
}
.buying-motion-card .card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.3s;
}
.buying-motion-card:hover .card-cta { gap: 0.75rem; }

/* Card A + B — LLM Gateway accent (blue) */
.buying-motion-card.motion-gateway { --card-accent: #60a5fa; }
.buying-motion-card.motion-gateway .card-icon { color: #60a5fa; background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(96, 165, 250, 0.08)); }
.buying-motion-card.motion-gateway:hover .card-icon { background: linear-gradient(135deg, rgba(96, 165, 250, 0.3), rgba(96, 165, 250, 0.15)); box-shadow: 0 0 20px rgba(96, 165, 250, 0.15); }
.buying-motion-card.motion-gateway .card-cta { color: #60a5fa; }

/* Card C — Magic Runtime accent (purple) */
.buying-motion-card.motion-runtime { --card-accent: #a78bfa; }
.buying-motion-card.motion-runtime .card-icon { color: #a78bfa; background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), rgba(167, 139, 250, 0.08)); }
.buying-motion-card.motion-runtime:hover .card-icon { background: linear-gradient(135deg, rgba(167, 139, 250, 0.3), rgba(167, 139, 250, 0.15)); box-shadow: 0 0 20px rgba(167, 139, 250, 0.15); }
.buying-motion-card.motion-runtime .card-cta { color: #a78bfa; }

/* Card D — Security accent (emerald) */
.buying-motion-card.motion-security { --card-accent: #34d399; }
.buying-motion-card.motion-security .card-icon { color: #34d399; background: linear-gradient(135deg, rgba(52, 211, 153, 0.2), rgba(52, 211, 153, 0.08)); }
.buying-motion-card.motion-security:hover .card-icon { background: linear-gradient(135deg, rgba(52, 211, 153, 0.3), rgba(52, 211, 153, 0.15)); box-shadow: 0 0 20px rgba(52, 211, 153, 0.15); }
.buying-motion-card.motion-security .card-cta { color: #34d399; }

/* Role cards — compact 4-col grid */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
@media (max-width: 960px) { .roles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .roles-grid { grid-template-columns: 1fr; } }

/* Product backbone — dual callout */
.product-backbone {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media (max-width: 768px) { .product-backbone { grid-template-columns: 1fr; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .buying-motion-card { transition: border-color 0.2s, box-shadow 0.2s; }
    .buying-motion-card:hover { transform: none; }
}
