/* ============================================================
 * NEW HERO - CLEAN MINIMALIST (Matched to Vin Socialhub)
 * ============================================================ */
.hero-clean {
    position: relative;
    background-color: var(--bg, #faf7f2); /* Matches your site's background */
    padding: 7rem 1.5rem 6rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    font-family: inherit;
}

/* Faint technical grid */
.hero-clean-bg {
    position: absolute; inset: 0; pointer-events: none;
    background-image: 
        linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black 20%, transparent 60%);
    -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 60%);
}

/* Brand Glow (Indigo/Purple from your UI) */
.hero-brand-glow {
    position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse at center, rgba(99,102,241,0.15) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none; z-index: 1;
}

.hero-clean-container {
    position: relative; z-index: 2;
    max-width: 800px; width: 100%;
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
}

/* --- Top Pill --- */
/* --- Top Pill (Tiny & Subtle) --- */
.hero-clean-pill {
    display: inline-flex; align-items: center; gap: 0.35rem;
    background: var(--surface, #fffdfa); 
    border: 1px solid var(--border, #ece4d8);
    color: var(--text-muted, #78716c); 
    font-size: 0.7rem; /* Reduced from 0.8rem */
    font-weight: 400; /* Removed boldness */
    padding: 0.15rem 0.55rem 0.15rem 0.15rem; /* Much tighter padding */
    border-radius: 99px;
    text-decoration: none; 
    margin-bottom: 1.25rem; /* Reduced spacing below */
    transition: all 0.2s ease;
    box-shadow: none; /* Removed the bulky shadow */
}
.hero-clean-pill:hover { 
    border-color: var(--primary, #c2410c); 
}

.pill-highlight {
    background: rgba(194, 65, 12, 0.08); /* Softer brand tint */
    color: var(--primary, #c2410c);
    padding: 0.1rem 0.4rem; 
    border-radius: 99px;
    font-size: 0.6rem; /* Tiny font */
    font-weight: 600; /* Slightly less bold than 700 */
    text-transform: uppercase;
}

/* Smaller arrow icon */
.hero-clean-pill .icon { 
    width: 11px; height: 11px; 
    color: var(--text-muted, #78716c); 
    transition: transform 0.2s; 
}
.hero-clean-pill:hover .icon { 
    transform: translateX(2px); 
    color: var(--primary, #c2410c); 
}

/* --- Typography --- */
.hero-clean-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800; color: var(--text, #1c1917);
    line-height: 1.1; letter-spacing: -0.04em;
    margin: 0 0 1.5rem;
}

/* Cycling Text Animation */
.hero-cycling-wrapper {
    display: inline-block; position: relative;
    height: 1.2em; overflow: hidden;
    vertical-align: bottom; width: 100%;
}
.hero-word {
    position: absolute; left: 0; right: 0;
    opacity: 0; transform: translateY(100%);
    animation: cycleWords 9s infinite;
    /* Matches your button gradients */
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-word:nth-child(1) { animation-delay: 0s; }
.hero-word:nth-child(2) { animation-delay: 3s; }
.hero-word:nth-child(3) { animation-delay: 6s; }

@keyframes cycleWords {
    0%, 10% { opacity: 0; transform: translateY(100%); }
    15%, 25% { opacity: 1; transform: translateY(0); }
    30%, 100% { opacity: 0; transform: translateY(-100%); }
}

.hero-clean-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted, #78716c); line-height: 1.6; margin: 0 0 2.5rem;
    max-width: 600px;
}

/* --- Actions & Buttons --- */
.hero-clean-actions {
    display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}

.hero-clean-btns {
    display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

.btn-clean-primary, .btn-clean-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.85rem 1.75rem; border-radius: 99px;
    font-size: 0.95rem; font-weight: 600; text-decoration: none;
    transition: all 0.2s ease; border: 1px solid transparent;
}

/* Primary Button - Using your signature Indigo/Purple Gradient */
.btn-clean-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    box-shadow: 0 4px 14px -4px rgba(99,102,241,0.5);
}
.btn-clean-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(99,102,241,0.6);
    color: #ffffff;
}

/* Outline Button - Using your theme borders */
.btn-clean-outline {
    background: var(--surface, #fffdfa); 
    color: var(--text, #1c1917); 
    border-color: var(--border, #ece4d8);
}
.btn-clean-outline:hover {
    background: var(--bg, #faf7f2); 
    border-color: var(--primary, #c2410c); 
    color: var(--primary, #c2410c);
    transform: translateY(-2px);
}
.btn-clean-primary .icon, .btn-clean-outline .icon { width: 16px; height: 16px; }

/* --- Trust Note --- */
.hero-clean-note {
    display: inline-flex; align-items: flex-start; gap: 0.75rem;
    text-align: left; margin-top: 1rem;
}
.note-dot {
    width: 8px; height: 8px; background: #10b981; border-radius: 50%;
    margin-top: 0.35rem; flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
    animation: pulse-green 2s infinite;
}
.hero-clean-note strong {
    display: block; font-size: 0.85rem; font-weight: 700; color: var(--text, #1c1917);
}
.hero-clean-note span {
    font-size: 0.82rem; color: var(--text-muted, #78716c);
}

/* --- Staggered Entrance Animations --- */
.fade-up {
    opacity: 0; transform: translateY(20px);
    animation: fadeUpAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--delay, 0ms);
}

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

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* ============================================================
 * MOBILE RESPONSIVENESS
 * ============================================================ */
@media (max-width: 768px) {
    .hero-clean { padding: 4rem 1rem 4rem; }
    .hero-clean-title { font-size: 2.2rem; line-height: 1.2; }
    .hero-cycling-wrapper { height: 1.3em; }
    .hero-clean-sub { font-size: 0.95rem; margin-bottom: 2rem; }
    
    .hero-clean-btns { flex-direction: column; width: 100%; max-width: 300px; }
    .btn-clean-primary, .btn-clean-outline { width: 100%; padding: 0.9rem 1rem; }
    
    .hero-clean-note { justify-content: center; text-align: center; }
    .note-dot { margin-top: 0.2rem; }
}

/* ============================================================
 * SMART FLOATING BACKGROUND ICONS
 * ============================================================ */
.hero-bg-icons {
    position: absolute;
    inset: 0;
    pointer-events: none; /* Prevents blocking text/buttons */
    z-index: 1;
    overflow: hidden;
}

.bg-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.05);
    color: #6366f1; /* Your brand indigo */
    
    opacity: 0.15; 
    filter: blur(1.5px);
    
    animation: bg-float 8s ease-in-out infinite;
    transition: all 0.3s ease;
}

.hero-clean:hover .bg-icon {
    opacity: 0.25;
    filter: blur(0px);
}

[data-theme="dark"] .bg-icon {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #a78bfa;
    opacity: 0.2;
}

@keyframes bg-float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* ============================================================
 * MOBILE ADJUSTMENTS — Scale down icons, keep them visible
 * ============================================================ */
@media (max-width: 992px) {
    /* Don't hide them anymore, just make them smaller and softer */
    .bg-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        opacity: 0.1; /* Even more subtle on mobile */
    }
    
    .bg-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Hide a few icons on mobile to prevent clutter */
    .bg-icon.icon-wa, 
    .bg-icon.icon-fb {
        display: none;
    }
}