/* ==========================================================================
   TORITOSYSTEM — Story page (우리의 차별점)
   메인 랜딩과 동일한 다크 테마 + 에디토리얼 톤으로 통일
   ========================================================================== */

/* ---------- Global base — dark dominant ---------- */
body.story-page {
    background: #070B17;
    color: #fff;
    font-family: var(--f-body, 'Pretendard Variable', 'Pretendard', -apple-system, sans-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.005em;
}

/* ---------- Header / nav (same as main landing) ---------- */
body.story-page header {
    background:
        radial-gradient(ellipse 80% 60% at 18% 12%, rgba(225, 29, 72, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 85% 85%, rgba(255, 215, 106, 0.08) 0%, transparent 55%),
        linear-gradient(160deg, #0E1A3E 0%, #0A0F2A 55%, #050914 100%) !important;
    color: #fff;
    padding-bottom: 0 !important;
    overflow: hidden;
}

body.story-page header::before {
    display: none;
}

body.story-page nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.story-page .logo a { color: #fff; }
body.story-page .nav-menu a { color: rgba(255, 255, 255, 0.72); }
body.story-page .nav-menu a:hover { color: #fff; }
body.story-page .nav-menu .btn-contact {
    background: #fff;
    color: #0F1B3C;
}
body.story-page .nav-menu .btn-contact:hover {
    background: #E11D48;
    color: #fff;
}
body.story-page .menu-toggle { color: #fff; }

/* ---------- Hero (.story-hero) ---------- */
body.story-page .story-hero {
    padding: 120px 0 140px !important;
    color: #fff;
    background: transparent;
}

body.story-page .story-hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

body.story-page .story-hero h1 {
    font-family: var(--f-display, 'Pretendard Variable', sans-serif);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: #fff;
    margin-bottom: 36px;
}

body.story-page .story-hero h1 .highlight {
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #FFD76A 0%, #FF8A5C 50%, #E11D48 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 28px rgba(255, 138, 92, 0.4));
}

body.story-page .hero-description {
    margin-bottom: 48px;
}

body.story-page .hero-description p {
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 10px;
}

body.story-page .hero-description .desc-highlight {
    font-size: 1.2rem;
    color: #FFD76A;
    font-weight: 600;
    margin-top: 18px;
}

body.story-page .hero-description p strong {
    color: #fff;
    font-weight: 700;
}

body.story-page .hero-cta {
    margin-top: 24px;
}

body.story-page .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: #fff;
    color: #0F1B3C;
    font-weight: 700;
    font-size: 1.02rem;
    border-radius: 8px;
    letter-spacing: -0.005em;
    box-shadow: 0 16px 40px -12px rgba(255, 255, 255, 0.25);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.story-page .btn-hero:hover {
    background: #E11D48;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 44px -10px rgba(225, 29, 72, 0.5);
}

body.story-page .btn-hero i {
    color: #FFD76A;
}

body.story-page .btn-hero:hover i {
    color: #fff;
}

/* ---------- Section base ---------- */
body.story-page .section {
    padding: 120px 0 !important;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: transparent !important;
}

body.story-page .section.bg-light {
    background: transparent !important;
}

/* Alternating tonal accents via ::before radial glow */
body.story-page .section:nth-of-type(1)::before,
body.story-page .section:nth-of-type(3)::before,
body.story-page .section:nth-of-type(5)::before,
body.story-page .section:nth-of-type(7)::before,
body.story-page .section:nth-of-type(9)::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 45% at 85% 15%, rgba(103, 232, 249, 0.08) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

body.story-page .section:nth-of-type(2)::before,
body.story-page .section:nth-of-type(4)::before,
body.story-page .section:nth-of-type(6)::before,
body.story-page .section:nth-of-type(8)::before,
body.story-page .section:nth-of-type(10)::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 45% at 15% 85%, rgba(167, 139, 250, 0.08) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

body.story-page .section > .container {
    position: relative;
    z-index: 1;
}

body.story-page .section-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 60px;
}

body.story-page .section-header h2 {
    font-family: var(--f-display, sans-serif);
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin-bottom: 14px;
}

body.story-page .section-header p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.68);
    margin: 0 auto;
    max-width: 540px;
}

/* Section decorative icons */
body.story-page .section-icon,
body.story-page .warning-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #67E8F9 0%, #A78BFA 100%);
    box-shadow: 0 10px 22px -6px rgba(167, 139, 250, 0.4);
}

body.story-page .section-icon i,
body.story-page .warning-icon i {
    color: #fff;
    font-size: 1.4rem;
}

body.story-page .warning-icon {
    background: linear-gradient(135deg, #F59E0B 0%, #F43F5E 100%);
    box-shadow: 0 10px 22px -6px rgba(244, 63, 94, 0.4);
}

/* ---------- Planning section (question-box) ---------- */
body.story-page .planning-content {
    max-width: 860px;
    margin: 0 auto;
}

body.story-page .question-box {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 36px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.story-page .question-box .question {
    font-family: var(--f-display, sans-serif);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: -0.015em;
}

body.story-page .question-box .question:last-child {
    margin-bottom: 0;
}

body.story-page .planning-intro .answer {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #FFD76A;
    margin: 0 auto 48px;
    max-width: 700px;
}

body.story-page .planning-intro .answer strong { color: #FFD76A; font-weight: 700; }

body.story-page .process-description {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

body.story-page .process-description p {
    font-size: 1.05rem;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 18px;
}

body.story-page .process-description p strong { color: #fff; }

/* ---------- Developer section (analogy-card) ---------- */
body.story-page .developer-content {
    max-width: 860px;
    margin: 0 auto;
}

body.story-page .analogy-card {
    display: flex;
    gap: 28px;
    align-items: center;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(103, 232, 249, 0.2);
    border-radius: 16px;
    padding: 36px 40px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

body.story-page .analogy-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #67E8F9 0%, #A78BFA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px -8px rgba(103, 232, 249, 0.5);
}

body.story-page .analogy-icon i {
    font-size: 1.8rem;
    color: #fff;
}

body.story-page .analogy-text h3 {
    font-family: var(--f-display, sans-serif);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.story-page .analogy-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 6px;
}

body.story-page .analogy-text p strong { color: #fff; }

body.story-page .analogy-text .emphasis {
    color: #67E8F9;
    font-weight: 600;
    margin-top: 10px;
}

body.story-page .developer-problem {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #67E8F9;
    border-radius: 0 12px 12px 0;
    padding: 24px 28px;
}

body.story-page .developer-problem p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    margin: 0;
}

body.story-page .developer-problem strong { color: #fff; }

/* ---------- Risk section (risk-grid) ---------- */
body.story-page .risk-grid,
body.story-page .solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
}

body.story-page .risk-item,
body.story-page .solution-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

body.story-page .risk-item:hover {
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.35);
    transform: translateY(-2px);
}

body.story-page .solution-item:hover {
    background: rgba(52, 211, 153, 0.08);
    border-color: rgba(52, 211, 153, 0.35);
    transform: translateY(-2px);
}

body.story-page .risk-item i {
    color: #F43F5E;
    font-size: 1.25rem;
    flex-shrink: 0;
}

body.story-page .solution-item i {
    color: #34D399;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ---------- Success Rate section ---------- */
body.story-page .horror-intro { max-width: 860px; margin: 0 auto 60px; }

body.story-page .horror-quotes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

body.story-page .horror-quote {
    background: rgba(244, 63, 94, 0.06);
    border: 1px solid rgba(244, 63, 94, 0.18);
    border-radius: 12px;
    padding: 22px 24px;
    position: relative;
}

body.story-page .horror-quote i {
    position: absolute;
    top: 16px;
    left: 18px;
    color: rgba(244, 63, 94, 0.5);
    font-size: 0.9rem;
}

body.story-page .horror-quote p {
    margin: 0;
    padding-left: 22px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
    font-style: italic;
}

body.story-page .pain-text {
    text-align: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 24px;
}

body.story-page .success-promise {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

body.story-page .success-promise h3 {
    font-family: var(--f-display, sans-serif);
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

body.story-page .success-promise > p {
    font-size: 1.15rem;
    color: #FFD76A;
    margin-bottom: 40px;
}

body.story-page .success-promise > p strong { color: #FFD76A; }

body.story-page .stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 720px;
    margin: 0 auto 48px;
}

body.story-page .stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(103, 232, 249, 0.2);
    border-radius: 16px;
    padding: 32px 16px;
    text-align: center;
    backdrop-filter: blur(10px);
}

body.story-page .stat-number {
    font-family: var(--f-display, sans-serif);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #67E8F9 0%, #A78BFA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 18px rgba(103, 232, 249, 0.3));
    margin-bottom: 10px;
}

body.story-page .stat-label {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.68);
    font-weight: 600;
    letter-spacing: 0.02em;
}

body.story-page .promise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 780px;
    margin: 0 auto 40px;
}

body.story-page .promise-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    font-weight: 500;
}

body.story-page .promise-card i {
    color: #FFD76A;
    font-size: 1.3rem;
    flex-shrink: 0;
}

body.story-page .final-promise {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 32px;
    background: rgba(255, 215, 106, 0.06);
    border: 1px solid rgba(255, 215, 106, 0.2);
    border-radius: 14px;
}

body.story-page .final-promise p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #fff;
}

/* ---------- Cost & Time section ---------- */
body.story-page .cost-content { max-width: 900px; margin: 0 auto; text-align: center; }

body.story-page .cost-question h3 {
    font-family: var(--f-display, sans-serif);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

body.story-page .cost-question .answer {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 48px;
}

body.story-page .cost-question .answer strong { color: #FFD76A; }

body.story-page .value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 48px;
}

body.story-page .value-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 36px 32px;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

body.story-page .value-card:hover {
    transform: translateY(-3px);
    border-color: rgba(103, 232, 249, 0.3);
}

body.story-page .value-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #34D399 0%, #06B6D4 100%);
    margin-bottom: 22px;
    box-shadow: 0 10px 22px -6px rgba(52, 211, 153, 0.4);
}

body.story-page .value-icon i {
    color: #fff;
    font-size: 1.35rem;
}

body.story-page .value-card h4 {
    font-family: var(--f-display, sans-serif);
    font-size: 1.15rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

body.story-page .value-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.96rem;
    line-height: 1.65;
    margin: 0;
}

body.story-page .decision-message {
    max-width: 720px;
    margin: 0 auto;
}

body.story-page .decision-message p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 10px;
}

body.story-page .decision-message p strong { color: #fff; }

/* ---------- Focus section ---------- */
body.story-page .focus-content { max-width: 820px; margin: 0 auto; text-align: center; }

body.story-page .focus-intro p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 14px;
}

body.story-page .focus-intro p strong { color: #fff; }

body.story-page .business-focus {
    margin-top: 48px;
    padding: 36px 40px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

body.story-page .business-focus h3 {
    font-family: var(--f-display, sans-serif);
    font-size: 1.4rem;
    color: #A78BFA;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

body.story-page .business-focus p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.72;
    margin-bottom: 12px;
}

body.story-page .business-focus p strong { color: #fff; }

/* ---------- Start section ---------- */
body.story-page .start-content { max-width: 740px; margin: 0 auto; text-align: center; }

body.story-page .start-content p {
    font-size: 1.12rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 14px;
}

body.story-page .start-content p strong { color: #fff; }

/* ---------- Final CTA section ---------- */
body.story-page .cta-section {
    background:
        radial-gradient(ellipse 50% 45% at 50% 0%, rgba(225, 29, 72, 0.15) 0%, transparent 55%),
        linear-gradient(180deg, #0F1B3C 0%, #050914 100%) !important;
}

body.story-page .cta-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

body.story-page .cta-content h2 {
    font-family: var(--f-display, sans-serif);
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 18px;
}

body.story-page .cta-content p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

body.story-page .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: #fff;
    color: #0F1B3C;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 8px;
    letter-spacing: -0.005em;
    box-shadow: 0 16px 36px -10px rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

body.story-page .btn-cta::after { content: "→"; transition: transform 0.2s ease; }

body.story-page .btn-cta:hover {
    background: #E11D48;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(225, 29, 72, 0.6);
}

body.story-page .btn-cta:hover::after { transform: translateX(4px); }

/* ---------- Footer (reuse main landing style) ---------- */
body.story-page footer {
    background: #0B1224 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    body.story-page .section { padding: 80px 0 !important; }
    body.story-page .story-hero { padding: 80px 0 100px !important; }

    body.story-page .risk-grid,
    body.story-page .solution-grid,
    body.story-page .promise-grid,
    body.story-page .value-grid {
        grid-template-columns: 1fr;
    }

    body.story-page .horror-quotes {
        grid-template-columns: 1fr;
    }

    body.story-page .stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    body.story-page .analogy-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    body.story-page .stat-number { font-size: 2.2rem; }
}

@media (max-width: 560px) {
    body.story-page .section { padding: 64px 0 !important; }

    body.story-page .question-box { padding: 24px 22px; }
    body.story-page .question-box .question { font-size: 1.05rem; }

    body.story-page .stat-card { padding: 24px 10px; }
    body.story-page .stat-number { font-size: 1.8rem; }
    body.story-page .stat-label { font-size: 0.82rem; }

    body.story-page .business-focus,
    body.story-page .final-promise,
    body.story-page .developer-problem {
        padding: 22px 20px;
    }
}
