/* Base Styles & CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-background: #ffffff;
    --color-foreground: #0B0620;
    --color-primary: #381d92;
    --color-secondary: #1C0A63;
    --color-tertiary: #F2F2FA;
    --font-primary: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --container-width: 1200px;
    --primary-color: #0B0620;
    --secondary-color: #333;
    --accent-color: #6A64F1;
    --bg-color: #fff;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #888;
    --space-xs: 5px;
    --space-sm: 10px;
    --space-md: 20px;
    --space-lg: 40px;
    --space-xl: 80px;
    --border-radius: 8px;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

html {
    font-size: 62.5%;
    /* Remove smooth scroll behavior */
    /* scroll-behavior: smooth; */
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--color-foreground);
    background-color: var(--color-background);
    overflow-x: hidden;
    /* Restore default cursor */
    /* cursor: none; */
}

a {
    text-decoration: none;
    color: inherit;
    /* Restore default cursor */
    /* cursor: none; */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Remove Custom Cursor */
/*
.cursor {
    pointer-events: none;
    position: fixed;
    z-index: 9999;
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 0.8rem;
    height: 0.8rem;
    background-color: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out;
}

.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    width: 4rem;
    height: 4rem;
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease-out;
}

.cursor-hover .cursor-dot {
    transform: translate(-50%, -50%) scale(2);
    background-color: rgba(255, 255, 255, 0.5);
}

.cursor-hover .cursor-outline {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: rgba(255, 255, 255, 0.5);
}
*/

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 2rem 0;
    transition: var(--transition);
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    padding: 1.5rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    font-size: 2.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-foreground);
    transition: var(--transition);
}

.logo-link:hover {
    color: var(--color-primary);
}

.nav-list {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 1.6rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.5rem;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.social {
    display: flex;
    gap: 2rem;
}

.social-link {
    font-size: 1.8rem;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 3rem;
    height: 2.5rem;
    position: relative;
    z-index: 102;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-foreground);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-toggle span:nth-child(1) {
    top: 0;
}

.mobile-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-toggle span:nth-child(3) {
    bottom: 0;
}

.mobile-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-background);
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-inner {
    text-align: center;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.mobile-nav-link {
    font-size: 2.4rem;
    font-weight: 600;
    padding: 1rem;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--color-primary);
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.mobile-social-link {
    font-size: 2.4rem;
    transition: var(--transition);
}

.mobile-social-link:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* New Hero Section */
.hero-section {
    padding-top: 15rem;
    padding-bottom: 8rem;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.hero-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    border-radius: 1rem;
    transition: transform 0.6s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-text {
    opacity: 0;
    transform: translateY(3rem);
    animation: fadeUp 0.8s forwards 0.3s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.2rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

.hero-description {
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--color-foreground);
}

/* Content Sections */
.about-section,
.philosophy-section,
.innovation-section,
.controversy-section,
.future-section,
.humanitarian-section,
.conclusion-section,
.tiktok-section,
.contact-section {
    padding: 10rem 0;
    position: relative;
    opacity: 0;
    transform: translateY(3rem);
}

.section-content {
    max-width: 80rem;
    margin: 0 auto;
}

.section-title {
    font-size: 3.6rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--color-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 6rem;
    height: 0.3rem;
    background-color: var(--color-primary);
}

.section-text {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--color-foreground);
}

.section-author {
    font-size: 1.6rem;
    font-style: italic;
    text-align: right;
    margin-top: 4rem;
    color: var(--color-foreground);
}

/* Alternate Section Backgrounds */
.about-section,
.innovation-section,
.future-section,
.conclusion-section {
    background-color: var(--color-tertiary);
}

/* TikTok Section */
.tiktok-section {
    background: linear-gradient(135deg, #f5f7ff 0%, #e6ebfd 100%);
}

.tiktok-section .section-title a {
    color: var(--color-primary);
    transition: var(--transition);
    text-decoration: none;
}

.tiktok-section .section-title a:hover {
    color: var(--accent-color);
}

.tiktok-info {
    background-color: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.07);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tiktok-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.1);
}

