:root {
    --primary-blue: #0A32DE; /* Bright royal blue like the image */
    --neon-green: #bdfc08;
    --white: #ffffff;
    --black: #111111;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.4);
    --light-gray: #f4f5f5;
    /* Theme canvas — LIGHT (default) = royal blue, DARK = near-black */
    --canvas: var(--primary-blue);
}

html.dark {
    --canvas: #020511;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--canvas);
    color: var(--white);
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.4s ease;
}

html.dark .grid-background { opacity: 0.7; }

/* Loading Screen */
.premium-loader-wrapper {
    position: fixed;
    inset: 0;
    background: #020511; /* Extremely dark blue */
    z-index: 999999;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.8, 0, 0.2, 1), visibility 0.8s cubic-bezier(0.8, 0, 0.2, 1);
}

.premium-loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* The neon blob that follows the cursor */
.loader-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--neon-green);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* The frosted glass layer on top of the blob */
.loader-glass {
    position: absolute;
    inset: 0;
    background: rgba(2, 5, 17, 0.4);
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.loader-mimik-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    animation: floatLogo 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(189, 252, 8, 0.3));
}

.loading-text {
    display: flex;
    gap: 8px;
}

.loading-text span {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 4px;
    animation: waveText 1.5s infinite ease-in-out;
}
.loading-text span:nth-child(1) { animation-delay: 0.0s; }
.loading-text span:nth-child(2) { animation-delay: 0.1s; }
.loading-text span:nth-child(3) { animation-delay: 0.2s; }
.loading-text span:nth-child(4) { animation-delay: 0.3s; }
.loading-text span:nth-child(5) { animation-delay: 0.4s; }
.loading-text span:nth-child(6) { animation-delay: 0.5s; }
.loading-text span:nth-child(7) { animation-delay: 0.6s; }

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes waveText {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-10px); opacity: 1; color: var(--neon-green); text-shadow: 0 0 10px var(--neon-green); }
}



/* Grid overlay */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    pointer-events: none;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    position: relative;
    z-index: 10;
}

