:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #00f2ea;
    --secondary-accent: #ff0055;
    --glass-bg: rgba(0, 0, 0, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(255, 255, 255, 0.05);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/* Video Background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.5s ease, transform 0.2s ease, filter 0.2s ease;
}

.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%);
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Gamified Mood Dock (Icon Only - Bottom Right Desktop) */
.switcher-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    /* Right alignment for Desktop */
    left: auto;
    transform: none;
    z-index: 1000;
    text-align: center;
    width: auto;
}

.switcher-dock {
    display: flex;
    justify-content: center;
    gap: 15px;
    background: rgba(20, 20, 20, 0.6);
    padding: 10px 20px;
    border-radius: 50px;
    /* Pill shape */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mood-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #aaa;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    /* Circle */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    padding: 0;
}

.mood-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.mood-btn.active {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.6);
    transform: translateY(-5px) scale(1.1);
}

.btn-icon {
    font-size: 1.5rem;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 90%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.accent {
    color: var(--accent-color);
}

nav a {
    color: #ddd;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-cta {
    border: 1px solid var(--accent-color);
    color: var(--accent-color) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: var(--accent-color);
    color: #000 !important;
}

/* Main Layout & Hero */
main {
    position: relative;
    z-index: 10;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Desktop: Top alignment */
    align-items: flex-start;
    /* Left alignment */
    padding: 0 5%;
    padding-top: 200px;
    /* Desktop: Push down from top */
    text-align: left;
}

.tagline {
    color: var(--secondary-accent);
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
}

h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 900;
    letter-spacing: -2px;
}

.gradient-text {
    color: var(--accent-color);
    text-shadow: 0 0 30px rgba(0, 242, 234, 0.4);
}

.subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    /* margin-bottom handled by parent padding */
}

.primary-cta {
    background: #fff;
    color: #000;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transition: transform 0.2s;
    background: var(--accent-color);
    /* Matches neon vibe */
}

.primary-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
}

/* Features */
.features-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, #050505);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 242, 234, 0.1);
}

.icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Pricing Plans */
.plans-section {
    padding: 100px 0;
    background: #050505;
}

.pricing-table {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.plan-card {
    flex: 1;
    min-width: 280px;
    background: #111;
    border: 1px solid #333;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.plan-card:hover {
    border-color: #555;
    transform: translateY(-5px);
}

.plan-card.popular {
    border-color: var(--accent-color);
    background: #151515;
    box-shadow: 0 0 30px rgba(0, 242, 234, 0.15);
    transform: scale(1.05);
    z-index: 10;
}

.plan-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #000;
    font-weight: 900;
    padding: 8px 20px;
    font-size: 0.8rem;
    border-radius: 30px;
    letter-spacing: 1px;
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 1rem 0;
}

.plan-desc {
    color: #888;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
    flex-grow: 1;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid #222;
    color: #ccc;
    font-size: 0.95rem;
}

.plan-features li::before {
    content: "✓";
    color: var(--accent-color);
    margin-right: 10px;
    font-weight: 900;
}

.plan-cta {
    display: block;
    background: #333;
    color: #fff;
    padding: 1rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    transition: background 0.3s;
}

.plan-cta.accent-btn {
    background: var(--accent-color);
    color: #000;
}

.plan-cta:hover {
    background: #555;
}

.plan-cta.accent-btn:hover {
    background: #00c2bb;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.4);
}

/* Contact */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(to top, #111, #050505);
    text-align: center;
}

.glass-box {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 4rem 2rem;
    border-radius: 20px;
    display: inline-block;
    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.requirements-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 2rem auto;
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
}

.requirements-list li {
    margin-bottom: 15px;
    color: #ddd;
    font-size: 1.1rem;
}

.large {
    font-size: 1.3rem;
    padding: 1.5rem 4rem;
}

footer {
    padding: 3rem;
    text-align: center;
    color: #444;
    font-size: 0.8rem;
    background: #000;
    border-top: 1px solid #111;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
        line-height: 1.1;
    }

    .hero-content {
        justify-content: flex-end;
        /* Keep near bottom */
        align-items: center;
        /* CENTER ALIGN (Horizontal) */
        text-align: center;
        /* CENTER TEXT */
        padding: 0 5%;
        padding-top: 0;
        /* Reset top padding */
        padding-bottom: 160px;
        /* Conserve safe space */
    }

    /* Stack Header */
    header {
        flex-direction: column;
        align-items: center;
        /* Center Stack */
        gap: 15px;
        background: rgba(0, 0, 0, 0.8);
        padding: 15px;
    }

    nav {
        width: 100%;
        display: flex;
        justify-content: center;
        /* Center Nav */
        align-items: center;
        gap: 15px;
    }

    nav a {
        margin: 0;
        font-size: 0.8rem;
    }

    /* Mobile Text Styling */
    .tagline {
        font-size: 0.8rem;
        color: var(--secondary-accent);
    }

    .cta-group {
        width: 100%;
        justify-content: center;
        /* Center button */
        margin-top: 20px;
    }

    /* Switcher Center Bottom for Mobile */
    .switcher-container {
        right: 50%;
        left: auto;
        transform: translateX(50%);
        bottom: 20px;
        width: 90%;
    }

    .switcher-dock {
        padding: 8px 15px;
        border-radius: 30px;
    }

    .mood-btn {
        width: 40px;
        height: 40px;
    }

    .btn-icon {
        font-size: 1.2rem;
    }
}