:root {
    /* Color Palette */
    --primary: #0096FF;       /* CT Blue */
    --primary-dark: #007ACC;
    --secondary: #002D5B;     /* CT Navy */
    --secondary-light: #004080;
    --text-dark: #1A202C;
    --text-light: #4A5568;
    --bg-light: #F7FAFC;
    --white: #FFFFFF;
    --accent: #38B2AC;        /* Teal accent for icons/highlights */
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 0.5rem;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary);
}

.btn-text {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.btn-text:hover {
    text-decoration: underline;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

h1, h2, h3, h4 {
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.dot {
    color: var(--primary);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links a, .nav-links button {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
    background: none;
}

.nav-links a:not(.btn):hover, .nav-links button:not(.btn):hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary) 0%, #001f3f 100%);
    color: var(--white);
    margin-top: 80px; /* Offset fixed nav */
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTAwIDAgTDIwMCAxMDAgTDEwMCAyMDAgTDAgMTAwIFoiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wMykiLz48L3N2Zz4=');
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Sections General */
.section {
    padding: var(--spacing-lg) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Services */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Fixed 2 columns */
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background-color: var(--white);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 150, 255, 0.1); /* Primary with opacity */
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

/* Managed IT Plans (Kinetic Series) */
.plans-section {
    background-color: var(--white);
    padding: var(--spacing-lg) 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.plan-card {
    background-color: var(--white);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.featured-plan {
    border: 2px solid var(--primary);
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.plan-header {
    background-color: var(--bg-light);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.plan-header h3 {
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    color: var(--secondary);
}

.plan-header .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
}

.plan-header .price span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

.plan-header .vibe {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.plan-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.plan-body p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-align: center;
}

.plan-body ul {
    list-style: none;
    margin-top: auto;
}

.plan-body ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.plan-body ul li i {
    color: var(--primary);
}

.plans-note {
    background-color: var(--white);
    border-left: 5px solid var(--secondary);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    max-width: 900px;
    margin: 3rem auto 0 auto;
    text-align: left;
}

.plans-note p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-light);
}

.plans-note strong {
    color: var(--secondary);
}

.plans-note i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

/* Communications & Infrastructure Section */
.comms-section {
    background-color: var(--bg-light);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.partner-logo {
    background-color: var(--white);
    padding: 1.5rem 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.partner-logo h3 {
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
    color: var(--primary);
}

.partner-logo span {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 1px;
}

.comms-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.comms-column h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comms-column h3 i {
    color: var(--primary);
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-list li i {
    color: var(--accent);
    margin-top: 4px;
}

.disclaimer-box {
    background-color: var(--white);
    border-left: 5px solid var(--secondary);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    max-width: 900px;
    margin: 0 auto;
}

.disclaimer-box p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-light);
}

.disclaimer-box i {
    color: var(--secondary);
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* Stats */
.stats {
    background-color: var(--secondary);
    color: var(--white);
    padding: 4rem 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* About */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    height: 450px;
    background-color: #ddd;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.5s ease;
}

.about-image:hover .team-photo {
    transform: scale(1.03);
}

/* Community & Education Section */
.community-section {
    background-color: var(--bg-light);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.community-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column; /* Stack icon on top of text */
    align-items: center;    /* Center everything */
    text-align: center;     /* Center text */
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    border-left: 5px solid var(--primary);
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.comm-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.highlight-card {
    border-left: 5px solid var(--accent);
}

.highlight-card .comm-icon {
    color: var(--accent);
}

.comm-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.comm-content p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background-color: var(--bg-light);
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    text-align: left;
    margin-top: 3rem;
}

.contact-info {
    padding-right: 2rem;
}

.contact-item {
    font-size: 1.25rem;
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 4rem 0 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
}

/* --- Modern Form Styles --- */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.95rem;
}
.form-control, 
.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background-color: #f8fafc;
    box-sizing: border-box;
}
.form-control:focus, 
.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 150, 255, 0.2);
    background-color: #ffffff;
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 45, 91, 0.8); /* CT Navy transparent */
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background-color: var(--white);
    width: 90%;
    max-width: 900px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: 90vh; /* Prevent overflow on small screens */
    overflow-y: auto;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    z-index: 10;
}

.modal-header {
    background-color: var(--bg-light);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.modal-header h2 {
    margin: 0;
    color: var(--primary);
}

.modal-header p {
    margin: 0;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* Modal Config Column */
.modal-config {
    padding: 2rem;
    background-color: #fff;
    border-right: 1px solid rgba(0,0,0,0.05);
}

.config-section {
    margin-bottom: 2rem;
}

.config-section h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.count-badge {
    background-color: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.slider {
    width: 100%;
    accent-color: var(--primary);
    height: 6px;
    background: #e2e8f0;
    border-radius: 5px;
    outline: none;
}

.text-muted {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
    margin-top: 0.25rem;
}

.addons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.addon-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.2s;
}

.addon-checkbox:hover {
    border-color: var(--primary);
    background-color: var(--bg-light);
}

.price-estimator {
    text-align: center;
    background-color: var(--secondary);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.price-estimator p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.price-display {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.price-estimator small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Modal Contact Column */
.modal-contact {
    padding: 2rem;
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-check {
    margin-bottom: 2rem;
}

.form-select, .modal-contact input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-family: inherit;
    font-size: 1rem;
}

.location-msg {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding: 0.75rem;
    border-radius: 6px;
    display: none; /* Hidden until selected */
}

.msg-green { background-color: #d1fae5; color: #065f46; border: 1px solid #10b981; }
.msg-blue { background-color: #dbeafe; color: #1e40af; border: 1px solid #3b82f6; }
.msg-yellow { background-color: #fef3c7; color: #92400e; border: 1px solid #f59e0b; }

.modal-actions .btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.privacy-text {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 1rem;
    opacity: 0.7;
}

/* --- Priority Support (First Responder) Styles --- */
.btn-panic {
    background-color: #c53030;
    color: white;
    border: 2px solid #c53030;
    font-weight: 700;
    transition: all 0.3s ease;
}
.btn-panic:hover {
    background-color: #9b2c2c;
    border-color: #9b2c2c;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
.panic-overlay {
    background-color: rgba(30, 41, 59, 0.9);
}
.panic-container {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    border-top: 6px solid #3182ce;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}
.panic-header {
    background-color: #f7fafc;
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}
.panic-header h2 {
    color: #2c5282;
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.panic-header p {
    color: #4a5568;
    margin: 0;
    font-size: 0.95rem;
}
.panic-body {
    padding: 1.5rem 2rem;
}
.email-check-step {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}
.email-check-step input {
    font-size: 1.2rem;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
}
.billing-ack {
    background-color: #ebf8ff;
    border: 1px solid #bee3f8;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #2a4365;
}
.checkbox-container {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    cursor: pointer;
}
.checkbox-container input {
    margin-top: 3px;
    width: auto;
    accent-color: #2b6cb0;
}
.btn-dispatch {
    background-color: #2b6cb0;
    color: white;
    border: none;
    font-weight: 600;
    padding: 1.25rem;
    font-size: 1.25rem;
    transition: background 0.2s;
}
.btn-dispatch:hover {
    background-color: #2c5282;
    transform: translateY(-1px);
}
.responder-dashboard {
    text-align: center;
}
.status-banner {
    background-color: #f0fff4;
    border: 1px solid #c6f6d5;
    padding: 1rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.status-banner h3 {
    font-size: 1.3rem;
    color: #2f855a;
    margin-bottom: 0.15rem;
}
.pulse-icon {
    width: 40px;
    height: 40px;
    background-color: #48bb78;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(72, 187, 120, 0); }
    100% { box-shadow: 0 0 0 0 rgba(72, 187, 120, 0); }
}
.status-banner p {
    margin: 0;
    color: #4a5568;
    font-size: 0.95rem;
    text-align: left;
}
.responder-instruction {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
.connect-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.connect-card {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.connect-card:hover {
    border-color: #3182ce;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.primary-connect {
    border-color: #3182ce;
}
.icon-wrap {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background-color: #ebf8ff;
    color: #3182ce;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0;
}
.text-wrap h4 {
    margin: 0;
    color: #2d3748;
    font-size: 1.05rem;
}
.text-wrap p {
    margin: 0;
    color: #718096;
    font-size: 0.85rem;
}
.arrow {
    margin-left: auto;
    color: #cbd5e0;
}
.timer-box {
    margin-top: 1rem;
    padding: 0.6rem 1rem;
    background-color: #fffaf0;
    border-radius: 8px;
    color: #c05621;
    font-size: 0.85rem;
    display: inline-block;
}
.escalate-btn {
    display: none;
    background-color: #c53030;
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 1rem;
    animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(197, 48, 48, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(197, 48, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 48, 48, 0); }
}
.chat-interface {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}
.chat-window {
    height: 250px;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.chat-bubble {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    position: relative;
    text-align: left;
}
.chat-bubble.bot {
    align-self: flex-start;
    background-color: #edf2f7;
    color: #4a5568;
    border-bottom-left-radius: 2px;
}
.chat-bubble.engineer {
    align-self: flex-start;
    background-color: #ebf8ff;
    color: #2b6cb0;
    border: 1px solid #bee3f8;
    border-bottom-left-radius: 2px;
}
.chat-bubble.user {
    align-self: flex-end;
    background-color: #3182ce;
    color: white;
    border-bottom-right-radius: 2px;
}
.chat-input-area {
    display: flex;
    padding: 0.75rem;
    background: white;
    border-top: 1px solid #e2e8f0;
    gap: 0.5rem;
}
.chat-input-area input {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    outline: none;
}
.chat-input-area input:focus {
    border-color: #3182ce;
}
.chat-input-area button {
    background: #3182ce;
    color: white;
    border: none;
    border-radius: 6px;
    width: 40px;
    cursor: pointer;
    transition: background 0.2s;
}
.chat-input-area button:hover {
    background: #2b6cb0;
}

.remote-ready {
    margin-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}
.assist-inline {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.5rem;
}
.assist-inline input {
    width: 160px;
    padding: 0.5rem;
    text-align: center;
    letter-spacing: 1px;
}
.assist-inline button {
    padding: 0.5rem 1rem;
    background-color: #4a5568;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .command-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-panel {
        height: auto;
        min-height: 300px;
        border: none;
        border-top: 1px solid #2d3748;
        border-bottom: 1px solid #2d3748;
    }
}
@keyframes bounce-right {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(5px) translateY(5px); }
}
