:root {
    --bg-dark: #02020a;
    --bg-panel: #0a0a16;
    --text-main: #ffffff;
    --text-muted: #94a3b8;

    --accent-cyan: #00f3ff;
    --accent-magenta: #da77f2;
    /* Lighter magenta for better visibility */
    --accent-blue: #4361ee;

    --glow-cyan: 0 0 10px rgba(0, 243, 255, 0.5);
    --glow-magenta: 0 0 10px rgba(218, 119, 242, 0.5);

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;

    --container-width: 1100px;
    /* Slightly wider for modern feel */
    --header-height: 80px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- Dynamic Backgrounds --- */
.background-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background:
        radial-gradient(circle at 10% 20%, rgba(67, 97, 238, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(188, 19, 254, 0.1) 0%, transparent 40%);
}

.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    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;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    pointer-events: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-magenta {
    color: var(--accent-magenta);
}

.text-cyan {
    color: var(--accent-cyan);
}

/* --- Layout Utilities --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background: rgba(255, 255, 255, 0.02);
}

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

/* --- Header --- */
.header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(15px);
    background: rgba(2, 2, 10, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav a:not(.btn) {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav a:not(.btn):hover {
    color: var(--accent-cyan);
    text-shadow: var(--glow-cyan);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    position: absolute;
}

.mobile-menu-btn span:first-child {
    top: 0;
}

.mobile-menu-btn span:last-child {
    bottom: 0;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
}

.hero-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    box-shadow: var(--glow-cyan);
}

.hero-title {
    font-size: 5.5rem;
    /* Massive */
    line-height: 1.0;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(67, 97, 238, 0.4);
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 600px;
    border-left: 3px solid var(--accent-magenta);
    padding-left: 20px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    font-weight: 700;
    border-radius: 4px;
    /* Sharper corners for tech feel */
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
    border: 1px solid var(--accent-blue);
    box-shadow: 0 0 20px rgba(67, 97, 238, 0.4);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn-xl {
    padding: 18px 50px;
    font-size: 1.2rem;
}

.btn-block {
    width: 100%;
}

/* --- Cards & Features --- */
.glass-card {
    background: rgba(10, 10, 22, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 12px;
    transition: 0.4s;
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-magenta);
    box-shadow: var(--glow-magenta);
}

.number {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

/* --- Section: Details (High Emphasis) --- */
.section-details {
    padding: 0;
    /* Removing padding to let the container handle it */
    margin: 80px 0;
}

.details-wrapper {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(188, 19, 254, 0.1));
    border: 1px solid var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    border-radius: 16px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.details-wrapper::before {
    content: "WARNING: HIGH VALUE";
    position: absolute;
    top: 20px;
    right: -40px;
    background: var(--accent-magenta);
    color: #000;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 5px 40px;
    transform: rotate(45deg);
    opacity: 0.8;
}

.details-list .detail-row {
    display: flex;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 20px 0;
}

.details-list dt {
    width: 140px;
    color: var(--accent-cyan);
    font-weight: 700;
}

.details-list .price {
    font-size: 1.8rem;
    color: var(--accent-magenta);
    font-weight: 800;
}


/* --- Program Timeline --- */
.timeline-item {
    display: relative;
    padding-left: 50px;
    margin-bottom: 60px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--bg-dark);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    box-shadow: var(--glow-cyan);
}

.timeline-item .time {
    color: var(--accent-cyan);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

/* --- Visual Separators --- */
.visual-separator {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    position: relative;
    margin: 0;
    overflow: hidden;
}

.visual-separator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--bg-dark), rgba(2, 2, 10, 0.4), var(--bg-dark));
}

@media (max-width: 768px) {
    .visual-separator {
        background-attachment: scroll;
        /* Disable parallax on mobile for performance */
        height: 200px;
    }
}

/* --- Sticky CTA --- */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 999;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px;
    border: 1px solid var(--accent-magenta);
    box-shadow: var(--glow-magenta);
    display: flex;
    animation: slideUp 0.5s ease-out;
}

.sticky-cta .btn {
    width: 100%;
    border-radius: 40px;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
    }

    to {
        transform: translate(-50%, 0);
    }
}

/* --- Feature List --- */
.feature-list li {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-left: 3px solid var(--accent-cyan);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 30px;
        border-bottom: 1px solid var(--accent-cyan);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .details-wrapper {
        padding: 30px;
    }

    .details-list .detail-row {
        flex-direction: column;
        gap: 5px;
    }
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}