/* =========================================================
   RELAXED TECHNOLOGIES - INDEX PAGE SPECIFIC STYLES
   ========================================================= */

/* =========================================================
   HERO
   ========================================================= */
.hero {
    min-height: clamp(520px, 78vh, 680px);
    background-image: url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=2000&q=85");
}

.hero-content {
    max-width: 780px;
}

.hero h1 {
    font-size: clamp(34px, 6vw, 64px);
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

/* =========================================================
   HERO FLOATING PANEL
   ========================================================= */
.hero-panel {
    position: absolute;
    z-index: 4;
    right: 7%;
    bottom: 70px;
    width: 310px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 17px;
}

.panel-head strong {
    font-size: 13px;
}

.live {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #00f8f8;
    background: rgba(0, 248, 248, 0.14);
    border: 1px solid rgba(0, 248, 248, 0.35);
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 12px rgba(0, 248, 248, 0.25);
    animation: livePulse 2.5s infinite;
}

@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 12px rgba(0, 248, 248, 0.25); }
    50% { box-shadow: 0 0 20px rgba(0, 248, 248, 0.55); }
}

.panel-stat {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat {
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.stat small {
    display: block;
    color: #aab7c8;
    font-size: 10px;
}

.stat strong {
    display: block;
    margin-top: 3px;
    font-size: 22px;
}

.mini-chart {
    height: 80px;
    margin-top: 12px;
    border-radius: 12px;
    background:
        linear-gradient(
            145deg,
            rgba(37, 99, 235, 0.5),
            rgba(32, 201, 232, 0.1)
        );
    position: relative;
    overflow: hidden;
}

.mini-chart::after {
    content: "";
    position: absolute;
    width: 130%;
    height: 70px;
    left: -10%;
    top: 20px;
    border-top: 3px solid #20c9e8;
    border-radius: 50%;
    transform: rotate(-7deg);
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust {
    padding: 24px 0;
    border-bottom: 1px solid rgba(229, 234, 241, 0.8);
    background: #ffffff;
}

.trust-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.trust-text {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.trust-items {
    display: flex;
    gap: 16px;
    color: #003870;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    flex-wrap: wrap;
}

.trust-items span {
    padding: 7px 16px;
    background: rgba(3, 192, 209, 0.07);
    border: 1px solid rgba(3, 192, 209, 0.2);
    border-radius: 30px;
    transition: all 0.25s ease;
}

.trust-items span:hover {
    background: rgba(3, 192, 209, 0.16);
    border-color: #03c0d1;
    color: #00284e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 192, 209, 0.15);
}

/* =========================================================
   SECTIONS
   ========================================================= */
section {
    padding: 90px 0;
}

.section-head {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-label {
    color: #0aa8b8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
}

.section-head h2 {
    margin-top: 8px;
    font-size: clamp(29px, 4vw, 43px);
    line-height: 1.12;
    letter-spacing: -1.7px;
}

.section-head p {
    margin-top: 14px;
    color: #687487;
    font-size: 14px;
}

/* =========================================================
   WHY
   ========================================================= */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    position: relative;
    padding: 30px;
    border: 1px solid #e5eaf1;
    border-radius: 20px;
    background: white;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 50px rgba(7, 21, 37, 0.10);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 13px;
    background: rgba(3, 192, 209, 0.1);
    color: #0089a8;
    font-size: 21px;
}

.feature-card h3 {
    font-size: 17px;
}

.feature-card p {
    margin-top: 9px;
    color: #687487;
    font-size: 13px;
}

/* =========================================================
   CHALLENGES
   ========================================================= */
.challenge-section {
    background: #f5f8fc;
}

.challenge-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.challenge-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(7, 21, 37, 0.10);
}

.challenge-image img {
    height: 500px;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 17px 20px;
    color: white;
    background: rgba(7, 21, 37, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 13px;
}

.image-badge strong {
    display: block;
    font-size: 23px;
}

.image-badge span {
    color: #b7c3d2;
    font-size: 11px;
}

.challenge-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.challenge {
    padding: 22px;
    background: white;
    border: 1px solid #e5eaf1;
    border-radius: 15px;
    transition: 0.25s;
}

.challenge:hover {
    border-color: #c7d7ef;
    transform: translateY(-3px);
}

.challenge-icon {
    color: #0089a8;
    font-size: 18px;
    margin-bottom: 10px;
}

.challenge h3 {
    font-size: 14px;
}

.challenge p {
    margin-top: 6px;
    color: #687487;
    font-size: 12px;
}

.challenge-cta {
    margin-top: 22px;
}

.section-actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.advantage-title {
    margin-top: 9px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: var(--deep-navy);
}

.cta-buttons {
    justify-content: center;
}

/* =========================================================
   SOLUTIONS
   ========================================================= */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.solution {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 250px;
    overflow: hidden;
    border: 1px solid #e5eaf1;
    border-radius: 20px;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    transition: 0.3s;
    color: inherit;
}

.solution:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 50px rgba(7, 21, 37, 0.10);
}

.solution-img {
    height: 100%;
    min-height: 250px;
    overflow: hidden;
}

.solution-img img {
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.solution:hover .solution-img img {
    transform: scale(1.07);
}

.solution-content {
    padding: 26px;
}

.solution-icon {
    color: #0089a8;
    font-size: 21px;
    margin-bottom: 13px;
}

.solution h3 {
    font-size: 18px;
}

.solution p {
    margin-top: 8px;
    color: #687487;
    font-size: 12px;
}

.solution ul {
    list-style: none;
    margin-top: 13px;
}

.solution li {
    padding: 4px 0;
    color: #657286;
    font-size: 11px;
}

.solution li::before {
    content: "✓";
    margin-right: 7px;
    color: #03c0d1;
    font-weight: 800;
}

/* =========================================================
   INDUSTRIES
   ========================================================= */
.industry-section {
    background: #f5f8fc;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.industry {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: 17px;
    color: white;
    background: #111;
    transition: 0.3s;
}

.industry:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 50px rgba(7, 21, 37, 0.10);
}

.industry img {
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    transition: 0.5s;
}

.industry:hover img {
    transform: scale(1.08);
    opacity: 0.55;
}

.industry::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 70%);
}

.industry-title {
    position: absolute;
    z-index: 2;
    left: 17px;
    bottom: 16px;
    font-size: 13px;
    font-weight: 700;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service {
    padding: 26px;
    background: #f8fafc;
    border: 1px solid #e5eaf1;
    border-radius: 17px;
    transition: 0.25s;
}

.service:hover {
    background: white;
    box-shadow: 0 18px 50px rgba(7, 21, 37, 0.10);
    transform: translateY(-4px);
}

.service-number {
    color: #b5c0d0;
    font-size: 11px;
    font-weight: 800;
}

.service h3 {
    margin-top: 12px;
    font-size: 16px;
}

.service p {
    margin-top: 7px;
    color: #687487;
    font-size: 12px;
}

/* =========================================================
   IMPACT
   ========================================================= */
.impact {
    color: white;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(37, 99, 235, 0.25),
            transparent 35%
        ),
        #071525;
}

.impact .section-label,
.impact .section-tag {
    color: #20c9e8;
}

.impact .section-head h2,
.impact-card h3 {
    color: #ffffff;
}

.impact .section-head p,
.impact-card p {
    color: #c5d0de;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.impact-card {
    padding: 27px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.05);
}

