/* ============================================
   JIGO Korea Page - Refined Design
   ============================================ */

/* Light theme base for Korea page (overrides dark base-styles) */
body.korea-page {
    background: #fafbfc;
    color: #1a1a2e;
}

body.korea-page a {
    color: inherit;
}

body.korea-page a:hover {
    color: #1a1a2e;
}

/* ============================================
   KOREA PAGE NAVIGATION
   ============================================ */
.korea-page .nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(20px);
}

.korea-page .nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.korea-page .nav-logo {
    color: #1a1a2e;
    font-size: 1.25rem;
}

.korea-page .nav-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
}

.korea-page .nav-link {
    color: #64748b;
}

.korea-page .nav-link:hover {
    color: #1a1a2e;
}

.korea-page .nav-dropdown-menu {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.korea-page .nav-dropdown-item {
    color: #64748b;
}

.korea-page .nav-dropdown-item:hover {
    background: #f8fafc;
    color: #1a1a2e;
}

.korea-page .dropdown-item-title {
    color: #1a1a2e;
}

.korea-page .dropdown-item-subtitle {
    color: #94a3b8;
}

.korea-page .nav-cta {
    background: #1a1a2e;
    color: #fff !important;
}

.korea-page .nav-cta:hover {
    background: #2d2d44;
}

.korea-page .nav-mobile-toggle svg {
    color: #1a1a2e;
}

.korea-page .dropdown-arrow {
    color: #64748b;
}

/* Dropdown item layout: title on first line, "from" + flag on second (base-styles uses column) */
.korea-page .nav-dropdown-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.korea-page .nav-dropdown-item-title {
    display: block;
    width: 100%;
}

.korea-page .nav-dropdown-item-from {
    font-size: 0.7rem;
    font-weight: 500;
    color: #94a3b8;
    text-transform: lowercase;
}

.korea-page .nav-dropdown-item .flag-icon {
    margin-right: 0;
}

/* ============================================
   KOREA HERO - Clean & Modern
   ============================================ */
.korea-hero {
    background: #fafbfc;
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.korea-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.korea-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.korea-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.korea-hero-title {
    font-size: 3.25rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.korea-hero-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 48px;
    font-weight: 400;
}

.korea-stats {
    display: inline-flex;
    gap: 1px;
    background: #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.korea-stat {
    background: #fff;
    padding: 20px 32px;
    text-align: center;
}

.korea-stat:first-child {
    border-radius: 12px 0 0 12px;
}

.korea-stat:last-child {
    border-radius: 0 12px 12px 0;
}

.korea-stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 2px;
}

.korea-stat-label {
    font-size: 0.8125rem;
    color: #94a3b8;
    font-weight: 500;
}

.korea-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.korea-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1a1a2e;
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.korea-btn-primary:hover {
    background: #2d2d44;
    transform: translateY(-1px);
}

.korea-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: #1a1a2e !important;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.korea-btn-secondary:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

/* ============================================
   SECTION BASE STYLES
   ============================================ */
.korea-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.korea-section-subtitle {
    font-size: 1rem;
    color: #64748b;
}

.korea-page .section {
    background: #fff;
    padding: 100px 0;
}

.korea-page .section-header {
    margin-bottom: 56px;
}

/* ============================================
   PAIN POINTS - Card Grid
   ============================================ */
.korea-pain-points {
    background: #fff !important;
    border-top: 1px solid #f1f5f9;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pain-point-card {
    background: #fafbfc;
    padding: 28px;
    border-radius: 12px;
    text-align: left;
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.pain-point-card:hover {
    border-color: #e2e8f0;
    transform: translateY(-2px);
}

.pain-point-emoji {
    font-size: 1.5rem;
    margin-bottom: 14px;
    display: block;
}

.pain-point-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.pain-point-card p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

/* ============================================
   HOW IT WORKS - Numbered Steps
   ============================================ */
.korea-how-it-works {
    background: #fafbfc !important;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

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

.korea-step {
    text-align: center;
    position: relative;
}

.korea-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: -24px;
    width: 48px;
    height: 1px;
    background: #e2e8f0;
}

.korea-step-number {
    width: 48px;
    height: 48px;
    background: #fff;
    border: 2px solid #1a1a2e;
    color: #1a1a2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.korea-step h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.korea-step p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

/* ============================================
   OFFICE TYPES - Minimal Cards
   ============================================ */
.korea-office-types {
    background: #fff !important;
}

.office-types-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 680px;
    margin: 0 auto;
}

.office-type-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 24px;
    transition: all 0.15s ease;
    cursor: pointer;
}

.office-type-card:hover {
    border-color: #1a1a2e;
}

.office-type-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.office-type-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.tag-virtual {
    background: #dbeafe;
    color: #1e40af;
}

.tag-coworking {
    background: #fef3c7;
    color: #92400e;
}

.tag-sublease {
    background: #d1fae5;
    color: #065f46;
}

.tag-direct {
    background: #ede9fe;
    color: #5b21b6;
}

.office-type-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    flex: 1;
}

.office-type-price {
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 500;
}

.office-type-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

/* ============================================
   DELAWARE SECTION
   ============================================ */
.korea-delaware-section {
    background: #fafbfc !important;
    border-top: 1px solid #f1f5f9;
}

