/* css/landing.css - Index Page Only */

/* --- Navigation --- */
.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0;
    z-index: 100;
}

.nav-brand {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.beta-tag {
    background: #333;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    color: #4CAF50;
    letter-spacing: 1px;
}

.nav-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #fff;
}

.nav-btn-primary {
    background: #fff;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

#signout-link {
    display: none;
    margin-right: 20px;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

#signout-link:hover { color: white; text-decoration: underline; }

#manage-sub-link {
    display: none;
    margin-right: 20px;
    color: #4CAF50;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

#manage-sub-link:hover { color: #fff; text-decoration: underline; }

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6; 
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    position: relative;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    z-index: 10;
    text-align: center;
}

.hero-text {
    position: relative;
    z-index: 20;
    max-width: 800px;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Shift up when signed in to make room for spheres */
.hero-text.signed-in {
    transform: translateY(-120px); 
}

.hero-text h1 {
    color: #ffffff;
    font-weight: 800;
    font-size: 64px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 
                 0 2px 5px rgba(0,0,0,0.8);
}

.hero-sub {
    color: #eeeeee;
    font-size: 20px;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
    line-height: 1.5;
    margin: 0 auto;
}

.hero-brand-label {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4CAF50;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.beta-tag-hero {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    color: #fff;
    letter-spacing: 1px;
}

/* --- Recent Projects (Spheres) --- */
.recent-projects-container {
    position: absolute;
    top: 50%;
    margin-top: 40px; 
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease 0.2s; 
    z-index: 50;
}

.recent-projects-container.visible {
    opacity: 1;
    pointer-events: all;
}

.recent-label {
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 600;
    opacity: 0.8;
}

.projects-grid {
    display: flex;
    gap: 30px; 
    padding: 0 40px;
    max-width: 1200px;
    justify-content: center;
}

/* SPHERE CARD CONTAINER */
.project-sphere-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100px; 
    cursor: pointer;
}

.project-sphere-card.empty {
    cursor: default;
    opacity: 0.9;
}

/* THE CIRCULAR IMAGE */
.sphere-thumb-container {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid #333;
    overflow: hidden;
    position: relative;
    background: #000;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.2s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.sphere-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: filter 0.2s;
}

/* Hover Effects */
.project-sphere-card:not(.empty):hover .sphere-thumb-container {
    transform: scale(1.15); 
    border-color: #4CAF50;
}

.project-sphere-card:not(.empty):hover .sphere-thumb {
    filter: brightness(1.1);
}

/* Empty State (Dashed Circle) */
.sphere-thumb-container.empty {
    background: rgba(255,255,255,0.02);
    border: 2px dashed #666;
}

/* Project Name below sphere */
.sphere-name {
    font-size: 11px;
    color: #666;
    text-align: center;
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    transition: color 0.2s;
}

.project-sphere-card:hover .sphere-name {
    color: #fff;
}

/* --- Footer --- */
.footer-minimal {
    position: absolute;
    bottom: 20px;
    right: 40px;
    z-index: 100;
    font-size: 12px;
    color: #555;
    display: flex;
    gap: 15px;
}

.footer-minimal a {
    color: #777;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-minimal a:hover {
    color: #fff;
}

/* --- Pricing Modal Specifics --- */
.pricing-header h2 { font-size: 24px; margin-bottom: 20px; color: #fff; }
.pricing-toggle-container { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 30px; }
.toggle-label { font-weight: 600; font-size: 14px; color: #ccc; }

/* The Switch */
.switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: #4CAF50; }
input:checked + .slider:before { transform: translateX(24px); }

/* Card Internals */
.pricing-card { background: #111; border: 1px solid #333; border-radius: 12px; padding: 30px; width: 100%; text-align: left; }
.pricing-card.featured { border-color: #4CAF50; background: #151515; }
.card-header { margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 20px; }
.card-header h3 { margin: 0 0 10px 0; color: #fff; font-size: 18px; }
.price { font-size: 36px; font-weight: 800; color: #fff; }
.price span { font-size: 14px; color: #888; font-weight: 400; margin-left: 5px; }

/* Features List (Restored) */
.features-list { list-style: none; padding: 0; margin: 20px 0; }
.features-list li { color: #ccc; margin-bottom: 12px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.features-list strong { color: #fff; }

/* Button */
.card-btn { width: 100%; padding: 12px; border-radius: 6px; border: none; font-weight: 700; cursor: pointer; font-size: 14px; transition: background 0.2s; margin-top: 10px; }
.card-btn.primary { background: #4CAF50; color: #fff; }
.card-btn.primary:hover { background: #43A047; }


/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
    .hero-text h1 { font-size: 42px; }
    .hero-text.signed-in { transform: translateY(-100px); }
    .recent-projects-container { margin-top: 20px; }
    .projects-grid { gap: 15px; }
    .sphere-thumb-container { width: 60px; height: 60px; }
    .project-sphere-card { width: 60px; }
    .sphere-name { font-size: 9px; }
    
    .pricing-modal-content { padding: 20px; width: 95%; }
    
    .footer-minimal { right: auto; width: 100%; justify-content: center; }
}