/* prelogin.css - Specific to landing pages and public areas */

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

:root {
    --pts-primary: #1e3a8a;
    --pts-secondary: #3b82f6;
    --pts-accent: #f59e0b;
    --pts-success: #10b981;
    --pts-dark: #0f172a;
    --pts-slate: #475569;
    --pts-bg: #f8fafc;
    --pts-white: #ffffff;
    --pts-soft-blue: #eff6ff;

    --radius-full: 9999px;
    --radius-2xl: 1.5rem;
    --radius-xl: 1rem;
    --shadow-soft: 0 10px 25px -5px rgba(30, 58, 138, 0.05), 0 8px 10px -6px rgba(30, 58, 138, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(30, 58, 138, 0.1), 0 10px 10px -5px rgba(30, 58, 138, 0.04);
}

.public-layout {
    font-family: 'Outfit', sans-serif;
    color: var(--pts-dark);
    background-color: var(--pts-bg);
    overflow-x: hidden;
    scroll-behavior: smooth;
    min-height: 100vh;
}

.public-layout img {
    max-width: 100%;
    height: auto;
}

.public-layout .container {
    width: 100%;
}

.public-layout * {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.public-layout h1,
.public-layout h2,
.public-layout h3,
.public-layout h4,
.public-layout h5,
.public-layout h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
}

/* Animations */
@keyframes float {

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

    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.public-layout .animate-float {
    animation: float 5s ease-in-out infinite;
}

.public-layout .animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.public-layout .delay-1 {
    animation-delay: 0.2s;
}

.public-layout .delay-2 {
    animation-delay: 0.4s;
}

.public-layout .delay-3 {
    animation-delay: 0.6s;
}

/* Navbar */
.public-layout .pts-navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding: 0.75rem 0;
}

.public-layout .pts-navbar .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--pts-dark);
    margin: 0 0.25rem;
    position: relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.public-layout .pts-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--pts-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.public-layout .pts-navbar .nav-link:hover {
    color: var(--pts-primary);
}

.public-layout .pts-navbar .nav-link:hover::after {
    width: 20px;
}

/* Hero Section */
.public-layout .hero-stats-card {
    background: var(--pts-white);
    border-radius: var(--radius-xl);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.public-layout .hero-stats-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(30, 58, 138, 0.15);
    border-color: var(--pts-secondary);
}

.public-layout .pts-contact-pill {
    padding: 0.8rem 1.5rem;
    background: white;
    border-radius: var(--radius-full);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.4s ease;
}

.public-layout .pts-contact-pill:hover {
    transform: translateX(10px);
    background: var(--pts-soft-blue);
    border-color: var(--pts-secondary);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.1);
}

.public-layout .pts-contact-pill i {
    width: 40px;
    height: 40px;
    background: var(--pts-soft-blue);
    color: var(--pts-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Course Cards */
.public-layout .course-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-soft);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}

.public-layout .course-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.public-layout .course-card img {
    height: 85px;
    width: 85px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

/* Selection Buttons */
.public-layout .pts-selection-btn {
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    text-align: center;
    font-weight: 800;
    color: var(--pts-dark);
    display: block;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

/* Question Types */
.public-layout .qt-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.public-layout .qt-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.public-layout .qt-card:hover .qt-icon {
    transform: scale(1.1) rotate(5deg);
}

.public-layout .qt-icon {
    width: 60px;
    height: 60px;
    background: var(--pts-soft-blue);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pts-secondary);
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Check Items */
.public-layout .check-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.public-layout .check-item i {
    color: var(--pts-secondary);
    background: var(--pts-soft-blue);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Premium Banner */
.public-layout .pts-premium-banner {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 2rem;
    color: white;
    overflow: hidden;
    position: relative;
}

.public-layout .btn-pts-login {
    background: linear-gradient(135deg, var(--pts-primary) 0%, var(--pts-secondary) 100%);
    color: white;
    border-radius: var(--radius-xl);
    padding: 0.8rem 2.5rem;
    font-weight: 800;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.2);
    position: relative;
    overflow: hidden;
}

.public-layout .btn-pts-login:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(30, 58, 138, 0.3);
    color: white;
}

.public-layout .btn-pts-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s;
}

.public-layout .btn-pts-login:hover::before {
    left: 100%;
}

.public-layout .smaller {
    font-size: 0.75rem;
}

.public-layout .uppercase {
    text-transform: uppercase;
}

.public-layout .ls-2 {
    letter-spacing: 2px;
}

/* Pricing Cards - Premium Theme */
.public-layout .pricing-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.public-layout .pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.08);
}

.public-layout .package-label {
    font-weight: 800;
    color: var(--pts-dark);
    margin-bottom: 0.75rem;
}

.public-layout .price-tag {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--pts-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.public-layout .price-tag small {
    font-size: 1.25rem;
    margin-right: -4px;
}

.public-layout .validity-label {
    color: var(--pts-slate);
    font-weight: 700;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.public-layout .feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
    text-align: left;
    flex-grow: 1;
}

.public-layout .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--pts-slate);
    font-weight: 600;
}

.public-layout .feature-item i {
    color: var(--pts-secondary);
    font-size: 0.9rem;
}

.public-layout .btn-join {
    background: #f0f9ff;
    color: var(--pts-secondary);
    border: 1.5px solid #bae6fd;
    border-radius: var(--radius-full);
    padding: 0.75rem 2rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.public-layout .btn-join:hover {
    background: var(--pts-secondary);
    color: white;
    border-color: var(--pts-secondary);
    box-shadow: 0 10px 15px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

/* Authentication Page Styles */
.login-split-page {
    min-height: 100vh;
    display: flex;
    background: #fff;
}

.login-image-side {
    flex: 1.2;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(59, 130, 246, 0.8)), 
                url('https://images.unsplash.com/photo-1543269865-cbf427effbad?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 80px;
    position: relative;
    border-right: 1px solid rgba(0,0,0,0.05);
}

.login-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #f8fafc;
}

.login-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
}

.login-logo {
    font-size: 2.5rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 40px;
}

.login-input-group {
    background: #f1f5f9;
    border-radius: 14px;
    padding: 4px 16px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.login-input-group:focus-within {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.05);
}

.login-input-group i {
    color: #94a3b8;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.login-input-group input {
    background: transparent;
    border: none;
    padding: 12px 0;
    width: 100%;
    outline: none;
    font-weight: 600;
    color: #1e293b;
}

.btn-login-core {
    background: #1e3a8a;
    color: #fff !important;
    border-radius: 14px;
    padding: 15px;
    font-weight: 800;
    font-size: 1.1rem;
    width: 100%;
    border: none;
    margin-top: 10px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login-core:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.brand-pill {
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    display: inline-block;
    margin-bottom: 20px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

@media (max-width: 991px) {
    .login-image-side { display: none; }
    .login-form-side { background: #fff; padding: 20px; }
    .login-card { padding: 30px; border-radius: 0; box-shadow: none; border: none; }
}