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

:root {
    --primary-black: #000000;
    --secondary-black: #0a0a0a;
    --accent-red: #ff0055;
    --accent-orange: #ff6600;
    --accent-yellow: #ffaa00;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
}

body {
    font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
    background: var(--primary-black);
    color: var(--text-primary);
    overflow-x: hidden;
    overscroll-behavior: none;
    overflow-anchor: none;
    width: 100%;
    max-width: 100vw;
    scroll-snap-type: none;
    position: relative;
}

html {
    scroll-behavior: auto;
    scroll-snap-type: none;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 3px;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loader-text {
    font-size: clamp(28px, 8vw, 48px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange), var(--accent-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 1.5s ease-in-out infinite;
    padding: 0 20px;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    z-index: 1000;
    mix-blend-mode: difference;
    transition: all 0.3s ease;
}

nav.hidden {
    transform: translateY(-100%);
}

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

.logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=1920&h=1080&fit=crop&auto=format&q=80') center/cover no-repeat;
    scroll-snap-align: none;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0000 0%, #000000 50%, #0a0000 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&h=1080&fit=crop&auto=format&q=80') center/cover no-repeat;
    opacity: 0.2;
    mix-blend-mode: overlay;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(48px, 10vw, 180px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
    max-width: 100%;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .word {
    display: inline-block;
    transform: translateY(100%);
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    color: var(--accent-orange);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.scroll-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-red), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-red);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}

.parallax-section {
    position: relative;
    min-height: 150vh;
    overflow: hidden;
    background: var(--primary-black);
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 150%;
    top: -25%;
    left: 0;
}

.parallax-bg {
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&h=1080&fit=crop') center/cover;
    opacity: 0.3;
}

.parallax-fg {
    background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=1920&h=1080&fit=crop') center/cover;
    opacity: 0.5;
    mix-blend-mode: screen;
}

.parallax-content {
    position: relative;
    z-index: 10;
    padding: 200px 50px;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.section-title {
    font-size: clamp(36px, 7vw, 120px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 0.9;
    margin-bottom: 40px;
    word-wrap: normal;
    overflow-wrap: normal;
    white-space: normal;
}

@media (max-width: 1024px) {
    .section-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange), var(--accent-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease;
    position: relative;
    overflow: hidden;
    word-break: break-word;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 85, 0.2);
}

.feature-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.stat-box {
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.5s ease;
}

.stat-box.visible {
    transform: scale(1);
    opacity: 1;
}

.pinned-section {
    position: relative;
    height: 400vh;
    scroll-snap-align: none;
}

.pinned-container {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: var(--secondary-black);
}

.pinned-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pinned-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.3;
}

.pinned-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.9) 100%);
}

.pinned-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 20px;
    box-sizing: border-box;
}

.stats-container {
    opacity: 0;
    transform: translateY(50px);
}

.stats-container.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease-out;
}

.projects-container {
    position: relative;
    padding: 100px 50px;
    background: var(--primary-black);
}

.project-card {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    contain: layout style paint;
    scroll-snap-align: none;
}

.project-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
}

.project-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
}

.project-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    padding: 0 50px;
    padding-top: 80px;
    box-sizing: border-box;
}

.project-number {
    font-size: 120px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    position: absolute;
    top: -20px;
    left: 0;
    line-height: 1;
    z-index: -1;
}

.project-title {
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 20px;
    position: relative;
    word-break: normal;
    line-height: 0.9;
    white-space: normal;
    overflow-wrap: normal;
}

.project-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
    opacity: 0;
}

.project-features {
    margin-bottom: 30px;
    opacity: 0;
}

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

.project-features li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.project-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-size: 20px;
}

.project-link {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-red);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    opacity: 0;
}

.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-orange);
    transition: left 0.3s ease;
}

.project-link:hover::before {
    left: 0;
}

.project-link span {
    position: relative;
    z-index: 1;
}

.characters-section {
    position: relative;
    padding: 150px 50px;
    background: linear-gradient(to bottom, var(--primary-black), var(--secondary-black));
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 1000px;
}

.character-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 30px;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.character-card:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

.character-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    font-weight: 900;
}

