@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0a0a1a;
    --primary-light: #16162a;
    --accent: #e94560;
    --accent-glow: rgba(233, 69, 96, 0.5);
    --secondary: #0f3460;
    --text-light: #ffffff;
    --text-muted: #f1f5f9;
    --surface: #0a0a1a;
    --surface-container: #1a1a2e;
    --surface-bright: #2d2d44;
    --glass: rgba(10, 10, 26, 0.95);
    --glass-border: rgba(255, 255, 255, 0.15);
    --transition-base: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --heading-font: 'Space Grotesk', sans-serif;
    --body-font: 'DM Sans', sans-serif;
}

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

/* --- GLOBAL THEME: Garage Architecture --- */
body {
    background-color: var(--background);
    color: var(--text);
    font-family: var(--body-font);
    overflow-x: hidden;
    background-image: linear-gradient(rgba(10, 10, 26, 0.98), rgba(10, 10, 26, 0.98)),
                      repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(233, 69, 96, 0.02) 41px);
    background-attachment: fixed;
}

.section-slatted {
    position: relative;
    border-bottom: 3px solid #111;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.section-slatted::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(0deg, transparent, transparent 120px, rgba(255,255,255,0.01) 121px);
    pointer-events: none;
    z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #fff;
}

p {
    color: var(--text-muted);
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.container { max-width: 1320px; }

/* --- LOGO STYLING (Rounded & Scaled) --- */
.brand-logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.brand-logo img {
    height: 90px; /* Reduced from 120px to balanced 90px */
    width: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent);
    box-shadow: 0 0 25px var(--accent-glow);
    transition: var(--transition-base);
    background: #000;
}

.brand-logo:hover img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 50px var(--accent-glow);
}

.brand-name {
    display: none; /* Removing tagline as requested */
}

/* --- NAVBAR --- */
.utility-nav { background: #050510; border-bottom: 1px solid var(--glass-border); padding: 12px 0; color: var(--accent); font-weight: 700; letter-spacing: 0.2rem; text-align: center; font-size: 0.8rem; }
.navbar { background: var(--glass); backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border); padding: 15px 0; z-index: 1000; }
.nav-link { color: #fff !important; font-weight: 700; margin: 0 18px; font-family: var(--heading-font); font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* --- HERO SECTION (Rotation #17: Visual Aura Orbit - Compressed) --- */
.hero {
    min-height: 100vh;
    padding: 140px 0 80px; /* Reduced padding for viewport fit */
    position: relative;
    display: flex;
    align-items: center;
    background: #050510;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140vw;
    height: 140vh;
    background: radial-gradient(circle at 30% 30%, rgba(233, 69, 96, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 70% 70%, rgba(15, 52, 96, 0.2) 0%, transparent 40%);
    transform: translate(-50%, -50%);
    animation: auraRotate 20s linear infinite;
    z-index: 0;
}

@keyframes auraRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-aura-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 450px; /* Reduced from 600px */
    height: 450px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.15;
    transform: translate(-50%, -50%);
    z-index: 1;
    border-radius: 50%;
    animation: pulseAura 8s ease-in-out infinite;
}

@keyframes pulseAura {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.2; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero h1 {
    font-size: clamp(3.2rem, 9vw, 8.5rem); /* Reduced for viewport fit */
    line-height: 0.85;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem; /* Slightly smaller */
    max-width: 750px;
    margin: 0 auto 30px;
    color: var(--text-muted);
}

.tech-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.pill-item {
    padding: 10px 25px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-center-img {
    max-width: 380px; /* Highly optimized for viewport fit */
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 80px rgba(0,0,0,0.8), 
                0 0 40px rgba(233, 69, 96, 0.1);
    margin: 25px auto;
    display: block;
    transition: var(--transition-base);
    animation: floatImage 6s ease-in-out infinite;
}

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

.hero-center-img:hover {
    transform: scale(1.02);
    border-color: var(--accent);
}

/* --- BUTTONS --- */
.btn-neon { padding: 20px 50px; background: transparent; border: 2px solid var(--accent); color: #fff; font-weight: 800; font-family: var(--heading-font); letter-spacing: 0.25em; text-transform: uppercase; transition: var(--transition-base); }
.btn-neon:hover { background: var(--accent); box-shadow: 0 0 40px var(--accent-glow); transform: translateY(-5px); }

/* --- ABOUT SECTION (Modern Bento Layout) --- */
.about {
    padding: 220px 0;
    background: #050510;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, minmax(200px, auto));
    gap: 20px;
}

.bento-item {
    background: var(--surface-container);
    border: 1px solid var(--glass-border);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.bento-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.bento-1 { grid-column: span 8; grid-row: span 2; }
.bento-2 { grid-column: span 4; }
.bento-3 { grid-column: span 4; }

.bento-item h2 { font-size: 3.5rem; margin-bottom: 30px; }
.bento-item h3 { color: var(--accent); font-size: 1.5rem; margin-bottom: 15px; }

.bento-img {
    position: absolute;
    top: 50%;
    right: -20%;
    width: 60%;
    opacity: 0.1;
    transform: translateY(-50%) rotate(15deg);
    pointer-events: none;
}

/* --- SERVICES (Interactive Slot Grid) - Rotation #12 --- */
.services { padding: 180px 0; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--glass-border); }
.slot-card {
    padding: 80px 40px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-base);
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Slatted Garage Aesthetic */
    border-left: 5px solid transparent;
}

.slot-card:hover { border-left-color: var(--accent); }

.slot-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(10, 10, 26, 0.95), rgba(10, 10, 26, 0.85));
    z-index: -1;
    transition: var(--transition-base);
}

.slot-card:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 40px 80px rgba(0,0,0,0.9);
}

