﻿/* ====================================================
   PLATFORM PAGE — FULL CUSTOM DESIGN
   Matching about.css design language
   Responsive: 320px → 1400px+
   ==================================================== */

/* ---------- GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---------- ANIMATIONS ---------- */
.plat-anim-fade {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.plat-anim-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.plat-anim-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.plat-anim-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.plat-anim-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.plat-anim-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.plat-anim-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.plat-anim-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===========================
   HERO SECTION
   =========================== */
.platform-hero {
    margin-top: 80px;
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.platform-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(69, 207, 144, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.platform-hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
}

.platform-hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #45CF90;
    background: rgba(69, 207, 144, 0.15);
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.platform-hero-content h1 {
    font-family: "Poppins", sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-hero-content p {
    font-family: "Inter", sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.platform-hero-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.platform-hero-btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.platform-hero-btn.primary {
    background: #45CF90;
    color: #fff;
    box-shadow: 0 4px 20px rgba(69, 207, 144, 0.3);
}

.platform-hero-btn.primary:hover {
    background: #38b87d;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(69, 207, 144, 0.4);
    color: #fff;
    text-decoration: none;
}

.platform-hero-btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.platform-hero-btn.secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

/* ===========================
   SECTION LABEL (WEB / MOBILE)
   =========================== */
.platform-section-label {
    text-align: center;
    padding: 60px 0 10px;
    background: #fff;
}

.platform-section-label h2 {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.platform-section-label p {
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===========================
   SECTION HEADER ABOVE GRID
   =========================== */
.plat-section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.plat-section-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #45CF90, #38b87d);
    border-radius: 3px;
}

/* Matches white-label.html: vision-head above grid */
.plat-feature > .container > .vision-head,
.plat-mobile-feature > .container > .vision-head {
    text-align: center;
    justify-content: center;
    margin-bottom: 16px;
    padding-bottom: 0;
    position: relative;
    padding-bottom: 18px;
}

.plat-feature > .container > .vision-head::after,
.plat-mobile-feature > .container > .vision-head::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #45CF90, #38b87d);
    border-radius: 3px;
}

.plat-feature > .container > p,
.plat-mobile-feature > .container > p {
    font-family: "Inter", sans-serif;
    text-align: center;
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   FEATURE SECTION (ALTERNATING)
   =========================== */
.plat-feature {
    padding: 80px 0;
    overflow: hidden;
}

.plat-feature:nth-child(even) {
    background: #f8fafb;
}

.plat-feature:nth-child(odd) {
    background: #fff;
}

.plat-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
    align-items: center;
}

.plat-feature.reverse .plat-feature-grid {
    direction: rtl;
}

.plat-feature.reverse .plat-feature-grid > * {
    direction: ltr;
}

/* Feature Text */
.plat-feature-text {
    display: flex;
    flex-direction: column;
}

.plat-feature-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #45CF90;
    background: rgba(69, 207, 144, 0.1);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    width: fit-content;
}

.plat-feature-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    line-height: 1.3;
}

.plat-feature-text > p {
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    color: #666;
    line-height: 1.75;
    margin-bottom: 24px;
}

/* Feature Points */
.plat-feature-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.plat-feature-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #f8fafb;
    border-radius: 12px;
    border: 1px solid #eef2f5;
    transition: transform 0.3s, box-shadow 0.3s;
}

.plat-feature:nth-child(even) .plat-feature-points li {
    background: #fff;
}

.plat-feature-points li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.plat-feature-points li i {
    color: #45CF90;
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.plat-feature-points li div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.plat-feature-points li strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
}

.plat-feature-points li span {
    font-size: 0.82rem;
    color: #777;
    line-height: 1.55;
}

/* Feature Image */
.plat-feature-img {
    position: relative;
    padding: 10px;
}

.plat-feature-img::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, rgba(69, 207, 144, 0.12), rgba(56, 184, 125, 0.08));
    border-radius: 20px;
    z-index: 0;
}

.plat-feature.reverse .plat-feature-img::before {
    right: auto;
    left: 0;
}

.plat-feature-img img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(69, 207, 144, 0.15);
}

.plat-feature-img img:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18);
}

/* ===========================
   MOBILE APP DIVIDER
   =========================== */
.plat-mobile-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.plat-mobile-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(69, 207, 144, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.plat-mobile-hero-content {
    position: relative;
    z-index: 2;
}

.plat-mobile-hero h2 {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plat-mobile-hero p {
    font-family: "Inter", sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.plat-mobile-hero img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===========================
   MOBILE FEATURE SECTION
   =========================== */
.plat-mobile-feature {
    padding: 80px 0;
    overflow: hidden;
}

.plat-mobile-feature:nth-child(even) {
    background: #f8fafb;
}

.plat-mobile-feature:nth-child(odd) {
    background: #fff;
}

.plat-mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.plat-mobile-feature.reverse .plat-mobile-grid {
    direction: rtl;
}

.plat-mobile-feature.reverse .plat-mobile-grid > * {
    direction: ltr;
}

.plat-mobile-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 18px;
    line-height: 1.3;
}

.plat-mobile-text .plat-feature-tag {
    margin-bottom: 14px;
}

.plat-mobile-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.plat-mobile-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafb;
    border-radius: 10px;
    border: 1px solid #eef2f5;
    transition: transform 0.3s, box-shadow 0.3s;
}

.plat-mobile-feature:nth-child(even) .plat-mobile-points li {
    background: #fff;
}

.plat-mobile-points li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.plat-mobile-points li i {
    color: #45CF90;
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.plat-mobile-points li strong {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1a1a2e;
}

.plat-mobile-points li span {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.55;
}

.plat-mobile-points li div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.plat-mobile-images {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding: 10px 4px;
}

.plat-mobile-images::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(69, 207, 144, 0.08), rgba(69, 207, 144, 0.04));
    border-radius: 20px;
    z-index: 0;
}