.character-name {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.character-role {
    font-size: 16px;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer {
    position: relative;
    padding: 100px 50px 50px;
    background: var(--primary-black);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 40px;
    opacity: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    opacity: 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-red);
}

.footer-credits {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
}

.language-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.language-modal.active {
    opacity: 1;
    visibility: visible;
}

.language-modal-content {
    background: var(--secondary-black);
    border: 2px solid var(--accent-red);
    padding: 60px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.language-modal.active .language-modal-content {
    transform: scale(1);
}

.language-modal h2 {
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 40px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.language-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.language-option {
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.language-option:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    transform: translateY(-2px);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-selector select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-red);
}

.language-selector select option {
    background: var(--secondary-black);
    color: var(--text-primary);
}

* {
    box-sizing: border-box;
}

section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(40px, 12vw, 60px);
        letter-spacing: -0.02em;
        padding: 0 10px;
    }

    .nav-links {
        display: none;
    }
    
    .language-modal-content {
        padding: 40px 20px;
    }
    
    .language-modal h2 {
        font-size: 28px;
    }
    
    .language-option {
        padding: 15px 30px;
        font-size: 14px;
    }

    .projects-container {
        padding: 50px 20px;
    }

    .project-card {
        height: auto;
        min-height: 100vh;
        padding: 80px 0;
    }

    .project-content {
        padding: 0 20px;
        padding-top: 60px;
        max-width: 100%;
    }

    .project-number {
        font-size: 60px;
        top: 0;
    }

    .project-title {
        font-size: clamp(24px, 7vw, 40px);
        margin-bottom: 15px;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .project-description {
        font-size: 14px;
        margin-bottom: 25px;
        line-height: 1.5;
        padding-right: 10px;
    }

    .project-features {
        margin-bottom: 25px;
    }

    .project-features li {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 8px;
        padding-right: 10px;
    }

    .project-link {
        padding: 12px 30px;
        font-size: 14px;
    }

    .project-image-container {
        position: relative;
        height: 50vh;
        margin-bottom: 40px;
    }

    .project-mask {
        background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.95) 100%);
    }

    .characters-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .about-features {
        margin-top: 60px !important;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px !important;
    }
    
    .feature-card h3 {
        font-size: 24px !important;
        word-break: break-word;
    }
    
    .feature-card p {
        font-size: 14px !important;
    }
    
    .mission-statement {
        margin-top: 60px !important;
    }
    
    .mission-statement h3 {
        font-size: 36px !important;
    }
    
    .mission-statement p {
        font-size: 18px !important;
    }

    .section-title {
        font-size: clamp(28px, 8vw, 50px);
        padding: 0 15px;
        text-align: center;
        line-height: 1;
        hyphens: auto;
        -webkit-hyphens: auto;
        overflow-wrap: break-word;
    }
    
    .section-description {
        padding: 0 10px !important;
    }

    .parallax-content {
        padding: 100px 20px;
    }

    .pinned-content {
        padding: 0 15px;
    }
    
    .pinned-content .section-title {
        font-size: clamp(24px, 7vw, 40px);
        margin-bottom: 40px;
    }
    
    .pinned-content .section-title span {
        display: block;
        margin: 5px 0;
    }

    .language-selector select {
        padding: 5px 8px;
        font-size: 12px;
    }

    nav {
        padding: 15px 20px;
    }

    .logo {
        font-size: 20px;
    }
    
    .stat-box div:first-child {
        font-size: 40px !important;
    }
    
    .stat-box div:last-child {
        font-size: 12px !important;
    }
    
    .stats-container {
        gap: 20px !important;
    }
    
    .stat-number {
        font-size: 48px !important;
    }
    
    .stat-label {
        font-size: 12px !important;
    }
    
    .footer-logo {
        font-size: 32px !important;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 20px !important;
    }
    
    .footer-links a {
        font-size: 12px;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 15px;
    }
    
    .character-name {
        font-size: 24px !important;
    }
    
    .character-role {
        font-size: 14px !important;
    }
}

/* Hero section improvements */
.hero-description {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.5;
    margin: 20px 0;
    opacity: 0;
    transform: translateY(30px);
    color: var(--text-secondary);
    max-width: 800px;
}

.hero-cta {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 85, 0.3);
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.hero-cta:hover::before {
    left: 100%;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

/* About Section */
.about-section {
    padding: 120px 0;
    background: var(--secondary-black);
    position: relative;
}

.about-description {
    font-size: 24px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 1000px;
    margin: 50px auto;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 50px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange), var(--accent-yellow));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: translateX(0);
}