.impact-number {
    font-size: 38px;
    font-weight: 800;
    color: #20c9e8;
}

.impact-card h3 {
    margin-top: 10px;
    font-size: 14px;
}

.impact-card p {
    margin-top: 6px;
    color: #9eacbe;
    font-size: 11px;
}

/* =========================================================
   ADVANTAGE
   ========================================================= */
.advantage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.advantage-image {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(7, 21, 37, 0.10);
}

.advantage-image img {
    height: 450px;
    object-fit: cover;
}

.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 25px;
}

.check {
    padding: 15px;
    border: 1px solid #e5eaf1;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: white;
}

.check span {
    color: #03c0d1;
    margin-right: 6px;
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
    padding: 85px 0;
}

.cta-box {
    position: relative;
    overflow: hidden;
    padding: 75px 30px;
    text-align: center;
    color: white;
    border-radius: 25px;
    background:
        linear-gradient(
            90deg,
            rgba(5, 17, 32, 0.95),
            rgba(9, 39, 69, 0.85)
        ),
        url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=80")
        center/cover;
}

.cta-box::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(32, 201, 232, 0.15);
    filter: blur(60px);
    right: -100px;
    top: -120px;
}

.cta-box > * {
    position: relative;
    z-index: 2;
}

.cta-box h2 {
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.cta-box p {
    max-width: 650px;
    margin: 14px auto 0;
    color: #b9c6d6;
    font-size: 14px;
}

.cta-box h3 {
    margin-top: 25px;
    font-size: 19px;
}

/* =========================================================
   RESPONSIVE - INDEX PAGE
   ========================================================= */
@media (max-width: 1000px) {
    .hero-panel {
        display: none;
    }

    .challenge-layout {
        grid-template-columns: 1fr;
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantage {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: 0;
    }

    section {
        padding: 65px 0;
    }

    .why-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .solution {
        grid-template-columns: 130px 1fr;
    }

    .solution-img {
        min-height: 260px;
    }

    .challenge-list {
        grid-template-columns: 1fr;
    }

    .check-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .industry-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .industry {
        height: 145px;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .solution {
        display: block;
    }

    .solution-img {
        height: 180px;
        min-height: 0;
    }

    .buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .trust-inner {
        flex-direction: column;
        text-align: center;
    }

    .trust-items {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }
}