.tiktok-text {
    font-size: 1.8rem;
    line-height: 1.7;
}

/* Contact Section */
.contact-info {
    margin-top: 4rem;
    text-align: center;
}

.contact-link {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    padding: 1.5rem 3rem;
    border-radius: 5rem;
    transition: var(--transition);
    text-decoration: none;
}

.contact-link:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

/* Main Content (Keep for compatibility) */
.main {
    padding: 10rem 0;
    background-color: var(--color-background);
}

.article {
    max-width: 80rem;
    margin: 0 auto;
}

.article-intro {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 5rem;
    color: var(--color-secondary);
}

.section {
    margin-bottom: 6rem;
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.section.animated {
    transform: translateY(0);
    opacity: 1;
}

/* Footer */
.footer {
    background-color: var(--color-foreground);
    padding: 5rem 0;
    color: white;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo .logo-link {
    font-size: 2rem;
    color: white;
}

.footer-copyright {
    font-size: 1.4rem;
}

.footer-social {
    display: flex;
    gap: 2rem;
}

.footer-social-link {
    font-size: 1.8rem;
    color: white;
    transition: var(--transition);
}

.footer-social-link:hover {
    color: var(--color-tertiary);
    transform: translateY(-3px);
}

/* Animation classes for sections */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Blog Article Styles */
.article-header {
    position: relative;
    height: 60vh;
    overflow: hidden;
    margin-bottom: 5rem;
}

.article-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.article-header-content {
    position: absolute;
    bottom: 5rem;
    left: 0;
    width: 100%;
    padding: 0 2rem;
    text-align: left;
}

.article-title {
    font-size: 4.2rem;
    font-weight: 700;
    color: white;
    max-width: 80rem;
    margin: 0 auto 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    text-align: left;
}

.subheadline {
    font-size: 2.5rem;
    color: white;
    font-weight: 400;
    max-width: 80rem;
    margin: 0 auto 2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 80rem;
    margin: 0 auto;
}

.article-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.article-lead {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: var(--color-secondary);
}

.article-content p {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.article-content h2 {
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 4rem 0 2rem;
}

.article-content h3 {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 3rem 0 1.5rem;
}

.article-content ul {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    margin-left: 2rem;
    list-style-type: disc;
}

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

.article-text-container {
    opacity: 1;
}

.article-footer {
    max-width: 80rem;
    margin: 6rem auto 0;
    padding: 3rem 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.author-image {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-info p {
    font-size: 1.6rem;
    color: #666;
}

/* Related Articles */
.related-articles {
    margin-top: 8rem;
    padding: 0 2rem;
}

.related-articles h2 {
    font-size: 2.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 120rem;
    margin: 0 auto;
}

.article-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.article-card-image {
    height: 18rem;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card-content {
    padding: 2rem;
}

.article-card-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-foreground);
    transition: var(--transition);
}

.article-card:hover .article-card-content h3 {
    color: var(--color-primary);
}

.article-date {
    font-size: 1.4rem;
    color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
    html {
        font-size: 56.25%; /* 9px */
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-image {
        order: -1;
    }

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

    .article-title {
        font-size: 3.6rem;
    }

    .subheadline {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%; /* 8px */
    }

    .nav, .social {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 3.8rem;
    }

    .section-title {
        font-size: 3.2rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .article-header {
        height: 40vh;
    }

    .article-title {
        font-size: 3rem;
    }

    .subheadline {
        font-size: 2rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 3.4rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .section-text {
        font-size: 1.6rem;
    }

    .tiktok-info {
        padding: 2rem;
    }

    .contact-link {
        width: 100%;
        text-align: center;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 2.6rem;
    }

    .subheadline {
        font-size: 1.8rem;
    }
}
