:root {
    --primary: #9d4edd;
    --primary-dark: #5a189a;
    --primary-light: #c77dff;
    --cyan: #00e5ff;
    --background: #10002b;
    --surface: #240046;
    --text: #e0aaff;
    --text-secondary: #9d4edd;
    --success: #00ff9d;
    --error: #ff0055;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--background);
    color: var(--text);
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 2px solid rgba(157, 78, 221, 0.5);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-light);
    text-decoration: none;
}

.logo img {
    height: 50px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary-light);
}

/* HERO SECTION */
.hero {
    padding: 6rem 0;
    background: transparent;
    overflow: visible; 
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    align-items: center;
    perspective: 1000px;
}

.hero-content {
    text-align: left;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, white, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0 0 2.5rem 0;
    max-width: 100%;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* 3D Floating Hero Image */
@keyframes float {
    0% { transform: rotateY(15deg) rotateX(5deg) translateY(0px); }
    50% { transform: rotateY(15deg) rotateX(5deg) translateY(-20px); }
    100% { transform: rotateY(15deg) rotateX(5deg) translateY(0px); }
}

.hero-image-wrapper {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    max-width: 85%;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}

.hero-image-wrapper:hover {
    animation-play-state: paused;
    transform: rotateY(5deg) rotateX(2deg) scale(1.02);
}

.hero-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 
        -20px 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 2px rgba(157, 78, 221, 0.3);
    display: block;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.2;
    transform: translate(-50%, -50%) translateZ(-50px);
    z-index: -1;
}

/* MARQUEE CAROUSEL */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: rgba(36, 0, 70, 0.3);
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-top: 1px solid var(--primary-dark);
    border-bottom: 1px solid var(--primary-dark);
}

.marquee-content {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
}

.marquee-item::before {
    content: "•";
    color: var(--primary-light);
}

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

/* SHOWCASE SECTION */
.showcase {
    padding: 4rem 0;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.showcase-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.showcase-item:nth-child(even) .showcase-text {
    order: -1;
}

.showcase-text h3 {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.showcase-text p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.showcase-img-wrapper {
    border-radius: 10px;
    border: 1px solid var(--primary-dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s;
    overflow: hidden;
}

.showcase-img-wrapper:hover {
    transform: scale(1.02);
    border-color: var(--primary);
}

.small-showcase-img {
    max-width: 60%;
    margin: 0 auto;
}

.showcase-img {
    width: 100%;
    display: block;
}

/* SPOTLIGHT SECTION (Community Memory) */
.spotlight {
    background: transparent;
    border: none;
    padding: 4rem 0;
    margin-bottom: 6rem;
    text-align: center;
    position: relative;
    
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s ease-out;
}

.spotlight.visible {
    opacity: 1;
    transform: scale(1);
}

.spotlight h3 {
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.spotlight p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 50px 1fr;
    gap: 2rem;
    align-items: center;
}

.spotlight-card {
    background: transparent;
    padding: 0;
    border: none;
}

/* 3D Tilts */
.tilt-left {
    transform: perspective(1000px) rotateY(15deg);
    transition: transform 0.5s ease;
    box-shadow: -10px 10px 30px rgba(0,0,0,0.5);
}

.tilt-right {
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.5);
}

.tilt-left:hover, .tilt-right:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
    z-index: 10;
}

.spotlight-caption {
    margin-top: 1rem;
    font-weight: bold;
    color: var(--cyan);
}

.spotlight-arrow {
    font-size: 3rem;
    color: var(--cyan);
    animation: pulseArrow 2s infinite;
}

@keyframes pulseArrow {
    0% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(10px); opacity: 1; }
    100% { transform: translateX(0); opacity: 0.5; }
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.4);
}

.btn.disabled,
.btn:disabled {
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(0.2);
}

.btn-outline {
    background: transparent !important;
    border: 2px solid var(--primary) !important;
    color: var(--primary-light) !important;
}

.btn-outline:hover {
    background: rgba(157, 78, 221, 0.1) !important;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.2) !important;
    transform: translateY(-2px);
}

.pricing {
    text-align: center;
    padding: 4rem 0;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease-out;
}

.pricing.visible {
    opacity: 1;
    transform: scale(1);
}

.price-card {
    background: var(--surface);
    max-width: 400px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.2);
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features-list li::before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-secondary);
    border-top: 1px solid var(--primary-dark);
    margin-top: 4rem;
}

