/* ============================================================
   AAROGYOM - Home Page Styles
   index.css
   ============================================================ */

/* ── Hero Carousel ────────────────────────────────────── */
.hero-carousel { position: relative; }

.carousel-item {
    height: 88vh;
    min-height: 520px;
    position: relative;
    overflow: hidden;
}

.carousel-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 6s ease;
}
.carousel-item.active .carousel-img { transform: scale(1.05); }

.carousel-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.carousel-caption-custom { color: white; animation: fadeInUp 0.9s ease both; }
.carousel-caption-custom h1 {
    font-weight: 800;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.35);
    line-height: 1.15;
}
.carousel-caption-custom p {
    font-size: 1.1rem;
    opacity: 0.92;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.3);
    max-width: 580px;
}

.carousel-indicators [data-bs-target] {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    border: none;
    margin: 0 5px;
    transition: all 0.4s ease;
}
.carousel-indicators .active {
    background: var(--primary-orange);
    width: 32px;
    border-radius: 5px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    top: 50%; transform: translateY(-50%);
    margin: 0 24px;
    opacity: 1;
    transition: background 0.3s;
}
.carousel-control-prev:hover,
.carousel-control-next:hover { background: var(--primary-orange); }

/* ── Stats Section ────────────────────────────────────── */
.stats-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: 20px;
}
.stats-card {
    background: white;
    border-radius: var(--radius-card);
    padding: 1.6rem 1rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: var(--shadow-card);
    height: 100%;
}
.stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 55px rgba(230,93,10,0.2);
    border-color: var(--primary-orange);
}
.stats-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-orange), var(--light-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}
.stats-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted-custom); margin-top: 5px; }
.stats-icon {
    font-size: 1.6rem;
    color: var(--primary-orange);
    opacity: 0.2;
    position: absolute;
    top: 14px; right: 16px;
}

/* ── Specialties Section ──────────────────────────────── */
.specialties-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, var(--light-bg) 100%);
}
.specialty-card {
    background: white;
    border-radius: var(--radius-card);
    padding: 2.2rem 1.8rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-card);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.specialty-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--light-orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.specialty-card:hover::after { transform: scaleX(1); }
.specialty-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(230,93,10,0.16);
    border-color: rgba(230,93,10,0.1);
}
.specialty-icon {
    width: 82px; height: 82px;
    background: linear-gradient(135deg, rgba(230,93,10,0.1), rgba(255,133,52,0.08));
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2.2rem;
    margin: 0 auto 1.2rem;
    transition: all 0.5s ease;
}
.specialty-card:hover .specialty-icon {
    background: linear-gradient(135deg, var(--primary-orange), var(--light-orange));
    color: white;
    transform: rotateY(180deg);
}
.specialty-card h5 { font-weight: 700; color: var(--dark-blue); margin-bottom: 0.6rem; }
.specialty-card p { font-size: 0.87rem; color: var(--text-muted-custom); margin: 0; }

/* ── Subscription Section ─────────────────────────────── */
.subscription-section {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #0d1f4a 100%);
    position: relative;
    overflow: hidden;           /* clip all decorative glows inside */
}
.subscription-section .bg-glow-1 {
    position: absolute;
    top: -120px; right: -120px;
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(230,93,10,0.14), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.subscription-section .bg-glow-2 {
    position: absolute;
    bottom: -120px; left: -80px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(255,133,52,0.1), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.plan-card {
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
}
.plan-card-prime {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
}
.plan-card-premium {
    background: linear-gradient(145deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    border: none;
    box-shadow: 0 30px 70px rgba(230,93,10,0.45);
    transform: scale(1.04);
}
.plan-card:hover { transform: translateY(-8px); }
.plan-card-premium:hover { transform: scale(1.06) translateY(-8px); }

.plan-badge {
    position: absolute;
    top: 18px; right: 18px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.badge-popular { background: rgba(255,255,255,0.18); color: white; }
.badge-hot { background: #ffc107; color: #333; }

.plan-icon {
    width: 54px; height: 54px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}
.plan-card-prime .plan-icon { background: rgba(255,255,255,0.1); color: white; }
.plan-card-premium .plan-icon { background: rgba(255,255,255,0.2); color: white; }

.plan-name { font-size: 1.2rem; font-weight: 700; color: white; margin-bottom: 0.2rem; }
.plan-tagline { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; }

.plan-price-wrap { margin-bottom: 1.6rem; }
.plan-currency { font-size: 1.1rem; font-weight: 700; color: white; vertical-align: super; }
.plan-amount { font-size: 2.8rem; font-weight: 800; color: white; line-height: 1; }
.plan-period { font-size: 0.78rem; color: rgba(255,255,255,0.65); }

.plan-features { list-style: none; padding: 0; margin: 0 0 2rem; }
.plan-features li {
    padding: 9px 0;
    color: rgba(255,255,255,0.88);
    font-size: 0.86rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    line-height: 1.4;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li .fi { color: #4ade80; flex-shrink: 0; margin-top: 2px; }

.btn-plan {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}
.plan-card-prime .btn-plan { background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange)); color: white; }
.plan-card-premium .btn-plan { background: white; color: var(--primary-orange); }
.btn-plan:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }

/* Tier table inside plan */
.tier-table { margin: 0.8rem 0 1rem; }
.tier-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.06);
    margin-bottom: 4px;
}
.tier-row .disc { color: #4ade80; font-weight: 700; }

/* ── Investment Section ───────────────────────────────── */
.investment-section { padding: 90px 0; background: white; }

.investment-header-card {
    background: linear-gradient(135deg, var(--dark-blue), var(--mid-blue));
    border-radius: 24px;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}
.investment-header-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(230,93,10,0.2), transparent 70%);
    border-radius: 50%;
}

.share-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.share-badge i { color: var(--light-orange); }

.investment-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    height: 100%;
}
.investment-card:hover { border-color: rgba(230,93,10,0.18); box-shadow: 0 25px 60px rgba(230,93,10,0.1); }
.investment-card-title { font-weight: 700; color: var(--dark-blue); margin-bottom: 0.3rem; }
.investment-card-sub { font-size: 0.82rem; color: var(--text-muted-custom); }

