/* ==========================================================================
   Hero Section Stylesheet
   ========================================================================== */

.hero-section {
    position: relative;
    padding-top: calc(var(--navbar-height) + 5rem);
    padding-bottom: 7rem;
    background-color: var(--color-bg-primary);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Subtle Grid Background Overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(200, 160, 77, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(200, 160, 77, 0.03) 1px, transparent 1px);
    mask-image: radial-gradient(circle at 60% 40%, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 60% 40%, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

/* Particle Container */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Particle Keyframes */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: var(--color-accent-gold);
    border-radius: 50%;
    opacity: 0.15;
    animation: floatParticle 8s infinite linear;
    will-change: transform, opacity;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.25;
    }
    90% {
        opacity: 0.25;
    }
    100% {
        transform: translateY(-80px) translateX(20px);
        opacity: 0;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Left Content Details */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background-color: rgba(200, 160, 77, 0.08);
    border: 1px solid rgba(200, 160, 77, 0.15);
    border-radius: 20px;
    margin-bottom: 1.8rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent-gold);
    border-radius: 50%;
    animation: pulseDot 2s infinite ease-in-out;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent-gold);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.gold-gradient-text {
    background: linear-gradient(135deg, var(--color-accent-gold) 0%, #E6C88D 50%, var(--color-accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--color-accent-gold);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-ripple {
    position: relative;
    overflow: hidden;
}

/* Right Dashboard Preview Frame */
.hero-preview-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-preview-container::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(200, 160, 77, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.dashboard-preview-window {
    width: 100%;
    background: rgba(250, 248, 245, 0.92);
    border: 1px solid rgba(200, 160, 77, 0.15);
    border-radius: 12px;
    box-shadow: 0 30px 60px -15px rgba(26, 22, 18, 0.12),
                0 0 100px -30px rgba(200, 160, 77, 0.15);
    overflow: hidden;
    z-index: 2;
}

.window-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background-color: rgba(243, 239, 234, 0.6);
    border-bottom: 1px solid rgba(200, 160, 77, 0.1);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background-color: #E26D5C; }
.dot-yellow { background-color: #E7C169; }
.dot-green { background-color: #72B095; }

.window-title-address {
    margin-left: 2rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    letter-spacing: 0.02em;
}

.preview-layout {
    display: flex;
    min-height: 280px;
}

.preview-sidebar {
    width: 48px;
    background-color: rgba(243, 239, 234, 0.3);
    border-right: 1px solid rgba(200, 160, 77, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
}

.sidebar-item {
    width: 22px;
    height: 22px;
    background-color: rgba(200, 160, 77, 0.15);
    border-radius: 4px;
}

.sidebar-item.active {
    background-color: var(--color-accent-gold);
}

.preview-main {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.preview-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.mini-card {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    transition: var(--transition-smooth);
}

.card-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.card-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.card-indicator {
    font-size: 0.65rem;
    font-weight: 700;
}

.card-indicator.positive {
    color: #72B095;
}

.mini-progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(200, 160, 77, 0.1);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background-color: var(--color-accent-gold);
    border-radius: 2px;
}

.preview-chart-row {
    flex-grow: 1;
}

.chart-container-mock {
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chart-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.chart-time {
    font-size: 0.65rem;
    color: var(--color-text-muted);
}

.mock-chart-graphic {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
}

.chart-svg {
    width: 100%;
    height: auto;
}

/* Floating Card Animations */
.floating-1 {
    animation: driftCard1 5s infinite ease-in-out;
}

.floating-2 {
    animation: driftCard2 6s infinite ease-in-out;
}

.floating-3 {
    animation: driftCard3 7s infinite ease-in-out;
}

@keyframes driftCard1 {
    0% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

@keyframes driftCard2 {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

@keyframes driftCard3 {
    0% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}

/* Trust Indicators Row */
.trust-indicators {
    margin-top: 5rem;
    border-top: 1px solid rgba(200, 160, 77, 0.08);
    padding-top: 2rem;
    z-index: 10;
}

.trust-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 0 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.trust-icon {
    width: 16px;
    height: 16px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .trust-container {
        justify-content: center;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
}
