:root {
    --bg-color: #F3F4F6;
    --content-bg: #FFFFFF;
    --primary-red: #EF4444;
    --light-gray: #9CA3AF;
    --text-dark: #111827;
    --text-light: #4B5563;
    --border-color: #E5E7EB;
    --dark-section-bg: #111827;
    --handwritten-font: 'Caveat', cursive;
}

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

html, body { 
    scroll-behavior: smooth;
    overflow-x: hidden !important; /* Retained as a core structural choice */
    position: relative;
}

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg-color); 
    color: var(--text-dark); 
}

/* ==========================================================================
   1. Headers & Navigation
   ========================================================================== */

#sticky-header {
    position: fixed; top: 0; left: 0; width: 100%; display: flex;
    justify-content: space-between; align-items: center; padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color); z-index: 999;
    opacity: 0; transform: translateY(-100%);
    transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none;
}
#sticky-header.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.header-logo-link { display: flex; align-items: center; text-decoration: none; color: inherit; }
.site-logo { height: 30px; width: auto; }
.header-logo { font-weight: 900; }
.header-nav { display: flex; gap: 1.5rem; }
.header-nav a { text-decoration: none; color: var(--text-light); font-weight: 600; }
.header-nav a:hover { color: var(--text-dark); }
.header-buttons { display: flex; align-items: center; gap: 0.75rem; }
.header-btn { padding: 0.5rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.btn-secondary { background-color: #e5e7eb; color: #1f2937; }
.btn-primary { background-color: #f59e0b; color: #1f2937; }
.header-join-btn { font-weight: 600; text-decoration: none; color: var(--text-dark); }

#bottom-nav {
    position: fixed; bottom: 20px; left: 50%;
    transform: translateX(-50%); background-color: var(--text-dark);
    color: #fff; padding: 0.5rem; border-radius: 999px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); z-index: 1000;
    display: flex; align-items: center; gap: 0.5rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#bottom-nav.hidden-nav { opacity: 0; transform: translate(-50%, 150%); pointer-events: none; }
.bottom-nav-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; text-decoration: none; color: var(--light-gray); font-weight: 500; }
.bottom-nav-item:hover { color: #fff; }
.bottom-nav-item.contact-btn { background-color: #8B5CF6; color: #fff; border-radius: 999px; }
.bottom-nav-icon { width: 24px; height: 24px; display: none; }
.bottom-nav-icon svg { width: 100%; height: 100%; }
.bottom-nav-text { font-size: 1rem; }

/* ==========================================================================
   2. Hero Section
   ========================================================================== */

.hero-brutalist { height: 100vh; width: 100%; display: flex; justify-content: center; align-items: center; padding: 2rem; position: relative; overflow: hidden; }
.content-wrapper { position: relative; width: 100%; max-width: 1400px; height: 100%; max-height: 800px; background-color: rgba(255, 255, 255, 0.9); box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid var(--border-color); border-radius: 20px; }
.hero-floating-logo { position: absolute; top: 5%; left: 5%; z-index: 20; transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; }
.hero-floating-logo.hide { opacity: 0; transform: translateY(-20px); pointer-events: none; }
.vertical-line { position: absolute; top: 0; bottom: 0; left: 55%; width: 1px; background-color: var(--primary-red); z-index: 10; }
.bg-text { position: absolute; font-weight: 900; color: #EAEAEA; filter: blur(1.5px); user-select: none; z-index: 1; }
.bg-dearco { top: 5%; right: 10%; font-size: clamp(8rem, 20vw, 15rem); letter-spacing: -0.05em; }
.bg-c25 { bottom: 2%; right: 5%; font-size: clamp(8rem, 20vw, 15rem); }
.main-heading { position: absolute; top: 22%; left: 27.5%; transform: translateX(-50%); z-index: 20; text-align: center; }
.main-heading h1 { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900; color: var(--primary-red); line-height: 0.9; text-transform: lowercase; }
.main-heading p { font-size: 1rem; font-weight: 700; color: var(--primary-red); margin-top: 1rem; letter-spacing: 0.5px; }
.contact-section { position: absolute; top: 55%; left: 27.5%; transform: translateX(-50%); z-index: 20; text-align: center; }
.contact-section .contact-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: var(--light-gray); line-height: 1.1; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.contact-icons { margin-top: 1.5rem; display: flex; gap: 1.25rem; justify-content: center; position: relative; overflow: hidden; }
.contact-icons::after { content: ''; position: absolute; top: -50%; left: -60px; width: 40px; height: 200%; background: linear-gradient(to right, transparent 0%, rgba(255, 215, 0, 0.5) 50%, transparent 100%); transform: skewX(-25deg); animation: shimmer-pass 5s ease-in-out infinite; animation-delay: 2s; }
@keyframes shimmer-pass { 0% { left: -60px; } 100% { left: 120%; } }
.contact-icons a { display: inline-block; transition: transform 0.2s ease; }
.contact-icons a:hover { transform: translateY(-3px); }
.contact-icons svg { width: 28px; height: 28px; fill: #9CA3AF; transition: fill 0.2s ease; }
.contact-icons a:hover svg { fill: var(--primary-red); }
.bottom-slogan { position: absolute; bottom: 5%; left: 5%; max-width: 45%; z-index: 20; }
.slogan-main { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: var(--light-gray); display: flex; align-items: center; white-space: nowrap; }
.slogan-main .static-char { color: var(--primary-red); }
.scrolling-a-container { display: inline-block; color: var(--primary-red); overflow: hidden; width: 7ch; vertical-align: bottom; }
.scrolling-a-text { display: inline-block; white-space: nowrap; animation: scroll-left 1.5s linear infinite; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.slogan-subtext { margin-top: 0.5rem; font-size: 0.9rem; font-weight: 700; color: var(--primary-red); line-height: 1.5; }
.version { position: absolute; bottom: 12%; left: 55%; transform: translateX(20px); color: var(--light-gray); z-index: 20; }
.oblique-showcase-wrapper { position: absolute; top: 62%; right: -5%; width: 50%; z-index: 5; transform-origin: center left; transform: rotate(-25deg); }
.oblique-scroller { overflow: hidden; font-size: clamp(2.5rem, 6vw, 4rem); font-family: var(--handwritten-font); color: var(--primary-red); white-space: nowrap; border-top: 2px dashed rgba(255,0,0,0.3); border-bottom: 2px dashed rgba(255,0,0,0.3); padding: 0.5rem 0; }
.oblique-scroller span { display: inline-block; padding-right: 2rem; animation: scroll-oblique 15s linear infinite; }
@keyframes scroll-oblique { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.oblique-subtext { margin-top: 1rem; padding-left: 1rem; text-align: left; }
.oblique-subtext h3, .oblique-subtext h2, .oblique-subtext p { font-family: var(--handwritten-font); }
.oblique-subtext h3 { font-size: 1.5rem; color: var(--text-dark); font-weight: normal; }
.oblique-subtext h2 { font-size: 1.8rem; font-weight: 700; color: var(--text-dark); margin: 1rem 0; }
.oblique-subtext p { font-size: 1.2rem; color: var(--text-light); line-height: 1.2; }
.proof-section { position: absolute; bottom: 5%; left: 55%; transform: translateX(-50%); z-index: 20; text-align: center; }
.proof-section .proof-text { font-family: var(--handwritten-font); font-size: 1.5rem; color: var(--primary-red); }
.proof-arrow { width: 2px; height: 40px; background-color: var(--primary-red); margin: 0.25rem auto 0 auto; position: relative; }
.proof-arrow::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid var(--primary-red); }

/* ==========================================================================
   3. Main Content Sections
   ========================================================================== */

.content-showcase { background-color: var(--bg-color); }

.services-section-restored { background-color: var(--content-bg); padding: 100px 5%; border-bottom: 1px solid var(--border-color); }
.services-grid-restored { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.service-card-restored { text-align: left; }
.service-icon-restored { height: 24px; width: 24px; margin-bottom: 1rem; background-color: var(--text-dark); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.icon-saas { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 9l4-4 4 4m0 6l-4 4-4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 9l4-4 4 4m0 6l-4 4-4-4'/%3E%3C/svg%3E"); }
.icon-ai { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E"); }
.icon-mobile { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z'/%3E%3C/svg%3E"); }
.icon-algo { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4'/%3E%3C/svg%3E"); }
.icon-dev { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E"); }
.icon-design { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.5L15.232 5.232z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.5L15.232 5.232z'/%3E%3C/svg%3E");}
.service-card-restored h3 { font-size: 1.1rem; font-weight: 900; margin-bottom: 0.5rem; text-transform: uppercase; }
.service-card-restored p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

.engineering-next-section { background-color: var(--dark-section-bg); color: white; padding: 100px 5%; text-align: center; }
.engineering-next-section h2 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; }
.engineering-next-section .highlight { font-style: italic; font-weight: 400; color: #9CA3AF; }

.stats-bar { background-color: var(--content-bg); padding: 60px 5%; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; border-bottom: 1px solid var(--border-color); }
.stat-item { text-align: center; opacity: 0; visibility: hidden; transform: translateY(50px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.stat-item.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--primary-red); }
.stat-label { font-size: 0.9rem; color: var(--text-light); margin-top: 5px; }

.projects-section-container { position: relative; background: var(--content-bg); border-bottom: 1px solid var(--border-color); }
#connector-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.projects-section { padding: 100px 5%; position: relative; z-index: 2; }
.section-title { font-size: 4rem; text-align: center; margin-bottom: 80px; font-weight: 900; color: var(--primary-red); text-transform: uppercase; }
.project-card { 
    display: flex; gap: 50px; margin-bottom: 150px; position: relative; padding: 2rem; 
    border: 1px solid var(--border-color); border-radius: 8px; align-items: center;
    opacity: 0; visibility: hidden; transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.project-card.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.project-card:nth-child(even) { flex-direction: row-reverse; }
.project-info { flex: 1; }
.project-visual { flex: 1; min-width: 300px; max-width: 500px; display: flex; align-items: center; justify-content: center; }
.project-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.project-go-link {
    color: var(--primary-red); font-weight: 900; text-decoration: none; font-size: 1.1rem;
    border: 2px solid var(--primary-red); padding: 0.5rem 1rem; border-radius: 4px;
    display: inline-block; transition: background-color 0.2s, color 0.2s;
}
.project-go-link:hover { background-color: var(--primary-red); color: var(--content-bg); }

.show-more-container {
    text-align: center; margin-top: -80px; padding-bottom: 100px;
    display: flex; justify-content: center; gap: 1rem; position: relative; z-index: 5;
}
.show-more-btn, .go-to-portfolio-btn {
    padding: 0.75rem 1.5rem; border: 1px solid var(--border-color); border-radius: 8px;
    text-decoration: none; font-weight: 600; transition: background-color 0.2s, color 0.2s;
}
.go-to-portfolio-btn { background-color: var(--primary-red); color: #fff; border-color: var(--primary-red); }
.go-to-portfolio-btn:hover { background-color: #c00; }
.show-more-btn { color: var(--text-dark); background-color: var(--content-bg); }
.show-more-btn:hover { background-color: var(--bg-color); }

/* ==========================================================================
   4. Blog & Bento Grid
   ========================================================================== */

.bento-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-rows: 150px; grid-auto-flow: dense; gap: 1rem;
    padding: 100px 5%; background-color: var(--content-bg);
}
.bento-item {
    grid-column: span 1; grid-row: span 1; border-radius: 12px;
    background-size: cover; background-position: center; position: relative;
    overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
    justify-content: flex-end; padding: 1rem; color: #fff; transition: transform 0.3s ease;
}
.bento-item:hover { transform: scale(1.03); }
.bento-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%); z-index: 1; }
.bento-content { position: relative; z-index: 2; }
.bento-content h4 { font-size: 1.2rem; font-weight: 600; }
.bento-content p { font-size: 0.9rem; opacity: 0.8; }
   
.blog-showcase-section, .blog-index-page { padding: 100px 5%; background-color: var(--content-bg); }
.blog-section-header { text-align: center; max-width: 600px; margin: 0 auto 3rem auto; }
.blog-section-header h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-dark); }
.blog-section-header p { color: var(--text-light); line-height: 1.6; }
.swiper.featured-posts-slider { width: 100%; height: 400px; border-radius: 12px; margin-bottom: 3rem; }
.featured-post-slide { position: relative; background-color: var(--bg-color); }
.featured-post-link { display: block; width: 100%; height: 100%; color: #fff; text-decoration: none; }
.featured-post-slide img { width: 100%; height: 100%; object-fit: cover; }
.featured-post-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%); }
.featured-post-content { position: absolute; bottom: 2rem; left: 2rem; right: 2rem; z-index: 2; }
.post-meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.9rem; }
.author-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.8); }
.featured-post-content h3 { font-size: 1.5rem; font-weight: 600; }
.swiper-button-next, .swiper-button-prev { color: #fff; }
.recent-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.post-card { display: block; text-decoration: none; background-color: var(--content-bg); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.post-card-image { width: 100%; height: 200px; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.post-card-content { padding: 1.5rem; }
.post-card-tag { display: inline-block; background-color: #dcfce7; color: #166534; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.8rem; font-weight: 500; margin-bottom: 0.75rem; }
.post-card h4 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.post-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }
.blog-index-page .index-subtitle { text-align: center; max-width: 500px; margin: -1.5rem auto 2rem auto; color: var(--text-light); }
.blog-filters { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-btn { padding: 0.5rem 1rem; border: 1px solid var(--border-color); border-radius: 999px; text-decoration: none; color: var(--text-light); font-size: 0.9rem; }
.filter-btn.active, .filter-btn:hover { background-color: var(--text-dark); color: var(--bg-color); border-color: var(--text-dark); }

/* ==========================================================================
   5. Footer and Game
   ========================================================================== */

.main-footer-wrapper { padding: 50px 20px; background-size: cover; background-position: center; background-attachment: fixed; position: relative; }
.footer-overlay { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px); z-index: 1; }
.main-footer {
    max-width: 1200px; margin: 0 auto; padding: 50px; background: rgba(233, 231, 231, 0.9);
    backdrop-filter: blur(15px); border-radius: 20px; display: grid; grid-template-columns: 2fr 3fr 1fr;
    gap: 2rem; align-items: center; position: relative; z-index: 2;
}
.footer-column { z-index: 3; }
.footer-left h2 { font-size: 2rem; font-weight: 900; color: var(--text-dark); }
.partner-btn { border: 1px solid var(--text-dark); border-radius: 20px; padding: 0.5rem 1rem; text-decoration: none; color: var(--text-dark); display: inline-block; margin-top: 1rem; font-weight: 600; }
.join-us-btn { display: inline-block; margin-top: 1rem; margin-left: 1rem; text-decoration: none; font-weight: 700; color: var(--primary-red); }
.footer-links-container { display: flex; justify-content: center; gap: 4rem; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { text-decoration: none; color: var(--text-light); font-weight: 500; }
.footer-links a:hover { color: var(--text-dark); }
.footer-right { text-align: right; }
.footer-copyright { font-size: 0.9rem; color: var(--text-light); }
.footer-bg-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 10rem; font-weight: 900; color: rgba(0,0,0,0.05); user-select: none; z-index: 1; }

.game-indicator { text-align: center; padding: 2rem; background: var(--bg-color); }
.game-indicator-text { animation: blink 1.5s infinite; font-weight: 700; }
@keyframes blink { 50% { opacity: 0.2; } }
.mole-game-footer { background-color: var(--content-bg); padding: 50px 20px; text-align: center; }
.mole-game-title { font-size: 1.5rem; font-weight: 900; color: var(--text-dark); margin-bottom: 20px; text-transform: uppercase; }
.mole-game-container { position: relative; width: 100%; max-width: 500px; height: 150px; background-color: #A9A9A9; margin: 0 auto; border-radius: 10px; border-bottom: 5px solid #808080; }
.mole-holes { display: flex; justify-content: space-around; align-items: center; height: 100%; padding: 0 30px; }
.mole-hole { position: relative; width: 80px; height: 80px; overflow: hidden; }
.mole-hole::after { content: ''; position: absolute; top: 60%; left: 0; width: 100%; height: 100%; background: #202020; border-radius: 50%; }
.mole { position: absolute; bottom: 0; left: 5px; width: 70px; height: 70px; background-color: #D21404; border-radius: 50% 50% 10px 10px; cursor: pointer; transition: transform 0.2s ease-in-out; transform: translateY(100%); }
.mole.up { transform: translateY(20%); }
.mole::before, .mole::after { content: ''; position: absolute; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: white; border: 2px solid black; }
.mole::before { left: 20px; }
.mole::after { right: 20px; }
.mole-nose { position: absolute; top: 35px; left: 50%; transform: translateX(-50%); width: 15px; height: 8px; background: #BF0A30; border-radius: 5px; }
.mole-teeth { position: absolute; top: 43px; left: 50%; transform: translateX(-50%); width: 10px; height: 5px; background: white; border-radius: 0 0 2px 2px; }

/* ==========================================================================
   6. Floating Widgets & Popups
   ========================================================================== */

.floating-widgets { position: fixed; bottom: 90px; right: 20px; z-index: 999; display: flex; flex-direction: column; gap: 1rem; }
.floating-btn { width: 50px; height: 50px; background-color: var(--content-bg); border: 1px solid var(--border-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 8px rgba(0,0,0,0.1); cursor: pointer; text-decoration: none; font-size: 1.5rem; color: var(--text-dark); transition: transform 0.2s ease, opacity 0.3s ease; }
.floating-btn:hover { transform: scale(1.1); }
#scroll-to-top { opacity: 0; pointer-events: none; }
#scroll-to-top.visible { opacity: 1; pointer-events: auto; }
#theme-toggle-btn { position: static; }

.pwa-prompt { display: none; position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); background-color: var(--dark-section-bg); color: #fff; padding: 1rem 1.5rem; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); z-index: 2000; width: 90%; max-width: 400px; align-items: center; gap: 1rem; }
.pwa-prompt.visible { display: flex; }
.pwa-prompt p { margin: 0; flex-grow: 1; font-size: 0.9rem; }
#pwa-install-button { background-color: var(--primary-red); color: #fff; border: none; padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; font-weight: 600; white-space: nowrap; }
#pwa-close-button { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 0; line-height: 1; }

#chat-popup, #chat-widget { display: none !important; } /* Hide chatbot feature */

/* ==========================================================================
   7. Other Pages (Blog Detail, Static, etc.)
   ========================================================================== */
   
.breadcrumbs { padding: 1rem 5%; background-color: var(--content-bg); border-bottom: 1px solid var(--border-color); margin-top: 65px; }
.breadcrumbs-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.breadcrumb-logo { height: 20px; width: auto; display: block; }
.breadcrumb-home { display: flex; align-items: center; }
.breadcrumb-separator { color: var(--light-gray); }
.breadcrumb-link { color: var(--text-light); text-decoration: none; }
.breadcrumb-link:hover { text-decoration: underline; }
.breadcrumb-current { font-weight: 700; color: var(--text-dark); }
.blog-detail-wrapper { padding-top: 65px; }
.blog-detail-container { max-width: 800px; margin: 50px auto; }
.static-page-container { max-width: 800px; margin: 0 auto; padding: 120px 2rem 50px 2rem; background: var(--content-bg); min-height: 80vh; }
.static-page-container h1 { font-size: 2.5rem; font-weight: 900; color: var(--primary-red); margin-bottom: 2rem; }
.static-page-container h2 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 1rem; color: var(--text-dark); }
.static-page-container p { line-height: 1.8; margin-bottom: 1rem; color: var(--text-light); }
.static-page-container p a { color: var(--primary-red); font-weight: 700; }
.faq-item { border-bottom: 1px solid var(--border-color); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.faq-item:last-child { border-bottom: none; margin-bottom: 0; }
.faq-item h2 { color: var(--text-dark); font-size: 1.25rem; }

/* ==========================================================================
   8. Dark Mode
   ========================================================================== */

.dark-mode {
    --bg-color: #121212; --content-bg: #1E1E1E; --primary-red: #FF4136;
    --light-gray: #555555; --text-dark: #EAEAEA; --text-light: #A9A9A9;
    --border-color: #333333; --dark-section-bg: #000000;
}
.dark-mode #sticky-header { background-color: rgba(30, 30, 30, 0.9); border-bottom-color: var(--border-color); }
.dark-mode .header-logo, .dark-mode .header-nav a, .dark-mode .header-join-btn, .dark-mode .header-btn { color: var(--text-dark); }
.dark-mode .btn-secondary { background-color: #374151; color: #f9fafb; }
.dark-mode .content-wrapper { background-color: rgba(30, 30, 30, 0.95); border-color: var(--border-color); }
.dark-mode .bg-text { color: #2a2a2a; filter: blur(2px); }
.dark-mode .contact-icons svg { fill: #6B7280; }
.dark-mode .contact-icons a:hover svg { fill: var(--primary-red); }
.dark-mode .project-go-link:hover { color: var(--text-dark); }
.dark-mode .show-more-btn { background-color: var(--content-bg); color: var(--text-dark); }
.dark-mode .show-more-btn:hover { background-color: #333; }
.dark-mode .post-card { border-color: var(--border-color); }
.dark-mode .post-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.dark-mode .post-card-tag { background-color: #14532d; color: #dcfce7; }
.dark-mode .main-footer { background: rgba(18, 18, 18, 0.9); }
.dark-mode .footer-links a:hover { color: #fff; }
.dark-mode .mole-game-footer, .dark-mode .breadcrumbs, .dark-mode .static-page-container { background-color: var(--content-bg); }
.dark-mode .mole-game-title, .dark-mode .breadcrumb-current { color: var(--text-dark); }
.dark-mode .service-icon-restored { background-color: var(--text-dark); }
.dark-mode #bottom-nav { background-color: #2D3748; }
.dark-mode .bottom-nav-item { color: var(--light-gray); }
.dark-mode .bottom-nav-item:hover { color: #fff; }
.dark-mode .sun-icon { display: block; }
.dark-mode .moon-icon { display: none; }
body:not(.dark-mode) .sun-icon { display: none; }
body:not(.dark-mode) .moon-icon { display: block; }

/* ==========================================================================
   9. Responsive Overrides
   ========================================================================== */

@media (max-width: 768px) {
    #sticky-header { display: none !important; }
    .floating-widgets { display: none; }

    main, .content-showcase, .static-page-container { padding-bottom: 80px; }

    #bottom-nav { width: 100%; bottom: 0; border-radius: 0; padding: 0.5rem 0; }
    .bottom-nav-item { flex-direction: column; flex: 1; gap: 0.25rem; padding: 0.5rem 0; }
    .bottom-nav-text { font-size: 0.7rem; }
    .bottom-nav-icon { display: block; }
    .bottom-nav-item.contact-btn { background: none; }
    .bottom-nav-item.contact-btn .bottom-nav-text { color: #8B5CF6; }

    .hero-brutalist { height: auto; min-height: 100vh; padding: 80px 1rem 2rem 1rem; }
    .content-wrapper { max-height: none; padding: 4rem 1rem; border-radius: 12px; }
    .vertical-line, .bg-text, .slogan-subtext, .oblique-showcase-wrapper { display: none; }
    .main-heading, .contact-section, .version, .bottom-slogan, .proof-section { 
        position: static; transform: none; text-align: center; 
        max-width: 100%; margin: 2rem auto; width: 100%; 
    }
    .slogan-main { justify-content: center; }
    .section-title { font-size: 3rem; }

    .services-grid-restored { grid-template-columns: repeat(2, 1fr); }
    .service-card-restored { text-align: center; }
    .service-icon-restored { margin: 0 auto 1rem auto; }

    .project-card, .project-card:nth-child(even) { flex-direction: column; }
    
    .recent-posts-grid { grid-template-columns: 1fr; }
    .swiper.featured-posts-slider { height: 300px; }
    
    .main-footer { grid-template-columns: 1fr; text-align: center; }
    .footer-left, .footer-right { text-align: center; }
    .footer-links-container { justify-content: space-around; gap: 2rem; margin: 2rem 0; }
    .footer-right { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border-color); }
}
:root {
    --bg-color: #F3F4F6; --content-bg: #FFFFFF; --primary-red: #EF4444;
    --light-gray: #9CA3AF; --text-dark: #111827; --text-light: #4B5563;
    --border-color: #E5E7EB; --dark-section-bg: #111827; --handwritten-font: 'Caveat', cursive;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { 
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    position: relative;
}
body { font-family: 'Inter', sans-serif; background-color: var(--bg-color); color: var(--text-dark); }

/* --- Headers (Sticky and Mobile) --- */
#sticky-header {
    position: fixed; top: 0; left: 0; width: 100%; display: flex;
    justify-content: space-between; align-items: center; padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color); z-index: 999;
    opacity: 0; transform: translateY(-100%);
    transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none;
}
#sticky-header.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.header-logo-link { display: flex; align-items: center; text-decoration: none; color: inherit; }
.site-logo { height: 30px; width: auto; }
.header-logo { font-weight: 900; }
.header-nav { display: flex; gap: 1.5rem; }
.header-nav a { text-decoration: none; color: var(--text-light); font-weight: 600; }
.header-nav a:hover { color: var(--text-dark); }
.header-buttons { display: flex; align-items: center; gap: 0.75rem; }
.header-btn { padding: 0.5rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.btn-secondary { background-color: #e5e7eb; color: #1f2937; }
.btn-primary { background-color: #f59e0b; color: #1f2937; }
.header-join-btn { font-weight: 600; text-decoration: none; color: var(--text-dark); }
#hamburger-btn { display: none; }
#mobile-nav { display: none; }

/* --- Hero Section --- */
.hero-brutalist { height: 100vh; width: 100%; display: flex; justify-content: center; align-items: center; padding: 2rem; position: relative; overflow: hidden; }
.content-wrapper { position: relative; width: 100%; max-width: 1400px; height: 100%; max-height: 800px; background-color: rgba(255, 255, 255, 0.9); box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 20px; }
.hero-floating-logo { position: absolute; top: 5%; left: 5%; z-index: 20; transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; }
.hero-floating-logo.hide { opacity: 0; transform: translateY(-20px); pointer-events: none; }
/* ... (all other original hero styles remain unchanged) ... */

/* --- Main Content Sections --- */
.content-showcase { background-color: var(--bg-color); }
.services-section-restored { background-color: var(--content-bg); padding: 100px 5%; border-bottom: 1px solid var(--border-color); }
.services-grid-restored { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2rem; max-width: 1200px; margin: 0 auto; }
/* ... (all other original content styles remain unchanged) ... */

/* --- Persistent Bottom Nav (Desktop & Mobile) --- */
#bottom-nav {
    position: fixed; bottom: 20px; left: 50%;
    transform: translateX(-50%); background-color: var(--text-dark);
    color: #fff; padding: 0.5rem; border-radius: 999px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); z-index: 1000;
    display: flex; align-items: center; gap: 0.5rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#bottom-nav.hidden-nav { opacity: 0; transform: translate(-50%, 150%); pointer-events: none; }
.bottom-nav-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; text-decoration: none; color: var(--light-gray); font-weight: 500; }
.bottom-nav-item:hover { color: #fff; }
.bottom-nav-item.contact-btn { background-color: #8B5CF6; color: #fff; border-radius: 999px; }
.bottom-nav-icon { width: 24px; height: 24px; display: none; }
.bottom-nav-icon svg { width: 100%; height: 100%; }
.bottom-nav-text { font-size: 1rem; }

/* --- Footer and Game --- */
.main-footer-wrapper { padding: 50px 20px; background-size: cover; background-position: center; background-attachment: fixed; position: relative; }
.footer-overlay { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px); z-index: 1; }
.main-footer { max-width: 1200px; margin: 0 auto; padding: 50px; background: rgba(233, 231, 231, 0.9); backdrop-filter: blur(15px); border-radius: 20px; display: grid; grid-template-columns: 2fr 3fr 1fr; gap: 2rem; align-items: center; position: relative; z-index: 2; }
/* ... (all other original footer and game styles remain) ... */
.join-us-btn { display: inline-block; margin-top: 1rem; margin-left: 1rem; text-decoration: none; font-weight: 700; color: var(--primary-red); }

/* --- Floating Widgets --- */
.floating-widgets { position: fixed; bottom: 90px; right: 20px; z-index: 999; display: flex; flex-direction: column; gap: 1rem; }
/* ... (all other floating widget styles remain) ... */

/* --- Dark Mode Overrides --- */
.dark-mode #bottom-nav { background-color: #2D3748; }
.dark-mode .bottom-nav-item { color: var(--light-gray); }
.dark-mode .bottom-nav-item:hover { color: #fff; }
/* ... (all other dark mode styles remain) ... */

/* --- Responsive Overrides --- */
@media (max-width: 768px) {
    #sticky-header { display: none !important; }
    #bottom-nav { width: 100%; bottom: 0; border-radius: 0; padding: 0.5rem 0; }
    .bottom-nav-item { flex-direction: column; flex: 1; gap: 0.25rem; padding: 0.5rem 0; }
    .bottom-nav-text { font-size: 0.7rem; }
    .bottom-nav-icon { display: block; }
    .bottom-nav-item.contact-btn { background: none; }
    .bottom-nav-item.contact-btn .bottom-nav-text { color: #8B5CF6; }
    .floating-widgets { display: none; }
    main, .content-showcase { padding-bottom: 80px; }
    /* ... (all other mobile override styles remain) ... */
}
:root {
    --bg-color: #F3F4F6; --content-bg: #FFFFFF; --primary-red: #EF4444;
    --light-gray: #9CA3AF; --text-dark: #111827; --text-light: #4B5563;
    --border-color: #E5E7EB; --dark-section-bg: #111827; --handwritten-font: 'Caveat', cursive;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { 
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    position: relative;
}
body { font-family: 'Inter', sans-serif; background-color: var(--bg-color); color: var(--text-dark); }

/* ==========================================================================
   1. Headers (Sticky, Top Nav, Mobile)
   ========================================================================== */
#sticky-header {
    position: fixed; top: 0; left: 0; width: 100%; display: flex;
    justify-content: space-between; align-items: center; padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color); z-index: 999;
    opacity: 0; transform: translateY(-100%);
    transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none;
}
#sticky-header.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.header-logo-link { display: flex; align-items: center; text-decoration: none; color: inherit; }
.site-logo { height: 30px; width: auto; }
.header-logo { font-weight: 900; }
.header-nav { display: flex; gap: 1.5rem; }
.header-nav a { text-decoration: none; color: var(--text-light); font-weight: 600; }
.header-nav a:hover { color: var(--text-dark); }
.header-buttons { display: flex; align-items: center; gap: 0.75rem; }
.header-btn { padding: 0.5rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.btn-secondary { background-color: #e5e7eb; color: #1f2937; }
.btn-primary { background-color: #f59e0b; color: #1f2937; }
.header-join-btn { font-weight: 600; text-decoration: none; color: var(--text-dark); }
#hamburger-btn, #mobile-nav { display: none; }

#bottom-nav {
    position: fixed; bottom: 20px; left: 50%;
    transform: translateX(-50%); background-color: var(--text-dark);
    color: #fff; padding: 0.5rem; border-radius: 999px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); z-index: 1000;
    display: flex; align-items: center; gap: 0.5rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#bottom-nav.hidden-nav { opacity: 0; transform: translate(-50%, 150%); pointer-events: none; }
.bottom-nav-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; text-decoration: none; color: var(--light-gray); font-weight: 500; }
.bottom-nav-item:hover { color: #fff; }
.bottom-nav-item.contact-btn { background-color: #8B5CF6; color: #fff; border-radius: 999px; }
.bottom-nav-icon { width: 24px; height: 24px; display: none; }
.bottom-nav-icon svg { width: 100%; height: 100%; }
.bottom-nav-text { font-size: 1rem; }

/* ==========================================================================
   2. Brutalist Hero Section
   ========================================================================== */
.hero-brutalist { height: 100vh; width: 100%; display: flex; justify-content: center; align-items: center; padding: 2rem; position: relative; overflow: hidden; }
.hero-background-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 0; }
.content-wrapper { position: relative; width: 100%; max-width: 1400px; height: 100%; max-height: 800px; background-color: rgba(255, 255, 255, 0.9); box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 20px; }
.hero-floating-logo { position: absolute; top: 5%; left: 5%; z-index: 20; transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; }
.hero-floating-logo.hide { opacity: 0; transform: translateY(-20px); pointer-events: none; }
.vertical-line { position: absolute; top: 0; bottom: 0; left: 55%; width: 1px; background-color: var(--primary-red); z-index: 10; }
.bg-text { position: absolute; font-weight: 900; color: #EAEAEA; filter: blur(1.5px); user-select: none; z-index: 1; }
.bg-dearco { top: 5%; right: 10%; font-size: clamp(8rem, 20vw, 15rem); letter-spacing: -0.05em; }
.bg-c25 { bottom: 2%; right: 5%; font-size: clamp(8rem, 20vw, 15rem); }
.main-heading { position: absolute; top: 22%; left: 27.5%; transform: translateX(-50%); z-index: 20; text-align: center; }
.main-heading h1 { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900; color: var(--primary-red); line-height: 0.9; text-transform: lowercase; }
.main-heading p { font-size: 1rem; font-weight: 700; color: var(--primary-red); margin-top: 1rem; letter-spacing: 0.5px; }
.contact-section { position: absolute; top: 55%; left: 27.5%; transform: translateX(-50%); z-index: 20; text-align: center; }
.contact-section .contact-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: var(--light-gray); line-height: 1.1; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.contact-icons { margin-top: 1.5rem; display: flex; gap: 1.25rem; justify-content: center; position: relative; overflow: hidden; }
.contact-icons a { display: inline-block; transition: transform 0.2s ease; }
.contact-icons a:hover { transform: translateY(-3px); }
.contact-icons svg { width: 28px; height: 28px; fill: #9CA3AF; transition: fill 0.2s ease; }
.contact-icons a:hover svg { fill: var(--primary-red); }
.bottom-slogan { position: absolute; bottom: 5%; left: 5%; max-width: 45%; z-index: 20; }
.slogan-main { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: var(--light-gray); display: flex; align-items: center; white-space: nowrap; }
.slogan-main .static-char { color: var(--primary-red); }
.scrolling-a-container { display: inline-block; color: var(--primary-red); overflow: hidden; width: 7ch; vertical-align: bottom; }
.scrolling-a-text { display: inline-block; white-space: nowrap; animation: scroll-left 1.5s linear infinite; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.slogan-subtext { margin-top: 0.5rem; font-size: 0.9rem; font-weight: 700; color: var(--primary-red); line-height: 1.5; }
.version { position: absolute; bottom: 12%; left: 55%; transform: translateX(20px); color: var(--light-gray); z-index: 20; }
.oblique-showcase-wrapper { position: absolute; top: 62%; right: -5%; width: 50%; z-index: 5; transform-origin: center left; transform: rotate(-25deg); }
.oblique-showcase-wrapper::before, .oblique-showcase-wrapper::after { content: ''; position: absolute; top: -10%; width: 40px; height: 120%; border: 2px solid var(--primary-red); z-index: -1; }
.oblique-showcase-wrapper::before { left: -20px; border-right: none; border-radius: 60px 0 0 60px; }
.oblique-showcase-wrapper::after { right: -20px; border-left: none; border-radius: 0 60px 60px 0; }
.oblique-scroller { overflow: hidden; font-size: clamp(2.5rem, 6vw, 4rem); font-family: var(--handwritten-font); color: var(--primary-red); white-space: nowrap; border-top: 2px dashed rgba(255,0,0,0.3); border-bottom: 2px dashed rgba(255,0,0,0.3); padding: 0.5rem 0; }
.oblique-scroller span { display: inline-block; padding-right: 2rem; animation: scroll-oblique 15s linear infinite; }
@keyframes scroll-oblique { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.oblique-subtext { margin-top: 1rem; padding-left: 1rem; text-align: left; }
.oblique-subtext h3, .oblique-subtext h2, .oblique-subtext p { font-family: var(--handwritten-font); }
.oblique-subtext h3 { font-size: 1.5rem; color: var(--text-dark); font-weight: normal; }
.oblique-subtext h2 { font-size: 1.8rem; font-weight: 700; color: var(--text-dark); margin: 1rem 0; }
.oblique-subtext p { font-size: 1.2rem; color: var(--text-light); line-height: 1.2; }
.proof-section { position: absolute; bottom: 5%; left: 55%; transform: translateX(-50%); z-index: 20; text-align: center; }
.proof-section .proof-text { font-family: var(--handwritten-font); font-size: 1.5rem; color: var(--primary-red); }
.proof-arrow { width: 2px; height: 40px; background-color: var(--primary-red); margin: 0.25rem auto 0 auto; position: relative; }
.proof-arrow::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid var(--primary-red); }

/* ==========================================================================
   3. Main Content Sections
   ========================================================================== */
.content-showcase { background-color: var(--bg-color); }
.services-section-restored { background-color: var(--content-bg); padding: 100px 5%; border-bottom: 1px solid var(--border-color); }
/* ... (all other content styles remain unchanged) ... */
.engineering-next-section { background-color: var(--dark-section-bg); color: white; padding: 100px 5%; text-align: center; }
.engineering-next-section h2 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; }
.engineering-next-section .highlight { font-style: italic; font-weight: 400; color: #9CA3AF; }
.stats-bar { background-color: var(--content-bg); padding: 60px 5%; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; border-bottom: 1px solid var(--border-color); }
.project-card, .stat-item {
    opacity: 0; visibility: hidden; transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.project-card.visible, .stat-item.visible {
    opacity: 1; visibility: visible; transform: translateY(0);
}
/* ... (all other project styles remain unchanged) ... */

/* ==========================================================================
   4. Footer and Game
   ========================================================================== */
.main-footer-wrapper { padding: 50px 20px; background-size: cover; background-position: center; background-attachment: fixed; position: relative; }
.footer-overlay { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px); z-index: 1; }
.main-footer { max-width: 1200px; margin: 0 auto; padding: 50px; background: rgba(233, 231, 231, 0.9); backdrop-filter: blur(15px); border-radius: 20px; display: grid; grid-template-columns: 2fr 3fr 1fr; gap: 2rem; align-items: center; position: relative; z-index: 2; }
.footer-column { z-index: 3; }
.footer-left h2 { font-size: 2rem; font-weight: 900; color: var(--text-dark); }
.partner-btn { border: 1px solid var(--text-dark); border-radius: 20px; padding: 0.5rem 1rem; text-decoration: none; color: var(--text-dark); display: inline-block; margin-top: 1rem; font-weight: 600; }
.join-us-btn { display: inline-block; margin-top: 1rem; margin-left: 1rem; text-decoration: none; font-weight: 700; color: var(--primary-red); }
.footer-links-container { display: flex; justify-content: center; gap: 4rem; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { text-decoration: none; color: var(--text-light); font-weight: 500; }
.footer-links a:hover { color: var(--text-dark); }
.footer-right { text-align: right; }
.footer-copyright { font-size: 0.9rem; color: var(--text-light); }
.footer-bg-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 10rem; font-weight: 900; color: rgba(0,0,0,0.05); user-select: none; z-index: 1; }
.game-indicator { text-align: center; padding: 2rem; background: var(--bg-color); }
.game-indicator-text { animation: blink 1.5s infinite; font-weight: 700; }
@keyframes blink { 50% { opacity: 0.2; } }
.mole-game-footer { background-color: var(--content-bg); padding: 50px 20px; text-align: center; }
/* ... (all other original mole game styles remain) ... */

/* ==========================================================================
   5. Floating Widgets & Popups
   ========================================================================== */
.floating-widgets { position: fixed; bottom: 90px; right: 20px; z-index: 999; display: flex; flex-direction: column; gap: 1rem; }
.floating-btn { width: 50px; height: 50px; background-color: var(--content-bg); border: 1px solid var(--border-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 8px rgba(0,0,0,0.1); cursor: pointer; text-decoration: none; font-size: 1.5rem; color: var(--text-dark); transition: transform 0.2s ease, opacity 0.3s ease; }
.floating-btn:hover { transform: scale(1.1); }
#scroll-to-top { opacity: 0; pointer-events: none; }
#scroll-to-top.visible { opacity: 1; pointer-events: auto; }
.whatsapp-btn svg { width: 24px; height: 24px; color: #25D366; }
.theme-switcher { position: relative; }
#theme-toggle-btn { position: static; background-color: var(--content-bg); border: 1px solid var(--border-color); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 12px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
#theme-toggle-btn svg { width: 100%; height: 100%; color: var(--text-dark); }
.pwa-prompt { display: none; position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); background-color: var(--dark-section-bg); color: #fff; padding: 1rem 1.5rem; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); z-index: 2000; width: 90%; max-width: 400px; align-items: center; gap: 1rem; }
.pwa-prompt.visible { display: flex; }
/* ... (all other PWA styles remain unchanged) ... */

/* ==========================================================================
   6. Other Pages (Blog, About, FAQ, etc.)
   ========================================================================== */
/* ... (all other page styles remain unchanged) ... */

/* ==========================================================================
   7. Dark Mode
   ========================================================================== */
.dark-mode {
    --bg-color: #121212; --content-bg: #1E1E1E; --primary-red: #FF4136;
    --light-gray: #555555; --text-dark: #EAEAEA; --text-light: #A9A9A9;
    --border-color: #333333; --dark-section-bg: #000000;
}
/* ... (all other dark mode styles remain unchanged) ... */
.dark-mode #bottom-nav { background-color: #2D3748; }
.dark-mode .bottom-nav-item { color: var(--light-gray); }
.dark-mode .bottom-nav-item:hover { color: #fff; }

/* ==========================================================================
   8. Responsive Overrides
   ========================================================================== */
@media (max-width: 768px) {
    #sticky-header { display: none !important; }
    #bottom-nav { width: 100%; bottom: 0; border-radius: 0; padding: 0.5rem 0; }
    .bottom-nav-item { flex-direction: column; flex: 1; gap: 0.25rem; padding: 0.5rem 0; }
    .bottom-nav-text { font-size: 0.7rem; }
    .bottom-nav-icon { display: block; }
    .bottom-nav-item.contact-btn { background: none; }
    .bottom-nav-item.contact-btn .bottom-nav-text { color: #8B5CF6; }
    .floating-widgets { display: none; }
    main, .content-showcase { padding-bottom: 80px; }
    /* ... (all other mobile override styles remain unchanged) ... */
}
/* ==========================================================================
   FINAL UI RESTORATION
   ========================================================================== */

/* --- Restore Floating Widgets --- */
.floating-widgets {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.floating-btn {
    width: 50px;
    height: 50px;
    background-color: var(--content-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: transform 0.2s ease, opacity 0.3s ease;
}
.floating-btn:hover {
    transform: scale(1.1);
}
#scroll-to-top {
    opacity: 0;
    pointer-events: none;
}
#scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}
.whatsapp-btn svg {
    width: 24px;
    height: 24px;
    color: #25D366;
}
.theme-switcher {
    position: relative;
}
#theme-toggle-btn {
    position: static;
    background-color: var(--content-bg);
    border: 1px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
#theme-toggle-btn svg {
    width: 100%;
    height: 100%;
    color: var(--text-dark);
}

/* --- Restore Bottom Navigation Bar --- */
#bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-dark);
    color: #fff;
    padding: 0.5rem;
    border-radius: 999px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* --- Mobile Overrides for Restored Widgets --- */
@media (max-width: 768px) {
    .floating-widgets {
        display: none;
    }
    #bottom-nav {
        display: flex; /* Ensure it shows on mobile */
    }
}
/* ==========================================================================
   FINAL MOBILE UI POLISH & RESTORATION (ADDITIONS)
   ========================================================================== */

@media (max-width: 768px) {

    /* --- Service Section 3x3 Grid on Mobile --- */
    /* This changes the grid to be 2 columns for better readability than 3x3 */
    .services-grid-restored {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem; /* More vertical space */
    }
    .service-card-restored {
        text-align: center;
    }
    .service-icon-restored {
        margin-left: auto;
        margin-right: auto;
    }
    .service-card-restored p {
        /* Hiding the long description to fit the 3x3 concept */
        display: none;
    }
    .service-card-restored h3 {
        font-size: 0.9rem;
    }

    /* --- Footer Congestion Fix on Mobile --- */
    .main-footer {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
    }
    .footer-left, 
    .footer-right,
    .footer-column {
        text-align: center;
    }
    .footer-links-container {
        justify-content: space-around;
        gap: 2rem;
        margin: 2.5rem 0;
        width: 100%;
        display: flex;
    }
    .footer-right {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid var(--border-color);
    }
    .partner-btn {
        margin-bottom: 0.5rem;
    }
    .footer-locations {
        margin-top: 0;
        margin-bottom: 1.5rem;
    }

    /* --- About & Join Us Page Layout Fixes on Mobile --- */
    .principles-grid {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .position-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .position-action {
        width: 100%;
    }
    .view-details-btn {
        width: 100%;
        text-align: center;
    }
}
/* ==========================================================================
   FINAL MOBILE HERO POLISH
   ========================================================================== */

@media (max-width: 768px) {

    /* --- Center Hero Content --- */
    .main-heading,
    .contact-section,
    .bottom-slogan,
    .proof-section {
        /* Remove absolute positioning and center all hero text blocks */
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        text-align: center;
        width: 100%;
        max-width: 100%;
        margin: 2.5rem auto; /* Add vertical spacing */
    }

    /* --- Fix "laaaav" Animation --- */
    .slogan-main {
        /* Ensure the flex container is centered */
        justify-content: center;
    }
    
    /* --- Hide Unnecessary Desktop Elements on Mobile --- */
    .vertical-line,
    .bg-text,
    .oblique-showcase-wrapper,
    .slogan-subtext,
    .version {
        display: none;
    }

    /* Adjust hero padding for mobile */
    .hero-brutalist {
        padding: 80px 1rem 2rem 1rem;
    }
    .content-wrapper {
        padding: 2rem 1rem;
    }
}
/* ==========================================================================
   FINAL POLISH: STATIC PAGE LAYOUTS
   ========================================================================== */

/* --- General Static Page Container --- */
.static-page-container {
    max-width: 850px; /* A bit wider for better text flow */
    margin: 0 auto;
    padding: 120px 2rem 50px 2rem;
    background: var(--content-bg);
    min-height: 80vh;
}

/* --- About Page Specifics --- */
.about-header {
    text-align: center;
    margin-bottom: 3rem;
}
.about-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--text-dark); /* Changed from red for a more premium look */
    margin-bottom: 0.5rem;
}
.about-header h2 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}
.about-content {
    max-width: 700px;
    margin: 3rem auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}
.about-image-placeholder {
    width: 100%;
    margin: 4rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.about-image-placeholder img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.principles-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.principles-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: var(--text-light);
}
.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.principle-item {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
}
.principle-item h3 {
    margin-bottom: 0.75rem;
    color: #10B981; /* Green accent */
    font-weight: 600;
    font-size: 1.1rem;
}
.dark-mode .principle-item {
    background-color: #2D3748;
}

/* --- Join Us Page Layout Fix --- */
.join-us-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}
.positions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.position-card {
    background: var(--content-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: box-shadow 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.position-info h3 { margin-bottom: 0.5rem; }
.position-meta { display: flex; gap: 0.5rem; align-items: center; }
.meta-tag, .meta-type {
    font-size: 0.8rem;
    background-color: var(--bg-color);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}
.view-details-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: none;
    color: var(--text-dark);
    cursor: pointer;
    font-weight: 500;
}
.position-description {
    display: none;
    width: 100%;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    line-height: 1.7;
}
.apply-now-btn {
    display: inline-block;
    margin-top: 1rem;
    background-color: var(--primary-red);
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
}

/* --- FAQ Page Styles --- */
.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}
.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.faq-item h2 {
    color: var(--text-dark);
    font-size: 1.25rem;
}

/* --- Responsive Fixes for Static Pages --- */
@media (max-width: 768px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }
    .position-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .position-action {
        width: 100%;
    }
    .view-details-btn {
        width: 100%;
        text-align: center;
    }
}