.logo {
    display: inline-flex;
    background: var(--white);
    border-radius: 30px;
    padding: 4px;
    align-items: center;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

.logo-bold {
    background: var(--black);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
}

.logo-light {
    color: var(--black);
    padding: 8px 16px;
}

nav {
    display: flex;
    gap: 10px;
}

.nav-pill {
    color: var(--white);
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-pill:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-outline {
    color: var(--white);
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid var(--white);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-content-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    z-index: 2;
    position: relative;
}

.huge-text {
    font-size: clamp(4rem, 12vw, 11rem);
    font-weight: 900;
    line-height: 0.85;
    text-transform: uppercase;
    letter-spacing: -3px;
    margin: 0;
}

.neon-text {
    color: var(--neon-green);
}

/* Floating Glass Cards */
.glass-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 20px;
    width: 220px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 3;
    text-align: center;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: rotate(0deg) scale(1.05);
}

.card-1 {
    top: 22%;
    left: 4%;
}

.card-2 {
    bottom: 10%;
    left: 8%;
    right: auto;
    transform: rotate(8deg);
}

.card-image {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.card-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.bg-blue { background: var(--primary-blue); }
.bg-green { background: var(--neon-green); }

.glass-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.glass-card p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Doodles */
[class^="doodle-"] {
    pointer-events: none;
}

.doodle-arrow-1 {
    position: absolute;
    top: 15%;
    right: 18%;
    z-index: 4;
}

.doodle-arrow-2 {
    position: absolute;
    bottom: 10%;
    left: 22%;
    z-index: 4;
}

/* Circular Badge */
.circular-badge {
    position: absolute;
    bottom: 12%;
    right: 5%;
    z-index: 5;
    animation: spin 15s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* White Section */
.white-section {
    background: var(--white);
    color: var(--black);
    border-radius: 40px 40px 0 0;
    padding: 80px 5%;
    position: relative;
    z-index: 10;
    margin-top: 20px;
}

.white-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.tagline {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 10px;
}

.white-section-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}

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

.service-card {
    background: var(--light-gray);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-header h3 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.service-desc {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.service-footer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pill {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bg-blue-dark {
    background: var(--primary-blue);
}

.text-white {
    color: var(--white);
}

.text-black {
    color: var(--black);
}

/* Doodles in services */
.doodle-black-1 {
    position: absolute;
    bottom: -20px;
    right: 20px;
}

.doodle-black-2 {
    position: absolute;
    top: -20px;
    left: 40px;
}

/* Stats */
.stats-cta-section {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px;
    background: var(--black);
    color: var(--white);
    border-radius: 30px;
}

.stat-item { text-align: center; }
.stat-item h2 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--neon-green);
    line-height: 1;
}
.stat-item p {
    font-size: 1.2rem;
    font-weight: 500;
}

.cta-banner {
    text-align: center;
    background: var(--light-gray);
    padding: 60px;
    border-radius: 30px;
}

.cta-banner h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.btn-solid {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 40px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-solid:hover {
    background: var(--black);
    transform: scale(1.05);
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--white);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-green);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Page Specific Layouts */
.page-hero {
    padding: 100px 5%;
    text-align: center;
}

.page-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

/* About Page */
.about-container {
    max-width: 1000px;
    margin: 0 auto 100px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    position: relative;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-image {
    width: 300px;
    height: 300px;
    background: var(--neon-green);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    transform: rotate(5deg);
    flex-shrink: 0;
}

/* Portfolio Page */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    padding: 0 5% 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
}

.project-image {
    height: 250px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.project-tags {
    display: flex;
    gap: 10px;
}

/* Contact Page */
.contact-container {
    max-width: 600px;
    margin: 0 auto 100px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 50px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: var(--white);
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--neon-green);
    background: rgba(255, 255, 255, 0.2);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

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

.btn-submit {
    width: 100%;
    background: var(--neon-green);
    color: var(--black);
    border: none;
    padding: 18px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.btn-submit:hover {
    background: var(--white);
    transform: scale(1.02);
}

/* Marquee Divider */
.marquee-container {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg) scale(1.05);
    overflow: hidden;
    background: var(--neon-green);
    color: var(--black);
    padding: 20px 0;
    margin-top: 40px;
    margin-bottom: 40px;
    z-index: 5;
    border-top: 4px solid var(--black);
    border-bottom: 4px solid var(--black);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    animation: scroll-left 20s linear infinite;
}

.marquee-content span {
    margin: 0 30px;
}

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

/* Trusted Brands (Theme Version) */
.trusted-brands-theme {
    padding: 60px 0;
    text-align: center;
    position: relative;
    z-index: 5;
}

.trusted-title-theme {
    color: var(--glass-border);
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: 2px;
}

.brands-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.brands-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: scroll-left-brands 40s linear infinite;
}

@keyframes scroll-left-brands {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-glass-pill, .brand-logo-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 0 25px;
    margin: 0 10px;
    height: 45px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.brand-glass-pill:hover, .brand-logo-img:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: scale(1.05);
}

/* Why Mimik (Theme Version) */
.why-theme-section {
    padding: 100px 5% 140px;
    position: relative;
    z-index: 5;
    max-width: 1400px;
    margin: 0 auto;
}

.why-theme-header {
    text-align: center;
    margin-bottom: 80px;
}

.why-theme-header h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.why-theme-header p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
}

.why-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.bento-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-10px);
}

.bento-number {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 12rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    z-index: 0;
}

.bento-content {
    position: relative;
    z-index: 1;
}

