/* Base Reset & Typography */
:root {
    --primary-color: #0066CC;
    --primary-hover: #0052a3;
    --navy-blue: #0F172A;
    --danger-color: #D32F2F;
    --caution-color: #F59E0B;
    --success-color: #2E7D32;
    --unknown-color: #64748B;
    --bg-color: #F8FAFC;
    --card-bg: #FFFFFF;
    --text-main: #333333;
    --text-sub: #666666;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --font-family: 'Noto Sans JP', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    transition: opacity 0.2s;
}

/* Emergency Banner */
.emergency-banner {
    background-color: var(--danger-color);
    color: white;
    padding: 10px 12px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    width: 100%;
}

.emergency-icon {
    margin-right: 8px;
}

/* Site Header */
.site-header {
    background-color: white;
    border-bottom: 1px solid #E2E8F0;
    padding: 16px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--navy-blue);
}

.site-title-link {
    text-decoration: none;
    color: inherit;
}

.shield-icon {
    font-size: 24px;
    margin-right: 8px;
}

.site-nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-sub);
    font-size: 14px;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Layout */
.app-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 16px;
    min-height: calc(100vh - 250px);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Page Content (For Guide Pages) */
.page-content {
    margin-top: 40px;
    margin-bottom: 60px;
    min-height: calc(100vh - 250px);
}

.page-content h1 {
    font-size: 28px;
    color: var(--navy-blue);
    margin-bottom: 16px;
    text-align: center;
}

.intro-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-sub);
}

/* Guide Sections & Phone Mockups */
.guide-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.step-text {
    flex: 1;
    max-width: 400px;
}

.step-text h2 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 12px;
}

.step-visual {
    flex-shrink: 0;
}

.phone-mockup {
    width: 240px;
    height: 400px;
    background: #1E293B;
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    position: relative;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Mockup Details: Notification Shade */
.status-bar {
    background: transparent;
    padding: 5px 10px;
    font-size: 10px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    color: white;
}

.notification-shade {
    background: linear-gradient(to bottom, #334155, #475569);
}

.hand-icon {
    font-size: 40px;
    position: absolute;
    top: 30%;
    left: 40%;
    animation: swipeDown 1.5s infinite;
}

@keyframes swipeDown {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(100px);
        opacity: 0;
    }
}

/* Mockup Details: Quick Settings */
.panel-expanded {
    background: #334155;
    padding-top: 20px;
}

.quick-settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
}

.q-icon {
    background: #475569;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-direction: column;
}

.q-icon.active {
    background: #0EA5E9;
}

.q-icon.active-mode {
    background: #0EA5E9;
}

.q-icon.target {
    border: 2px solid #F59E0B;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.status-bar-airplane {
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 10px;
    font-weight: bold;
}

/* Mockup Details: Settings & App List */
.home-screen {
    background: #E2E8F0;
    justify-content: center;
    align-items: center;
}

.app-icon.setting-icon {
    font-size: 40px;
    background: #ddd;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.settings-list {
    background: white;
    padding: 20px 0;
}

.list-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.list-item.highlight {
    background: #FEF3C7;
    font-weight: bold;
}

.admin-app-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    align-items: center;
    font-size: 12px;
}

.toggle-switch {
    width: 30px;
    height: 16px;
    background: #CBD5E1;
    border-radius: 10px;
    position: relative;
}

.toggle-switch.on {
    background: #2E7D32;
}

.toggle-switch.on::after {
    content: '';
    position: absolute;
    right: 2px;
    top: 2px;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
}

.arrow-indicator {
    color: #D32F2F;
    text-align: right;
    font-size: 10px;
    padding-right: 15px;
    font-weight: bold;
}

.app-info {
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.big-icon {
    font-size: 60px;
    margin-bottom: 10px;
}

.app-title {
    font-weight: bold;
    margin-bottom: 20px;
}

.btn-group {
    display: flex;
    gap: 10px;
    width: 100%;
    padding: 0 20px;
}

.btn-mock {
    flex: 1;
    background: #E2E8F0;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    font-size: 12px;
}

.btn-mock.delete {
    background: #fee2e2;
    color: #D32F2F;
    border: 1px solid #D32F2F;
}

/* Mockup Details: Force Stop */
.badge-method {
    background: #E2E8F0;
    color: var(--navy-blue);
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.force-stop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}

.force-stop-btn {
    background: #E2E8F0;
    color: #ef4444;
    /* Red text for force stop */
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #ef4444;
}

/* Mockup Details: Power Menu & Safe Mode */
.power-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 10;
}

