/* ═════════════════════════════════════════════════════════════
   CM COLLECTION - Homepage Styles
   ═════════════════════════════════════════════════════════════ */

/* ─── Hero Section ─── */
.cm-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--cm-bg-dark);
    overflow: hidden;
    padding: 100px 0;
}

/* Background gradient blobs */
.cm-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.cm-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}

.cm-hero-blob-1 {
    width: 600px;
    height: 600px;
    background: rgba(0, 168, 232, 0.15); /* cyan */
    top: -100px;
    left: -100px;
}

.cm-hero-blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(0, 124, 195, 0.1); /* darker cyan */
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Hero Content */
.cm-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cm-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 168, 232, 0.1);
    color: var(--cm-primary);
    border: 1px solid rgba(0, 168, 232, 0.2);
    border-radius: var(--cm-radius-pill);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.cm-hero-title {
    font-family: var(--cm-font-family);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    color: var(--cm-text-light);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.cm-hero-desc {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--cm-text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cm-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

/* ─── Featured Categories / Features ─── */
.cm-features {
    padding: 80px 0;
    background: var(--cm-bg-dark);
    position: relative;
    z-index: 10;
}

.cm-feature-card {
    background: var(--cm-bg-surface);
    border: 1px solid var(--cm-border-light);
    border-radius: var(--cm-radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--cm-transition-normal);
    height: 100%;
}

.cm-feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 168, 232, 0.3);
    box-shadow: var(--cm-shadow-soft);
}

.cm-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(0, 168, 232, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cm-primary);
    font-size: 28px;
}

.cm-feature-card h3 {
    color: var(--cm-text-light);
    font-size: 20px;
    margin-bottom: 15px;
}

.cm-feature-card p {
    color: var(--cm-text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 767px) {
    .cm-hero-actions {
        flex-direction: column;
    }
    
    .cm-hero-actions .cm-btn-primary,
    .cm-hero-actions .cm-btn-quote {
        width: 100%;
    }
}
