/* =====================================================
   PRIME PRESS LMS - COMPLETE LANDING PAGE CSS
   Single file - includes navbar, hero, footer, mobile menu
   ===================================================== */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

/* ===== HIDE ONLY DUPLICATE PARTS FROM _Landing PARTIAL ===== */
/* Show: #features-section, #downloads-section, #demos-section (Features, Download, Demos). Hide: duplicate header, hero, grain, and footer (layout has its own footer). */
#main-header,
#site-logo,
#header-content,
#main-nav,
#header-buttons,
#grain-overlay,
#hero-section,
#hero-bg,
#hero-content,
#hero-text,
#hero-badge,
#hero-title,
#hero-description,
#hero-buttons,
#hero-stats,
#hero-visual,
#device-mockup,
#screen-content,
#main-footer {
    display: none !important;
}

/* ===== NAVBAR (KEEP ONLY THIS ONE) ===== */
.navbar {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #0a2540 0%, #0d3a5f 25%, #1565a0 50%, #0d3a5f 75%, #0a2540 100%);
    background-size: 200% 200%;
    animation: navbarGradient 15s ease infinite;
    box-shadow: 0 4px 20px rgba(10, 37, 64, 0.3);
    z-index: 1000;
    padding: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

@keyframes navbarGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 2rem;
}

.nav-logo {
    flex-shrink: 0;
}

    .nav-logo a {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-decoration: none;
        transition: transform 0.3s ease;
    }

        .nav-logo a:hover {
            transform: scale(1.05);
        }

    .nav-logo img {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        border: 2px solid rgba(212, 175, 55, 0.4);
        box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    }

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

    .nav-links a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        position: relative;
        padding: 0.5rem 0;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: #d4af37;
            transition: width 0.3s ease;
        }

        .nav-links a:hover {
            color: white;
        }

            .nav-links a:hover::after {
                width: 100%;
            }

/* Navigation Actions */
.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.nav-link-btn {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

    .nav-link-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #0a2540;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
        color: #0a2540;
    }

/* Mobile Menu Toggle — touch-friendly (min 44px) */
.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

    .mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .mobile-menu-toggle:focus {
        outline: 2px solid rgba(212, 175, 55, 0.6);
        outline-offset: 2px;
    }

    .mobile-menu-toggle svg {
        display: block;
    }

/* Mobile Menu — responsive & accessible */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0a2540 0%, #0d3a5f 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    z-index: 999;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .mobile-menu.active {
        padding: 1.25rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        opacity: 1;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-menu a {
        color: white;
        text-decoration: none;
        padding: 1rem 1.25rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-weight: 600;
        display: flex;
        align-items: center;
        min-height: 48px;
        line-height: 1.4;
    }

        .mobile-menu a:hover {
            background: rgba(255, 255, 255, 0.1);
        }

    .mobile-menu .btn-primary {
        margin-top: 0.75rem;
        text-align: center;
        justify-content: center;
        min-height: 48px;
    }

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #0a2540 0%, #0d3a5f 30%, #1565a0 60%, #0d3a5f 100%);
    background-size: 200% 200%;
    animation: heroGradient 12s ease infinite;
    color: white;
    padding: 80px 20px 100px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 -4px 30px rgba(0,0,0,0.2);
}

@keyframes heroGradient {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
    animation: backgroundScroll 20s linear infinite;
}

@keyframes backgroundScroll {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100px, -100px);
    }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.08;
    animation: float 15s infinite ease-in-out;
}

    .shape:nth-child(1) {
        width: 80px;
        height: 80px;
        background: white;
        border-radius: 50%;
        top: 20%;
        left: 10%;
        animation-delay: 0s;
    }

    .shape:nth-child(2) {
        width: 60px;
        height: 60px;
        background: white;
        border-radius: 30%;
        top: 60%;
        left: 80%;
        animation-delay: 3s;
    }

    .shape:nth-child(3) {
        width: 100px;
        height: 100px;
        background: white;
        border-radius: 20%;
        top: 80%;
        left: 20%;
        animation-delay: 6s;
    }

    .shape:nth-child(4) {
        width: 70px;
        height: 70px;
        background: white;
        border-radius: 40%;
        top: 30%;
        left: 70%;
        animation-delay: 2s;
    }

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

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #f4d03f 40%, #d4af37 70%, #f0f9ff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 12px rgba(212, 175, 55, 0.4));
    animation: fadeInUp 1s ease-out 0.2s both, gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

    .hero-buttons .btn-primary {
        background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
        color: #0a2540;
        padding: 16px 40px;
        border-radius: 50px;
        font-size: 1.1rem;
        font-weight: 700;
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    }

        .hero-buttons .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 28px rgba(212, 175, 55, 0.5);
        }

    .hero-buttons .btn-secondary {
        background: rgba(255,255,255,0.12);
        color: white;
        padding: 16px 40px;
        border-radius: 50px;
        font-size: 1.1rem;
        border: 2px solid rgba(212, 175, 55, 0.6);
        backdrop-filter: blur(10px);
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
    }

        .hero-buttons .btn-secondary:hover {
            background: rgba(212, 175, 55, 0.2);
            border-color: #d4af37;
            transform: translateY(-2px);
        }

.hero-trust {
    font-size: 0.95rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.8s both;
    margin-bottom: 1.5rem;
}

.trust-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1s both;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    padding: 10px 18px;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.95);
    transition: none;
    cursor: default;
    box-shadow: none; /* 🔴 removes depth */
}


.trust-icon {
    font-size: 1.2rem;
}

    .trust-icon i {
        font-size: 1.25rem;
        opacity: 0.95;
    }

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #0f172a 100%);
    color: white;
    padding: 60px 40px 40px;
    position: relative;
}

    .footer::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
        pointer-events: none;
    }

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #d4af37;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.9rem;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .footer-col a:hover {
        color: #d4af37;
        padding-left: 5px;
    }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

    .footer-links a {
        transition: color 0.3s ease;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.6);
    }

        .footer-links a:hover {
            color: #d4af37;
        }

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

/* Safe area for notched devices (landing nav) */
@supports (padding: max(0px)) {
    @media (max-width: 968px) {
        .nav-container {
            padding-left: max(1.5rem, env(safe-area-inset-left));
            padding-right: max(1.5rem, env(safe-area-inset-right));
        }
    }
}

/* Mobile */
@media (max-width: 640px) {
    .nav-container {
        padding: 0 1rem;
        height: 60px;
    }

    .nav-logo img {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .mobile-menu {
        top: 60px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

        .mobile-menu.active {
            padding: 1rem;
        }

        .mobile-menu a {
            padding: 0.875rem 1rem;
        }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

        .hero-buttons .btn-primary,
        .hero-buttons .btn-secondary {
            width: 100%;
            padding: 14px 30px;
        }

    .trust-badges {
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Extra Small */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-section {
        padding: 60px 15px 80px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
