/* Base Styles */
:root {
    --primary-color: #2d46b9;
    --primary-dark: #1e308c;
    --primary-light: #5b6ecc;
    --secondary-color: #333333;
    --background-color: #ffffff;
    --background-alt: #f9fafb;
    --accent-color: #f0f0f0;
    --text-color: #1a1a2e;
    --text-light: #4a4a68;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
    font-weight: 500;
}

a:hover {
    color: var(--primary-dark);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary i {
    margin-left: 8px;
    font-size: 1.1em;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: none;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.header h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.header h1 a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 0.5rem 0;
}

.header h1 a:hover {
    color: var(--primary-color);
}
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid var(--border-color);
}

.header {
    height: 70px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: 100%;
    max-width: 1300px;
}

.header h1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.header nav {
    display: flex;
    gap: 10px;
}

.header nav a {
    font-weight: 500;
    color: var(--text-light);
    display: flex;
    align-items: center;
    position: relative;
    padding: 10px 20px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    overflow: hidden;
    z-index: 1;
}

.header nav a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(45, 70, 185, 0.08);
    z-index: -2;
    transition: height 0.3s ease;
    border-radius: var(--radius-lg);
}

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

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-cta {
    margin-top: 32px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-right: -30px;
}

.hero-shape {
    width: 450px;
    height: 450px;
    background: rgba(45, 70, 185, 0.08);
    border-radius: 50%;
    animation: morph 12s ease-in-out infinite;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(45, 70, 185, 0.4);
    border: 14px solid rgba(255, 255, 255, 0.3);
    transform: translateY(-10px);
}

.hero-shape::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), transparent 60%);
    z-index: 3;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    filter: brightness(1.2) contrast(1.2);
    mix-blend-mode: normal;
}

@keyframes morph {
    0% { border-radius: 60% 40% 60% 40% / 60% 40% 60% 40%; transform: rotate(0deg); }
    25% { border-radius: 40% 60% 40% 60% / 40% 60% 40% 60%; transform: rotate(1deg); }
    50% { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; transform: rotate(0deg); }
    75% { border-radius: 50% 50% 60% 40% / 40% 60% 50% 50%; transform: rotate(-1deg); }
    100% { border-radius: 60% 40% 60% 40% / 60% 40% 60% 40%; transform: rotate(0deg); }
}

.about-section {
    padding: 80px 0;
    background-color: #fff;
}

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

