/* ===================================
   RAIЯA LP - Dark Minimalism with Edge
   「もっと乱暴にやっていい。お行儀よくまとめるな」
   =================================== */

/* CSS Variables */
:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-red: #FF0040;
    --color-gold: #D4AF37;
    --color-grey: #666666;
    --color-grey-light: #999999;
    --color-blue: #4a90e2;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 10rem;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 18px;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography Utilities */
.emphasis-red {
    color: var(--color-red);
    font-weight: 700;
}

.emphasis-gold {
    color: var(--color-gold);
    font-weight: 600;
}

.gold {
    color: var(--color-gold);
}

.red {
    color: var(--color-red);
}

.bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.strikethrough {
    text-decoration: line-through;
    color: var(--color-grey-light);
    opacity: 0.8;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.8) contrast(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding-left: var(--spacing-xl);
}

.hero-text {
    font-size: clamp(60px, 10vw, 140px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-emphasis {
    color: var(--color-red);
    display: block;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 0, 64, 0.5), 0 0 40px rgba(255, 0, 64, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 0, 64, 0.8), 0 0 60px rgba(255, 0, 64, 0.5);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-white);
    border-radius: 20px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--color-white);
    border-radius: 50%;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 30px;
        opacity: 0;
    }
}

/* ===================================
   CATCHPHRASE SECTION
   =================================== */
.catchphrase-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(to bottom, var(--color-black), #0a0000);
    position: relative;
}

.catchphrase-wrapper {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.catchphrase-line {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    color: var(--color-grey-light);
}

.catchphrase-main {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

.catchphrase-main .emphasis-red {
    font-size: clamp(60px, 9vw, 120px);
    display: inline-block;
    animation: pulse-glow 2s ease-in-out infinite;
}

.catchphrase-sub {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 600;
    margin-top: var(--spacing-lg);
}

/* ===================================
   VIDEO SECTION
   =================================== */
.video-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(to bottom, #0a0000, var(--color-black));
    position: relative;
}

.video-subtitle {
    text-align: center;
    font-size: clamp(24px, 3vw, 36px);
    color: var(--color-grey-light);
    margin-bottom: var(--spacing-xl);
    font-style: italic;
}

.video-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s ease;
}

.video-wrapper.visible {
    opacity: 1;
    transform: scale(1);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--color-black);
    border: 3px solid var(--color-red);
    box-shadow: 0 20px 80px rgba(255, 0, 64, 0.4);
    overflow: hidden;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 0, 64, 0.1), rgba(212, 175, 55, 0.1));
    color: var(--color-white);
    padding: var(--spacing-lg);
}

.placeholder-content {
    text-align: center;
    max-width: 600px;
}

.placeholder-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-gold);
}

.placeholder-note {
    font-size: clamp(14px, 2vw, 18px);
    color: var(--color-grey-light);
    line-height: 1.8;
}

.placeholder-note strong {
    color: var(--color-white);
    font-weight: 600;
}

.video-fallback {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.fallback-text {
    font-size: 14px;
    color: var(--color-grey-light);
    margin-bottom: var(--spacing-xs);
}

.video-link-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 12px 32px;
    background: var(--color-red);
    color: var(--color-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 0, 64, 0.4);
}

.video-link-button:hover {
    background: #ff1a5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 0, 64, 0.6);
}

.button-icon {
    font-size: 18px;
}

/* ===================================
   RESULTS SECTION
   =================================== */
.results-section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    background: var(--color-black);
}

.results-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.results-image-wrapper {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.results-image-wrapper.visible {
    opacity: 1;
    transform: scale(1);
}

.results-image {
    width: 100%;
    height: auto;
    border: 2px solid var(--color-gold);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
}

.results-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.section-title {
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.02em;
}

.results-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.result-item {
    text-align: left;
    padding: var(--spacing-md);
    border-left: 4px solid var(--color-gold);
    background: rgba(255,255,255,0.02);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(-40px);
}

.result-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.result-item:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(8px);
}