.bento-content h3 {
    color: var(--neon-green);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.bento-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Testimonials (White Theme) */
.testimonials-white-section {
    padding: 60px 5% 100px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-grid-white {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card-white {
    background: #f8f9fa;
    border-radius: 30px;
    padding: 40px;
    position: relative;
    color: var(--black);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.testimonial-card-white:hover {
    transform: translateY(-5px);
}

.testimonial-card-white p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
    color: #444;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--neon-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--black);
}

/* Team Grid */
/* Process Section */
.process-section {
    padding: 100px 5%;
    text-align: center;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.process-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 60px;
    position: relative;
    gap: 20px;
}

.process-container::before {
    content: '';
    position: absolute;
    top: 70px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(255,255,255,0.1);
    z-index: 0;
}

@media (max-width: 900px) {
    .process-container {
        flex-direction: column;
    }
    .process-container::before {
        display: none;
    }
}

.process-step {
    flex: 1;
    position: relative;
    text-align: center;
    padding: 30px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.4s ease;
    cursor: pointer;
    z-index: 1;
}

.process-step:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
    border-color: var(--neon-green);
    box-shadow: 0 10px 40px rgba(189, 252, 8, 0.1);
}

.step-icon-wrapper {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--dark-gray);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    transition: all 0.4s ease;
}

.process-step:hover .step-icon {
    background: var(--neon-green);
    color: var(--black);
    border-color: var(--neon-green);
    box-shadow: 0 0 20px var(--neon-green);
    transform: scale(1.1);
}

.step-number {
    color: var(--neon-green);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 800;
}

.step-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    line-height: 1.5;
}

.team-section {
    padding: 0 5% 100px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.team-member {
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-photo {
    width: 150px;
    height: 150px;
    background: var(--light-gray);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

/* Work Filters */
.work-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--glass-border);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--neon-green);
    color: var(--black);
    border-color: var(--neon-green);
}

/* Case Study Modal */
.case-study-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 20px;
}

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

.modal-content {
    background: var(--black);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    overflow-y: auto;
    position: relative;
    transform: translateY(50px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.case-study-modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    color: var(--black);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: scale(1.1) rotate(90deg);
}

.modal-header {
    height: 300px;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    border-radius: 40px 40px 0 0;
}

.modal-body {
    padding: 50px;
    color: var(--white);
}

.modal-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#modalTitle {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 40px;
    line-height: 1;
}

.modal-section {
    margin-bottom: 40px;
}

.modal-section h3 {
    color: var(--neon-green);
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-section p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #ddd;
}

.modal-results {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
}

.result-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.result-box h4 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--neon-green);
    margin-bottom: 5px;
}

.result-box p {
    font-size: 1rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Manifesto Section */
.manifesto-section {
    padding: 150px 20px;
    background: #020511;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(189, 252, 8, 0.1);
    border-bottom: 1px solid rgba(189, 252, 8, 0.1);
}

.manifesto-container {
    max-width: 1200px;
    margin: 0 auto;
}

.manifesto-text {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    color: rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    background: linear-gradient(to right, var(--neon-green) 50%, rgba(255,255,255,0.05) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    color: transparent;
    transition: background-position 0.1s ease-out;
}

/* Green Services Theme */
.green-theme-section {
    background-color: var(--neon-green);
    background-size: 50px 50px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.1) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    border-radius: 40px;
    color: var(--black);
}

.green-theme-section h2 {
    color: var(--black);
}

.green-theme-section .white-text {
    color: var(--white);
}

.green-theme-section p {
    color: rgba(0, 0, 0, 0.8);
}

.green-theme-section .bento-card {
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.green-theme-section .bento-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.green-theme-section .bento-content h3 {
    color: var(--neon-green);
}

.green-theme-section .bento-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* Dynamic Testimonials */
.testimonials-dynamic-section {
    overflow: hidden;
}

.testimonial-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll-left-testimonials 30s linear infinite;
}

.testimonial-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left-testimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.t-glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 50px 40px;
    width: 450px;
    text-align: left;
    position: relative;
    transition: transform 0.3s ease, background 0.3s ease;
}

.t-glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.t-quote-mark {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(189, 252, 8, 0.2);
    line-height: 1;
    font-family: serif;
}

.t-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.t-author .author-info strong {
    display: block;
    font-size: 1.1rem;
    color: var(--neon-green);
}

.t-author .author-info span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Mega CTA Section */
.mega-cta-section {
    padding: 150px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.mega-cta-content {
    position: relative;
    z-index: 2;
}

.mega-cta-text {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -3px;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    transition: color 0.4s ease;
}

.mega-subtext {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 50px;
    font-weight: 500;
    transition: color 0.4s ease;
}

.mega-cta-section:hover .mega-cta-text {
    color: var(--black);
}

.mega-cta-section:hover .mega-subtext {
    color: rgba(0,0,0,0.7);
}

.mega-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--neon-green);
    color: var(--black);
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.mega-btn:hover {
    transform: scale(1.05);
    background: var(--white);
    color: var(--black);
}