.about-content h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.project-themes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.theme-card {
    background-color: var(--background-color);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.theme-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.theme-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.themes {
    padding: 100px 0;
    background-color: var(--background-color);
}

.article-container {
    padding: 140px 0 80px;
    max-width: 900px;
    margin: 0 auto;
}

.blog-article {
    background-color: var(--background-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.article-header {
    padding: 40px 40px 20px;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -1px;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.article-content {
    padding: 0 40px 40px;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
}

.article-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.article-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

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

.comparison-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
}

.comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:nth-child(even) {
    background-color: var(--background-alt);
}

.sources-list {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.data-download {
    margin-top: 24px;
    text-align: left;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.data-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background-color: var(--primary-light);
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
    text-decoration: none;
}

.data-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.data-link i {
    font-size: 1rem;
}

.form-link {
    background-color: #6B7280;
}

.form-link:hover {
    background-color: #4B5563;
}

/* Article Image Styles */
.article-image {
    text-align: center;
    margin: 32px 0;
}

.article-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: none;
    transition: none;
    display: block;
}

.image-caption {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 2;
}

.image-caption::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin: 0 auto 12px;
    border-radius: 1px;
}

.article-navigation {
    margin-top: 60px;
    display: flex;
    justify-content: flex-start;
}

.back-to-themes {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.back-to-themes::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.back-to-themes i {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.back-to-themes:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.back-to-themes:hover i {
    transform: translateX(-5px);
}

.back-to-themes:hover::before {
    left: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-divider {
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.theme-card {
    background: var(--background-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.card-icon {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 2.5rem;
}

.card-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.theme-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-color);
    font-weight: 600;
}

.theme-card p {
    color: var(--text-light);
    margin-bottom: 24px;
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: auto;
}

.read-more i {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(4px);
}

main {
    flex-grow: 1;
}

.footer {
    background-color: var(--background-color);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer p:hover {
    color: var(--text-color);
}

body {
    cursor: none;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    background-color: var(--primary-color);
    opacity: 0.5;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
    z-index: 9999;
}

.custom-cursor.hovered {
    width: 50px;
    height: 50px;
    opacity: 0.2;
}

::selection {
    background-color: var(--primary-color);
    color: #fff;
}

::-moz-selection {
    background-color: var(--primary-color);
    color: #fff;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 0 70px;
    }
    
    .article-container {
        padding: 120px 0 70px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-visual {
        margin-top: 40px;
        margin-right: 0;
    }
    
    .hero-shape {
        width: 320px;
        height: 320px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-info p {
        max-width: 100%;
    }
    
    .theme-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .header {
        height: auto;
    }
    
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        height: auto;
        padding: 10px 20px;
    }
    
    .header nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
    }
    
    .header nav a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 110px 0 60px;
    }
    
    .article-container {
        padding: 110px 0 60px;
    }
    
    .hero h2 {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 24px;
    }
    
    .theme-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .article-header {
        padding: 30px 30px 15px;
    }
    
    .article-content {
        padding: 0 30px 30px;
    }
    
    .article-image {
        margin: 30px 0;
        padding: 20px;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .btn-primary {
        padding: 14px 28px;
        font-size: 0.95rem;
        min-height: 48px;
    }
    
    .hero-cta {
        gap: 18px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .back-to-themes {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .header {
        height: auto;
        padding: 10px 0;
        position: static;
        border-bottom: 1px solid var(--border-color);
        background-color: var(--background-color);
        backdrop-filter: none;
        margin-bottom: 10px;
    }
    
    .header .container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 8px 16px;
    }
    
    .header h1 {
        font-size: 1.1rem;
        text-align: center;
        width: 100%;
    }
    
    .header nav {
        margin-top: 5px;
        width: 100%;
        justify-content: center;
        gap: 15px;
    }
    
    .header nav a {
        padding: 5px 8px;
        font-size: 0.85rem;
    }
    
    body {
        padding-top: 0;
    }
    
    .article-container {
        padding: 90px 0 50px;
    }
    
    .hero {
        padding: 10px 0 50px;
        margin-top: 0;
    }
    
    .hero-content {
        padding-top: 30px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
        margin-top: 20px;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin-top: 30px;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
        width: 100%;
        padding: 16px 20px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 12px;
        min-height: 52px;
        display: flex;
        align-items: center;
    }
    
    .hero-shape {
        width: 250px;
        height: 250px;
        border-width: 10px;
    }
    
    .theme-card {
        border-radius: var(--radius-md);
    }
    
    .card-content {
        padding: 20px;
    }
    
    .theme-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .article-header {
        padding: 25px 20px 10px;
    }
    
    .article-content {
        padding: 0 20px 25px;
    }
    
    .article-image {
        margin: 25px 0;
        padding: 16px;
    }
    
    .image-caption {
        font-size: 0.85rem;
        margin-top: 16px;
    }
    
    .article-header h1 {
        font-size: 1.7rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .article-navigation {
        margin-top: 40px;
        display: flex;
        justify-content: center;
        padding: 0;
    }
    
    .back-to-themes {
        padding: 10px 16px;
        font-size: 0.85rem;
        width: 90%;
        justify-content: center;
        border-radius: var(--radius-md);
        margin: 0;
    }
    
    .back-to-themes i {
        font-size: 1em;
    }
}

.transcript-toggle {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0;
    background-color: var(--background-color);
    margin-top: 24px;
}

.transcript-toggle summary {
    cursor: pointer;
    padding: 14px 20px;
    font-weight: 600;
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
}

.transcript-toggle summary::after {
    display: none;
}

.transcript-toggle summary i {
    margin-right: 8px;
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.transcript-toggle[open] summary i {
    transform: rotate(180deg);
}

.transcript-body {
    padding: 0 20px 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}
