/* =========================================
   assets/css/app.css
========================================= */

/* --- PAGE HEADER & BREADCRUMBS --- */
.page-header {
    background-color: #f4f7f6;
    background-image: radial-gradient(circle at 50% 50%, rgba(23, 111, 145, 0.05) 0%, rgba(244, 247, 246, 1) 100%);
    padding: 120px 0 60px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.page-header__title {
    font-size: 2.8rem;
    color: #176f91; /* iHerd Primary Color */
    margin-bottom: 15px;
    font-weight: 700;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    font-size: 0.95rem;
}

.breadcrumb__list {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    color: #666;
}

.breadcrumb__item a {
    color: #176f91;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb__item a:hover {
    color: #0f4c64;
    text-decoration: underline;
}

.breadcrumb__item + .breadcrumb__item::before {
    content: "/";
    margin: 0 12px;
    color: #aaa;
    font-size: 0.9rem;
}

.breadcrumb__item--active {
    color: #333;
    font-weight: 600;
}

/* --- APP INTRO SECTION --- */
.app-intro {
    padding: 90px 0 70px;
    background-color: #ffffff;
}

.app-intro__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.section-subtitle {
    color: #176f91;
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.app-intro__tagline {
    font-size: 2.5rem;
    color: #222222;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.app-intro__text {
    font-size: 1.08rem;
    color: #555555;
    line-height: 1.75;
    margin-bottom: 35px;
}

.app-platforms {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f4f7f6;
    color: #176f91;
    border: 1px solid #d0e1e8;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
}

.platform-badge svg {
    width: 18px;
    height: 18px;
}

/* APP GRAPHIC MOCKUP */
.app-intro__graphic {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 280px;
    height: 380px;
    background: #176f91;
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(23, 111, 145, 0.25);
    position: relative;
}

.phone-screen {
    background: #ffffff;
    height: 100%;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-preview-card {
    width: 100%;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #e0e0e0;
}

.preview-header {
    display: flex;
    gap: 6px;
    margin-bottom: 15px;
}

.preview-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #176f91;
    opacity: 0.4;
}

.preview-content h4 {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 700;
}

.preview-stat {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.preview-stat span {
    font-size: 0.75rem;
    color: #777;
}

.preview-stat strong {
    font-size: 1.1rem;
    color: #176f91;
}

.status-online {
    color: #28a745 !important;
    font-size: 0.9rem !important;
}

/* --- FEATURES GRID SECTION --- */
.features-section {
    padding: 80px 0 110px;
    background-color: #fafbfc;
    border-top: 1px solid #f0f0f0;
}

.features-header {
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.25rem;
    color: #333;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    border: 1px solid #e5e9ec;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: #176f91;
    box-shadow: 0 18px 35px rgba(23, 111, 145, 0.12);
}

.feature-card__icon {
    width: 58px;
    height: 58px;
    background-color: rgba(23, 111, 145, 0.08);
    color: #176f91;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-card__icon {
    background-color: #176f91;
    color: #ffffff;
}

.feature-card__icon svg {
    width: 28px;
    height: 28px;
}

.feature-card__title {
    font-size: 1.35rem;
    color: #222222;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card__desc {
    font-size: 0.98rem;
    color: #555555;
    line-height: 1.7;
    margin: 0;
}

/* --- CALL TO ACTION BANNER --- */
.signup-banner {
    padding: 0 0 100px;
    background-color: #fafbfc;
}

.signup-banner__content {
    background: linear-gradient(135deg, #176f91 0%, #0f4c64 100%);
    border-radius: 20px;
    padding: 50px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 20px 40px rgba(23, 111, 145, 0.2);
}

.signup-banner__text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.signup-banner__text p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

.signup-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #ffffff;
    color: #176f91;
    padding: 16px 36px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.signup-btn:hover {
    background-color: #f4f7f6;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.signup-btn svg {
    width: 20px;
    height: 20px;
}

/* --- ANIMATIONS --- */
.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .app-intro__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .signup-banner__content {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .signup-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 100px 0 50px;
    }

    .page-header__title {
        font-size: 2.25rem;
    }

    .app-intro__tagline {
        font-size: 1.9rem;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .signup-banner__text h2 {
        font-size: 1.5rem;
    }
}