.korea-delaware-section .section-header {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.delaware-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.delaware-card--image-only {
    display: block;
    max-width: 560px;
    margin: 0 auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.delaware-card--image-only:hover {
    opacity: 0.95;
}

.delaware-card-image {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.delaware-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.delaware-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #6366f1;
    background: #eef2ff;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.delaware-type {
    font-size: 0.8125rem;
    color: #94a3b8;
}

.delaware-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.delaware-card p {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 20px;
}

/* ============================================
   PARTNERS - Logo Strip
   ============================================ */
.korea-partners {
    background: #fff !important;
    padding: 60px 0 !important;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.korea-partners .section-header {
    margin-bottom: 32px;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partner-logo {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    height: 32px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
}

.partner-logo span {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: -0.01em;
}

/* ============================================
   TESTIMONIALS - Clean Cards
   ============================================ */
.korea-testimonials {
    background: #fafbfc !important;
}

.korea-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.korea-testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #f1f5f9;
}

.korea-testimonial-quote {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: normal;
}

.korea-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.korea-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    font-size: 0.75rem;
}

.korea-author-info {
    display: flex;
    flex-direction: column;
}

.korea-author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a2e;
}

.korea-author-saving {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 500;
}

/* ============================================
   FREE SERVICE SECTION
   ============================================ */
.korea-free-section {
    background: #fff !important;
    border-top: 1px solid #f1f5f9;
}

.free-badge {
    display: inline-block;
    background: #1a1a2e;
    color: #fff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 32px;
}

.free-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.free-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.free-list {
    list-style: none;
    padding: 0;
}

.free-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.6;
}

.free-list li::before {
    content: '✓';
    color: #10b981;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.korea-faq {
    background: #fafbfc !important;
    border-top: 1px solid #f1f5f9;
}

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

.korea-faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.korea-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    background: none;
    border: none;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1a1a2e;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.korea-faq-question:hover {
    color: #6366f1;
}

.korea-faq-question svg {
    width: 18px;
    height: 18px;
    color: #94a3b8;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.korea-faq-item.open .korea-faq-question svg {
    transform: rotate(180deg);
}

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

.korea-faq-item.open .korea-faq-answer {
    max-height: 400px;
}

.korea-faq-answer p {
    padding-bottom: 18px;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.7;
}

/* ============================================
   FINAL CTA
   ============================================ */
.korea-final-cta {
    background: #1a1a2e;
    padding: 80px 0;
    text-align: center;
}

.korea-cta-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.korea-cta-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
}

.korea-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.korea-final-cta .korea-btn-primary {
    background: #fff;
    color: #1a1a2e !important;
}

.korea-final-cta .korea-btn-primary:hover {
    background: #f1f5f9;
}

.korea-final-cta .korea-btn-secondary {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.3);
}

.korea-final-cta .korea-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.korea-cta-note {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
}

/* ============================================
   HERO BADGE (matches jigotenant.com/korea)
   ============================================ */
.korea-hero-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

/* ============================================
   OFFICE TYPE EXTRA (features, audience, note)
   ============================================ */
.office-type-features {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.8;
}

.office-type-audience {
    font-size: 0.8125rem;
    color: #475569;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    line-height: 1.6;
}

.office-type-audience strong {
    color: #1a1a2e;
}

.office-type-note {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 12px;
    padding: 8px 12px;
    background: #fef3c7;
    border-radius: 6px;
    border-left: 3px solid #f59e0b;
}

.delaware-disclaimer {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 16px;
    font-style: italic;
}

/* Modal error message (Korea page uses base-styles modal) */
.modal-error {
    font-size: 0.875rem;
    color: #dc2626;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: rgba(220, 38, 38, 0.08);
    border-radius: 8px;
}

/* ============================================
   FOOTER (index-style: logo + exp, horizontal links)
   ============================================ */
.korea-page .footer {
    background: #000;
    padding: 48px 0 32px;
}

.korea-page .footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}

.korea-page .footer-logos {
    display: flex;
    align-items: center;
    gap: 24px;
}

.korea-page .footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
}

.korea-page .footer-logo:hover {
    color: #fff;
}

.korea-page .footer-logo-exp {
    height: 28px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

.korea-page .footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.korea-page .footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.korea-page .footer-links a:hover {
    color: #fff;
}

.korea-page .footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.korea-page .footer-legal {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.7;
}

.korea-page .footer-legal-links {
    margin-top: 16px;
    font-size: 0.9375rem;
}

.korea-page .footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
}

.korea-page .footer-legal-links a:hover {
    color: #fff;
}

.korea-page .footer-copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 8px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .korea-page .nav-links {
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .korea-page .nav-links .nav-link {
        color: #1a1a2e;
    }

    .korea-page .nav-links .nav-link:hover {
        color: #6366f1;
    }

    .korea-page .nav-links .dropdown-item-title {
        color: #1a1a2e;
    }

    .korea-page .nav-links .nav-dropdown-menu {
        position: static;
        transform: none;
        margin-top: 8px;
        margin-left: 0;
        box-shadow: none;
        border: 1px solid rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 1024px) {
    .pain-points-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .korea-steps::after {
        display: none;
    }

    .korea-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .korea-hero {
        padding: 120px 0 80px;
    }

    .korea-hero-title {
        font-size: 2.25rem;
    }

    .korea-stats {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }

    .korea-stat {
        border-radius: 0;
    }

    .korea-stat:first-child {
        border-radius: 12px 12px 0 0;
    }

    .korea-stat:last-child {
        border-radius: 0 0 12px 12px;
    }

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

    .korea-btn-primary,
    .korea-btn-secondary {
        width: 100%;
        max-width: 280px;
    }

    .pain-points-grid {
        grid-template-columns: 1fr;
    }

    .korea-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .korea-testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .partners-grid {
        gap: 24px;
    }

    .korea-page .section {
        padding: 80px 0;
    }

    .korea-page .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .korea-page .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}