.value-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.value-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Services Section */
.services-section {
    padding: 120px 0;
    background: var(--primary-black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 50px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.service-number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 72px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    transition: all 0.3s ease;
}

.service-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.service-features {
    list-style: none;
    margin-bottom: 40px;
}

.service-features li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: bold;
}

.service-features li strong {
    color: var(--text-primary);
}

.service-link {
    display: inline-block;
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.service-link::after {
    content: '→';
    margin-left: 10px;
    transition: margin-left 0.3s ease;
}

.service-link:hover::after {
    margin-left: 20px;
}

/* Process Section */
.process-section {
    padding: 120px 0;
    background: var(--secondary-black);
    position: relative;
}

.process-timeline {
    margin-top: 80px;
    position: relative;
    padding: 20px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    justify-content: space-between;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    flex-shrink: 0;
    color: white;
}

.process-step > div:not(.step-number) {
    width: 45%;
    padding: 0 40px;
}

.process-step:nth-child(even) > div:not(.step-number) {
    text-align: right;
}

.step-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.step-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Why Us Section */
.why-us-section {
    padding: 120px 0;
    background: var(--primary-black);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.advantage-card {
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.advantage-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange), var(--accent-yellow));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.advantage-card:hover::after {
    transform: scaleX(1);
}

.advantage-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.advantage-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: var(--secondary-black);
}

.contact-description {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-top: 80px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item h3 {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--accent-red);
}

.contact-item p {
    font-size: 18px;
    color: var(--text-secondary);
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-red);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--secondary-black);
    color: var(--text-primary);
}

.form-submit {
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    color: white;
    border: none;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 85, 0.3);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer improvements */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin: 60px 0;
}

.footer-column h4 {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--accent-red);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 15px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

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

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange), var(--accent-yellow));
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

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

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

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary-black);
    z-index: 999;
    transition: right 0.3s ease;
    padding-top: 80px;
    overflow-y: auto;
}

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

.mobile-nav-links {
    list-style: none;
    padding: 0 20px;
}

.mobile-nav-links li {
    margin-bottom: 30px;
}

.mobile-nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: var(--accent-red);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
}