.slot-card:hover::before {
    background: linear-gradient(rgba(233, 69, 96, 0.95), rgba(0, 0, 0, 0.9));
}

/* --- DETAILED SERVICES SECTIONS --- */

/* --- DETAILED SERVICES SECTIONS (Neo-Brutalist) --- */
.detail-cut { padding: 180px 0; position: relative; }
.cut-mask { width: 100%; aspect-ratio: 16/9; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%); border: 3px solid var(--accent); position: relative; }
.cut-mask img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }

.detail-brutal { padding: 180px 0; background: #000; position: relative; }
.brutal-card {
    background: #05051a;
    border: 10px solid var(--accent); /* Massive Neon Border */
    padding: 100px 80px;
    position: relative;
    box-shadow: 40px 40px 0px rgba(233, 69, 96, 0.1);
}

.protocol-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 60px;
}

.protocol-step::before {
    content: '';
    position: absolute;
    top: 5px; left: 0; width: 4px; height: 100%;
    background: linear-gradient(var(--accent), transparent);
    z-index: 1;
}

.protocol-step:last-child { margin-bottom: 0; }
.protocol-step:last-child::before { height: 30px; }

.protocol-num {
    position: absolute;
    top: -10px; left: -20px;
    font-size: 5rem;
    font-weight: 900;
    opacity: 0.1;
    color: var(--accent);
    -webkit-text-stroke: 1px var(--accent);
    line-height: 1;
}

.btn-brutal {
    padding: 25px 60px;
    background: #fff;
    color: #000;
    font-weight: 900;
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    display: inline-block;
    transition: var(--transition-base);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.btn-brutal:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-5px) scale(1.05);
}

/* #22 Geometric Glass (Section 3) */
.detail-glass { padding: 200px 0; position: relative; }
.glass-module { background: rgba(255,255,255,0.04); backdrop-filter: blur(25px); border: 1px solid rgba(255,255,255,0.1); padding: 60px; position: relative; }
.glass-module::before { content: ''; position: absolute; top: -10px; left: -10px; width: 40px; height: 40px; border-top: 4px solid var(--accent); border-left: 4px solid var(--accent); }

