/* Font Face Declarations */

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

:root {
    /* Base Color Palette */
    --color-black: #000000;           /* Dark pages background */
    --color-white: #FFFFFF;           /* Light pages background */
    --color-lime: #CDFE00;            /* Lime accent */
    --color-green: #64DA41;           /* Green accent */
    --color-blue: #0057F3;            /* Blue accent */
    --color-light-blue: #E4EFF7;      /* Light blue accent */
    --color-dark-gray: #111111;       /* Dark gray */
    
    /* Typography Colors - Dark Backgrounds */
    --text-dark-primary: #FFFFFF;     /* Primary text on dark */
    --text-dark-secondary: #FFFFFF99; /* 60% white on dark */
    --text-dark-tertiary: #FFFFFF66;  /* 40% white on dark */
    
    /* Typography Colors - Light Backgrounds */
    --text-light-primary: #000000;    /* Primary text on light */
    --text-light-secondary: #00000066; /* 40% black on light */
    --text-light-tertiary: #000000;   /* Black on light (for contrast) */
    
    /* Semantic Variables */
    --bg-primary: var(--color-black);
    --bg-secondary: var(--color-dark-gray);
    --bg-light: var(--color-white);
    --bg-light-accent: var(--color-light-blue);
    
    --accent-primary: var(--color-lime);
    --accent-secondary: var(--color-green);
    --accent-tertiary: var(--color-blue);
    
    /* Context-Aware Text Colors */
    --text-primary: var(--text-dark-primary);
    --text-secondary: var(--text-dark-secondary);
    --text-tertiary: var(--text-dark-tertiary);
    
    /* Legacy Variables (deprecated) */
    --lime-green: var(--color-lime);
    --green: var(--color-green);
    --blue: var(--color-blue);
    --light-gray: var(--color-light-blue);
    --bg-dark: var(--color-black);
    --text-white: var(--text-dark-primary);
    --text-gray: var(--text-dark-secondary);
    
    /* Font Family Variables */
    --font-serif: 'DM Serif Text', 'Georgia', 'Times New Roman', 'Times', serif;
    --font-sans: 'DM Sans', 'Helvetica Neue', 'Helvetica', 'Arial', 'system-ui', -apple-system, 'Segoe UI', 'Roboto', sans-serif;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Header Styles */
.site-header {
    height: 56px;
    border-bottom: 0.3px solid #FFFFFF4D; /* 30% white */
    display: flex;
    align-items: center;
    position: relative;
}

.header-container {
    margin: 0 auto;
    max-width: 1500px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    flex-shrink: 0;
}

.logo-main {
    color: var(--text-primary);
}

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

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

.header-nav .btn-primary {
    margin-left: 1rem;
    font-size: 0.875rem;
    padding: 0.5rem 1.5rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

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

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-toggle-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    height: calc(100vh - 56px);
    background: var(--bg-primary);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu-open {
    transform: translateX(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

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

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-menu-body-lock {
    overflow: hidden;
}


.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    min-height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.status-indicators {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.status-square {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.status-square.lime { background: var(--lime-green); }
.status-square.green { background: var(--green); }
.status-square.blue { background: var(--blue); }
.status-square.gray { background: var(--light-gray); }

.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-accent {
    color: var(--accent-primary);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2rem;
    font-style: normal;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: baseline;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--color-black);
    padding: 0.75rem 2rem;
    border: 1px solid transparent;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(205, 254, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.75rem 2rem;
    border: 1px solid var(--text-secondary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    transform: translateY(-1px);
}

/* Footer Styles */
.site-footer {
    margin-top: auto;
    padding: 2rem 0 1rem;
    text-align: left;
}

.footer-credit {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.heart {
    color: #ff6b6b;
    font-size: 1em;
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.footer-link {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Blog Styles */

.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 56px);
}

.blog-index-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 56px);
}

.blog-header {
    text-align: center;
    margin-bottom: 4rem;
}

.blog-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.blog-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-preview {
    border-bottom: 1px solid var(--text-secondary);
    padding-bottom: 2rem;
}

.blog-preview:last-child {
    border-bottom: none;
}

.preview-title {
    margin: 0 0 1rem 0;
}

.preview-title a {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.preview-title a:hover {
    color: var(--accent-primary);
}

.preview-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.preview-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.preview-tags {
    display: flex;
    gap: 0.5rem;
}

.preview-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.no-posts {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 3rem 0;
}

/* Individual Blog Post Styles */
.blog-post {
    max-width: 100%;
}

.post-header {
    margin-bottom: 3rem;
    text-align: center;
}

.post-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-date {
    color: var(--text-secondary);
    font-size: 1rem;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--accent-primary);
    color: var(--color-black);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-content {
    line-height: 1.7;
    color: var(--text-primary);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin: 2rem 0 1rem 0;
}

.post-content h1 { font-size: 2rem; }
.post-content h2 { font-size: 1.6rem; }
.post-content h3 { font-size: 1.3rem; }

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.post-content a:hover {
    border-bottom-color: var(--accent-primary);
}

.post-content blockquote {
    border-left: 4px solid var(--accent-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.post-content code {
    background: var(--bg-secondary);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--accent-primary);
}

.post-content pre {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-content pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
}

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

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

.post-navigation {
    margin-top: 4rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--text-secondary);
}

.back-to-blog {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-to-blog:hover {
    color: var(--text-primary);
}

.cta-button {
    background: var(--lime-green);
    color: #000;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-bottom: 4rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(191, 255, 0, 0.3);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 900px;
}

.category-card {
    background: #222;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    background: #2a2a2a;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.card-indicator.lime { background: var(--lime-green); }
.card-indicator.green { background: var(--green); }
.card-indicator.blue { background: var(--blue); }

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.card-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
}


/* About Page Styles */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
    min-height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

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

.about-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
}

.about-accent {
    color: var(--accent-primary);
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1100px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.profile-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-left: 1rem;
}

.greeting {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 2rem;
    line-height: 1.2;
    text-align: left;
}

.greeting-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.name-intro {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
}

.name-highlight {
    color: var(--accent-primary);
}

.tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 0.3rem 0;
}

.footer-social .social-link i {
    width: 22px;
    font-size: 22px;
}

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

.social-icon {
    font-size: 1.2rem;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon-svg {
    width: 18px;
    height: 18px;
    fill: var(--text-secondary);
    transition: fill 0.3s ease;
}

.social-link:hover .social-icon-svg {
    fill: var(--text-primary);
}

.social-icon-fa {
    font-size: 16px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    width: 18px;
    text-align: center;
}

.social-link:hover .social-icon-fa {
    color: var(--text-primary);
}

.social-text {
    font-family: var(--font-sans);
}

/* Responsive design */
@media (max-width: 1600px) {
    .header-container {
        margin: 0 5.5rem;
    }
}
@media (max-width: 900px) {
    .header-container {
        padding: 0 1.5rem;
        margin: unset;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}


@media (max-width: 480px) {
    .status-square {
        width: 40px;
        height: 40px;
    }
    
    .about-layout {
        gap: 2rem;
    }
}

/* Edu Page Card Styles */
.page-container {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
    background-color: var(--bg-primary);
}

.intro-card {
    width: 100%;
    max-width: 1120px;
    height: 700px;
    background-color: #111111;
    border-radius: 18px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-image {
    width: 50%;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}

.card-image .profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}

.card-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 5rem 4rem 5rem;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    gap: 2rem;
}

.greeting-text {
    font-family: var(--font-serif);
    font-size: 20px;
    color: #999999;
    margin: 0 0 0.5rem 0;
    font-weight: 400;
    line-height: 1.2;
}

.name-intro {
    font-family: var(--font-serif);
    font-size: 70px;
    margin: 0 0 1rem 0;
    font-weight: 400;
    line-height: 0.9;
}

.name-intro .name-highlight {
    color: var(--accent-primary);
}

.tagline {
    font-family: var(--font-serif);
    font-size: 15px;
    color: #999999;
    font-style: italic;
    margin: 0;
    font-weight: 400;
    line-height: 1.8;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #999999;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

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

/* Responsive Design for Edu Card */

@media (max-width: 480px) {
    .page-container {
        padding: 1rem;
    }
    
    .intro-card {
        max-width: 100%;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .name-intro {
        font-size: 2rem;
    }
}

/* Studio Boxes */
.studio-boxes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.3rem;
    margin-top: 3rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.studio-box {
    width: 230px;
    height: 230px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #64DA41;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.studio-box:hover {
    transform: translateY(-10px);
}

.studio-box-center {
    width: 290px;
    height: 290px;
    background-color: #0057F3;
}

.box-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fullscreen Hero */
.hero-fullscreen {
    min-height: 100vh;
    background: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 2rem 0rem 0rem;
    position: relative;
}

.hero-content {
    margin-top: 1rem;
    margin-bottom: 0;
    z-index: 2;
}

.hero-fullscreen .hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    color: var(--text-dark-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-fullscreen .hero-accent {
    color: var(--accent-primary);
    font-weight: 400;
}

.hero-fullscreen .hero-subtitle {
    color: var(--text-dark-secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.hero-fullscreen .btn-primary {
    background-color: var(--accent-primary);
    color: var(--text-light-primary);
    border: none;
    font-weight: 600;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.hero-fullscreen .btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.hero-image-section {
    width: 100%;
}

.hero-laptop-image {
    max-width: 100%;
    height: auto;
}

.hero-studio {
    max-width: 900px;
    height: auto;
    margin: 2.5rem;
}

.hero-footer {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.hero-footer .footer-credit {
    color: #888;
    font-size: 0.9rem;
}

.hero-footer .footer-link {
    color: var(--accent-primary);
}



/* Site Footer */
.site-footer {
    background-color: var(--color-black);
    color: var(--text-dark-primary);
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    margin-top: 0;
    padding-bottom: 3.5rem;
    /* border: 2px solid blue; */
}

.footer-content {
    margin: 0 5.5rem;
    font-size: 0.9rem;
}

.footer-brand {
    margin-bottom: 5rem;
}

.footer-logo {
    font-family: 'DM Serif Text', serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.7rem;
}

.footer-logo .logo-main {
    color: var(--text-dark-primary);
}

.footer-logo .logo-accent {
    color: var(--accent-primary);
}

.footer-description {
    color: var(--text-dark-secondary);
    line-height: 1.5;
    max-width: 400px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}

.footer-copyright {
    color: var(--text-dark-secondary);
    font-size: 0.9rem;
    margin: 0;
}

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

.social-icon {
    color: var(--text-dark-secondary);
    font-size: 1.25rem;
    transition: color 0.2s ease;
}

.social-icon:hover {
    color: var(--accent-primary);
}

.footer-credit {
    color: var(--text-dark-secondary);
    margin: 3rem 0;
}

.footer-credit .footer-link {
    color: var(--accent-primary);
    text-decoration: none;
}

.footer-credit .footer-link:hover {
    text-decoration: underline;
}

/* Base Section Styles */
.section {
    min-height: 100vh;
    display: flex;
    text-align: center;
    position: relative;
    padding: 5rem;
    /* border: 2px solid red; */
}

/* Logos Section */
.logos-section {
    overflow: hidden;
    margin-top: -25vh;
    flex-direction: column;
    justify-content: space-between;
    z-index: 5;
    padding: 5rem 5rem 3rem 5rem;
    position: relative;
}

.video-section .transition {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, #000000 0%, transparent);  
    z-index: -1;
    width: 100%;
    /* border: 2px solid red; */
    z-index: 10;
}

/* Section Title */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--text-dark-primary);
    margin-bottom: 2.5rem;
    line-height: 1.1;
}

.logos-accent {
    color: var(--accent-primary);
}

.logos-description {
    font-size: 1rem;
    color: var(--text-dark-secondary);
    line-height: 1.6;
    margin: 2rem 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.logos-tagline {
    font-size: 1rem;
    color: var(--text-dark-primary);
}

.logos-youtube-video {
    width: 100%;
    max-width: 700px;
    height: 394px;
    border-radius: 16px;
    border: none;
    display: block;
    margin: 3rem auto 4rem;
}

.logos-container {
    width: 100%;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: scrollLogos 30s linear infinite;
    width: fit-content;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 40px;
}

.logo-image {
    height: 35px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-item:hover .logo-image {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


.video-section {
    position: relative;
    overflow: hidden;
    min-height: 90vh;
}

/* Features Section */
.features-section {
    position: relative;
    overflow: hidden;
    align-items: center;
    flex-wrap: wrap;
}

/* T-Studio Section */
.tstudio-section {
    background-image: url('../img/picture-ai.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.tstudio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.tstudio-container {
    position: relative;
    z-index: 2;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
}

.features-text {
    text-align: left;
}

.features-text .section-title {
    margin-bottom: 2rem;
    text-align: left;
}

.features-category {
    margin: 4rem 0;
}

.features-more {
    font-size: 1.1rem;
    color: var(--text-dark-secondary);
    margin: 0;
}

.features-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.guide-preview {
    width: 100%;
    height: auto;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.features-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 60%;
    z-index: -1;
}

.features-column {
    display: flex;
    flex-direction: column;
}

.features-subtitle {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark-primary);
    margin-bottom: 1.5rem;
}

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

.features-list li {
    color: var(--text-dark-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.features-list li::before {
    content: '•';
    color: var(--accent-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}


.tstudio-container {
    margin: 0 5.5rem;
}

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

.tstudio-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.tstudio-image {
    display: flex;
    justify-content: center;
}

.laptop-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.tstudio-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
}

.tstudio-description {
    font-size: 1.1rem;
    color: var(--text-dark-secondary);
    line-height: 1.6;
    margin: 0;
}

.tstudio-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.tstudio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.tstudio-card {
    background: #111111;
    border: 1px solid #333333;
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
}

.tstudio-card-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark-primary);
    margin-bottom: 1.5rem;
}

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

.tstudio-card-list li {
    color: var(--text-dark-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.tstudio-card-list li::before {
    content: '•';
    color: var(--accent-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header mobile */    
    .header-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }

    .hero-laptop-image {
        height: 90vw;
        object-fit: cover;
    }
    
    /* Container and layout */
    .container {
        padding: 1rem;
    }
    
    .about-container {
        padding: 3rem 1rem 2rem;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .status-indicators {
        gap: 0.8rem;
    }
    
    .status-square {
        width: 50px;
        height: 50px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    /* Intro card mobile */
    .intro-card {
        flex-direction: column;
        height: auto;
        max-width: 400px;
    }
    
    .card-image {
        width: 100%;
        height: 300px;
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
        border-bottom-left-radius: 0;
    }
    
    .card-content {
        width: 100%;
        padding: 2rem;
    }
    
    .name-intro {
        font-size: 2.5rem;
    }
    
    /* Hero mobile */
    .hero-fullscreen {
        padding: 2rem 0rem 1rem;
    }
    
    .hero-content {
        margin: 1rem 1rem 2rem 1rem;
    }
    
    .hero-fullscreen .btn-primary {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    /* Studio boxes mobile */
    .studio-boxes {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .studio-box-center {
        width: 200px;
        height: 200px;
    }
    
    .product-showcase {
        margin: 2rem 0;
    }
    
    .product-image-container {
        border-radius: 15px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    }

    /* Sections mobile */
    .section {
        padding: 2rem 1rem;
        min-height: unset;
    }

    .logos-section {
        padding-bottom: 5rem;
    }
    
    .logos-track {
        gap: 3rem;
        animation-duration: 25s;
    }
    
    .logo-image {
        height: 32px;
    }

    .video-section {
        padding: unset;
        min-height: 95vw !important;
    }

    .features-bg-video {
        width: 100% !important;
        object-position: 70% 0% !important;
    }

    .features-section {
        padding: 5rem 1rem;
    }
    
    .logos-content {
        margin: 0 2rem 2rem;
        max-width: calc(100% - 4rem);
    }
    
    /* Features grid mobile */
    .features-container {
        padding: 0 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* T-studio mobile */
    .tstudio-container {
        margin: 0 2rem;
    }
    
    .tstudio-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tstudio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .tstudio-card {
        padding: 1.5rem;
    }
    
    .tstudio-card-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .tstudio-card-list li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .tstudio-info {
        text-align: center;
    }
    
    .tstudio-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    /* Footer mobile */
    .site-footer {
        min-height: 60vh;
        padding-bottom: 2rem;
    }
    
    .footer-content {
        margin: 0 2rem;
    }
    
    .footer-brand {
        margin-bottom: 3rem;
    }
    
    .footer-logo {
        font-size: 1.75rem;
    }
    
    .footer-social {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile */
    .header-container {
        padding: 0 1rem;
    }
    
    .header-nav {
        gap: 0.5rem;
    }
    
    .header-nav .nav-link:not(.btn-primary) {
        display: none;
    }
    
    .logos-content {
        margin: 0 1rem 2rem;
        max-width: calc(100% - 2rem);
    }
    
    .features-container,
    .tstudio-container {
        margin: 0 1rem;
    }
    
    .tstudio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tstudio-card {
        padding: 1.25rem;
    }
    
    .footer-content {
        margin: 0 1rem;
    }
    
    .site-footer {
        min-height: 50vh;
    }
}