.result-number {
    font-size: clamp(80px, 12vw, 150px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
    color: var(--color-gold);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.result-label {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
}

.result-desc {
    font-size: 16px;
    color: var(--color-grey-light);
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(to bottom, var(--color-black), #0a0000);
    position: relative;
}

.testimonials-intro {
    text-align: center;
    font-size: clamp(20px, 2.5vw, 28px);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: var(--spacing-xl);
}

.testimonial-card {
    background: rgba(255,255,255,0.02);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: var(--spacing-lg);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
    transform: translateY(-8px);
}

.testimonial-header {
    margin-bottom: var(--spacing-md);
}

.testimonial-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.testimonial-subtitle {
    font-size: 18px;
    color: var(--color-grey-light);
    line-height: 1.6;
}

.testimonial-image-wrapper {
    margin-bottom: var(--spacing-md);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.testimonial-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.testimonial-card:hover .testimonial-image {
    transform: scale(1.02);
}

.testimonial-caption {
    font-size: 16px;
    line-height: 1.8;
}

.caption-desc {
    color: var(--color-grey-light);
    margin-top: var(--spacing-xs);
}

.testimonials-conclusion {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 0, 64, 0.1));
    border-radius: 12px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.conclusion-text {
    font-size: clamp(20px, 2.5vw, 28px);
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
}

.conclusion-emphasis {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.emphasis-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.emphasis-body {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.8;
    color: var(--color-grey-light);
}

/* ===================================
   PYGMALION METHOD SECTION
   =================================== */
.method-section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    background: linear-gradient(to bottom, var(--color-black), #0a0000);
}

.method-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.method-image-side {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s ease;
}

.method-image-side.visible {
    opacity: 1;
    transform: translateX(0);
}

.method-portrait {
    width: 100%;
    height: auto;
    border: 2px solid var(--color-gold);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
}

.method-text-side {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.section-subtitle {
    text-align: center;
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: var(--spacing-xl);
    font-weight: 300;
}

.method-subtitle-inline {
    font-size: 0.5em;
    font-weight: 400;
    color: var(--color-grey-light);
    margin-left: 1rem;
}

.method-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.method-image-side {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s ease;
}

.method-image-side.visible {
    opacity: 1;
    transform: translateX(0);
}

.method-portrait {
    width: 100%;
    height: auto;
    border: 2px solid var(--color-gold);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
}

.method-text-side {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.method-text {
    flex: 1;
}

.method-paragraph {
    font-size: clamp(20px, 2.5vw, 28px);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-weight: 400;
}

.method-signature {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--color-gold);
    font-style: italic;
    margin-top: var(--spacing-md);
    text-align: right;
}

/* Comparison Diagram */
.comparison-diagram {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s ease;
    margin-top: var(--spacing-lg);
}

.comparison-diagram.visible {
    opacity: 1;
    transform: scale(1);
}

.diagram-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Old Spiral Diagram - Keep for fallback */
.spiral-diagram {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s ease;
}

.spiral-diagram.visible {
    opacity: 1;
    transform: scale(1);
}

.diagram-side {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    padding: var(--spacing-lg);
    border-radius: 8px;
}

.diagram-side.left {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), transparent);
}

.diagram-side.right {
    background: linear-gradient(135deg, rgba(255, 0, 64, 0.05), transparent);
}

.diagram-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.05em;
}

.diagram-svg {
    width: 100%;
    height: 300px;
    margin-bottom: var(--spacing-md);
}

.spiral-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.spiral-line.animate {
    animation: draw-spiral 2s ease-out forwards;
}

@keyframes draw-spiral {
    to {
        stroke-dashoffset: 0;
    }
}

.spiral-svg.rotate {
    animation: rotate-spiral 3s ease-in-out;
}

@keyframes rotate-spiral {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(360deg);
    }
}

.fluctuation-particle {
    animation: particle-float 2s ease-in-out infinite;
}

@keyframes particle-float {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.6;
    }
    50% {
        transform: translate(10px, -10px);
        opacity: 1;
    }
}

.diagram-caption {
    text-align: center;
    font-size: 16px;
    color: var(--color-grey-light);
}

/* ===================================
   PRICING SECTION
   =================================== */
.pricing-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-black);
    position: relative;
}

.pricing-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
    align-items: start;
    max-width: 1600px;
    margin: 0 auto;
}

.pricing-image-wrapper {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s ease;
    position: sticky;
    top: 100px;
}

.pricing-image-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
}

.pricing-portrait {
    width: 100%;
    height: auto;
    border: 2px solid var(--color-red);
    box-shadow: 0 20px 60px rgba(255, 0, 64, 0.4);
}

.pricing-cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Pricing Card Base */
.pricing-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: var(--spacing-lg);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

/* Partner Card (Recommended) */
.pricing-card.partner-card {
    border-color: var(--color-gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.03));
    animation: partner-glow 3s ease-in-out infinite;
}

@keyframes partner-glow {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3), 0 0 30px rgba(212, 175, 55, 0.2);
    }
    50% {
        box-shadow: 0 10px 40px rgba(212, 175, 55, 0.5), 0 0 50px rgba(212, 175, 55, 0.3);
    }
}

.recommended-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--color-gold);
    color: var(--color-black);
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
}

/* Revolution Card */
.pricing-card.revolution-card {
    border-color: var(--color-gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.card-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.card-rarity {
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    font-weight: 600;
}

.card-rarity.gold {
    background: var(--color-gold);
    color: var(--color-black);
}

.card-price {
    font-size: clamp(48px, 6vw, 64px);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.card-price.gold {
    color: var(--color-gold);
}

.price-suffix {
    font-size: 0.5em;
    font-weight: 400;
}

.card-headline {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    color: var(--color-white);
}

.card-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-grey-light);
}

.card-description p {
    margin-bottom: var(--spacing-sm);
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    background: var(--color-black);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    pointer-events: none;
}

.cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) brightness(0.3);
}

.cta-text {
    text-align: center;
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
    line-height: 1.6;
}

.cta-button {
    display: block;
    margin: 0 auto;
    padding: 24px 60px;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    background: var(--color-red);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(255, 0, 64, 0.4);
}

.cta-button:hover {
    background: #ff1a5a;
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(255, 0, 64, 0.6);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: var(--spacing-lg) 0;
    text-align: center;
    background: var(--color-black);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: var(--color-grey-light);
}

.footer-tagline {
    margin-top: var(--spacing-xs);
    font-style: italic;
    color: var(--color-red);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .results-content {
        grid-template-columns: 1fr;
    }
    
    .method-content {
        grid-template-columns: 1fr;
    }
    
    .pricing-layout {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .spiral-diagram {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding-left: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .hero-text {
        font-size: clamp(40px, 12vw, 80px);
    }
    
    .result-number {
        font-size: clamp(60px, 15vw, 120px);
    }
}

/* ===================================
   ANIMATIONS & TRANSITIONS
   =================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}
