/* Ultra Service Page Design System v4.2 - Navbar Integration & Fixes */
:root {
    --bg-dark: #020c1b;
    --bg-card: rgba(17, 34, 64, 0.7);
    --bg-card-hover: rgba(23, 42, 69, 0.9);
    --accent-primary: #64ffda;
    --accent-secondary: #00b4d8;
    --accent-alert: #ff6b6b;
    --text-main: #ccd6f6;
    --text-muted: #8892b0;
    --border-light: rgba(100, 255, 218, 0.1);
    --glass-shine: rgba(255, 255, 255, 0.05);
    --font-heading: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
    --transition-smooth: cubic-bezier(0.645, 0.045, 0.355, 1);
    --shadow-glow: 0 0 20px rgba(100, 255, 218, 0.15);
}

body.ultra-service-page {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-heading);
    overflow-x: hidden;
    padding-top: 0;
}

/* === Layout Helpers === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

/* === Hero Grid Layout === */
.hero-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* === Typography === */
.ultra-h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #e6f1ff 0%, #8892b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    /* Fix for blurry text */
    transform: translateZ(0);
}

.ultra-h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(to right, #ffffff 20%, #8892b0 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    position: relative;
    display: block;
    filter: drop-shadow(0 0 15px rgba(100, 255, 218, 0.1));
}

.ultra-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 800px;
}

.mono-label {
    font-family: var(--font-mono);
    color: var(--accent-primary);
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

/* === Components === */
.ultra-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth), border-color 0.3s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.ultra-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom right, var(--glass-shine), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.ultra-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
}

.ultra-card:hover::before {
    opacity: 1;
}

.ultra-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.25s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

.ultra-btn-primary {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
}

.ultra-btn-primary:hover {
    background: rgba(100, 255, 218, 0.1);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

.ultra-btn-glow {
    background: var(--accent-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
}

.ultra-btn-glow:hover {
    box-shadow: 0 0 25px rgba(100, 255, 218, 0.7);
    transform: translateY(-2px);
}

/* === Grid System Fixed === */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Fixed to 3 columns */
    gap: 4rem 2rem; /* Row gap 4rem, Column gap 2rem */
    margin-top: 3rem;
}

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

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* === Feature Box Alignment Fix (Side-by-Side) === */
.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}
.feature-box-icon {
    margin-bottom: 0 !important;
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.feature-box h4 { margin-top: 0; margin-bottom: 0.25rem; }

/* ... Rest of CSS same as original ... */
/* Simplified for brevity but assuming I keep the rest. I'll paste the FULL content from my read + my fix */

/* === Sections === */
.service-grid-section {
    padding: 6rem 0;
    position: relative;
    z-index: 5;
}

.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(23, 42, 69, 0.8) 0%, var(--bg-dark) 70%);
}

.hero-grid-bg {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        linear-gradient(rgba(100, 255, 218, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 255, 218, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridMove 20s linear infinite;
    z-index: -1;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.trust-section {
    margin-top: -3rem;
    position: relative;
    z-index: 2;
    padding-top: 0;
}

.trust-card {
    background: rgba(2, 12, 27, 0.8);
    padding: 1.5rem !important;
    backdrop-filter: blur(20px);
}

.trust-label {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.logo-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.9;
    align-items: center;
}

.logo-placeholder {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-placeholder:hover { color: var(--accent-primary); }

.gap-content {
    padding: 2rem;
    position: relative;
    border-left: 3px solid var(--accent-alert);
    padding-left: 2rem;
    background: linear-gradient(90deg, rgba(255, 107, 107, 0.05) 0%, transparent 100%);
}

.glitch-header {
    color: var(--accent-alert);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
    position: relative;
}

.gap-stat-block {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
}

.gap-stat-item {
    position: relative;
}

.gap-stat-value {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-alert);
    opacity: 0.9;
}

.gap-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.solution-hero-card {
    background: linear-gradient(145deg, rgba(17, 34, 64, 0.95), rgba(2, 12, 27, 0.98));
    border: 1px solid var(--accent-primary);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(100, 255, 218, 0.15);
    overflow: hidden;
    transform: scale(1.02); 
}

.solution-hero-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
    background-size: 200% 100%;
    animation: gradientPan 3s linear infinite;
}

@keyframes gradientPan {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.solution-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.solution-badge-hero {
    background: rgba(100, 255, 218, 0.15);
    color: var(--accent-primary);
    padding: 6px 12px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 1px;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-box {
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 1.2rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.feature-box:hover {
    background: rgba(100, 255, 218, 0.08);
    border-color: rgba(100, 255, 218, 0.3);
    transform: translateY(-3px);
}

/* Timeline */
.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    top: 50px; 
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-primary) 20%, 
        var(--accent-primary) 80%, 
        transparent 100%
    );
    z-index: 0;
    display: none; 
    opacity: 0.3;
    box-shadow: 0 0 10px var(--accent-primary);
}

@media (min-width: 992px) {
    .timeline-line { display: block; }
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.timeline-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: var(--accent-primary);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.timeline-step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--border-light);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    font-family: var(--font-mono);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.timeline-step-circle.active {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(100, 255, 218, 0); }
    100% { box-shadow: 0 0 0 0 rgba(100, 255, 218, 0); }
}

.timeline-deliverable {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-light);
}

