/* Resources Center Page Styles */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hero Section */
.resources-hero {
    background: linear-gradient(135deg, #0E2044 0%, #5DADE2 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 배경 이미지 레이어 */
.resources-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/hero-background-01.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    animation: subtleZoom 20s ease-in-out infinite alternate;
}

/* 그라데이션 오버레이 */
.resources-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 32, 68, 0.85) 0%, rgba(93, 173, 226, 0.75) 100%);
    pointer-events: none;
}

/* 은은한 확대/축소 애니메이션 */
@keyframes subtleZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

/* 배경 원형 애니메이션 */
.resources-hero .circle-bg {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
    animation: circleFloat 15s ease-in-out infinite;
}

.resources-hero .circle-bg:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.resources-hero .circle-bg:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 10%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.resources-hero .circle-bg:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: 50%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.resources-hero .circle-bg:nth-child(4) {
    width: 250px;
    height: 250px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
    animation-duration: 19s;
}

@keyframes circleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.5;
    }
    90% {
        opacity: 0.3;
    }
}

/* 배경 선 애니메이션 */
.resources-hero .line-bg {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.resources-hero .line-bg:nth-child(5) {
    width: 2px;
    height: 100%;
    left: 20%;
    animation: lineFloat1 12s ease-in-out infinite;
}

.resources-hero .line-bg:nth-child(6) {
    width: 2px;
    height: 100%;
    left: 50%;
    animation: lineFloat2 15s ease-in-out infinite;
    animation-delay: 3s;
}

.resources-hero .line-bg:nth-child(7) {
    width: 2px;
    height: 100%;
    right: 25%;
    animation: lineFloat3 18s ease-in-out infinite;
    animation-delay: 6s;
}

.resources-hero .line-bg:nth-child(8) {
    width: 100%;
    height: 2px;
    top: 30%;
    animation: lineFloat4 14s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes lineFloat1 {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    20% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
        transform: translateY(20px);
    }
    80% {
        opacity: 0.3;
    }
}

@keyframes lineFloat2 {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    20% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.6;
        transform: translateY(-20px);
    }
    80% {
        opacity: 0.4;
    }
}

@keyframes lineFloat3 {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    20% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
        transform: translateY(15px);
    }
    80% {
        opacity: 0.3;
    }
}

@keyframes lineFloat4 {
    0%, 100% {
        opacity: 0;
        transform: translateX(0);
    }
    20% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.4;
        transform: translateX(10px);
    }
    80% {
        opacity: 0.3;
    }
}

.resources-hero .container {
    position: relative;
    z-index: 1;
}

