/* ============================================================
   home.css — DignityTools Home Page Styles
   ============================================================ */

/* ── HERO ── */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 70% 40%, rgba(123, 47, 255, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 20% 60%, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 2.5rem;
}

/* ── TRUST BAR ── */
.trust-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 3rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--gradient);
    margin-right: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

/* ── HERO CARD ── */
.hero-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 600;
}

.hero-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
}

/* ── STATS SECTION ── */
.stats-section {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-item h2 {
    font-size: 2.6rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── SERVICES ── */
.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

/* ── WHY US ── */
.why-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: #fff;
}

/* ── CTA SECTION ── */
.cta-card {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(123, 47, 255, 0.06));
}

/* ============================================================
   MOBILE RESPONSIVE — home.css
   ============================================================ */

@media (max-width: 991px) {

    .hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-card {
        margin-top: 2rem;
    }

    .stats-section {
        padding: 2rem 0;
    }

    .stat-item h2 {
        font-size: 2rem;
    }

    .cta-card {
        padding: 2.5rem 1.5rem !important;
    }
}

@media (max-width: 767px) {

    .hero {
        padding: 3rem 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin: 0 auto 2rem;
    }

    .trust-bar {
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 2rem;
    }

    .hero-card {
        padding: 1.25rem;
    }

    .stat-pill {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .stats-section .row {
        gap: 1rem 0;
    }

    .stat-item h2 {
        font-size: 1.8rem;
    }

    .why-icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .service-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-stat-box {
        padding: 0.75rem;
    }
}