.pill-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(255,255,255,0.05);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid transparent;
}

.timeline-card:hover .pill-badge {
    border-color: var(--accent-primary);
    color: var(--text-main);
}

/* Interactive */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-primary);
    z-index: 1000;
    width: 0%;
    transition: width 0.1s;
}

.sticky-nav {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    background: rgba(2, 12, 27, 0.95);
    backdrop-filter: blur(10px);
    z-index: 900;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    transition: top 0.3s ease;
    display: flex;
    justify-content: center;
}

.sticky-nav.visible {
    top: 0; 
}

.sticky-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.sticky-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.sticky-nav a:hover, .sticky-nav a.active {
    color: var(--accent-primary);
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

.accordion-item {
    border: 1px solid var(--border-light);
    background: rgba(17, 34, 64, 0.4);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(100, 255, 218, 0.3);
}

.accordion-item.active {
    background: rgba(17, 34, 64, 0.8);
    border-color: var(--accent-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-muted);
}

.accordion-content p { 
    padding: 0 1.5rem 1.5rem 1.5rem; 
    margin: 0;
    line-height: 1.6;
}

.accordion-icon { transition: transform 0.3s; color: var(--accent-primary); opacity: 0.7; }
.accordion-item.active .accordion-icon { transform: rotate(180deg); opacity: 1; }
.accordion-item.active .accordion-content { max-height: 500px; }

/* Defense Hologram */
.defense-hologram-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.hologram-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.ring {
    position: absolute;
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.1);
}

.ring-1 { width: 60%; height: 60%; animation: rotateRing 20s linear infinite; border-color: rgba(100, 255, 218, 0.6); border-top-color: transparent; border-bottom-color: transparent;}
.ring-2 { width: 80%; height: 80%; animation: rotateRingReverse 30s linear infinite; border-style: dashed; opacity: 0.5; }
.ring-3 { width: 100%; height: 100%; animation: rotateRing 60s linear infinite; border: 1px dotted rgba(100, 255, 218, 0.2); }

@keyframes rotateRing { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes rotateRingReverse { from { transform: translate(-50%, -50%) rotate(360deg); } to { transform: translate(-50%, -50%) rotate(0deg); } }

.hologram-core {
    position: absolute;
    z-index: 10;
    text-align: center;
    color: #fff;
    animation: floatCore 4s ease-in-out infinite;
}

.hologram-core i {
    font-size: 5rem;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 20px rgba(100, 255, 218, 0.8));
    margin-bottom: 1rem;
}

.core-status {
    font-family: var(--font-mono);
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid var(--accent-primary);
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

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

.hologram-nodes .node {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(2, 12, 27, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    padding: 0.8rem;
    border-radius: 8px;
    width: max-content;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.hologram-nodes .node:hover {
    border-color: var(--accent-primary);
    transform: scale(1.05);
    z-index: 20;
}

.node-icon {
    width: 40px;
    height: 40px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.node-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.node-sub {
    font-size: 0.7rem;
    color: var(--accent-primary);
    font-family: var(--font-mono);
}

/* Positioning Nodes */
.node-1 { top: 10%; right: 0; animation: floatNode 6s ease-in-out infinite; }
.node-2 { bottom: 20%; right: -10%; animation: floatNode 7s ease-in-out infinite 1s; }
.node-3 { top: 40%; left: -20%; animation: floatNode 8s ease-in-out infinite 2s; }

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

@media (max-width: 768px) {
    .defense-hologram-container { height: 350px; transform: scale(0.8); }
    .node-1 { top: 0; right: auto; left: 50%; transform: translateX(-50%); }
    .node-2 { bottom: 0; right: auto; left: 50%; transform: translateX(-50%); }
    .node-3 { top: 50%; left: 0; }
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: #112240;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    margin-top: 2rem;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) scale(1.1);
    transition: transform 0.5s ease;
    width: 100%;
    max-width: 600px;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.1);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.dash-widget {
    background: rgba(2, 12, 27, 0.5);
    border-radius: 4px;
    padding: 0.8rem;
}

.dash-bar {
    height: 6px;
    background: #333;
    border-radius: 3px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.dash-bar-fill {
    height: 100%;
    background: var(--accent-primary);
    width: 0;
    transition: width 1.5s ease-out;
}

.dash-bar-fill.danger { background: var(--accent-alert); }