@charset "UTF-8";

/* ----------------------------------
   Reset & Base Styles
----------------------------------- */
@font-face {
    font-family: 'Genkai Mincho';
    src: url('./assets/fonts/genkai-mincho-subset.woff2') format('woff2');
    font-display: swap;
    unicode-range: U+6BCE, U+56DE, U+81EA, U+5DF1, U+7D39, U+4ECB, U+865A, U+7121, U+611F;
}

:root {
    /* Color Palette - Premium Blue & Gold */
    --bg-deep-blue: #020b1f;       /* Outer Space / Tech Deep Blue */
    --bg-panel: rgba(7, 24, 51, 0.85); /* Solid Tech Panel */
    
    --text-main: #f0f4f8;
    --text-muted: #8ba1c5;
    
    /* Rich Gold Gradient Base */
    --gold-1: #fcf6ba;
    --gold-2: #bf953f;
    --gold-3: #b38728;
    --gold-4: #fbf5b7;
    --gold-5: #aa771c;
    
    --accent-red: #C41E3A;
    --accent-red-hover: #E32444;
    
    --border-gold: rgba(191, 149, 63, 0.4);
    --border-bright: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-heading: 'Cinzel', 'Noto Serif JP', serif;
    --font-subheading: 'Cormorant Garamond', 'Noto Serif JP', serif;
    --font-body: 'Montserrat', 'Noto Sans JP', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 5rem;
    
    /* Layout */
    --max-width: 900px; /* Centered, authoritative narrow focus */
    
    /* Mix Radius for Solid Business Feel (less rounded than before) */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.85;
    letter-spacing: 0.03em;
    color: var(--text-main);
    background-color: var(--bg-deep-blue);
    /* Cyberspace Tech Grid Background */
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(13, 44, 100, 0.5) 0%, transparent 70%),
        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: 100% 100%, 30px 30px, 30px 30px;
    background-attachment: scroll; /* fixed causes repaint jank on mobile */
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--gold-2);
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ----------------------------------
   Typography Utilities
----------------------------------- */
h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.font-subheading {
    font-family: var(--font-subheading);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.font-genkai {
    font-family: 'Genkai Mincho', serif;
    font-weight: normal;
}

.text-gold { color: var(--gold-2); }
.text-red { color: var(--accent-red); }
.text-muted { color: var(--text-muted); }

/* The Crown Jewel: 3D Gold Text */
.text-3d-gold {
    background: linear-gradient(to bottom, var(--gold-1), var(--gold-2), var(--gold-3), var(--gold-4), var(--gold-5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--gold-2); /* Fallback */
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.95)) drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.5));
}

.text-main { color: var(--text-main); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-sm { font-size: 0.9rem; }

/* Spacing Utilities */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 3rem; }
.mt-12 { margin-top: 4rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 3rem; }
.pb-0 { padding-bottom: 0; }

/* ----------------------------------
   Layout Containers
----------------------------------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

section {
    padding: var(--spacing-lg) 0;
    position: relative;
    border-top: 1px solid var(--border-bright);
}

section:nth-child(even) {
    background: rgba(0, 5, 15, 0.4);
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    position: relative;
    padding-bottom: 25px;
    letter-spacing: 0.12em;
}

/* Gold Title Accent Line */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--gold-2), transparent);
}

/* ----------------------------------
   Components (Solid Cards)
----------------------------------- */
/* Replaced Bento with Authoritative Panels */
.solid-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

/* Center last odd item in 2-column grid */
.panel-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - var(--spacing-sm) / 2);
    margin: 0 auto;
}

/* Specific Grid for 3 items (Forces 1 row on PC, 1 col on mobile) */
.panel-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
}

@media (min-width: 800px) {
    .panel-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ----------------------------------
   Buttons & CTAs
----------------------------------- */
.btn-premium-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #d62828, #900000);
    color: #fff !important;
    border: 2px solid var(--gold-2);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.2);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* 2. Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.hero-bg-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.15; /* Reduced from 0.4 to improve text readability */
    mix-blend-mode: lighten;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

/* Shine effect - GPU optimized */
.btn-premium-red::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0) 40%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 60%);
    transform: rotate(45deg) translate(-50%, -50%);
    animation: btn-shine 4s infinite;
    will-change: transform;
}

@keyframes btn-shine {
    0% { transform: translateX(-150%) rotate(45deg); }
    100% { transform: translateX(150%) rotate(45deg); }
}

.btn-premium-red:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(196, 30, 58, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.3);
    border-color: var(--gold-4);
}

.cta-wrapper {
    text-align: center;
    margin-top: var(--spacing-md);
}

.cta-micro {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--gold-2);
}

/* ----------------------------------
   Hero Section Specifically
----------------------------------- */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
    border-top: none;
    position: relative;
}

/* Add a subtle dark backdrop behind hero text for legibility against gold 3D bg */
.hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, rgba(2, 11, 31, 0.85) 0%, rgba(2, 11, 31, 0.4) 45%, transparent 75%);
    z-index: 0;
    pointer-events: none;
}

