:root {
    --bg-void: #0d1320;
    --bg-darker: #070e1a;
    --primary: #102542;
    --primary-light: #1b263b;
    --accent: #ffb955;
    --text-main: #dce2f4;
    --text-muted: rgba(220, 226, 244, 0.6);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-accent: 0 0 20px rgba(255, 185, 85, 0.2);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Styles */
body {
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .brand-text {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

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

.accent {
    color: var(--accent);
}

.py-10 { padding-top: 6rem; padding-bottom: 6rem; }
.mb-12 { margin-bottom: 8rem; }

/* Scroll Progress */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--accent);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
}

/* Navbar #13: Glass-Zoom */
.glass-nav {
    background: rgba(13, 19, 32, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-nav.scrolled {
    padding: 0.5rem 0;
    background: var(--bg-void);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 0 5px rgba(255, 185, 85, 0.3));
}

.logo-wrapper:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero #12: Diagonal Split */
.hero-diagonal {
    min-height: 100vh;
    position: relative;
    padding-top: 100px;
    background: radial-gradient(circle at 10% 20%, rgba(16, 37, 66, 0.4), transparent 40%);
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 10;
}

.badge-pill {
    background: rgba(255, 185, 85, 0.05);
    color: var(--accent);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255, 185, 85, 0.15);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #ff9f1a);
    border: none;
    color: var(--bg-void);
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(255, 185, 85, 0.3);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 185, 85, 0.5);
    color: var(--bg-void);
}

.btn-accent {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 700;
    border-radius: 4px;
    box-shadow: inset 0 0 10px rgba(255, 185, 85, 0.1), 0 0 10px rgba(255, 185, 85, 0.1);
    transition: all 0.4s ease;
}

.btn-accent:hover {
    background: var(--accent);
    color: var(--bg-void);
    box-shadow: 0 0 25px rgba(255, 185, 85, 0.6);
    transform: translateY(-2px);
}

.glass-btn {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.hero-visual-split {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.diagonal-mask {
    height: 100%;
    width: 100%;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
}

.aura-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(255, 185, 85, 0.15), transparent 70%);
}

@media (max-width: 991px) {
    .hero-diagonal {
        min-height: auto;
        padding-top: 150px;
        padding-bottom: 3rem;
        display: block !important;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-content .d-flex {
        justify-content: center;
    }
    .hero-visual-split {
        position: relative;
        width: 100%;
        height: 350px;
        margin-top: 4rem;
    }
    .diagonal-mask {
        clip-path: none;
        border-radius: 20px;
    }
    .display-2 {
        font-size: 3rem;
    }
}

/* Tech Telemetry Cards */
.mini-card {
    background: var(--bg-darker);
    padding: 1.5rem;
    border-left: 3px solid var(--accent);
    transition: all 0.3s ease;
}

.mini-card:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Perspective Grid #15 */
.perspective-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    perspective: 1000px;
}

.service-perspective-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.service-perspective-card:hover {
    transform: translateZ(20px) rotateX(5deg) rotateY(-5deg);
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 185, 85, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.service-perspective-card:hover .service-glow {
    opacity: 1;
}

.service-tag {
    margin-top: auto;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--accent);
    opacity: 0.5;
    padding-top: 1.5rem;
}

.service-icon i {
    font-size: 3rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.service-perspective-card:hover .service-icon i {
    transform: scale(1.2) rotate(10deg);
    color: #fff !important;
}

@media (max-width: 991px) {
    .perspective-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .perspective-grid { grid-template-columns: 1fr; }
}

/* Process Loop Visual #19 */
.image-wrapper-process {
    position: relative;
}

.process-loop-visual {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    z-index: 2;
}

.orbit-path {
    width: 100%;
    height: 100%;
    border: 2px dashed var(--accent);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
    opacity: 0.3;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Glowing Strip #3 */
.glowing-strip {
    background: var(--primary);
    border-top: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
    box-shadow: 0 0 40px rgba(255, 185, 85, 0.1);
}

.phone-link {
    color: var(--accent) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: #fff !important;
    text-shadow: 0 0 20px var(--accent);
}

/* Typography Spotlight #20 */
.bg-initials {
    position: absolute;
    top: 0;
    left: -5%;
    font-size: 30rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    z-index: 1;
}

.spotlight-img {
    position: relative;
    z-index: 2;
    box-shadow: 0 0 100px rgba(255, 185, 85, 0.05);
}

/* Process Boxes */
.process-box {
    position: relative;
    padding: 2rem;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--bg-void);
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
}

/* Aura Grid Detail #21 */
.aura-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 185, 85, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 229, 255, 0.05) 0%, transparent 50%);
}

.aura-image-mask {
    position: relative;
    padding: 2rem;
}

.aura-image-mask::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent);
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.1; }
    50% { transform: scale(1.05); opacity: 0.2; }
    100% { transform: scale(0.95); opacity: 0.1; }
}

/* Area Chips */
.area-chip {
    padding: 0.75rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.area-chip:hover {
    background: var(--accent);
    color: var(--bg-void);
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent);
}

/* FAQ Chat Bubbles #8 */
.chat-row {
    display: flex;
    flex-direction: column;
}

.chat-bubble {
    padding: 1.5rem 2rem;
    border-radius: 20px;
    max-width: 80%;
    position: relative;
    margin-bottom: 0.5rem;
}

.chat-bubble.question {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-bubble.answer {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

/* Contact Section */
.glass-container {
    background: var(--glass);
    backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

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

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {
    0% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.5; transform: scale(1); }
}

/* Footer */
footer {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background: linear-gradient(to bottom, var(--bg-void), var(--bg-darker));
    border-top: 1px solid var(--glass-border);
}

.footer-subtitle {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-info li {
    color: var(--text-main);
    font-size: 0.95rem;
}

.btn-outline-accent {
    border: 1px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: var(--bg-void);
    box-shadow: 0 0 20px rgba(255, 185, 85, 0.3);
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 185, 85, 0.05);
    border: 1px solid rgba(255, 185, 85, 0.1);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.grayscale-invert {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Utilities */
.shadow-accent { box-shadow: var(--shadow-accent); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
.z-index-2 { z-index: 2; }
.bg-void { background: var(--bg-void); }
.bg-darker { background: var(--bg-darker); }

/* Custom Mask */
.mask-geometric {
    clip-path: polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0% 85%);
}