/* Distribution flow */
.flow-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}
.flow-step:last-child { border-bottom: none; }
.flow-num {
    width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--primary-orange), var(--light-orange));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 0.78rem; font-weight: 700;
    flex-shrink: 0;
}
.flow-text { font-size: 0.86rem; }
.flow-text strong { color: var(--primary-orange); }

/* Example calculation box */
.calc-box {
    background: linear-gradient(135deg, #f8f9fa, #fff8f5);
    border: 2px solid rgba(230,93,10,0.12);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.2rem;
}
.calc-box-title { font-weight: 700; color: var(--dark-blue); font-size: 0.88rem; margin-bottom: 1rem; }
.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.84rem;
}
.calc-row:last-child { border-bottom: none; }
.calc-val { font-weight: 700; color: var(--primary-orange); }
.calc-highlight { color: #16a34a; font-weight: 700; }

/* Referral highlight box */
.referral-box {
    background: linear-gradient(135deg, rgba(230,93,10,0.04), rgba(255,133,52,0.04));
    border: 2px solid rgba(230,93,10,0.12);
    border-radius: 20px;
    padding: 2rem;
}
.referral-item {
    display: flex; align-items: flex-start; gap: 14px; margin-bottom: 1rem;
}
.referral-item:last-child { margin-bottom: 0; }
.referral-dot {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--primary-orange), var(--light-orange));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 0.9rem;
    flex-shrink: 0;
}
.referral-text h6 { font-weight: 700; font-size: 0.9rem; margin-bottom: 2px; color: var(--dark-blue); }
.referral-text p { font-size: 0.82rem; color: var(--text-muted-custom); margin: 0; }

/* ── Why Choose Us ────────────────────────────────────── */
.why-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, var(--light-bg) 100%);
}
.why-icon-box {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, rgba(230,93,10,0.12), rgba(255,133,52,0.08));
    color: var(--primary-orange);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.why-item:hover .why-icon-box {
    background: linear-gradient(135deg, var(--primary-orange), var(--light-orange));
    color: white;
}

/* ── Mobile Responsive ────────────────────────────────── */
@media (max-width: 768px) {
    .carousel-item { height: 72vh; min-height: 430px; }
    .carousel-caption-custom h1 { font-size: 1.8rem; }
    .carousel-caption-custom p { font-size: 0.92rem; }
    .stats-section { margin-top: -30px; }
    .plan-card-premium { transform: scale(1); }
    .plan-card-premium:hover { transform: translateY(-8px); }
    .investment-header-card { padding: 2rem 1.5rem; }
    .specialties-section { padding: 60px 0; }
    .subscription-section { padding: 60px 0; }
    .investment-section { padding: 60px 0; }
    .why-section { padding: 60px 0; }
}

@media (max-width: 576px) {
    /* Carousel */
    .carousel-item { height: 65vh; min-height: 380px; }
    .carousel-caption-custom h1 { font-size: 1.5rem; line-height: 1.2; }
    .carousel-caption-custom p { font-size: 0.85rem; }
    .carousel-control-prev,
    .carousel-control-next { margin: 0 8px; width: 38px; height: 38px; }

    /* Stats */
    .stats-number { font-size: 1.8rem; }
    .stats-section { margin-top: -20px; }

    /* Plans */
    .plan-card { padding: 1.8rem 1.4rem; }
    .plan-amount { font-size: 2.2rem; }
    .tier-row { font-size: 0.72rem; }

    /* Investment */
    .investment-header-card { padding: 1.5rem 1.2rem; }
    .calc-box { padding: 1.2rem; }
    .flow-text { font-size: 0.82rem; }

    /* Why section */
    .why-icon-box { width: 44px; height: 44px; font-size: 1.1rem; }
}