/* Modern Cyberpunk Theme - Otaku Landing Page */

:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --neon-red: #e50914;
    --neon-pink: #ff2a3a;
    --neon-glow: rgba(229, 9, 20, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-dim: #606060;
    --glass-bg: rgba(20, 20, 30, 0.7);
    --glass-border: rgba(229, 9, 20, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Cyberpunk Grid Background */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(60deg, rgba(229, 9, 20, 0.08) 0, rgba(229, 9, 20, 0.08) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-60deg, rgba(229, 9, 20, 0.05) 0, rgba(229, 9, 20, 0.05) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(0deg, rgba(229, 9, 20, 0.08) 0, rgba(229, 9, 20, 0.08) 1px, transparent 1px, transparent 20px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Neon Glows */
.neon-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

.neon-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--neon-glow) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.neon-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.3) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
}

.neon-glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.4) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    33% { transform: translate(30px, -30px) scale(1.1); opacity: 0.8; }
    66% { transform: translate(-20px, 20px) scale(0.9); opacity: 0.7; }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.nav-text {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.neon-text {
    color: var(--neon-red);
    text-shadow: 0 0 20px var(--neon-glow);
}

.github-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.github-btn:hover {
    background: rgba(229, 9, 20, 0.1);
    border-color: var(--neon-red);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-red);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--neon-red); }
    50% { opacity: 0.5; box-shadow: 0 0 5px var(--neon-red); }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-main {
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.title-highlight {
    color: var(--neon-red);
    text-shadow: 0 0 40px var(--neon-glow);
    letter-spacing: -2px;
}

.title-sub {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: -1px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.text-glow {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--neon-red), var(--neon-pink));
    border: none;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 32px rgba(229, 9, 20, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(229, 9, 20, 0.5);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

.download-info {
    font-size: 0.875rem;
    color: var(--text-dim);
}

.hero-platforms {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 4rem;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
}

.platform-link:hover {
    color: var(--text-secondary);
    border-color: var(--neon-red);
    background: rgba(229, 9, 20, 0.05);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.15);
    transform: translateY(-2px);
}

.platform-icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.platform-link:hover .platform-icon {
    opacity: 1;
}

.hero-preview {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.preview-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--neon-glow) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.preview-img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--neon-red);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    position: relative;
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 50%, var(--bg-dark) 100%);
    z-index: 1;
}

.features-tags {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.feature-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    overflow: hidden;
    transition: all 0.4s;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.card-large {
    min-height: 400px;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-red);
    box-shadow: 0 20px 60px rgba(229, 9, 20, 0.3);
}

.feature-card:hover .card-glow {
    opacity: 1;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.card-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.2), rgba(229, 9, 20, 0.1));
    border: 1px solid var(--neon-red);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--neon-red);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.4);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

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

/* Feature Tags */
.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.feature-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-tag:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: var(--neon-red);
    box-shadow: 0 8px 32px rgba(229, 9, 20, 0.3);
}

.feature-tag:hover::before {
    opacity: 1;
}

.feature-tag .feature-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    background: none;
    border: none;
    margin-bottom: 0;
}

.feature-tag .feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--neon-red);
    transition: transform 0.3s;
}

.feature-tag:hover .feature-icon svg {
    transform: scale(1.1) rotate(5deg);
}

.feature-tag span {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

/* Screenshots Section */
.screenshots {
    position: relative;
    padding: 8rem 2rem;
    z-index: 1;
}

/* Interface Section - Enhanced Header */
.interface-header {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pain-points {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.strikethrough {
    position: relative;
    color: var(--text-dim);
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: line-through;
    text-decoration-color: var(--neon-red);
    text-decoration-thickness: 2px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.strikethrough:hover {
    opacity: 1;
}

.pain-separator {
    color: var(--text-dim);
    opacity: 0.3;
}

/* Cursive highlight styling */
.cursive-highlight {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--neon-red);
    text-shadow: 0 0 30px var(--neon-glow);
    position: relative;
}

.cursive-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-red), transparent);
    opacity: 0.5;
}

.cursive-tagline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.375rem !important;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
}

.cursive-tagline em {
    color: var(--text-primary);
    font-style: italic;
}

.carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-track {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s, visibility 0.6s;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent);
}

.slide-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.slide-info p {
    color: var(--text-secondary);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(229, 9, 20, 0.2);
    border-color: var(--neon-red);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
}

.carousel-prev {
    left: -70px;
}

.carousel-next {
    right: -70px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background: var(--glass-border);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    width: 40px;
    border-radius: 5px;
    background: var(--neon-red);
    box-shadow: 0 0 10px var(--neon-glow);
}

/* CTA Section */
.cta {
    position: relative;
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    z-index: 1;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.cta-meta {
    margin-top: 1.5rem;
    color: var(--text-dim);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    position: relative;
    padding: 3rem 2rem;
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    z-index: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 28px;
    height: 28px;
}

.footer-text {
    font-size: 1.125rem;
    font-weight: 700;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--neon-red);
}

.footer-copy {
    color: var(--text-dim);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .github-btn span {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .card-large {
        grid-column: span 1;
    }

    .features,
    .screenshots,
    .cta {
        padding: 4rem 1rem;
    }

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

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

@media (max-width: 480px) {
    .nav-text {
        font-size: 1rem;
    }

    .title-main,
    .title-highlight {
        font-size: 2.5rem;
    }

    .title-sub {
        font-size: 1.5rem;
    }

    .btn-primary {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    /* Interface section responsive */
    .pain-points {
        gap: 0.5rem;
    }

    .strikethrough {
        font-size: 0.9375rem;
    }

    .pain-separator {
        display: none;
    }

    .cursive-tagline {
        font-size: 1.125rem !important;
    }
}
