/* 
=============================================
HERO SECTION - SAVIO GREEN THEME (V4)
Design: Deep Forest Green, Grid Background, Phone Mockup
=============================================
*/

:root {
    --savio-bg-deep: #022c22;
    --savio-bg-darker: #011c16;
    --savio-accent-lime: #4ADE80;
    --savio-accent-emerald: #10b981;
    --savio-text-white: #ffffff;
    --savio-text-dim: rgba(255, 255, 255, 0.8);
    --savio-grid-color: rgba(74, 222, 128, 0.05);
}

.hero-savio-section {
    background-color: var(--savio-bg-deep);
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

/* Grid Background */
.hero-savio-grid {
    position: absolute;
    inset: 0;
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, var(--savio-grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--savio-grid-color) 1px, transparent 1px);
    mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    z-index: 1;
    pointer-events: none;
}

/* Soft Radial Glows */
.hero-savio-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.08) 0%, transparent 70%);
    z-index: 1;
    filter: blur(60px);
}

.hero-savio-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    z-index: 1;
    filter: blur(60px);
}

.container {
    position: relative;
    z-index: 2;
}

/* Badge */
.hero-savio-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--savio-text-white);
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

.hero-savio-badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--savio-accent-lime);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--savio-accent-lime);
}

/* Typography */
.hero-savio-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--savio-text-white);
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}

.hero-savio-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--savio-text-dim);
    margin-bottom: 40px;
    max-width: 550px;
}

/* Feature Cards (Small Grid) */
.hero-savio-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 600px;
    margin-top: 20px;
}

.savio-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.savio-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--savio-accent-lime);
    font-size: 24px;
    flex-shrink: 0;
}

.savio-feature-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--savio-text-white);
    margin: 0 0 5px;
}

.savio-feature-text p {
    font-size: 13px;
    color: var(--savio-text-dim);
    margin: 0;
    line-height: 1.4;
}

/* App Buttons / CTA */
.hero-savio-cta {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

.btn-savio-store {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    /* Darker store button feel */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-savio-store:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
}

.btn-savio-store i {
    font-size: 24px;
}

.store-text {
    display: flex;
    flex-direction: column;
    font-size: 10px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.7);
}

.store-text span {
    font-size: 14px;
    font-weight: 700;
    color: white;
}

/* Visual Side - Phone Mockup */
.hero-savio-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.savio-phone-mockup {
    position: relative;
    z-index: 2;
    max-width: 320px;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 8px solid #1a1a1a;
    background: #000;
    overflow: hidden;
}

.savio-phone-mockup img {
    width: 100%;
    display: block;
    border-radius: 32px;
}

/* Floating Contact Circle */
.savio-contact-float {
    position: absolute;
    top: 10%;
    right: 0%;
    width: 100px;
    height: 100px;
    background: var(--savio-accent-lime);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin-slow 20s linear infinite;
    box-shadow: 0 10px 20px rgba(74, 222, 128, 0.3);
    z-index: 3;
    text-align: center;
}

.contact-circle-text {
    font-family: monospace;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    color: #022c22;
}

.contact-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #022c22;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-savio-title {
        font-size: 42px;
    }

    .hero-savio-features {
        grid-template-columns: 1fr;
    }

    .hero-savio-visual {
        margin-top: 60px;
    }
}

@media (max-width: 767px) {
    .hero-savio-section {
        padding-top: 120px;
        text-align: center;
    }

    .hero-savio-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-savio-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-savio-features {
        text-align: left;
        /* Keep feature text aligned left for readability */
        margin-left: auto;
        margin-right: auto;
    }

    .hero-savio-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
}