/* ========================================
   VibeCoder Theme - Main Stylesheet
   参考: サスケWorks デザイン
   カラー: 紫ベース (#8E44AD)
   ======================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    color: #1C2833;
    line-height: 1.8;
    background: #FFFFFF;
    overflow-x: hidden;
}

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

a {
    color: #8E44AD;
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

/* --- Variables --- */
:root {
    --primary: #8E44AD;
    --primary-dark: #6C3483;
    --primary-light: #F5EEF8;
    --secondary: #2E86C1;
    --accent: #27AE60;
    --text-dark: #1C2833;
    --text-gray: #7F8C8D;
    --bg-white: #FFFFFF;
    --bg-alt: #F8F9FA;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --max-width: 1200px;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.4;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 48px;
    line-height: 1.8;
}

/* ========================================
   Header
   ======================================== */
.admin-bar .site-header {
    top: 32px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 15px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
}

.site-logo-img {
    height: 38px;
    width: auto;
    display: block;
}

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

.header-nav a {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.header-nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--primary);
    color: white !important;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(142,68,173,0.4);
    opacity: 1;
}

/* Mobile menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 6px 0;
    transition: 0.3s;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--primary-light) 50%, #EDE7F6 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(142,68,173,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46,134,193,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--text-dark);
    white-space: nowrap;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(142,68,173,0.4);
    opacity: 1;
    color: white;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    opacity: 1;
}

.hero-visual {
    position: relative;
}

.hero-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 20px;
    position: relative;
}

.hero-mockup .mockup-browser-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot.red { background: #FF5F57; }
.mockup-dot.yellow { background: #FFBD2E; }
.mockup-dot.green { background: #28CA41; }

.mockup-content {
    background: linear-gradient(135deg, var(--primary-light), #E8F8F5);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.mockup-content .chat-bubble {
    background: white;
    padding: 12px 20px;
    border-radius: 16px 16px 16px 4px;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    max-width: 260px;
    text-align: left;
}

.mockup-content .chat-bubble.ai {
    background: var(--primary);
    color: white;
    border-radius: 16px 16px 4px 16px;
    align-self: flex-end;
}

.mockup-content .code-line {
    font-family: 'Courier New', monospace;
    background: #1C2833;
    color: #27AE60;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.75rem;
    width: 100%;
    text-align: left;
}

.hero-float {
    position: absolute;
    background: white;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 0.8rem;
    font-weight: 700;
    animation: float 3s ease-in-out infinite;
}

.hero-float.f1 {
    top: -10px;
    right: -20px;
    color: var(--accent);
}

.hero-float.f2 {
    bottom: 20px;
    left: -30px;
    color: var(--secondary);
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   Problems Section
   ======================================== */
.problems {
    background: var(--bg-white);
}

.problems .section-title {
    color: var(--text-dark);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.problem-card {
    background: white;
    border: 2px solid #F0F0F0;
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.problem-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.problem-icon {
    width: 56px;
    height: 56px;
    background: #FEF0F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
}

.problem-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
}

/* ========================================
   Solutions Section
   ======================================== */
.solutions {
    background: var(--bg-alt);
}

.solutions .section-title .highlight {
    color: var(--primary);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.solution-card:hover {
    transform: translateY(-6px);
}

.solution-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.solution-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ========================================
   Steps Section
   ======================================== */
.steps {
    background: var(--bg-white);
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 15%;
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(142,68,173,0.3);
}

.step-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.step-visual {
    width: 100%;
    height: 160px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

/* ========================================
   Use Cases Section
   ======================================== */
.usecases {
    background: linear-gradient(135deg, var(--secondary) 0%, #1ABC9C 100%);
    color: white;
}

.usecases .section-title {
    color: white;
}

.usecases .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.usecase-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.usecase-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.25);
}

.usecase-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
}

.usecase-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.usecase-card p {
    font-size: 0.85rem;
    opacity: 0.85;
    line-height: 1.7;
}

/* ========================================
   Comparison Section
   ======================================== */
.comparison {
    background: var(--bg-alt);
}

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-width: 700px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: center;
    font-size: 0.9rem;
    border-bottom: 1px solid #F0F0F0;
}

.comparison-table thead th {
    background: #F8F9FA;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 20px;
}

.comparison-table th.highlight-col,
.comparison-table td.highlight-col {
    background: var(--primary);
    color: white;
    font-weight: 700;
}

.comparison-table thead th.highlight-col {
    background: var(--primary-dark);
    font-size: 1.05rem;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.check {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

.cross {
    color: #E74C3C;
    font-size: 1.2rem;
}

.partial {
    color: #F39C12;
    font-size: 0.85rem;
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
    background: var(--bg-white);
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 28px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 16px 0 8px;
}

.pricing-amount {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.2;
    margin: 16px 0;
}

.pricing-amount small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-gray);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 28px 0;
    padding: 0;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #F5F5F5;
}