.power-btn-item {
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.power-btn-item.shutdown {
    color: #ef4444;
}

.power-btn-item.restart {
    color: #22c55e;
}

/* Safe Mode Sash */
.safe-mode-sash {
    position: absolute;
    bottom: 20px;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    z-index: 20;
}

/* Finger Tap Animation */
.finger-tap {
    font-size: 40px;
    position: absolute;
    top: 45%;
    left: 55%;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
    animation: longPress 2s infinite;
    pointer-events: none;
    z-index: 20;
}

@keyframes longPress {
    0% {
        transform: scale(1);
        opacity: 0;
    }

    20% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.9);
    }

    /* Press down */
    80% {
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Safe Mode Dialog */
.safe-mode-dialog {
    background: white;
    width: 80%;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.safe-mode-dialog h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.safe-mode-dialog p {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.dialog-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    color: #0066CC;
    font-weight: bold;
    font-size: 13px;
}

/* Grid for App List */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.app-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.2s;
}

.app-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.app-icon-display {
    font-size: 32px;
    background: #F1F5F9;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-info {
    padding: 0;
    /* Override generic class */
    align-items: flex-start;
}

.app-name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--navy-blue);
}

.app-risk {
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.app-risk.risk-high {
    background: #FEF2F2;
    color: #D32F2F;
}

.app-risk.risk-medium {
    background: #FFFBEB;
    color: #D97706;
}

.app-desc {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.5;
}

.alert-box {
    background: #FFF5F5;
    border: 1px solid #FECACA;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 30px;
    color: #7f1d1d;
}

.alert-box h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.next-action {
    text-align: center;
    background: #F0F9FF;
    padding: 30px;
    border-radius: 16px;
    margin-top: 60px;
}

.next-action h3 {
    margin-bottom: 12px;
}

.next-action p {
    margin-bottom: 24px;
    color: var(--text-sub);
}

/* Card UI (Existing) */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #F1F5F9;
}

.card-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 8px;
}

.subtitle {
    font-size: 16px;
    color: var(--text-sub);
    margin-bottom: 24px;
}

