/* =========================
   Home Hero
========================= */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 110px 0 90px;
    color: #fff;
    background:
        linear-gradient(90deg,
            rgba(6, 12, 24, 0.88) 0%,
            rgba(6, 12, 24, 0.78) 28%,
            rgba(6, 12, 24, 0.55) 48%,
            rgba(6, 12, 24, 0.28) 68%,
            rgba(6, 12, 24, 0.12) 85%,
            rgba(6, 12, 24, 0.05) 100%
        ),
        linear-gradient(180deg,
            rgba(6,12,24,0.45) 0%,
            rgba(6,12,24,0.15) 40%,
            rgba(6,12,24,0.35) 100%
        ),
        url("../images/hero-bg.jpg") center center / cover no-repeat;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(37, 99, 235, 0.16), transparent 20%),
        radial-gradient(circle at 82% 20%, rgba(6, 182, 212, 0.10), transparent 18%);
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 36px;
    background: linear-gradient(to top, rgba(243, 247, 252, 0.55), rgba(243, 247, 252, 0));
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 36px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 16px;
}

.hero-tag::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
}

.hero-text h1 {
    font-size: 58px;
    line-height: 1.08;
    letter-spacing: -1.3px;
    margin-bottom: 20px;
    max-width: 800px;
    text-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

.hero-desc {
    max-width: 760px;
    color: #d7e7fb;
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.35);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-info-card {
    display: flex;
    justify-content: flex-end;
}

.info-card {
    width: 100%;
    max-width: 370px;
    padding: 30px;
    border-radius: var(--radius-xl);
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.14),
        rgba(255,255,255,0.06)
    );
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(16px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.15),
        0 25px 55px rgba(0, 0, 0, 0.22);
}

.info-card h2 {
    font-size: 22px;
    margin-bottom: 18px;
    color: #fff;
}

.info-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    color: #dbeafe;
    font-size: 15px;
}

.info-card ul li:last-child {
    border-bottom: none;
}

.info-card strong {
    color: #fff;
}

/* =========================
   About Summary
========================= */
.about-summary {
    background: linear-gradient(180deg, #edf1f7 0%, #e7ecf3 100%);
    border-top: 1px solid #dde5ef;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: start;
}

.about-text {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.64);
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(8px);
}

.about-text p {
    margin-bottom: 18px;
    color: #334155;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-highlights {
    display: grid;
    gap: 18px;
}

.highlight-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #e4edf7;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.highlight-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
}

.highlight-card h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 8px;
}

.highlight-card p {
    color: var(--muted);
    font-size: 15px;
}

/* =========================
   Services
========================= */
.services-section {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    border-radius: 24px;
    padding: 30px 24px;
    border: 1px solid #e8eef6;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
    transition: all 0.28s ease;
    overflow: hidden;
    min-height: 250px;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    opacity: 0.95;
}

.service-card::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.08), transparent 68%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(37, 99, 235, 0.12);
    border-color: #c6dafd;
}

.service-card h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--muted);
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.service-card .service-desc {
    margin-top: 10px;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 800;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.text-link::after {
    content: "→";
    transition: transform 0.2s ease;
}

.text-link:hover::after {
    transform: translateX(4px);
}

/* =========================
   Why Us
========================= */
.why-us {
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(37,99,235,0.16), transparent 18%),
        linear-gradient(180deg, #0c1526, #101b30 65%, #111827);
    color: #fff;
}

.why-us .section-label {
    color: #93c5fd;
}

.why-us .section-heading h2 {
    color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.feature-box {
    position: relative;
    padding: 28px 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    transition: all 0.28s ease;
    overflow: hidden;
}

.feature-box::before {
    content: "";
    position: absolute;
    inset: auto auto 0 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
}

.feature-box:hover {
    transform: translateY(-6px);
    background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.07));
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.feature-box p {
    color: #ced9e8;
    font-size: 15px;
}

/* =========================
   CTA
========================= */
.cta-section {
    background: transparent;
}

.cta-box {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(6,182,212,0.22), transparent 20%),
        linear-gradient(135deg, #1d4ed8, #0f172a 72%);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(255,255,255,0.08);
}

.cta-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.08) 45%, transparent 100%);
    pointer-events: none;
}

.cta-box .section-label {
    color: #cbe1ff;
}

.cta-box h2 {
    font-size: 36px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    color: #dbeafe;
    max-width: 680px;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.cta-box .btn-secondary {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.26);
    box-shadow: none;
}

.cta-box .btn-secondary:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
    border-color: rgba(255,255,255,0.45);
}

/* =========================
   Home Responsive
========================= */
@media (max-width: 1100px) {
    .hero-content,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-info-card {
        justify-content: flex-start;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 860px) {
    .hero-section {
        padding: 92px 0 72px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .cta-box h2 {
        font-size: 30px;
    }
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 34px;
        line-height: 1.12;
    }

    .hero-desc {
        font-size: 16px;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-text,
    .service-card,
    .feature-box,
    .highlight-card {
        padding: 22px 20px;
    }

    .cta-box {
        padding: 30px 22px;
        border-radius: 24px;
    }

    .hero-actions,
    .cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .info-card {
        padding: 24px 22px;
    }
}