.hero-subtitle {
    font-family: var(--font-subheading);
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gold-1);
    margin-bottom: 2rem;
    letter-spacing: 0.15em;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.3;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: var(--accent-red);
    color: #fff;
    padding: 0.4rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--gold-2);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(196, 30, 58, 0.4);
    position: relative;
    z-index: 1;
}

/* ----------------------------------
   Content Specifics & SVGs
----------------------------------- */
.icon-box {
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Premium SVG icon styling */
.premium-svg {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.premium-svg path, .premium-svg circle, .premium-svg rect, .premium-svg line, .premium-svg polyline, .premium-svg polygon {
    vector-effect: non-scaling-stroke;
}

/* Premium 3D Generated Icon styling */
.method-3d-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
    mix-blend-mode: screen; /* Drops out black background */
    filter: drop-shadow(0 10px 15px rgba(191, 149, 63, 0.3));
    transform: scale(1.1);
}

/* Checkmark List */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-2);
    font-weight: 900;
}

/* Timeline */
.timeline {
    border-left: 2px solid var(--border-gold);
    padding-left: 2rem;
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.45rem;
    top: 0.3rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-deep-blue);
    border: 3px solid var(--gold-2);
    box-shadow: 0 0 10px rgba(191, 149, 63, 0.5);
}

.killer-story {
    background: linear-gradient(135deg, rgba(13, 44, 100, 0.4), rgba(7, 24, 51, 0.9));
    border-left: 4px solid var(--accent-red);
}

/* Benefit Images */
.benefit-img-wrapper {
    border: 1px solid var(--border-gold);
    padding: 0.5rem;
    background: rgba(0,0,0,0.5);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.benefit-img-wrapper img {
    border-radius: var(--radius-sm);
}

/* Manga Strip */
.manga-strip {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.manga-page {
    width: 100%;
    display: block;
    border: 2px solid var(--border-gold);
    border-bottom: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.manga-page:last-child {
    border-bottom: 2px solid var(--border-gold);
}

.manga-page:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.manga-page:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* ----------------------------------
   Reveal Animation (CSS initial state)
----------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------
   Responsive
----------------------------------- */
/* Mobile-only utility */
.mobile-only { display: none; }

@media (max-width: 768px) {
    .mobile-only { display: inline; }
    .container {
        padding: 0 1rem;
    }
    .hero {
        padding: 4rem 0 2rem;
    }
    .panel-grid {
        grid-template-columns: 1fr;
    }
    .panel-grid > :last-child:nth-child(odd) {
        max-width: 100%;
    }
    .btn-premium-red {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        width: 100%;
    }
    .timeline {
        padding-left: 1.5rem;
        margin-left: 0.5rem;
    }
    .timeline-item::before {
        left: -1.9rem;
    }
}


/* ----------------------------------
   Showcase Layout (Benefits)
----------------------------------- */
.showcase-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.showcase-item {
    background: var(--bg-panel);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .showcase-item {
        flex-direction: row;
        align-items: stretch;
    }
}

.showcase-image-wrapper {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .showcase-image-wrapper {
        width: 45%;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }
}

.showcase-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: screen;
    transition: transform 0.5s ease;
}

.showcase-item:hover .showcase-image-wrapper img {
    transform: scale(1.05);
}

.showcase-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    align-self: flex-start;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.showcase-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--text-bright);
}

.showcase-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}



/* Alternate content side for showcase layout to create zigzag effect */
@media (min-width: 768px) {
    .showcase-item:nth-child(even) {
        flex-direction: row-reverse;
    }
    .showcase-item:nth-child(even) .showcase-image-wrapper {
        border-right: none;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* ----------------------------------
   Review Image Grid
----------------------------------- */
.review-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .review-image-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.review-image-item {
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-panel);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-image-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(191, 149, 63, 0.25), 0 10px 25px rgba(0, 0, 0, 0.5);
}

.review-image-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ----------------------------------
   Mobile Optimization (Global)
----------------------------------- */
@media (max-width: 768px) {
    /* Base typography & spacing */
    body {
        font-size: 15px; /* slightly smaller base font on mobile */
    }
    
    section {
        padding: 4rem 0; /* reduced section padding */
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        margin-bottom: 2rem;
        padding-bottom: 15px;
    }
    
    /* Hero Section Adjustments */
    .hero {
        padding: 4rem 0 3rem;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    /* Solid Panels Grid */
    .panel-grid {
        grid-template-columns: 1fr; /* stack panels on mobile */
        gap: 1.25rem;
    }
    
    .panel-grid > :last-child:nth-child(odd) {
        max-width: 100%; /* reset centering constraint on mobile */
    }
    
    .panel-grid-3 {
        gap: 1rem;
   }
    
    /* Buttons */
    .btn-premium-red {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column; /* Stack icon and text on very small screens or keep horizontal if fits */
        gap: 0.5rem;
    }
    
    .btn-premium-red svg {
        margin-right: 0 !important;
        margin-bottom: 4px;
        width: 24px !important;
        height: 24px !important;
    }
    
    /* CTA micro text adjustments */
    body .cta-wrapper div {
        flex-direction: column;
        gap: 0.8rem !important;
        text-align: center;
    }
}

