/* ----- PUBLIC FACING STYLES ----- */

/* Public Header Navigation - Floating Pill Style */
.public-header {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.public-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #00ff64;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.public-logo:hover {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 0 10px rgba(0, 255, 100, 0.5));
}

.public-logo img {
    height: 50px;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.public-logo:hover img {
    transform: rotate(5deg);
}

.public-logo span {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.public-nav {
    display: flex;
    gap: 16px;
    align-items: center;
}

.public-nav a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    transition: all 0.4s ease, transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

/* Green Highlight Underline */
.public-nav a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #00ff64;
    transition: 0.3s;
    transform: translateX(-50%);
    border-radius: 2px;
}

.public-nav a:hover::before, .public-nav a.active::before {
    width: 80%;
}

.public-nav a:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 35px rgba(0,0,0,0.7);
    color: white;
}

.login-btn {
    background: rgba(0, 255, 100, 0.8) !important;
    box-shadow: 0 0 15px rgba(0, 255, 100, 0.5) !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
}

.login-btn:hover {
    background: #00e65a !important;
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    background: linear-gradient(rgba(13, 13, 16, 0.6), rgba(13, 13, 16, 0.6)), url('../images/home_bg.png') center/cover no-repeat;
    margin-top: 0; 
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    animation: fadeUpIn 1s ease forwards;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-content .motto {
    font-size: 1.5rem;
    color: var(--accent-green);
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background: #00ff64;
    color: #000;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 255, 100, 0.3);
}

.btn-primary:hover {
    background: #00e65a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 100, 0.5);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.9rem 2.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 1rem;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* Page Content Sections */
.section {
    padding: 6rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-green);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 8px;
    transition: all 0.3s;
    border-top: 4px solid var(--accent-blue);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.05);
    border-top-color: var(--accent-green);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Base Body override for public pages */
body.public-page {
    display: block;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: scroll;
    background-color: #0d0d10;
}

/* Footer */
.footer {
    background: #0a0b0d;
    padding: 4rem 4rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer img {
    width: 60px;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