.mega-cta-hover-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--neon-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
    z-index: 1;
}

.mega-cta-section:hover .mega-cta-hover-bg {
    width: 250vw;
    height: 250vw;
}

/* ═══════════════════════════════════════════════════════
   STICKY NAV (global requirement: hide on down, show on up)
   ═══════════════════════════════════════════════════════ */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.35s ease, background-color 0.3s ease;
}

header.nav-scrolled {
    background: rgba(2, 5, 17, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

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

/* Mobile hamburger + overlay menu */
.nav-burger {
    display: none;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1;
    padding: 8px 12px;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(2, 5, 17, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mobile-menu a:hover { color: var(--neon-green); }

.mobile-menu .menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--white);
    color: var(--black);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════
   SCROLL APPEAR EFFECT (Zyner-style reveal)
   ═══════════════════════════════════════════════════════ */

.appear {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.appear.in {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   OUR WORK — filter rail + grid (Zyner portfolio structure)
   ═══════════════════════════════════════════════════════ */

.work-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 100px;
    align-items: start;
}

.filter-rail {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-rail-label {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.filter-rail .filter-btn {
    text-align: left;
    width: 100%;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.work-card {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    text-align: left;
}

.work-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.06);
}

.work-loc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: -4px 0 12px;
}

.work-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
}

/* ═══════════════════════════════════════════════════════
   PROJECT DETAIL (Zyner detail template)
   ═══════════════════════════════════════════════════════ */

.detail-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 5% 100px;
}

.detail-back {
    display: inline-block;
    color: var(--neon-green);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 30px;
}

.detail-title {
    font-size: clamp(2.4rem, 6vw, 3.25rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 0.95;
    margin-bottom: 24px;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    margin-bottom: 32px;
}

.meta-item span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.meta-item strong {
    font-size: 1rem;
    color: var(--white);
}

.detail-prose {
    max-width: 720px;
}

.detail-prose p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #ddd;
    margin-bottom: 20px;
}

.detail-section {
    margin: 45px 0;
}

.detail-section h3 {
    color: var(--neon-green);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.results-list {
    list-style: none;
    max-width: 720px;
}

.results-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
}

.results-list li::before {
    content: "✓  ";
    color: var(--neon-green);
    font-weight: 800;
}

.detail-gallery {
    column-count: 2;
    column-gap: 20px;
    margin: 50px 0;
}

.detail-gallery img {
    width: 100%;
    margin: 0 0 20px;
    border-radius: 10px;
    display: block;
    break-inside: avoid;
}

@media (max-width: 680px) {
    .detail-gallery { column-count: 1; }
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.next-project {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding-top: 40px;
}

.next-project a {
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
}

.next-project a:hover { color: var(--neon-green); }

/* ═══════════════════════════════════════════════════════
   PRICING (prepped, not published — unlinked + noindex)
   ═══════════════════════════════════════════════════════ */

.pricing-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 100px;
    text-align: center;
}

.billing-toggle {
    display: inline-flex;
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 6px;
    margin-bottom: 50px;
}

.billing-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.billing-btn.active {
    font-weight: 700;
    color: var(--black);
}

.billing-pill {
    position: absolute;
    top: 6px;
    left: 0;
    height: calc(100% - 12px);
    background: var(--neon-green);
    border-radius: 30px;
    transition: transform 0.3s cubic-bezier(0.44, 0, 0.56, 1), width 0.3s cubic-bezier(0.44, 0, 0.56, 1);
    z-index: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: left;
}

.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--neon-green);
    box-shadow: 0 0 40px rgba(221, 255, 0, 0.15);
}

.popular-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neon-green);
    color: var(--black);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pricing-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.price-strike {
    text-decoration: line-through;
    opacity: 0.5;
    font-size: 1.1rem;
}

.price-big {
    font-size: 3rem;
    font-weight: 900;
    color: var(--neon-green);
    line-height: 1;
    margin: 5px 0;
}

.price-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 25px;
}

