/* Contact Ultra Styling */
body.contact-ultra-page {
    background-color: #020c1b !important;
    color: #ccd6f6;
}

.contact-ultra-page .hero-section {
    min-height: 60vh;
    background: #0b1021; /* Fallback */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

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

.hero-grid-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    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: 40px 40px;
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

.contact-ultra-page .container {
    position: relative;
    z-index: 2;
}

/* Utility Bar */
.utility-bar {
    padding: 1rem 2rem;
    position: absolute;
    top: 100px;
    left: 0;
    z-index: 10;
    width: 100%;
}

.back-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1rem;
    background: rgba(2, 12, 27, 0.6);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 4px;
    color: var(--accent-primary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.back-link-btn:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateX(-5px);
}

/* Contact Grid Layout */
.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

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

/* Contact Method Cards */
.contact-methods-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.method-card {
    display: flex;
    gap: 1.5rem;
    /* Removed background from inner card to avoid double boxing */
}

.method-icon {
    font-size: 1.5rem;
    color: var(--accent-primary);
    background: rgba(100, 255, 218, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.method-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.method-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Map Visual */
.map-visual {
    height: 120px;
    background: #051020;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.map-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(100, 255, 218, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 255, 218, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-alert);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.map-pin i {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px var(--accent-alert));
}

.map-pin span {
    font-size: 0.7rem;
    background: rgba(0,0,0,0.8);
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.map-coords {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Form Container */
.form-container {
    background: rgba(17, 34, 64, 0.6);
    border: 1px solid rgba(100, 255, 218, 0.1);
    padding: 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.form-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1.5rem;
}

.form-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-fields-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.ultra-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 600;
}

.ultra-input, .ultra-textarea {
    width: 100%;
    background: rgba(2, 12, 27, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.ultra-textarea {
    min-height: 120px;
    resize: vertical;
}

.ultra-input:focus, .ultra-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
    background: rgba(2, 12, 27, 0.9);
}

/* Custom Checkbox */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ultra-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-primary);
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}

/* Scheduler Shell */
.ultra-scheduler-shell {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: rgba(17, 34, 64, 0.6); /* Dark theme consistent */
    border-radius: 12px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    overflow: hidden;
    min-height: 600px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    margin: 0 auto;
    max-width: 1000px;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .ultra-scheduler-shell {
        grid-template-columns: 1fr;
    }
}

.scheduler-pane {
    background: rgba(2, 12, 27, 0.3);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(100, 255, 218, 0.1);
}

.scheduler-flow-pane {
    background: transparent;
    padding: 2rem;
    position: relative;
}

/* Callout */
.contact-alt-callout {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(90deg, rgba(100,255,218,0.05), transparent);
    border-left: 4px solid var(--accent-primary);
    padding: 1.5rem;
    margin-bottom: 3rem;
    border-radius: 0 8px 8px 0;
}

.callout-pill {
    background: var(--accent-primary);
    color: #0a192f;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.callout-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.callout-icon {
    margin-left: auto;
    font-size: 1.5rem;
    color: var(--accent-primary);
    opacity: 0.5;
}

/* === Missing UI Elements Restoration === */

/* Ultra Glass Card */
.ultra-glass-card {
    background: rgba(17, 34, 64, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

/* Trust Badges */
.trust-badges {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(2, 12, 27, 0.3);
    border: 1px solid rgba(100, 255, 218, 0.05);
    border-radius: 8px;
    text-align: center;
}

.trust-badges p {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.trust-badges .d-flex {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0.7;
}

.trust-badges i {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

/* Sentinel Log (Ops Center Status) */
.sentinel-log-container {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid rgba(100, 255, 218, 0.2);
    background: #020c1b; /* Terminal black */
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.log-header {
    background: rgba(100, 255, 218, 0.1);
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    color: var(--accent-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #ff6b6b; /* Alert Red/Orange */
    border-radius: 50%;
    box-shadow: 0 0 8px #ff6b6b;
    animation: blink 2s infinite;
}

.log-scroller {
    padding: 1rem;
    height: 200px;
    overflow-y: auto;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) #020c1b;
}

.log-scroller::-webkit-scrollbar {
    width: 6px;
}

.log-scroller::-webkit-scrollbar-track {
    background: #020c1b;
}

.log-scroller::-webkit-scrollbar-thumb {
    background-color: var(--accent-primary);
    border-radius: 6px;
}

.log-item {
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.log-item span:first-child {
    color: #8892b0; /* Timestamp color */
    opacity: 0.6;
    margin-right: 0.5rem;
}

/* Solution Hero Card */
.solution-hero-card {
    padding: 2.5rem;
    border: 1px solid var(--accent-primary);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(17, 34, 64, 0.95), rgba(2, 12, 27, 0.98));
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.1);
    position: relative;
}

.solution-hero-card ul li {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.ultra-card {
    background: rgba(17, 34, 64, 0.6); /* Much more visible background */
    border: 1px solid rgba(100, 255, 218, 0.15);
    border-radius: 12px;
    padding: 0; /* Let children handle padding */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.ultra-card .method-card {
    padding: 1.5rem; /* Restore padding here */
}

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