/* --- GLOBAL OVERRIDES & LAYERING --- */
body {
    background-color: #020202;
    color: #ffffff !important;
    overflow-x: hidden;
}

/* Fix Background Z-Index so text pops */
#warpCanvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; opacity: 0.6; pointer-events: none;
}

.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAIklEQVQIW2NkQAKrVq36zwjjgzhhYWGMYAEYB8RmROaABADeOQ8CXl/xfgAAAABJRU5ErkJggg==');
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

/* Ensure content sits above background */
section, header, nav, footer {
    position: relative;
    z-index: 10;
}



/*** Services Page CSS**/

/* --- GLOBAL & HERO --- */
body { background-color: #020202; color: #ffffff !important; overflow-x: hidden; }
#warpCanvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.6; pointer-events: none; }
.noise-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAIklEQVQIW2NkQAKrVq36zwjjgzhhYWGMYAEYB8RmROaABADeOQ8CXl/xfgAAAABJRU5ErkJggg=='); opacity: 0.05; z-index: 1; pointer-events: none; }
section, header, nav, footer { position: relative; z-index: 10; }
h1, h2, h3, h4, h5, strong { color: #ffffff !important; }
p, li, span { color: #e0e0e0 !important; font-weight: 300; letter-spacing: 0.5px; }

.ss-hero { height: 80vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05), transparent 60%); }
.hero-meta { position: absolute; top: 120px; left: 30px; right: 30px; display: flex; justify-content: space-between; font-family: var(--font-tech); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; }
.kinetic-title { display: flex; flex-direction: column; font-size: 10vw; line-height: 0.9; font-family: var(--font-soul); text-align: center; }
.kinetic-title .outline { -webkit-text-stroke: 2px white; color: transparent !important; }
.hero-summary { max-width: 700px; margin: 50px auto 0; text-align: center; font-size: 1.2rem; line-height: 1.6; }

/* --- MANIFESTO (Problem) --- */
.manifesto-section { padding: 120px 0; border-bottom: 1px solid var(--border); }
.manifesto-text { font-size: 2.5rem; text-align: center; line-height: 1.4; max-width: 900px; margin: 0 auto 50px auto; }
.manifesto-text .highlight { color: #ccc !important; font-family: var(--font-soul); font-style: italic; }
.long-text-block { max-width: 700px; margin: 0 auto; text-align: left; }
.long-text-block h3 { font-size: 1.8rem; margin-bottom: 20px; text-align: center; }
.long-text-block p { font-size: 1.1rem; margin-bottom: 25px; line-height: 1.8; color: #aaa !important; }

/* --- BENTO GRID --- */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.bento-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 40px; position: relative; overflow: hidden; transition: 0.4s; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.bento-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.3); transform: translateY(-5px); }
.bento-card.large { grid-column: span 2; display: flex; flex-direction: row; align-items: center; gap: 40px; }
.bento-card.medium { grid-column: span 1; }
.bento-card.wide { grid-column: span 3; display: flex; flex-direction: row; align-items: center; gap: 40px; }

.bento-icon { font-size: 3rem; color: white; background: rgba(255,255,255,0.05); width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; margin-bottom: 20px; }
.large .bento-icon, .wide .bento-icon { margin-bottom: 0; width: 100px; height: 100px; font-size: 4rem; }

.bento-text h3 { font-size: 2rem; font-family: var(--font-soul); margin-bottom: 10px; color: white; }
.bento-text .lead { font-family: var(--font-tech); text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; color: #888 !important; margin-bottom: 15px; }
.bento-text .desc { font-size: 1rem; color: #bbb !important; margin-bottom: 20px; line-height: 1.6; }
.bento-list { margin-bottom: 20px; padding-left: 20px; }
.bento-list li { list-style: square; color: #ddd !important; margin-bottom: 5px; }
.bento-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.bento-tags span { background: rgba(255,255,255,0.1); padding: 5px 15px; font-size: 0.8rem; border-radius: 20px; color: white !important; }
.link-btn { display: inline-block; margin-top: 15px; color: white !important; border-bottom: 1px solid white; padding-bottom: 5px; font-size: 0.9rem; text-transform: uppercase; transition: 0.3s; }
.bento-card:hover .link-btn { padding-left: 10px; color: #ccc !important; }

/* --- SYNERGY --- */
.syn-item { margin-bottom: 40px; padding-left: 30px; border-left: 2px solid var(--border); transition: 0.3s; }
.syn-item:hover { border-left-color: white; }
.syn-item h4 { font-size: 1.5rem; color: white; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.syn-item h4 i { font-size: 1rem; color: #666; }
.syn-item p { color: #aaa !important; font-size: 1.05rem; }
.syn-stat { text-align: center; margin-top: 30px; }
.syn-stat span { font-size: 4rem; font-family: var(--font-soul); display: block; line-height: 1; color: white !important; }
.syn-stat p { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; }

/* --- MATRIX GRID --- */
.matrix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.matrix-item { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 40px; transition: 0.3s; }
.matrix-item:hover { background: rgba(255,255,255,0.05); border-color: white; }
.matrix-item h4 { font-size: 1.5rem; margin-bottom: 15px; font-family: var(--font-soul); }
.matrix-item p { font-size: 1rem; color: #bbb !important; line-height: 1.6; }

/* --- FAQ & STACK --- */
.faq-wrapper { max-width: 900px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 25px 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-question h4 { font-size: 1.3rem; font-family: var(--font-tech); font-weight: 600; }
.toggle { font-size: 1.5rem; font-weight: 300; }
.faq-answer { height: 0; overflow: hidden; transition: 0.5s ease; }
.faq-answer p { padding-top: 15px; color: #aaa !important; font-size: 1rem; width: 90%; }
.faq-item.active .faq-answer { height: auto; padding-bottom: 10px; }
.faq-item.active .toggle { transform: rotate(45deg); }

/* Mobile */
@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.large, .bento-card.medium, .bento-card.wide { grid-column: span 1; flex-direction: column; align-items: flex-start; }
    .large .bento-icon, .wide .bento-icon { margin-bottom: 20px; }
    .matrix-grid, .arsenal-grid-advanced { grid-template-columns: 1fr; }
}

/** Services Page CSS ENds**/


/* Typography Defaults */
h1, h2, h3, h4, h5, strong { color: #ffffff !important; }
p, li, span { color: #e0e0e0 !important; font-weight: 300; letter-spacing: 0.5px; }

/* --- HERO SECTION --- */
.ss-hero {
    height: 90vh;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05), transparent 60%);
}

.hero-meta {
    position: absolute; top: 120px; left: 30px; right: 30px;
    display: flex; justify-content: space-between;
    font-family: var(--font-tech); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
}

.kinetic-title {
    display: flex; flex-direction: column;
    font-size: 10vw; line-height: 0.9; font-family: var(--font-soul); text-align: center;
}

.kinetic-title .outline {
    -webkit-text-stroke: 2px white;
    color: transparent !important;
}

.hero-summary {
    max-width: 700px; margin: 50px auto 0; text-align: center;
    font-size: 1.2rem; line-height: 1.6;
}

/* --- MANIFESTO SECTION (Fixed Readability) --- */
.manifesto-section {
    padding: 150px 0;
    border-bottom: 1px solid var(--border);
}

.manifesto-text {
    font-size: 2.5rem; /* Slightly reduced for better fit */
    text-align: center;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.manifesto-text .highlight {
    color: #ccc !important;
    font-family: var(--font-soul);
    font-style: italic;
}

.long-text-block {
    max-width: 700px; /* Tighter width */
    margin: 0 auto;
    text-align: center;
}

.long-text-block p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #aaa !important; /* Softer white */
}

/* --- VOID SECTION --- */
.void-grid {
    display: flex; justify-content: center; align-items: center;
    gap: 40px; flex-wrap: wrap; margin-top: 50px;
}

.void-card {
    flex: 1; min-width: 300px; padding: 50px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    transition: 0.3s;
}

.void-card h3 { font-size: 2.5rem; margin-bottom: 20px; font-family: var(--font-soul); }
.void-stat {
    font-size: 2rem; font-weight: bold; font-family: var(--font-tech);
    padding-top: 20px; border-top: 1px solid var(--border);
}

.void-center {
    display: flex; flex-direction: column; align-items: center;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
}

.arrow-down {
    width: 1px; height: 50px; background: white; margin-bottom: 10px;
}

/* --- SPLIT SCROLL (THE RITUAL) --- */
.split-scroll-wrapper { position: relative; }

.split-layout {
    display: grid; grid-template-columns: 0.8fr 1.2fr;
    gap: 80px; padding: 100px 30px;
}

.split-left {
    position: sticky; top: 150px; height: fit-content;
}

.sticky-head {
    font-size: 5rem; font-family: var(--font-soul);
    line-height: 1; margin-bottom: 20px;
}

.sticky-sub { font-size: 1.2rem; color: var(--text-muted); }

.split-right {
    display: flex; flex-direction: column; gap: 100px; padding-bottom: 100px;
}

.scroll-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    padding: 60px;
    transition: 0.5s;
}

.scroll-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: white;
}

/* Fixed NaN Error: Renamed class from .num to .step-index */
.step-index {
    font-size: 4rem;
    font-family: var(--font-soul);
    color: rgba(255,255,255,0.1) !important;
    display: block;
    margin-bottom: 20px;
}

.scroll-card h4 { font-size: 2rem; margin-bottom: 20px; }
.scroll-card p { font-size: 1.1rem; color: #bbb !important; }

/* --- HORIZONTAL SCROLL --- */
.horz-section {
    overflow: hidden; padding: 100px 0;
    background: #050505;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.horz-track {
    display: flex; gap: 50px; padding-left: 50px; width: max-content;
}

.horz-item {
    min-width: 400px; height: 400px;
    border: 1px solid var(--border);
    padding: 50px;
    display: flex; flex-direction: column; justify-content: center;
    background: rgba(20,20,20,0.6);
}

.title-card h3 { font-size: 4rem; font-family: var(--font-soul); line-height: 1; }
.platform-card i { font-size: 3rem; margin-bottom: 30px; color: white; }
.platform-card h4 { font-size: 2rem; margin-bottom: 20px; }
.platform-card ul { padding-left: 20px; }
.platform-card ul li { list-style: disc; color: #bbb !important; margin-bottom: 10px; font-size: 1.1rem; }

/* --- DEEP DIVE SECTIONS --- */
.thesis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 50px; }
.thesis-item { background: rgba(255,255,255,0.02); padding: 50px; border: 1px solid var(--border); }
.thesis-item h3 { font-size: 2rem; margin-bottom: 20px; font-family: var(--font-soul); }
.thesis-list li { list-style: none; margin-bottom: 15px; padding-left: 20px; border-left: 2px solid white; }



/* --- EXPANDED THESIS GRID --- */
.thesis-grid-expanded {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Responsive Cards */
    gap: 40px;
    margin-top: 50px;
}

.thesis-item {
    background: rgba(255,255,255,0.02);
    padding: 50px;
    border: 1px solid var(--border);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.thesis-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-5px);
}

.thesis-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 25px;
    opacity: 0.8;
}

.thesis-item h3 {
    font-size: 1.8rem; /* Slightly smaller to fit more cards */
    margin-bottom: 15px;
    font-family: var(--font-soul);
    color: white;
}

.thesis-item p {
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
    color: #bbb !important;
}

.thesis-list li {
    list-style: none;
    margin-bottom: 12px;
    padding-left: 15px;
    border-left: 2px solid #444;
    transition: 0.3s;
    font-size: 0.95rem;
}

.thesis-item:hover .thesis-list li {
    border-left-color: white;
}

.thesis-list li strong {
    color: white;
    font-weight: 600;
    display: block; /* Stack title and desc */
    margin-bottom: 3px;
}

/* Mobile Adjustment for Thesis */
@media (max-width: 768px) {
    .thesis-grid-expanded {
        grid-template-columns: 1fr;
    }
}

.prod-steps { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 60px; gap: 20px; }
.p-step { text-align: center; flex: 1; }
.p-icon { width: 80px; height: 80px; border: 1px solid white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 30px auto; background: rgba(255,255,255,0.05); transition: 0.3s; }
.p-step:hover .p-icon { background: white; color: black; transform: scale(1.1); }
.p-step:hover .p-icon i { color: black !important; }
.p-line { flex: 0.5; height: 1px; background: var(--border); margin-top: 40px; }

.matrix-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.matrix-item { padding: 40px; border: 1px solid var(--border); background: black; transition: 0.3s; }
.matrix-item:hover { border-color: white; background: rgba(255,255,255,0.05); }
.matrix-item i { font-size: 2.5rem; color: white !important; margin-bottom: 20px; }

.timeline { display: flex; flex-direction: column; border-left: 1px solid var(--border); margin-left: 20px; }
.t-item { padding-left: 40px; padding-bottom: 50px; position: relative; }
.t-item::before { content: ''; position: absolute; left: -5px; top: 0; width: 10px; height: 10px; background: white; border-radius: 50%; }
.t-date { font-family: var(--font-tech); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; display: block; }

/* --- PRICING --- */
.scope-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.scope-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 40px; position: relative; }
.scope-card.highlight { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }
.badge { position: absolute; top: 0; right: 0; background: white; color: black !important; padding: 5px 15px; font-size: 0.7rem; font-weight: bold; text-transform: uppercase; }
.scope-header h3 { font-size: 2rem; font-family: var(--font-soul); margin-bottom: 10px; }
.scope-header .price { font-size: 1.5rem; margin-bottom: 30px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.scope-list li { margin-bottom: 15px; display: flex; gap: 10px; align-items: center; }
.btn-scope { display: block; text-align: center; border: 1px solid white; padding: 15px; margin-top: 30px; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 2px; transition: 0.3s; color: white !important; }
.btn-scope:hover { background: white; color: black !important; }

/* --- FAQ --- */
.faq-list details { border-bottom: 1px solid var(--border); padding: 25px 0; cursor: pointer; }
.faq-list summary { font-size: 1.4rem; font-family: var(--font-tech); font-weight: 600; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-list summary::after { content: '+'; font-weight: 300; font-size: 1.5rem; }
.faq-list details[open] summary::after { content: '-'; }
.faq-list p { margin-top: 20px; width: 90%; color: #ccc !important; }

/* --- WIKI SECTION --- */
.wiki-content { column-count: 2; column-gap: 60px; }
.wiki-content p { margin-bottom: 20px; font-size: 1rem; text-align: justify; }

/* --- CONTACT FORM FIX (Screenshot 3 Fix) --- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.big-head { font-size: 4rem; font-family: var(--font-soul); line-height: 1.1; margin-bottom: 20px; }

/* Transparent Input Styling */
.group { position: relative; margin-bottom: 40px; }

.group input {
    width: 100%; padding: 10px 0; font-size: 1.2rem; color: #fff;
    border: none; border-bottom: 1px solid rgba(255,255,255,0.2);
    background: transparent; outline: none; font-family: var(--font-tech); transition: 0.3s;
}

.group label {
    position: absolute; top: 10px; left: 0; color: #666;
    font-size: 1rem; pointer-events: none; transition: 0.3s ease all;
    text-transform: uppercase; letter-spacing: 1px;
}

/* Input Animations */
.group input:focus ~ label,
.group input:valid ~ label { top: -20px; font-size: 0.8rem; color: #fff; }

.group .bar { position: relative; display: block; width: 100%; }
.group .bar:before, .group .bar:after {
    content: ''; height: 2px; width: 0; bottom: 0; position: absolute;
    background: #fff; transition: 0.3s ease all;
}
.group .bar:before { left: 50%; }
.group .bar:after { right: 50%; }
.group input:focus ~ .bar:before, .group input:focus ~ .bar:after { width: 50%; }

/* Submit Button */
.btn-submit {
    background: transparent; border: 1px solid white; color: white;
    padding: 15px 40px; font-size: 1rem; text-transform: uppercase;
    letter-spacing: 2px; cursor: pointer; transition: 0.3s;
    font-family: var(--font-tech); display: inline-flex; align-items: center; gap: 10px;
}
.btn-submit:hover { background: white; color: black; padding-right: 50px; }

/* Mobile Fixes */
@media (max-width: 900px) {
    .split-layout { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .prod-steps { flex-direction: column; gap: 50px; }
    .p-line { display: none; }
    .thesis-grid { grid-template-columns: 1fr; }
    .wiki-content { column-count: 1; }
    .kinetic-title { font-size: 15vw; }
}


/**Work CSS**/

/** Work CSS ENds**/