/* Mobile adjustments for new sections */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .parallax-section {
        padding: 60px 0;
    }
    
    .parallax-content {
        padding: 60px 20px;
    }
    
    .parallax-layer {
        display: none;
    }
    
    .about-features {
        margin-top: 40px !important;
        gap: 20px !important;
        grid-template-columns: 1fr !important;
    }
    
    .feature-card {
        padding: 30px 20px !important;
    }
    
    .feature-card h3 {
        font-size: 24px !important;
    }
    
    .mission-statement {
        margin-top: 40px !important;
        padding: 0 10px;
    }
    
    .mission-statement h3 {
        font-size: 32px !important;
    }
    
    .mission-statement p {
        font-size: 18px !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        margin-top: 40px !important;
    }
    
    .stat-box div:first-child {
        font-size: 40px !important;
    }
    
    .pinned-section {
        height: auto;
        min-height: 100vh;
    }
    
    .pinned-container {
        position: relative !important;
    }
    
    .pinned-video-container {
        height: 50vh;
    }
    
    .pinned-content {
        padding: 40px 20px;
    }
    
    .pinned-content .section-title {
        font-size: 32px !important;
        margin-bottom: 30px !important;
    }
    
    .stats-container {
        gap: 20px !important;
    }
    
    .stat-number {
        font-size: 48px !important;
    }
    
    .projects-container {
        padding: 0;
    }
    
    .project-card {
        min-height: auto;
        height: auto;
        padding: 0;
        margin-bottom: 60px;
    }
    
    .project-image-container {
        height: 40vh;
        position: relative;
    }
    
    .project-content {
        padding: 40px 20px;
        position: relative;
        max-width: 100%;
    }
    
    .project-number {
        font-size: 48px;
        top: -30px;
        right: 20px;
    }
    
    .project-title {
        font-size: 28px;
        margin-bottom: 20px;
        word-break: break-word;
    }
    
    .project-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .project-features {
        margin-bottom: 30px;
        opacity: 1;
        transform: none;
    }
    
    .project-features ul {
        padding-left: 0;
    }
    
    .project-features li {
        font-size: 14px;
        padding-left: 20px;
        margin-bottom: 10px;
    }
    
    .project-link {
        font-size: 14px;
        opacity: 1;
        transform: none;
    }
    
    .process-section {
        padding: 60px 0;
    }
    
    .process-timeline {
        margin-top: 40px;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        flex-direction: column !important;
        margin-bottom: 40px;
        justify-content: center;
    }
    
    .process-step > div:not(.step-number) {
        width: 100%;
        padding: 0;
        text-align: center !important;
    }
    
    .step-number {
        position: relative;
        left: 0;
        transform: none;
        margin-bottom: 20px;
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .step-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .step-description {
        font-size: 14px;
    }
    
    .characters-section {
        padding: 60px 20px;
    }
    
    .characters-section .section-title {
        font-size: 32px !important;
        margin-bottom: 40px !important;
    }
    
    .characters-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .character-card {
        padding: 30px;
    }
    
    .character-image {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
    
    .character-name {
        font-size: 24px !important;
    }
    
    .character-role {
        font-size: 14px !important;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-description {
        font-size: 16px;
        padding: 0 20px;
        margin: 20px auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 40px;
    }
    
    .contact-info {
        text-align: center;
        gap: 30px;
    }
    
    .contact-item h3 {
        font-size: 18px;
    }
    
    .contact-item p {
        font-size: 16px;
    }
    
    .contact-form {
        gap: 20px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 15px;
        font-size: 14px;
    }
    
    .form-submit {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }
    
    .footer {
        padding: 40px 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-logo {
        font-size: 28px !important;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 15px !important;
        justify-content: center;
    }
    
    .footer-links a {
        font-size: 14px;
    }
    
    .footer-credits {
        font-size: 12px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: clamp(48px, 12vw, 72px);
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin: 10px 0;
    }
    
    .hero-description {
        font-size: 14px;
        padding: 0;
        margin: 15px 0;
    }
    
    .hero-cta {
        padding: 14px 35px;
        font-size: 16px;
        margin-top: 20px;
        display: inline-block;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .language-selector select {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .nav-links {
        display: none;
    }
    
    .logo {
        font-size: 20px;
    }
    
    nav {
        padding: 15px 20px;
    }
    
    .section-title {
        font-size: clamp(32px, 8vw, 48px);
        line-height: 1.1;
        margin-bottom: 30px;
    }
    
    .section-description {
        font-size: 16px !important;
        padding: 0 10px !important;
    }
    
    /* Fix overlapping elements */
    section {
        position: relative;
        z-index: 1;
    }
    
    /* Ensure proper spacing */
    .hero-section {
        margin-bottom: 0;
    }
    
    /* Fix video overflow */
    .hero-video-container,
    .pinned-video-container {
        overflow: hidden;
    }
    
    /* Language modal mobile */
    .language-modal-content {
        width: 90%;
        padding: 30px 20px;
    }
    
    .language-modal h2 {
        font-size: 24px;
    }
    
    .language-options {
        gap: 15px;
    }
    
    .language-option {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Additional mobile fixes */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(32px, 12vw, 48px);
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    .hero-description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: clamp(24px, 9vw, 40px);
    }
    
    .project-title {
        font-size: clamp(20px, 6vw, 32px);
    }
    
    .stat-box div:first-child {
        font-size: 32px !important;
    }
    
    .stat-number {
        font-size: 36px !important;
    }
    
    .footer-logo {
        font-size: 24px !important;
    }
    
    nav {
        padding: 10px 15px;
    }
    
    .logo {
        font-size: 18px;
    }
}

/* Fix for overlapping content */
* {
    min-width: 0;
}

/* Ensure proper text wrapping */
p, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Fix mobile menu button positioning */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        position: relative;
        z-index: 1001;
    }
}

/* Use CSS custom property for viewport height */
.hero-section {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

/* Fix mobile overflow issues */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        position: relative;
    }
    
    section {
        overflow: hidden;
    }
    
    .hero-section {
        min-height: 100vh;
        min-height: calc(var(--vh, 1vh) * 100);
    }
    
    .project-title {
        word-break: break-word;
        -webkit-hyphens: auto;
        hyphens: auto;
    }
    
    .language-selector {
        margin-left: auto;
    }
}