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

:root {
    /* Precise Gale Prime Brand Colors from Logo */
    --clr-navy: #082046;
    --clr-blue-light: #1E4E8A;
    --clr-blue-deep: #051429;
    --clr-accent-green: #61e43c;
    --clr-white: #ffffff;
    --clr-gray-bg: #fcfcfc;
    --clr-text-muted: #585858;

    --clr-gold: #c5a021;
    --clr-gold-light: #f1d279;
    --clr-gold-vibrant: #ffcc33;

    /* Official Gradients */
    --grad-primary: linear-gradient(135deg, #082046 0%, #1E4E8A 100%);
    --grad-blue-sky: linear-gradient(180deg, #1de4f5 0%, #0f9cdb 100%);
    --grad-dark-deep: linear-gradient(180deg, #051429 46.58%, #082046 91.17%);
    --grad-gold: linear-gradient(135deg, #c5a021 0%, #f1d279 50%, #c5a021 100%);

    --font-main: 'Poppins', sans-serif;

    --sh-premium: 0 4px 24px rgba(0, 0, 0, 0.08);
    --tr-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--clr-white);
    color: var(--clr-blue-deep);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    transition: var(--tr-smooth);
}

ul {
    list-style: none;
}

/* ---------- PREMIUM PLATFORM COMPONENTS ---------- */

/* Global Wrapper for Premium Sections */
.premium-sections-wrapper {
    background: radial-gradient(circle at top right, #F8FBFF 0%, #FFFFFF 100%);
    padding: 4rem 0;
    overflow: hidden;
}

/* Glassmorphism Download Box */
.download-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 60px;
    padding: 4rem 3rem;
    margin: 0 auto 5rem;
    max-width: 1280px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 20, 137, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.download-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 104, 227, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.download-box .title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #001489;
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.download-box .title span {
    background: linear-gradient(135deg, #001489, #0068E3);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.btn-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.btn.sign {
    background: linear-gradient(90deg, #001489, #0068E3);
    color: white;
    font-weight: 600;
    padding: 1.2rem 3rem;
    border-radius: 100px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 20, 137, 0.2);
    display: inline-block;
    border: none;
    text-decoration: none;
}

.btn.sign:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 20, 137, 0.3);
}

.link-box {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.link-box .btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border: 1px solid rgba(0, 20, 137, 0.1);
    padding: 0.8rem 2.2rem;
    border-radius: 100px;
    font-weight: 600;
    color: #001489;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.link-box .btn:hover {
    background: #f8fbff;
    border-color: #001489;
    transform: translateY(-3px);
}

.link-box .icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-box .icon img {
    width: 100%;
    height: auto;
}

/* Premium Flip Card Grid */
.premium-card-box {
    padding: 2rem 24px 4rem;
    background: transparent;
}

.premium-card-box .title {
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2.8rem;
    color: #001489;
}

.premium-card-box .title span {
    font-weight: 800;
    background: linear-gradient(90deg, #001489, #0068E3);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.premium-item-layer {
    flex: 0 1 calc(25% - 1.5rem);
    min-width: 280px;
    cursor: pointer;
    perspective: 2000px;
    margin-bottom: 1.5rem;
}

.premium-item {
    background: #FFFFFF;
    border-radius: 32px;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.15;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0, 20, 137, 0.05);
    border: 1px solid rgba(0, 20, 137, 0.08);
}

@media (hover: hover) {
    .premium-item-layer:hover .premium-item {
        transform: rotateY(180deg);
        box-shadow: 0 25px 50px rgba(0, 20, 137, 0.15);
    }
}

.premium-item.flipped {
    transform: rotateY(180deg);
}

.premium-front,
.premium-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 32px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    overflow: hidden;
}

.premium-front {
    transform: rotateY(0deg);
    text-align: center;
    z-index: 2;
}

.premium-back {
    transform: rotateY(180deg);
    background: linear-gradient(145deg, #001489 0%, #0068E3 100%);
    text-align: center;
    color: white;
    z-index: 1;
}

.premium-back .description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    padding: 0 1rem;
}

.premium-back-btn {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: white;
    margin-top: 1.5rem;
}

@media (max-width: 1200px) {
    .premium-item-layer {
        flex: 0 1 calc(33.33% - 1.5rem);
    }
}

@media (max-width: 992px) {
    .premium-item-layer {
        flex: 0 1 calc(50% - 1.2rem);
    }

    .premium-cards-grid {
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .premium-item-layer {
        flex: 0 1 100%;
        max-width: 400px;
    }

    .premium-back-btn {
        display: inline-block;
    }
}

/* ---------- PREMIUM GLOW BUTTON ---------- */
.glow-btn {
    position: relative;
    padding: 15px 45px;
    border: none;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1a1a1a;
    cursor: pointer;
    background: linear-gradient(180deg, #fff3a6 0%, #ffd85f 35%, #ffbf2f 70%, #d78a10 100%);
    box-shadow: 0 4px 15px rgba(215, 138, 16, 0.2), 0 0 20px rgba(255, 204, 51, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-transform: uppercase;
}

.glow-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.glow-btn:hover i {
    transform: translateX(5px);
}

/* Inner border */
.glow-btn::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 100px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: 1;
}

/* Moving shine */
.glow-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -150px;
    width: 100px;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: rotate(25deg);
    animation: shine-btn 3.5s linear infinite;
    z-index: 2;
}

@keyframes shine-btn {
    0% {
        left: -150px;
    }

    100% {
        left: 120%;
    }
}

.glow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(215, 138, 16, 0.4), 0 0 30px rgba(255, 204, 51, 0.4);
}

.glow-btn:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .glow-btn {
        padding: 10px 32px;
        font-size: 16px;
    }
}