/* Landing Page Specific Styles */

/* A. HERO SECTION */
.hero-section {
    padding: 120px 20px 60px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    padding-bottom: 0.2em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Fix for Japanese line breaks */
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Prevent the emphasized text from breaking mid-phrase */
.hero-title strong {
    white-space: nowrap;
}

/* Responsive adjustments for Hero Title */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
        /* Reduced to fit long Japanese phrase on one line */
    }
}

.hero-desc {
    font-size: 1.1rem;
    color: #8892b0;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* B. 2-COLUMN CONTENT */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 900px) {
    .content-container {
        grid-template-columns: 1fr;
    }
}

.section-header {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-cyan);
    padding-left: 15px;
    line-height: 1.2;
}

/* CARD STYLES */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    /* Subtle hover effect */
    background: rgba(255, 255, 255, 0.08);
}

.card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-text {
    font-size: 0.9rem;
    color: #a8b2d1;
    line-height: 1.5;
}

/* PRICING STYLES */
.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
}

.price-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-cyan);
}

.price-sub {
    font-size: 0.9rem;
    color: #8892b0;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 20px 0;
    /* 上部余白を詰める */
}

.check-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #ccc;
}

.check-list li::before {
    content: "✓";
    left: 0;
    font-weight: bold;
}

/* =========================================
   LP RESTORATION OVERRIDES
   ========================================= */

/* 1. Reset Body Layout for LP */
body {
    display: block;
    /* Override flex from style.css */
    padding-top: 80px;
    /* Space for fixed header */
    min-height: 100vh;
}

/* 2. Fixed Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    /* Logo Left, Nav Right */
    align-items: center;
    z-index: 1000;

    /* Glass Effect */
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

header nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

header nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.2s ease;
}

header nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* 3. Hero Adjustments */
.hero-section {
    width: 100%;
    margin: 0 auto;
    padding-top: 60px;
    /* Extra breathing room below fixed header */
}

/* 4. Content Container Spacing */
.content-container {
    width: 100%;
    margin: 0 auto;
    padding-top: 20px;
    /* Reduced to sit closer to hero */
}

/* Footer Fix */
footer {
    width: 100%;
    text-align: center;
    padding: 40px 0;
    color: #666;
    font-size: 0.8rem;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    header {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.0rem;
        /* Increased from 1.5rem per request */
    }

    .hero-section {
        padding-top: 40px;
    }
}

/* ===== PDF/Print rendering fix ===== */
@media print {

    /* グラデーション文字はPDFビューアで化けやすいので単色にする */
    .hero-title {
        background: none !important;
        -webkit-background-clip: border-box !important;
        background-clip: border-box !important;
        -webkit-text-fill-color: #ffffff !important;
        color: #ffffff !important;
    }
}

/* =========================================
   LP UI UPDATES (Refined)
   ========================================= */

/* 1. Header & Logo (Seamless integration with Hero) */
header {
    height: 90px;
    padding: 0 5%;
    /* Remove separation from hero */
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}

header .logo {
    /* 0.8x of previous 3.2rem => ~2.56rem */
    font-size: 2.5rem;
    line-height: 1;
}

header nav {
    gap: 20px;
}

header .btn-login {
    font-size: 0.9rem;
    padding: 8px 18px;
}


/* 2. Hero Buttons (Unify width & Filled style) */
.hero-section .hero-btns {
    margin-top: 40px;
    gap: 20px;
    display: flex;
    justify-content: center;
}

.hero-section .hero-btns .btn {
    padding: 18px 32px;
    font-size: 1.2rem;
    border-radius: 50px;
    /* Pill shape for modern look */
    transition: all 0.3s ease;

    /* Uniform Width */
    min-width: 260px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

    /* Ensure sizing consistency */
    box-sizing: border-box;
    height: 60px;
}

/* Primary Button (Cyan Gradient) */
.hero-section .hero-btns .btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #00b8d4 100%);
    color: #0f1c2e;
    border: none;
}

.hero-section .hero-btns .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 224, 255, 0.4);
}

/* Secondary Button (Filled style, distinct from primary) */
/* The user requested "filled" background. We use a strong glass fill. */
.hero-section .hero-btns .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    /* stronger fill */
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(5px);
}

.hero-section .hero-btns .btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}


/* 3. Demo Video Placeholder (Renamed & Styled) */
.demo-video-placeholder {
    width: 100%;
    max-width: 900px;
    margin: 48px auto 0;
    aspect-ratio: 16 / 9;

    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #8892b0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.demo-movie-placeholder-text {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 10px;
}

.demo-movie-icon {
    font-size: 3rem;
    opacity: 0.6;
}

/* 4. Pricing CTA Buttons (New placement & styles) */
.btn-pricing-cta {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 0;
    /* 余白を削除 */
    padding: 14px;
    font-size: 1.1rem;
    border-radius: 8px;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    header .logo {
        font-size: 2rem;
    }

    .hero-section .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-section .hero-btns .btn {
        width: 100%;
        max-width: 320px;
        /* prevent getting too wide on tablet */
    }

    .demo-video-placeholder {
        margin-top: 32px;
        border-radius: 12px;
    }
}

/* 1. Header Logo & Layout Adjustments */
header {
    height: 90px;
    /* Increased from 70px to accommodate larger logo */
    padding: 0 5%;
    /* Use percentage for better responsiveness */
}

/* Specific override for Logo size */
header .logo {
    font-size: 3.2rem;
    /* Approx 2x of original 1.5rem/1.8rem */
    line-height: 1;
}

/* Adjust nav to align with taller header */
header nav {
    gap: 20px;
}

/* Login button specific adjustment if needed, but flex center should handle it */
header .btn-login {
    font-size: 0.95rem;
    padding: 10px 20px;
}


/* 2. Hero Buttons (2x Size & Visuals) */
.hero-section .hero-btns {
    margin-top: 40px;
    gap: 24px;
}

.hero-section .hero-btns .btn {
    padding: 20px 44px;
    font-size: 1.3rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    /* Ensure they don't get too wide on mobile but have min size */
    min-width: 240px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Primary Button Enhancements */
.hero-section .hero-btns .btn-primary {
    /* Keep existing cyan but make it pop */
    background: linear-gradient(135deg, var(--color-primary) 0%, #00b8d4 100%);
    color: #0f1c2e;
    /* Dark text for contrast */
    border: none;
}

.hero-section .hero-btns .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 224, 255, 0.4);
}

/* Outline Button Enhancements (Glass Background) */
.hero-section .hero-btns .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    /* Glass background */
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(5px);
}

.hero-section .hero-btns .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}


/* 3. Demo Movie Placeholder */
.demo-movie-container {
    width: 100%;
    max-width: 900px;
    margin: 48px auto 0;
    /* Creates space below hero buttons */
    aspect-ratio: 16 / 9;

    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #a0aec0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Placeholder content style */
.demo-movie-placeholder-text {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.7;
}

.demo-movie-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header .logo {
        font-size: 2.2rem;
        /* Smaller on tablet but still big */
    }

    .hero-section .hero-btns .btn {
        width: 100%;
        /* Stack on mobile */
        min-width: auto;
        padding: 18px 30px;
        font-size: 1.1rem;
    }

    .demo-movie-container {
        margin-top: 32px;
        border-radius: 12px;
    }
}