.pricing-list {
    list-style: none;
    margin-top: 25px;
}

.pricing-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.pricing-list li::before {
    content: "✓  ";
    color: var(--neon-green);
    font-weight: 800;
}

/* ═══════════════════════════════════════════════════════
   CONTACT EXTRAS
   ═══════════════════════════════════════════════════════ */

.contact-info-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0 auto 50px;
    max-width: 800px;
}

.form-status {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 15px;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(221, 255, 0, 0.15);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
}

.form-status.error {
    display: block;
    background: rgba(255, 80, 80, 0.15);
    border: 1px solid rgba(255, 120, 120, 0.8);
    color: #ffb4b4;
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
}

select.form-input option {
    color: var(--black);
    background: var(--white);
}

/* Responsive */
@media (max-width: 900px) {
    nav { display: none; }
    .nav-burger { display: block; }
    .floating-card { display: none; }
    .doodle-arrow-1, .doodle-arrow-2, .circular-badge { display: none; }
    .stats-container { flex-direction: column; align-items: center; text-align: center; }
    .about-container { flex-direction: column; text-align: center; padding: 40px 20px; }
    .about-image { width: 100%; max-width: 250px; height: 250px; font-size: 4rem; }
    .page-hero { padding: 60px 5%; }
    .page-title { font-size: clamp(2.5rem, 8vw, 4rem); }

    .work-layout { grid-template-columns: 1fr; }
    .filter-rail {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .filter-rail::-webkit-scrollbar { display: none; }
    .filter-rail-label { display: none; }
    .filter-rail .filter-btn { width: auto; white-space: nowrap; }
    .work-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; gap: 24px; }
    .next-project { flex-direction: column; align-items: flex-start; }
}

/* Reduced motion: kill loops and reveals */
@media (prefers-reduced-motion: reduce) {
    .marquee-content,
    .brands-track,
    .testimonial-marquee-track,
    .circular-badge,
    .loader-mimik-logo,
    .loading-text span {
        animation: none !important;
    }
    .appear {
        opacity: 1;
        transform: none;
        transition: none;
    }
    header { transition: none; }
    html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════
   THEME TOGGLE
   ═══════════════════════════════════════════════════════ */

.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--white);
    transition: transform 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
}

.theme-toggle:hover { transform: rotate(20deg) scale(1.08); }

/* ═══════════════════════════════════════════════════════
   HOME SHOWCASE — 4-col scroll-linked parallax (teardown §1)
   ═══════════════════════════════════════════════════════ */

.showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 8px;
    max-width: 1400px;
    margin: 0 auto 50px;
    padding: 0 5%;
    height: 620px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.showcase-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    will-change: transform;
}

.showcase-col a {
    display: block;
    line-height: 0;
    border-radius: 8px;
    overflow: hidden;
}

.showcase-col img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s cubic-bezier(0.44, 0, 0.56, 1);
    background: rgba(255, 255, 255, 0.06);
}

.showcase-col a:hover img { transform: scale(1.04); }

/* ═══════════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════════ */

.faq-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 5% 100px;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    margin-bottom: 14px;
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 26px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--neon-green);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-answer {
    padding: 0 26px 24px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.02rem;
    line-height: 1.65;
    max-width: 850px;
}

/* ═══════════════════════════════════════════════════════
   COMPARISON — "the old way" vs "plugging in Mimik"
   ═══════════════════════════════════════════════════════ */

.compare-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 80px;
    text-align: left;
}

.compare-card {
    border-radius: 24px;
    padding: 40px 35px;
}

.compare-old {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.compare-new {
    background: var(--neon-green);
    color: var(--black);
    box-shadow: 0 0 60px rgba(221, 255, 0, 0.15);
}

.compare-card h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.compare-sub {
    font-size: 1rem;
    opacity: 0.75;
    margin-bottom: 25px;
}

.compare-tabs {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 5px;
    margin-bottom: 20px;
}

.compare-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.compare-tab.active {
    background: var(--white);
    color: var(--black);
}

.compare-list { list-style: none; }

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.02rem;
}

.compare-new .compare-list li { border-bottom-color: rgba(0, 0, 0, 0.15); font-weight: 600; }