.resources-hero .resources-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.resources-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.8rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.resources-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.resources-hero .text-highlight {
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.resources-hero .hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: white;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Resources Section */
.resources-section {
    background: #f9fafb;
}

.py-16 {
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.resource-category {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.resource-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.category-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.resource-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.resource-list li {
    margin-bottom: 0.75rem;
}

.resource-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
    color: #1f2937;
}

.resource-list a:hover {
    background: #eff6ff;
    transform: translateX(4px);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-soft-primary {
    background: #eff6ff;
    color: #2563eb;
}

.badge-error {
    background: #fee2e2;
    color: #dc2626;
}

.badge-warning {
    background: #fef3c7;
    color: #d97706;
}

.badge-info {
    background: #dbeafe;
    color: #3b82f6;
}

.file-info {
    display: flex;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.file-format {
    background: #e5e7eb;
    padding: 2px 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.file-size {
    color: #6b7280;
}

.text-muted {
    color: #6b7280;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    border: 2px solid #2563eb;
    color: #2563eb;
    background: white;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

/* FAQ Section */
.faq-section {
    background: #f9fafb;
}

.bg-gray-light {
    background: #f9fafb;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
}

.text-center {
    text-align: center;
}

.mb-8 {
    margin-bottom: 2rem;
}

.faq-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.faq-category {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-category-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2563eb;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

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

.faq-question:hover {
    color: #2563eb;
}

.faq-question svg {
    transition: transform 0.3s;
    flex-shrink: 0;
}

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

.faq-answer {
    display: none;
    padding-top: 0.75rem;
    color: #4b5563;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Search Section */
.search-section {
    background: white;
}

.search-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.search-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-control {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control-lg {
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.popular-searches {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #6b7280;
}

.search-tag {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    transition: all 0.2s;
    text-decoration: none;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

.search-tag:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .resources-hero h1 {
        font-size: 2rem;
    }
    
    .resources-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .resources-grid {
        gap: 1.5rem;
    }
    
    .resource-category {
        padding: 1.5rem;
    }
    
    .category-icon {
        width: 64px;
        height: 64px;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-box {
        padding: 2rem 1.5rem;
    }
    
    .search-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .resources-hero {
        padding: 4rem 0 3rem;
    }
    
    .resources-hero h1 {
        font-size: 1.75rem;
    }
    
    .resources-grid,
    .faq-categories {
        gap: 1rem;
    }
    
    .resource-category,
    .faq-category {
        padding: 1.25rem;
    }
    
    .category-title {
        font-size: 1.25rem;
    }
}

/* ===== Guides Page Styles ===== */

/* Breadcrumb */
.breadcrumb-section {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #2563eb;
}

.breadcrumb .separator {
    color: #9ca3af;
}

.breadcrumb span:last-child {
    color: #1f2937;
    font-weight: 600;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.625rem 1.25rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: #4b5563;
}

.filter-tab:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.filter-tab.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

/* Guides Grid */
.guides-section {
    background: #f9fafb;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.guide-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.guide-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.guide-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.guide-read-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.guide-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.guide-card-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.guide-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.guide-date {
    color: #9ca3af;
    font-size: 0.875rem;
}

.guide-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.guide-link:hover {
    gap: 0.5rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #9ca3af;
}

.empty-state svg {
    margin-bottom: 1rem;
}

.empty-text {
    font-size: 1.125rem;
    color: #6b7280;
}

/* CTA Section Alt */
.cta-section-alt {
    background: white;
}

.cta-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive for Guides */
@media (max-width: 1024px) {
    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .guides-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        gap: 0.375rem;
    }
    
    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
}

/* ===== Guide Detail Page Styles ===== */

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.guide-content-section {
    background: white;
}

.guide-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.guide-badge-large {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.guide-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.guide-detail-description {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.guide-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.9375rem;
}

.meta-item svg {
    color: #9ca3af;
}

/* Table of Contents */
.toc-box {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 3rem;
}

.toc-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s;
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.toc-list a:hover {
    background: white;
    color: #2563eb;
    padding-left: 1rem;
}

/* Guide Sections */
.guide-sections {
    margin-bottom: 3rem;
}

.guide-section {
    margin-bottom: 3rem;
    scroll-margin-top: 80px;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #2563eb;
}

.section-content {
    font-size: 1.0625rem;
    color: #4b5563;
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 1.25rem;
}

.section-content ul,
.section-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.section-content li {
    margin-bottom: 0.5rem;
}

/* Guide Navigation */
.guide-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #4b5563;
    font-weight: 600;
    transition: all 0.2s;
}

.nav-button:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
}

.prev-button:hover {
    padding-left: 1rem;
}

.next-button:hover {
    padding-right: 1rem;
}

/* Feedback Box */
.feedback-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.feedback-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.feedback-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.feedback-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    border: 2px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.feedback-positive {
    background: white;
    color: #2563eb;
    border-color: #e5e7eb;
}

.feedback-positive:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-2px);
}

.feedback-negative {
    background: white;
    color: #6b7280;
    border-color: #e5e7eb;
}

.feedback-negative:hover {
    background: #6b7280;
    color: white;
    border-color: #6b7280;
    transform: translateY(-2px);
}

.feedback-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.feedback-message {
    color: #059669;
    font-weight: 600;
    margin-top: 1rem;
}

/* Related Guides */
.related-guides-section {
    background: #f9fafb;
}

.related-guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-guide-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.related-guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.related-guide-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0.75rem 0 0.5rem;
}

.related-guide-description {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.related-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #2563eb;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.related-guide-link:hover {
    gap: 0.5rem;
}

/* Responsive for Guide Detail */
@media (max-width: 768px) {
    .guide-detail-title {
        font-size: 2rem;
    }
    
    .guide-detail-description {
        font-size: 1.0625rem;
    }
    
    .guide-meta {
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .guide-navigation {
        flex-direction: column;
    }
    
    .nav-button {
        width: 100%;
        justify-content: center;
    }
    
    .related-guides-grid {
        grid-template-columns: 1fr;
    }
    
    .feedback-buttons {
        flex-direction: column;
    }
    
    .feedback-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Templates Page Styles ===== */

.templates-section {
    background: #f9fafb;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.template-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.template-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.template-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.template-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.template-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.template-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.template-format,
.template-size,
.template-category {
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.template-format {
    background: #fef3c7;
    color: #d97706;
}

.template-size {
    background: #e5e7eb;
    color: #4b5563;
}

.template-category {
    background: #eff6ff;
    color: #2563eb;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-download:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Template Info Section */
.template-info-section {
    background: #f9fafb;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.info-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Responsive for Templates */
@media (max-width: 1024px) {
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .templates-grid {
        grid-template-columns: 1fr;
    }
    
    .template-icon {
        width: 64px;
        height: 64px;
    }
}

/* ===== Laws Page Styles ===== */

.laws-section {
    background: white;
}

.laws-timeline {
    position: relative;
    padding-left: 2rem;
}

.laws-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #e5e7eb;
}

.dot-error {
    background: #ef4444;
    box-shadow: 0 0 0 2px #fee2e2;
}

.dot-warning {
    background: #f59e0b;
    box-shadow: 0 0 0 2px #fef3c7;
}

.dot-info {
    background: #3b82f6;
    box-shadow: 0 0 0 2px #dbeafe;
}

.timeline-content {
    flex: 1;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.timeline-content:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.law-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.law-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.law-date {
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.law-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.law-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.law-effective {
    color: #6b7280;
    font-size: 0.875rem;
}

.law-effective span {
    font-weight: 600;
    color: #2563eb;
}

.btn-detail-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-detail-toggle:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

.btn-detail-toggle svg {
    transition: transform 0.3s;
}

.law-detail {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.law-detail h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    margin-top: 1rem;
}

.law-detail h4:first-child {
    margin-top: 0;
}

.law-detail ul {
    list-style: none;
    padding: 0;
}

.law-detail li {
    padding-left: 1.5rem;
    position: relative;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.law-detail li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: #2563eb;
    font-weight: 700;
}

/* Subscription Section */
.subscription-section {
    background: #f9fafb;
}

.subscription-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 0 auto;
}

.subscription-icon {
    width: 80px;
    height: 80px;
    background: white;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.subscription-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.subscription-description {
    font-size: 1.0625rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.subscription-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.subscription-note {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Resources Links */
.resources-links-section {
    background: white;
}

.resources-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.resource-link-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.resource-link-card:hover {
    background: white;
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.resource-link-card svg {
    color: #2563eb;
    margin-bottom: 1rem;
}

.resource-link-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.resource-link-card p {
    color: #6b7280;
    font-size: 0.9375rem;
}

/* Responsive for Laws */
@media (max-width: 768px) {
    .laws-timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        gap: 1rem;
    }
    
    .timeline-header {
        flex-direction: column;
    }
    
    .law-date {
        white-space: normal;
    }
    
    .law-footer {
        flex-direction: column;
        align-items: start;
        gap: 1rem;
    }
    
    .btn-detail-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .subscription-title {
        font-size: 1.5rem;
    }
    
    .subscription-form {
        flex-direction: column;
    }
    
    .resources-links-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FAQ Page Styles ===== */

.faq-search-section {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.faq-search-box {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.faq-search-box svg {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.faq-search-input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.2s;
}

.faq-search-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* FAQ Content */
.faq-content-section {
    background: white;
}

.faq-category-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.faq-category-tab {
    padding: 0.625rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: #4b5563;
}

.faq-category-tab:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.faq-category-tab.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category-section {
    margin-bottom: 3rem;
}

.faq-category-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #2563eb;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #9ca3af;
}

.no-results svg {
    margin-bottom: 1rem;
}

.no-results-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.no-results-description {
    color: #6b7280;
}

/* FAQ Contact */
.faq-contact-section {
    background: #f9fafb;
}

.faq-contact-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.faq-contact-content {
    flex: 1;
}

.faq-contact-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.faq-contact-description {
    font-size: 1.0625rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.faq-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method svg {
    width: 40px;
    height: 40px;
    padding: 0.5rem;
    background: white;
    border-radius: 50%;
    color: #2563eb;
}

.contact-method div {
    display: flex;
    flex-direction: column;
}

.contact-method strong {
    font-size: 0.875rem;
    color: #6b7280;
}

.contact-method span {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.faq-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 200px;
}

/* Popular Topics */
.popular-topics-section {
    background: white;
}

.popular-topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.topic-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.topic-card:hover {
    background: white;
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.topic-card svg {
    color: #2563eb;
    margin-bottom: 1rem;
}

.topic-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.topic-card p {
    color: #6b7280;
    font-size: 0.9375rem;
}

/* Responsive for FAQ */
@media (max-width: 1024px) {
    .popular-topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .faq-category-tabs {
        justify-content: flex-start;
    }
    
    .faq-category-tab {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .faq-contact-box {
        flex-direction: column;
        text-align: center;
    }
    
    .faq-contact-buttons {
        width: 100%;
        min-width: auto;
    }
    
    .faq-contact-methods {
        align-items: center;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .popular-topics-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-contact-title {
        font-size: 1.5rem;
    }
}