/* ACCOUNT / LICENSE PORTAL */
.auth-section {
    padding: 4rem 0 6rem;
}

.auth-card {
    max-width: 820px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--primary-dark);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.2);
}

.auth-card h2 {
    margin-top: 0;
    color: var(--primary-light);
}

.auth-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.auth-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.auth-input {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--primary-dark);
    background: #1a0f2b;
    color: var(--text);
    font-size: 1rem;
}

.auth-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.auth-helper {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.auth-reset {
    margin-bottom: 1.5rem;
}

.reset-panel {
    margin: 1.5rem 0 0;
    padding: 1.5rem;
    border-radius: 16px;
    background: #1a0f2b;
    border: 1px solid var(--primary-dark);
}

.reset-panel h3 {
    margin-top: 0;
    color: var(--primary-light);
}

.hidden {
    display: none;
}

.auth-divider {
    height: 1px;
    background: rgba(157, 78, 221, 0.2);
    margin: 2rem 0;
}

.auth-status {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: #1a0f2b;
    border: 1px solid var(--primary-dark);
}

.auth-status.success {
    color: var(--success);
    border-color: rgba(34, 197, 94, 0.4);
}

.auth-status.error {
    color: var(--error);
    border-color: rgba(239, 68, 68, 0.4);
}

.auth-keys-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.keys-list {
    display: grid;
    gap: 1rem;
}

.key-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: #1a0f2b;
    border: 1px solid var(--primary-dark);
}

.key-value {
    font-weight: 600;
    color: var(--primary-light);
}

.key-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-note {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.auth-note a {
    color: var(--primary-light);
    text-decoration: none;
}

@media (max-width: 768px) {
    .auth-actions {
        flex-direction: column;
    }
    .auth-keys-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .key-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Status Messages */
.status-box {
    background: var(--surface);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--primary-dark);
    text-align: center;
    max-width: 500px;
    margin: 2rem auto;
}

.status-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--primary-dark);
    border-top: 4px solid var(--primary-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* INTERACTIVE BACKGROUND */
#interactive-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at center, #1a0b2e 0%, #10002b 100%);
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.4) 0%, transparent 70%);
    opacity: 0.5;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
    filter: blur(5px);
}

/* LIGHTBOX ZOOM */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

#lightbox.active {
    opacity: 1;
    pointer-events: all;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(157, 78, 221, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#lightbox.active #lightbox-img {
    transform: scale(1);
}

/* Cursor pointer for zoomable images */
.hero-image, .showcase-img {
    cursor: zoom-in;
}

/* ABOUT / WHY SUBSCRIPTION SECTION */
.about-section {
    padding: 6rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--primary-dark);
    background: linear-gradient(180deg, transparent 0%, rgba(36, 0, 70, 0.2) 100%);
    
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.about-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: center;
}

.about-mascot {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(157, 78, 221, 0.3));
    animation: float 6s ease-in-out infinite;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ROADMAP SECTION */
.roadmap-section {
    padding: 4rem 0;
    text-align: center;
    
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.roadmap-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.roadmap-container {
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-container h2 {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 3rem;
}

.roadmap-timeline {
    position: relative;
    padding-left: 2rem;
    text-align: left;
    border-left: 3px solid rgba(157, 78, 221, 0.3);
}

.roadmap-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.roadmap-marker {
    position: absolute;
    left: -2.6rem; /* Adjust based on padding/border */
    top: 0.5rem;
    width: 20px;
    height: 20px;
    background: var(--background);
    border: 3px solid var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyan);
    z-index: 2;
}

.roadmap-content {
    background: rgba(36, 0, 70, 0.5);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--primary-dark);
    transition: transform 0.3s, border-color 0.3s;
}

.roadmap-content:hover {
    transform: translateX(10px);
    border-color: var(--cyan);
    background: rgba(36, 0, 70, 0.8);
}

.roadmap-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.roadmap-content p {
    margin: 0;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container,
    .showcase-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .spotlight-grid {
        grid-template-columns: 1fr;
    }
    
    .spotlight-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .hero-content, .showcase-text {
        order: 1;
        text-align: center;
    }
    
    .showcase-item:nth-child(even) .showcase-text {
        order: 1; 
    }
    
    .hero-image-wrapper {
        order: 2;
        transform: none;
        margin-top: 2rem;
        max-width: 100%;
        animation: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-mascot {
        max-width: 200px;
        order: 1;
    }
    
    .about-content {
        order: 2;
    }
}
