/* ============================================
   MyGCET - Ultimate Premium Academic Theme
   100% Creative Edition
   ============================================ */

:root {
    /* Deep Academic Palette */
    --bg-base: #050a10;
    --bg-surface: #0a1420;
    --accent-1: #22C55E;
    --accent-2: #14B8A6;
    --accent-3: #3B82F6;
    --text-white: #F8FAFC;
    --text-gray: #94A3B8;
    --text-dim: #64748B;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ========== ANIMATED BACKGROUND ========== */
.bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Glowing Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: orbPulse 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-1), transparent 70%);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent-3), transparent 70%);
    bottom: -15%;
    right: -10%;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-2), transparent 70%);
    top: 40%;
    right: 10%;
    opacity: 0.2;
    animation-delay: -5s;
}

@keyframes orbPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

/* Grid Lines */
.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Floating Academic Icons */
.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.04);
    animation: float 20s ease-in-out infinite;
}

.fi-1 {
    width: 80px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.fi-2 {
    width: 100px;
    top: 20%;
    right: 8%;
    animation-delay: -4s;
}

.fi-3 {
    width: 70px;
    bottom: 25%;
    left: 8%;
    animation-delay: -8s;
}

.fi-4 {
    width: 60px;
    top: 50%;
    right: 5%;
    animation-delay: -2s;
}

.fi-5 {
    width: 90px;
    bottom: 10%;
    right: 15%;
    animation-delay: -6s;
}

.fi-6 {
    width: 75px;
    top: 70%;
    left: 12%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(2deg);
    }

    50% {
        transform: translateY(-5px) rotate(-1deg);
    }

    75% {
        transform: translateY(-20px) rotate(1deg);
    }
}

/* ========== PAGE LAYOUT ========== */
.page {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 40px;
    gap: 24px;
    text-align: center;
}

/* ========== HERO ========== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Glass Logo Container */
.logo-glass {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 14px;
    backdrop-filter: blur(20px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.4s, box-shadow 0.4s;
}

.logo-glass:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.logo-img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
}

/* Badge */
.badge {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-2);
    text-transform: uppercase;
}

/* Headline */
.headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #fff 0%, #64748b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    padding-bottom: 5px;
}

/* Subline */
.subline {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 340px;
}

/* Version */
.version {
    font-size: 0.7rem;
    color: var(--text-dim);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 6px 14px;
    border-radius: 50px;
}

/* ========== CTA ========== */
.cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 320px;
}

/* Download Button */
.btn-download {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 28px;
    border-radius: 60px;
    background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.25);
}

.btn-download svg {
    width: 20px;
    height: 20px;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(34, 197, 94, 0.35);
}

/* Button Glow Effect */
.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    50%,
    100% {
        transform: translateX(100%);
    }
}

/* Legacy Android Button */
.btn-download-alt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 60px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--accent-1);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download-alt:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.15);
}

.btn-download-alt svg {
    width: 20px;
    height: 20px;
}

/* Web / iOS Button */
.btn-web {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-web:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-web svg {
    width: 20px;
    height: 20px;
}

/* ========== MOTTO ========== */
.motto {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
    margin-top: 10px;
}

/* Upgrade Note */
.upgrade-note {
    font-size: 0.75rem;
    color: var(--text-dim);
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 8px;
    padding: 10px 16px;
    margin-top: 12px;
    line-height: 1.5;
}

.upgrade-note strong {
    color: #FFC107;
}

/* ========== FEATURES SECTION ========== */
.features {
    width: 100%;
    max-width: 1000px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.features-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    margin-top: 12px;
    background: linear-gradient(180deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    width: 100%;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    text-align: left;
    backdrop-filter: blur(20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-wide {
    grid-column: 1 / -1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    margin-bottom: 4px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-white);
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.65;
}

.feature-card p strong {
    color: var(--accent-2);
}

/* ========== FOOTER ========== */
.footer {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 24px 40px;
    background: linear-gradient(180deg, var(--bg-surface), var(--bg-base));
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer .dot {
    opacity: 0.3;
    margin: 0 8px;
}

.footer a {
    color: var(--accent-2);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--accent-1);
}

.footer strong {
    color: var(--text-gray);
    font-weight: 500;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
    .page {
        padding: 40px 20px 30px;
        gap: 20px;
    }

    .logo-img {
        width: 56px;
        height: 56px;
    }

    .headline {
        font-size: 2.5rem;
    }

    .subline {
        font-size: 0.95rem;
    }

    .floating-icon {
        width: 50px !important;
    }

    .orb {
        transform: scale(0.6);
    }
}

@media (max-width: 380px) {
    .headline {
        font-size: 2rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 6px;
    }

    .footer .dot {
        display: none;
    }
}