.plat-mobile-images img {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(69, 207, 144, 0.12);
}

.plat-mobile-images img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

/* Single image: don't stretch full width */
.plat-mobile-images img:only-child {
    flex: 0 1 auto;
    max-width: 280px;
}

/* ===========================
   RESPONSIVE — LARGE TABLET
   =========================== */
@media (max-width: 991px) {
    .platform-hero {
        margin-top: 80px;
        padding: 60px 0 80px;
    }

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

    .plat-feature {
        padding: 60px 0;
    }

    .plat-feature-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .plat-feature.reverse .plat-feature-grid {
        direction: ltr;
    }

    .plat-feature-img {
        order: -1;
    }

    .plat-feature-text h3 {
        font-size: 1.4rem;
    }

    .plat-mobile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .plat-mobile-feature.reverse .plat-mobile-grid {
        direction: ltr;
    }

    .plat-mobile-images {
        order: -1;
        justify-content: center;
    }

    .plat-mobile-images img:only-child {
        max-width: 260px;
    }

    .plat-mobile-hero h2 {
        font-size: 1.7rem;
    }
}

/* ===========================
   RESPONSIVE — SMALL TABLET
   =========================== */
@media (max-width: 768px) {
    .platform-hero {
        margin-top: 80px;
        padding: 50px 0 70px;
    }

    .platform-hero-content h1 {
        font-size: 1.7rem;
    }

    .platform-hero-content p {
        font-size: 0.92rem;
    }

    .plat-feature {
        padding: 50px 0;
    }

    .plat-feature-grid {
        gap: 30px;
    }

    .plat-feature-text h3 {
        font-size: 1.35rem;
    }

    .plat-feature-text > p {
        font-size: 0.88rem;
    }

    .platform-section-label h2 {
        font-size: 1.65rem;
    }

    .plat-mobile-hero {
        padding: 60px 0;
    }

    .plat-mobile-hero h2 {
        font-size: 1.5rem;
    }

    .plat-mobile-text h3 {
        font-size: 1.3rem;
    }

    .plat-mobile-feature {
        padding: 50px 0;
    }
}

/* ===========================
   RESPONSIVE — MOBILE
   =========================== */
@media (max-width: 576px) {
    .platform-hero {
        margin-top: 80px;
        padding: 40px 0 60px;
    }

    .platform-hero-content h1 {
        font-size: 1.45rem;
    }

    .platform-hero-content p {
        font-size: 0.88rem;
    }

    .platform-hero-tag {
        font-size: 0.68rem;
        padding: 5px 14px;
    }

    .platform-hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .platform-hero-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .plat-feature {
        padding: 40px 0;
    }

    .plat-feature-grid {
        gap: 24px;
    }

    .plat-feature-text h3 {
        font-size: 1.25rem;
    }

    .plat-feature-img img {
        border-radius: 12px;
    }

    .plat-feature-points li {
        padding: 10px 12px;
        gap: 10px;
    }

    .plat-feature-points li strong {
        font-size: 0.85rem;
    }

    .plat-feature-points li span {
        font-size: 0.78rem;
    }

    .platform-section-label {
        padding: 40px 0 5px;
    }

    .platform-section-label h2 {
        font-size: 1.4rem;
    }

    .plat-mobile-hero {
        padding: 50px 0;
    }

    .plat-mobile-hero h2 {
        font-size: 1.3rem;
    }

    .plat-mobile-feature {
        padding: 40px 0;
    }

    .plat-mobile-grid {
        gap: 24px;
    }

    .plat-mobile-text h3 {
        font-size: 1.2rem;
    }

    .plat-mobile-images img:only-child {
        max-width: 220px;
    }

    .plat-mobile-points li {
        padding: 10px 10px;
    }
}

/* ===========================
   RESPONSIVE — SMALL MOBILE
   =========================== */
@media (max-width: 420px) {
    .platform-hero {
        padding: 110px 0 50px;
    }

    .platform-hero-content h1 {
        font-size: 1.3rem;
    }

    .plat-feature-text h3 {
        font-size: 1.15rem;
    }

    .plat-mobile-text h3 {
        font-size: 1.1rem;
    }

    .plat-mobile-images {
        flex-wrap: wrap;
    }

    .plat-mobile-images img {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .plat-mobile-images img:only-child {
        flex: 0 1 auto;
        max-width: 200px;
    }

    .plat-feature-points li {
        flex-direction: column;
        gap: 4px;
    }

    .plat-mobile-points li {
        flex-direction: column;
        gap: 4px;
    }
}

/* ===========================
   RESPONSIVE — VERY SMALL
   =========================== */
@media (max-width: 360px) {
    .platform-hero-content h1 {
        font-size: 1.2rem;
    }

    .plat-feature-text h3 {
        font-size: 1.1rem;
    }

    .platform-section-label h2 {
        font-size: 1.2rem;
    }
}