.pricing-features li .feat-check {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pricing-sub {
    margin-top: 32px;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    text-align: center;
}

.pricing-sub .monthly {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.pricing-sub .monthly strong {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.pricing-sub .graduation {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    font-style: italic;
    margin-top: 8px;
}

/* ========================================
   Curriculum Section
   ======================================== */
.curriculum {
    background: var(--bg-alt);
}

.curriculum-list {
    max-width: 800px;
    margin: 0 auto;
}

.curriculum-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.curriculum-item:hover {
    transform: translateX(4px);
}

.lesson-num {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.curriculum-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.curriculum-item p {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.curriculum-item .output-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 8px;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
    background: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #ECECEC;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
    gap: 16px;
}

.faq-question:hover {
    background: var(--bg-alt);
}

.faq-question .q-label {
    color: var(--primary);
    font-weight: 700;
    margin-right: 12px;
    flex-shrink: 0;
}

.faq-question .arrow {
    flex-shrink: 0;
    transition: transform 0.3s;
    font-size: 1.2rem;
    color: var(--text-gray);
}

.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 24px 20px 56px;
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.9;
}

/* ========================================
   CTA Band
   ======================================== */
.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-band .section-title {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.cta-band .section-subtitle {
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 42px;
    background: white;
    color: var(--primary);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: var(--primary);
    opacity: 1;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: #1C2833;
    color: #AEB6BF;
    padding: 60px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: #AEB6BF;
    font-weight: 400;
    margin-top: 12px;
    line-height: 1.7;
}

.footer-col h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #AEB6BF;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.8rem;
    color: #7F8C8D;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .problems-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .hero {
        padding: 110px 0 60px;
    }

    .hero-title {
        font-size: 1.8rem;
        white-space: normal;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .header-nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-grid,
    .steps-grid,
    .usecases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .steps-grid::before {
        display: none;
    }

    .pricing-card {
        padding: 36px 24px;
    }

    .pricing-amount {
        font-size: 2.4rem;
    }

    .curriculum-item {
        flex-direction: column;
        gap: 12px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
        font-size: 0.8rem;
    }
}

/* ========================================
   About Section (VibeCoderとは)
   ======================================== */
.about-section {
    background: var(--bg-white);
}

.about-section .section-title .highlight {
    color: #E74C3C;
    text-decoration: line-through;
    text-decoration-thickness: 3px;
}

.about-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.flow-step {
    text-align: center;
    padding: 24px 16px;
    min-width: 120px;
}

.flow-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--text-dark);
}

.flow-icon-primary {
    background: var(--primary);
    color: white;
}

.flow-icon-accent {
    background: var(--accent);
    color: white;
}

.flow-step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.flow-step p {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.about-description {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--primary-light);
    padding: 32px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.about-description p {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-dark);
}

/* ========================================
   Architecture Section (システム構造)
   ======================================== */
.architecture-section {
    background: var(--bg-alt);
}

.arch-grid {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.arch-card {
    width: 100%;
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    text-align: center;
}

.arch-label {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.arch-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.arch-card-operator {
    border-top: 4px solid var(--secondary);
}

.arch-card-system {
    border-top: 4px solid var(--primary);
}

.arch-card-docker {
    border-top: 4px solid var(--accent);
}

.arch-two-layer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
}

.arch-layer {
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}

.arch-layer strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.arch-layer span {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.arch-arrow-down {
    color: var(--primary);
    padding: 8px 0;
}

/* Comparison highlight row */
.comparison-highlight td {
    background: var(--primary-light) !important;
}

.comparison-highlight td .check {
    color: var(--primary);
    font-weight: 700;
}

/* ========================================
   Enterprise Section (企業向け導入)
   ======================================== */
.enterprise-section {
    background: linear-gradient(135deg, #1C2833 0%, #2C3E50 100%);
    color: white;
}

.enterprise-section .section-title {
    color: white;
}

.enterprise-section .section-subtitle {
    color: rgba(255,255,255,0.75);
}

.enterprise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.enterprise-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.enterprise-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.15);
}

.enterprise-icon {
    color: var(--secondary);
    margin-bottom: 20px;
}

.enterprise-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.enterprise-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

/* ========================================
   Individual Section (個人向け)
   ======================================== */
.individual-section {
    background: var(--bg-white);
}

.individual-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.individual-feature {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.individual-feature:hover {
    border-color: var(--primary);
}

.individual-feature strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.individual-feature span {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* ========================================
   AI Engine Section
   ======================================== */
.ai-engine-section {
    background: var(--bg-alt);
}

.ai-engine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto 32px;
}

.ai-engine-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.ai-engine-card:hover {
    transform: translateY(-4px);
}

.ai-engine-name {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.ai-engine-active .ai-engine-status {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
}

.ai-engine-future .ai-engine-status {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.85rem;
}

.ai-engine-future {
    border: 2px dashed #D5DBDB;
}

.ai-engine-note {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.ai-engine-note p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.9;
}

/* ========================================
   Vision Section
   ======================================== */
.vision-section {
    background: linear-gradient(135deg, var(--primary) 0%, #6C3483 50%, #1A5276 100%);
    color: white;
    padding: 64px 0;
}

.vision-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.vision-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 20px;
}

.vision-title .highlight {
    color: #F1C40F;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

.vision-text {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}

/* ========================================
   Demo Section
   ======================================== */
.demo-section {
    background: var(--bg-white);
}

.demo-video-wrapper {
    max-width: 800px;
    margin: 0 auto 48px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.demo-video {
    width: 100%;
    display: block;
    background: #000;
}

.demo-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.demo-step {
    text-align: center;
    padding: 24px 20px;
    min-width: 160px;
    max-width: 200px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.demo-step-num {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    margin: 0 auto 12px;
}

.demo-step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.demo-step p {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.demo-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    padding-top: 40px;
}

/* ========================================
   Curriculum Free tag
   ======================================== */
.curriculum-free {
    border-left: 4px solid var(--accent);
}

/* ========================================
   Pricing Grid (3 columns)
   ======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card-free,
.pricing-card-corp {
    border: 2px solid #E5E7EB;
}

.pricing-card-featured {
    border: 3px solid var(--primary);
    position: relative;
    transform: scale(1.04);
}

.pricing-card {
    max-width: none;
}

/* ========================================
   Plan Comparison Table
   ======================================== */
.plan-comparison {
    margin-top: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.plan-comparison-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.plan-table {
    min-width: 600px;
}

.plan-table thead th {
    font-size: 0.9rem;
}

.plan-table td,
.plan-table th {
    padding: 6px 16px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.plan-table td:first-child,
.plan-table th:first-child {
    text-align: left;
    font-weight: 500;
    width: 31%;
    background: #F8F9FA;
}

.plan-table td:not(:first-child),
.plan-table th:not(:first-child) {
    text-align: center;
    width: 23%;
}

.plan-table td,
.plan-table th {
    border: 1px solid #E5E7EB;
}

.plan-table thead th {
    border-bottom: 2px solid var(--primary);
}

.plan-table thead th:first-child {
    background: var(--primary-dark);
    color: white;
    font-weight: 800;
}

.plan-table thead th:nth-child(2) {
    background: #F0F0F0;
    color: var(--text-dark);
}

.plan-table thead th:nth-child(3) {
    background: var(--primary);
    color: white;
    font-weight: 800;
}

.plan-table thead th:nth-child(4) {
    background: #1C2833;
    color: white;
    font-weight: 800;
}

.plan-category-row td {
    background: var(--bg-alt) !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    color: var(--primary) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 16px !important;
}

.pricing-desc {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.pricing-card .btn-primary,
.pricing-card .btn-outline {
    padding: 15px 25px;
}

/* ========================================
   Launch Campaign Card
   ======================================== */
.launch-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 20px;
    padding: 40px 36px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.launch-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #E74C3C;
    color: white;
    padding: 8px 28px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.launch-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 16px 0 20px;
    color: var(--text-dark);
}

.launch-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.launch-original {
    font-size: 1.2rem;
    color: var(--text-gray);
    text-decoration: line-through;
}

.launch-free {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary);
}

.launch-card .pricing-features {
    text-align: left;
    margin-bottom: 28px;
    columns: 2;
    column-gap: 12px;
}

.launch-card .pricing-features li {
    break-inside: avoid;
    font-size: 0.85rem;
    padding: 6px 0;
}

.launch-card .btn-primary {
    padding: 15px 25px;
}

.launch-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .launch-card {
        padding: 36px 24px;
    }

    .launch-free {
        font-size: 2.2rem;
    }
}

/* ========================================
   Tech Stack Section
   ======================================== */
.tech-section {
    background: var(--bg-alt);
    padding: 60px 0;
}

.tech-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.tech-item {
    text-align: center;
    padding: 16px 24px;
}

.tech-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.tech-item span {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* ========================================
   Fade-in animation
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   Responsive - New Sections
   ======================================== */
@media (max-width: 1024px) {
    .about-flow {
        gap: 8px;
    }

    .flow-step {
        min-width: 100px;
        padding: 16px 8px;
    }
}

@media (max-width: 768px) {
    .about-flow {
        flex-direction: column;
        gap: 4px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .arch-two-layer {
        grid-template-columns: 1fr;
    }

    .enterprise-grid,
    .individual-features,
    .ai-engine-grid {
        grid-template-columns: 1fr;
    }

    .demo-flow {
        flex-direction: column;
        align-items: center;
    }

    .demo-arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .demo-step {
        max-width: 100%;
        width: 100%;
    }

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

    .pricing-card-featured {
        transform: none;
    }

    .vision-title {
        font-size: 1.15rem;
    }

    .tech-grid {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .flow-icon {
        width: 60px;
        height: 60px;
    }

    .flow-icon svg {
        width: 28px;
        height: 28px;
    }
}