/* Screen Management */
.screen {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.screen.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-primary:active {
    transform: scale(0.98);
    background-color: var(--primary-hover);
}

.btn-lg {
    font-size: 20px;
    padding: 20px;
}

.check-list {
    list-style: none;
    margin: 24px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20%;
    /* Visual center while being left-aligned */
}

.check-list li {
    margin-bottom: 12px;
    font-size: 16px;
}

.note {
    font-size: 12px;
    color: var(--text-sub);
    margin-top: 24px;
}

/* Question Screen */
.progress-bar-container {
    height: 6px;
    background-color: #E2E8F0;
    border-radius: 3px;
    margin-bottom: 24px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
}

.question-header {
    margin-bottom: 16px;
}

.question-number {
    display: inline-block;
    background: #EBF5FF;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-right: 8px;
}

.question-category {
    font-size: 14px;
    color: var(--text-sub);
    font-weight: 500;
}

.question-text {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.4;
    color: var(--navy-blue);
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-option {
    background-color: white;
    border: 2px solid #E2E8F0;
    color: var(--text-main);
    justify-content: flex-start;
    padding-left: 24px;
}

.btn-option:hover,
.btn-option:active {
    background-color: #F1F5F9;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

button[data-value="unknown"]:hover {
    border-color: var(--unknown-color);
    color: var(--navy-blue);
    background-color: #F8FAFC;
}

.btn-option .icon {
    margin-right: 12px;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

/* Result Screen */
.result-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 18px;
}

.result-badge.danger {
    background-color: #FFF5F5;
    color: var(--danger-color);
}

.result-badge.caution {
    background-color: #FFFBEB;
    color: var(--caution-color);
}

.result-badge.safe {
    background-color: #F0FDF4;
    color: var(--success-color);
}

.result-body {
    text-align: left;
}

.result-body h3 {
    font-size: 20px;
    margin: 24px 0 12px;
    border-bottom: 2px solid #F1F5F9;
    padding-bottom: 8px;
}

.step-item {
    background: #F8FAFC;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    border: 1px solid #E2E8F0;
}

.step-item.important {
    background: #FFF5F5;
    border: 1px solid #FECACA;
}

.step-number {
    background: var(--navy-blue);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-item.important .step-number {
    background: var(--danger-color);
}

.step-content h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--navy-blue);
}

.step-content p {
    font-size: 14px;
    color: var(--text-sub);
}

.instruction-box {
    background: white;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 13px;
    border-left: 4px solid var(--danger-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.affiliate-section {
    margin-top: 32px;
    text-align: center;
    background: #F0F9FF;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #BAE6FD;
}

.affiliate-section h3 {
    border: none;
    margin-top: 0;
    color: var(--primary-color);
}

.affiliate-link {
    margin-top: 16px;
    flex-direction: column;
    line-height: 1.3;
}

.affiliate-link .small {
    font-size: 12px;
    font-weight: 400;
    margin-top: 4px;
    opacity: 0.9;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0 24px;
    color: var(--text-sub);
    font-size: 12px;
    background-color: white;
    border-top: 1px solid #E2E8F0;
}

footer a {
    color: var(--text-sub);
    text-decoration: none;
    margin: 0 12px;
}

/* Mobile Tweaks */
@media (max-width: 480px) {
    /* .site-nav removed as it was empty */

    .question-text {
        font-size: 20px;
    }

    .btn {
        padding: 14px;
    }

    .guide-step {
        flex-direction: column;
        text-align: center;
    }

    .step-text {
        text-align: center;
    }
}

/* === Layout Restructure Improvements (Applied) === */

/* Hero Section Refinements */
.hero-section {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #fff 0%, #f0f7ff 100%);
    text-align: center;
}

/* Hero Section Redesign V3 (Visual Focused) */
.hero-section-v3 {
    width: 100%;
    height: 480px;
    background-image: url('hero_bg.png');
    background-size: cover;
    background-position: center 30%;
    /* Shift image slightly to show the woman better */
    /* Focus on the woman and phone on the left/center */
    position: relative;
    overflow: hidden;
}

.hero-floating-container {
    position: absolute;
    top: 40px;
    right: 40px;
    text-align: right;
    z-index: 10;
    max-width: 50%;
}

.hero-floating-text {
    color: #FFFFFF;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 4px 10px rgba(0, 0, 0, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.8);
    /* Strong triple shadow for clarity */
}

.highlight-shadow {
    display: inline-block;
    border-bottom: 4px solid var(--primary-color);
}

@media (max-width: 991px) {
    .hero-floating-text {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .hero-section-v3 {
        height: 360px;
        background-position: 20% center;
        /* Ensure mobile still shows the woman */
    }

    .hero-floating-container {
        top: 20px;
        right: 20px;
        max-width: 80%;
    }

    .hero-floating-text {
        font-size: 20px;
        text-align: center;
        width: 100%;
    }
}

/* Hero Section Redesign (Apple/Ubie Style) */
.hero-section-v2 {
    width: 100%;
    min-height: 500px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)), url('hero_bg.png');
    background-size: cover;
    background-position: center right;
    /* Desktop focus on woman */
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 0;
}

.hero-container-v2 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.hero-content-v2 {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.85);
    /* Glass-like contrast for readability */
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.hero-title-v2 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    color: #111;
    margin: 0 0 20px 0;
}

.hero-subtitle-v2 {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-apple {
    background: var(--primary-color);
    color: white;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    /* Capsule shape */
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-apple:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .hero-section-v2 {
        background-position: 70% center;
        /* Adjust for tablet */
    }
}

@media (max-width: 768px) {
    .hero-section-v2 {
        min-height: 600px;
        background-position: center bottom;
        /* Woman on bottom, text on top */
        align-items: flex-start;
        padding-top: 40px;
    }

    .hero-content-v2 {
        margin: 0 auto;
        text-align: center;
        max-width: 100%;
        padding: 30px 20px;
        background: rgba(255, 255, 255, 0.9);
    }

    .hero-title-v2 {
        font-size: 26px;
    }

    .hero-subtitle-v2 {
        font-size: 16px;
    }

    .mobile-only {
        display: block;
    }
}

.mobile-only {
    display: none;
}

/* Legacy Flex Constraints Removed */
.hero-container {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0;
}


/* Diagnosis Start Section */
.diagnosis-start-section {
    padding: 0 0 60px;
}

.start-card {
    max-width: 680px;
    margin: 40px auto 0;
    /* Clean separation from hero */
    position: relative;
    z-index: 10;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Stronger shadow */
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.shield-icon-large {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

/* About Page Styles */
.narrow-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.page-title {
    font-size: 32px;
    font-weight: 900;
    color: #111;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.ubie-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f4f8;
}

.ubie-card h2,
.ubie-card h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.story-section {
    margin: 60px 0;
}

.story-section h3 {
    font-size: 24px;
    color: #111;
    margin-bottom: 25px;
}

.quote {
    font-style: italic;
    font-weight: 700;
    font-size: 18px;
    color: #444;
    border-left: 4px solid var(--primary-color);
    padding: 20px 30px;
    background: #f8fbff;
    margin: 40px 0;
    line-height: 1.6;
}

.vision-item {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #f0f4f8;
}

.vision-item h4 {
    font-size: 20px;
    color: #111;
    margin-bottom: 10px;
}

.vision-item:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.content-detail-section {
    padding: 60px 0;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 26px;
    }

    .ubie-card {
        padding: 30px 20px;
    }

    .quote {
        font-size: 16px;
        padding: 15px 20px;
    }
}

/* Article Page Styles */
.breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.article-header {
    margin-bottom: 40px;
    text-align: left;
}

.article-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.3;
    color: #111;
    margin-bottom: 20px;
}

.article-meta {
    font-size: 14px;
    color: #888;
}

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.article-body h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin: 60px 0 25px;
    padding-left: 15px;
    border-left: 6px solid var(--primary-color);
}

.article-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin: 40px 0 20px;
    border-bottom: 2px solid #f0f4f8;
    padding-bottom: 10px;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 10px;
}

.info-box-light {
    background: #f8fbff;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #74c0fc;
    margin: 30px 0;
    font-size: 16px;
}

.article-cta-banner {
    margin-top: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.cta-flex {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cta-text h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #111;
}

.cta-text p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 28px;
    }

    .article-body {
        font-size: 16px;
    }

    .article-body h2 {
        font-size: 24px;
    }
}

@media (max-width: 900px) {
    .article-grid {
        grid-template-columns: 1fr !important;
    }
}

.site-footer a:hover {
    color: #0066CC !important;
    text-decoration: underline !important;
}