.compare-list li::before {
    content: "⚠";
    flex-shrink: 0;
    opacity: 0.7;
}

.compare-new .compare-list li::before {
    content: "⚡";
    opacity: 1;
}

.compare-team-chip {
    background: var(--white);
    color: var(--black);
    border-radius: 40px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: inline-block;
}

/* ═══════════════════════════════════════════════════════
   SITE FOOTER (rich)
   ═══════════════════════════════════════════════════════ */

.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 5% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 50px;
}

.footer-brand .footer-logo {
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.footer-blurb {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
    max-width: 480px;
    margin-bottom: 30px;
}

.newsletter-label {
    font-weight: 700;
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 420px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 13px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
}

.newsletter-form input:focus { outline: none; border-color: var(--neon-green); }

.newsletter-form button {
    background: var(--neon-green);
    color: var(--black);
    border: none;
    padding: 13px 26px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.newsletter-form button:hover { transform: scale(1.04); }

.newsletter-status { font-size: 0.9rem; margin: -20px 0 25px; min-height: 1.2em; }
.newsletter-status.success { color: var(--neon-green); }
.newsletter-status.error { color: #ffb4b4; }

.footer-contact {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-contact h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.footer-contact a, .footer-contact p {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.footer-contact a:hover { color: var(--neon-green); }

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-content: start;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.25s ease;
}

.footer-col a:hover { color: var(--neon-green); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    margin-left: 18px;
}

.footer-socials a:hover { color: var(--neon-green); }

/* ═══════════════════════════════════════════════════════
   POLICY PAGES
   ═══════════════════════════════════════════════════════ */

.policy-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 20px 5% 100px;
}

.policy-wrap h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.policy-updated {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
}

.policy-wrap h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--neon-green);
    margin: 38px 0 12px;
}

.policy-wrap p, .policy-wrap li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

.policy-wrap ul { padding-left: 22px; }

.policy-wrap a { color: var(--neon-green); }

/* Detail gallery frames (subtle board presentation) */
.detail-gallery img {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
}

/* Responsive for new sections */
@media (max-width: 900px) {
    .showcase {
        grid-template-columns: repeat(2, 1fr);
        height: 480px;
    }
    .showcase-col:nth-child(3), .showcase-col:nth-child(4) { display: none; }
    .compare-wrap { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-socials a { margin: 0 9px; }
    .pricing-wrap .billing-toggle { transform: scale(0.9); }
}

/* Pricing emphasis + savings chip */
.pricing-card.focus { border-color: var(--neon-green); box-shadow: 0 0 40px rgba(221, 255, 0, 0.12); }
.savings-chip {
    display: inline-block;
    margin-left: 10px;
    background: rgba(221, 255, 0, 0.15);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
}
html.dark .compare-new { box-shadow: 0 0 80px rgba(221, 255, 0, 0.1); }

/* Footer social icons */
.footer-socials a { display: inline-flex; align-items: center; }
.footer-socials svg { width: 22px; height: 22px; }

/* Client logo pills in the brands marquee */
.brand-glass-pill img {
    height: 24px;
    width: auto;
    margin-right: 10px;
    border-radius: 4px;
}

/* Third hero card (Performance Marketing) */
.card-3 {
    top: 20%;
    right: 4%;
    transform: rotate(-4deg);
}

/* ═══════════════════════════════════════════════════════
   MOBILE TIGHTENING — kill the never-ending scroll
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    /* Hero: no giant dead space, headline sized to fit lines */
    .hero { min-height: 58vh; padding: 20px 5% 30px; }
    .huge-text {
        font-size: clamp(2.6rem, 13vw, 4rem);
        letter-spacing: -1px;
        line-height: 0.9;
    }
    /* Decorations off on mobile — !important beats inline styles */
    .floating-card, .doodle-arrow-1, .doodle-arrow-2, .circular-badge { display: none !important; }

    /* Showcase: 2 columns, short wall */
    .showcase { height: 400px !important; margin-bottom: 30px; }

    /* Manifesto: no 80vh monolith */
    .manifesto-section { min-height: auto; padding: 80px 20px; }
    .manifesto-text { font-size: clamp(1.9rem, 8.5vw, 3rem); letter-spacing: -1px; }

    /* Section rhythm */
    .why-theme-section { padding: 60px 5% 70px; }
    .why-theme-header { margin-bottom: 45px; }
    .why-theme-header p { font-size: 1.1rem; }
    .page-hero { padding: 45px 5% 30px; }
    .bento-card { padding: 35px 28px; border-radius: 28px; }
    .mega-cta-section { padding: 90px 5%; }
    .t-glass-card { width: 300px; padding: 35px 25px; }
    .t-text { font-size: 1.05rem; }
    .marquee-content { font-size: 1.6rem; }
    .stats-container { padding: 30px; gap: 20px; }
    .stat-item h2 { font-size: 3rem; }
    .site-footer { padding: 60px 5% 25px; }
}

/* ═══════════════════════════════════════════════════════
   OVERFLOW HARDENING — nothing escapes the viewport
   ═══════════════════════════════════════════════════════ */

html, body {
    overflow-x: hidden;
    overflow-x: clip;
}

img, svg, video { max-width: 100%; }

.project-tags { flex-wrap: wrap; }
.footer-contact a, .footer-contact p { word-break: break-word; }

@media (max-width: 900px) {
    /* auto-fit minmax(320px) grids overflow small phones — force single column */
    .why-bento-grid, .services-grid, .portfolio-grid, .testimonial-grid-white {
        grid-template-columns: 1fr !important;
    }
    /* neon marquee: drop the 1.05 scale that bleeds past the viewport */
    .marquee-container {
        transform: translateX(-50%) rotate(-2deg);
        margin-top: 25px;
        margin-bottom: 25px;
    }
    .contact-container { padding: 35px 24px; }
    .glimpse-section { padding: 30px 0 60px !important; }
}

/* ═══════════════════════════════════════════════════════
   SERVICES ACCORDION (mobile: tap a service to expand)
   ═══════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    #services .bento-card {
        padding: 20px 24px;
        cursor: pointer;
        border-radius: 22px;
    }
    #services .bento-card:hover { transform: none; }
    #services .bento-content h3 {
        margin-bottom: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        font-size: 1.35rem;
    }
    #services .bento-content h3 br { display: none; }
    #services .bento-content h3::after {
        content: "+";
        font-size: 1.7rem;
        font-weight: 400;
        color: var(--neon-green);
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
    #services .bento-card.open .bento-content h3::after { transform: rotate(45deg); }
    #services .bento-content p,
    #services .bento-card .service-footer { display: none; }
    #services .bento-card.open .bento-content p {
        display: block;
        margin: 14px 0 18px !important;
    }
    #services .bento-card.open .service-footer {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
}

/* ═══════════════════════════════════════════════════════
   MOBILE ROUND 3 — mini hero cards, about overflow, process size
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    /* Two mini glass cards in the hero's empty bands (rest stay hidden) */
    .card-1, .card-2 { display: block !important; width: 150px; padding: 12px; border-radius: 18px; }
    .card-1 { top: 4%; left: auto; right: 5%; }
    .card-2 { bottom: 5%; left: 5%; right: auto; }
    .card-1 .card-image, .card-2 .card-image {
        width: 46px; height: 46px;
        font-size: 1.4rem;
        border-radius: 12px;
        margin: 0 auto 8px;
    }
    .card-1 h3, .card-2 h3 { font-size: 0.85rem; margin-bottom: 2px; }
    .card-1 p, .card-2 p { font-size: 0.68rem; }

    /* About glass card was cropping past the right edge */
    .about-container {
        margin: 0 14px 60px;
        max-width: calc(100% - 28px);
        padding: 35px 22px;
    }

    /* Process steps: compact cards */
    .process-container { gap: 14px; margin-top: 30px; }
    .process-step { padding: 20px 16px; }
    .step-icon-wrapper { margin-bottom: 12px; }
    .step-icon { width: 54px; height: 54px; font-size: 1.4rem; }
    .step-number { font-size: 0.75rem; margin-bottom: 6px; }
    .step-content h3 { font-size: 1.2rem; margin-bottom: 6px; }
    .step-content p { font-size: 0.95rem; }
}