/* --- CTA STRIP --- */
.cta-strip { background: #000; padding: 120px 0; border-top: 4px solid var(--accent); border-bottom: 4px solid var(--accent); }
.cta-strip h2 { font-size: clamp(2rem, 8vw, 6rem); -webkit-text-stroke: 1px var(--accent); color: transparent; }

/* --- AREA TAGS --- */
.area-section { padding: 160px 0; }
.area-tile { background: rgba(233, 69, 96, 0.05); padding: 25px; border: 1px solid rgba(233, 69, 96, 0.1); color: #fff; transition: 0.3s; text-align: center; font-weight: 700; text-transform: uppercase; }
.area-tile:hover { background: var(--accent); color: #000; }

/* --- FAQ --- */
.faq { padding: 180px 0; }
.faq-card {
    background: var(--surface-container);
    border: 1px solid var(--glass-border);
    padding: 50px;
    transition: var(--transition-base);
}

.faq-q {
    color: #fff; /* High contrast White */
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(233, 69, 96, 0.2);
    text-shadow: 0 0 10px rgba(233, 69, 96, 0.3);
}

.faq-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

/* --- CONTACT SECTION (Rotation #18: Split Diagnostic Center) --- */
.contact-hero {
    padding: 180px 0;
    position: relative;
    background: #050510;
}

.map-module {
    height: 100%;
    min-height: 500px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.map-module iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) brightness(0.9) contrast(1.1); /* Dark Theme Map */
}

.contact-glass-card {
    background: var(--surface-container);
    border: 1px solid var(--glass-border);
    padding: 80px 60px;
    position: relative;
    z-index: 20; /* Increased to avoid any overlaps */
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    height: 100%;
    border-left: 5px solid var(--accent);
}

.contact-glass-card a { cursor: pointer; position: relative; z-index: 25; }

.contact-glass-card h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    letter-spacing: 0.1em;
}

.contact-item {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.contact-item:last-of-type { border-bottom: none; padding-bottom: 50px; }

/* --- FOOTER --- */
.footer {
    padding: 180px 0 80px;
    background: #000;
}

.footer-logo-row h2 {
    font-size: clamp(3rem, 12vw, 10rem);
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.15); /* Increased opacity and thickness */
    color: transparent;
    margin-bottom: 100px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.footer img {
    height: 100px; /* Balanced with 90px Navbar logo */
    width: 100px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    object-fit: cover;
    margin-bottom: 30px;
}

.footer h4 {
    color: var(--accent);
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 15px;
    color: var(--text-muted);
}

/* --- RESPONSIVE ARCHITECTURE --- */
@media (max-width: 1200px) {
    .container { max-width: 95%; }
}

@media (max-width: 991px) {
    /* Section Padding Recalibration */
    .hero, .about, .services, .detail-cut, .detail-brutal, .detail-glass, .cta-strip, .area-section, .faq, .contact-hero, .footer {
        padding: 100px 0;
    }

    .hero h1 { font-size: clamp(3rem, 12vw, 6rem); margin-bottom: 30px; }
    .hero p { font-size: 1.1rem; }
    .hero-center-img { max-width: 90%; margin: 30px auto; }

    .tech-pills { flex-wrap: wrap; gap: 10px; }
    .pill-item { font-size: 0.7rem; padding: 8px 15px; }

    /* Bento Grid Collapse */
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .bento-1, .bento-2, .bento-3 { grid-column: span 1; grid-row: span 1; }
    .bento-item h2 { font-size: 2.2rem; }
    .bento-img { right: -10%; width: 80%; opacity: 0.05; }

    /* Slot Grid Collapse */
    .slot-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Integration */
    .contact-glass-card {
        padding: 40px 20px;
        width: 100%;
        margin-top: 50px;
    }
    .contact-glass-card h2 { font-size: 2rem; }

    /* Footer Centering */
    .footer-list { text-align: center; margin-bottom: 40px; }
    .text-lg-start, .text-lg-end { text-align: center !important; }
    .brand-logo { justify-content: center; }
}

@media (max-width: 576px) {
    .hero { padding: 140px 0 80px; }
    .hero h1 { font-size: 3.5rem; }
    .display-3 { font-size: 2.5rem; }
    .display-4 { font-size: 2.2rem; }
    .display-5 { font-size: 1.8rem; }
    
    .btn-neon { padding: 18px 30px; font-size: 0.8rem; width: 100%; }
    
    .slot-card { padding: 50px 25px; }
}
