/* ClarityXDR Main CSS - Security-First Design System */

/* CSS Variables and Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --lime-green: #7CDB46;
    --blaze-orange: #FF4500;
    --charcoal: #0A0E23;
    --cool-light: #F5F7FA;
    --primary-gradient: linear-gradient(135deg, var(--charcoal) 0%, #1a1f3a 100%);
    --accent-gradient: linear-gradient(135deg, var(--lime-green) 0%, #5fb837 100%);
    --card-bg: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.2);
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--primary-gradient);
    min-height: 100vh;
    color: var(--cool-light);
}

/* Layout Components */
.header {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo img {
    height: 40px;
}

.logo h1 {
    color: var(--lime-green);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Navigation */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--cool-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--blaze-orange);
}

/* Main Content Layout */
.main-content {
    display: flex;
    min-height: calc(100vh - 80px);
}

.sidebar {
    width: 250px;
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1rem;
}

.sidebar h3 {
    color: var(--lime-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 0.5rem;
}

.sidebar a {
    color: var(--cool-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 5px;
    transition: background 0.3s;
}

.sidebar a:hover, .sidebar a.active {
    background: rgba(124, 219, 70, 0.1);
    color: var(--lime-green);
}

.content {
    flex: 1;
    padding: 2rem;
}

/* Grid Layouts */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

/* Card Components */
.card {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.card h3 {
    color: var(--lime-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.stat-card {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lime-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--cool-light);
    font-size: 0.9rem;
}

/* Table Components */
.table-container {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    color: var(--lime-green);
    font-weight: 600;
}

/* Status Components */
.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-active {
    background: rgba(124, 219, 70, 0.2);
    color: var(--lime-green);
}

.status-inactive {
    background: rgba(255, 69, 0, 0.2);
    color: var(--blaze-orange);
}

.status-pending {
    background: rgba(255, 206, 84, 0.2);
    color: #f39c12;
}

.status-stopped {
    background: rgba(52, 73, 94, 0.2);
    color: #34495e;
}

.status-error {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.status-unknown {
    background: rgba(149, 165, 166, 0.2);
    color: #95a5a6;
}

/* Button Components */
.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 219, 70, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--cool-light);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-danger {
    background: rgba(255, 69, 0, 0.2);
    color: var(--blaze-orange);
    border: 1px solid var(--blaze-orange);
}

.btn-danger:hover {
    background: rgba(255, 69, 0, 0.3);
}

/* Alert Components */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(124, 219, 70, 0.1);
    color: var(--lime-green);
    border: 1px solid var(--lime-green);
}

.alert-warning {
    background: rgba(255, 69, 0, 0.1);
    color: var(--blaze-orange);
    border: 1px solid var(--blaze-orange);
}

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lime-green);
}

/* Health Indicators */
.health-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.health-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lime-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.health-dot.warning {
    background: var(--blaze-orange);
}

.health-dot.error {
    background: #ff4444;
}

/* Login/Auth Form Styles */
.container {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Marketing/Homepage Layout Container */
.marketing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Homepage Header Styles */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-content {
    display: flex;
    flex-direction: column;
    margin-left: 0.5rem;
}

.logo a .logo-content {
    display: flex;
    flex-direction: column;
    margin-left: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lime-green);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.8rem;
    color: var(--cool-light);
    opacity: 0.8;
    line-height: 1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

/* Header CTA Button Styles */
.cta-buttons .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.cta-buttons .btn-primary {
    background: var(--accent-gradient);
    color: white;
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--cool-light);
    border: 1px solid var(--border-color);
}

/* Hero Section Styles */
.hero {
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--cool-light);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--cool-light);
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.value-props {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.value-prop {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--cool-light);
}

.prop-icon {
    font-size: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Sales Agent Section */
.sales-agent {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    max-width: 500px;
    min-width: 450px;
}

.agent-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.agent-avatar {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 50%;
}

.agent-intro h3 {
    color: var(--lime-green);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.agent-intro p {
    color: var(--cool-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

.chat-container {
    margin-top: 1rem;
}

.chat-messages {
    min-height: 350px;
    max-height: 500px;
    overflow-y: auto;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--lime-green);
    border-radius: 3px;
}

.chat-input-container {
    display: flex;
    gap: 0.5rem;
}

.chat-input-container input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--cool-light);
}

.chat-input-container button {
    padding: 0.75rem 1.5rem;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* Chat Messages */
.chat-message {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.chat-message.user {
    background: var(--accent-gradient);
    color: white;
    margin-left: 3rem;
    text-align: right;
}

.chat-message.ai {
    background: rgba(255, 255, 255, 0.1);
    color: var(--cool-light);
    margin-right: 3rem;
}

.chat-message.ai h1,
.chat-message.ai h2,
.chat-message.ai h3,
.chat-message.ai h4 {
    color: var(--lime-green);
    margin: 1rem 0 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chat-message.ai h1:first-child,
.chat-message.ai h2:first-child,
.chat-message.ai h3:first-child,
.chat-message.ai h4:first-child {
    margin-top: 0;
}

.chat-message.ai strong {
    color: var(--lime-green);
    font-weight: 600;
}

.chat-message.ai ul,
.chat-message.ai ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.chat-message.ai li {
    margin: 0.5rem 0;
    line-height: 1.5;
}

.chat-message.ai p {
    margin: 0.75rem 0;
    line-height: 1.6;
}

.chat-message.ai p:first-child {
    margin-top: 0;
}

.chat-message.ai p:last-child {
    margin-bottom: 0;
}

.chat-message.ai em {
    color: var(--blaze-orange);
    font-style: italic;
}

.chat-message.ai code {
    background: rgba(0, 255, 0, 0.1);
    color: var(--lime-green);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-right: 3rem;
    margin-bottom: 1.5rem;
}

.typing-indicator span {
    color: var(--cool-light);
    font-size: 0.9rem;
}

.typing-dots {
    display: flex;
    gap: 0.25rem;
}

.typing-dot {
    width: 4px;
    height: 4px;
    background: var(--lime-green);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    40% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Trust Indicators Section */
.trust-indicators {
    padding: 4rem 0;
    text-align: center;
}

.trust-content h2 {
    color: var(--lime-green);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.trust-stat {
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--lime-green);
    margin-bottom: 0.5rem;
}

.trust-label {
    color: var(--cool-light);
    font-size: 1rem;
    opacity: 0.8;
}

/* Certifications */
.certifications {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.cert-icon {
    font-size: 1.2rem;
}

.cert-badge span:last-child {
    color: var(--cool-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Enhanced Feature Cards */
.feature-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 219, 70, 0.1);
}

.feature-card.featured {
    border-color: var(--lime-green);
    background: rgba(124, 219, 70, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: var(--lime-green);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--cool-light);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 219, 70, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.benefit-icon {
    font-size: 1rem;
}

.feature-benefit span:last-child {
    color: var(--lime-green);
    font-weight: 500;
}

/* Problem/Solution Section */
.problem-solution {
    padding: 4rem 0;
}

.problem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.problem-side h2,
.solution-side h2 {
    color: var(--lime-green);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.problem-points,
.solution-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-point,
.solution-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.problem-icon,
.solution-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.problem-point h4,
.solution-point h4 {
    color: var(--cool-light);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.problem-point p,
.solution-point p {
    color: var(--cool-light);
    opacity: 0.8;
    line-height: 1.6;
}

/* Features Section */
.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-header h2 {
    color: var(--lime-green);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.features-header p {
    color: var(--cool-light);
    font-size: 1.2rem;
    opacity: 0.8;
}

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

/* ROI Section */
.roi-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.roi-content {
    text-align: center;
}

.roi-content h2 {
    color: var(--lime-green);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.roi-content > p {
    color: var(--cool-light);
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}

.roi-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.roi-column {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.roi-column h3 {
    color: var(--lime-green);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.roi-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.roi-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.roi-item:last-child {
    border-bottom: none;
}

.roi-label {
    color: var(--cool-light);
    font-size: 1rem;
}

.roi-value {
    color: var(--lime-green);
    font-size: 1.1rem;
    font-weight: 600;
}

.roi-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 2px solid var(--lime-green);
    margin-top: 1rem;
}

.roi-total .roi-label {
    font-weight: 600;
    font-size: 1.1rem;
}

.roi-total .roi-value {
    font-size: 1.3rem;
    font-weight: 700;
}

.roi-total.savings .roi-value {
    color: var(--lime-green);
}

.roi-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--lime-green);
    font-weight: bold;
}

.roi-summary {
    text-align: center;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.roi-summary h3 {
    color: var(--cool-light);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.savings-amount {
    color: var(--lime-green);
    font-size: 2.2rem;
    font-weight: 700;
}

.roi-summary p {
    color: var(--cool-light);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* ROI Responsive Design */
@media (max-width: 768px) {
    .roi-comparison {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .roi-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }
    
    .roi-column {
        padding: 1.5rem;
    }
}

/* Marketing Footer Styles */
footer {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--lime-green);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 32px;
}

.footer-logo .logo-text {
    color: var(--lime-green);
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-section p {
    color: var(--cool-light);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section ul li a {
    color: var(--cool-light);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: var(--lime-green);
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--cool-light);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-section ul {
        align-items: center;
    }
}

.container .logo {
    text-align: center;
    margin-bottom: 2rem;
}

.container .logo img {
    height: 60px;
    width: auto;
}

.container h2 {
    color: var(--lime-green);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--cool-light);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--cool-light);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--lime-green);
}

.form-group input::placeholder {
    color: rgba(245, 247, 250, 0.6);
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.form-actions a {
    color: var(--lime-green);
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.form-actions a:hover {
    opacity: 0.8;
}

.error-message {
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid var(--blaze-orange);
    color: var(--blaze-orange);
    padding: 0.75rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

.alert-error {
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid var(--blaze-orange);
    color: var(--blaze-orange);
}

.footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(245, 247, 250, 0.7);
    font-size: 0.9rem;
}

.link {
    color: var(--lime-green);
    text-decoration: none;
    transition: opacity 0.3s;
}

.link:hover {
    opacity: 0.8;
}

/* Auth form specific btn styles */
.container .btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 219, 70, 0.3);
}

/* Modern login page styles */
.login-container {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 24px;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    color: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

.login-container .logo {
    text-align: center;
    margin-bottom: 40px;
}

.login-container .logo h1 {
    color: var(--charcoal);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.login-container .logo p {
    color: rgba(10, 14, 35, 0.7);
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.login-container .logo img {
    height: 64px;
    margin-bottom: 16px;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 32px;
    color: var(--charcoal);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.login-container .form-group {
    margin-bottom: 24px;
}

.login-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--charcoal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-container input[type="text"],
.login-container input[type="email"],
.login-container input[type="password"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff !important;
    color: var(--charcoal) !important;
    -webkit-text-fill-color: var(--charcoal) !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.login-container input[type="text"]:focus,
.login-container input[type="email"]:focus,
.login-container input[type="password"]:focus {
    outline: none;
    border-color: var(--lime-green);
    box-shadow: 
        0 0 0 4px rgba(124, 219, 70, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.login-container input[type="text"]:hover:not(:focus),
.login-container input[type="email"]:hover:not(:focus),
.login-container input[type="password"]:hover:not(:focus) {
    border-color: #cbd5e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.login-container input[type="text"]::placeholder,
.login-container input[type="email"]::placeholder,
.login-container input[type="password"]::placeholder {
    color: #a0aec0;
    font-weight: 500;
}

/* Force text visibility in all states including autocomplete */
.login-container input[type="text"]:autofill,
.login-container input[type="email"]:autofill,
.login-container input[type="password"]:autofill,
.login-container input[type="text"]:-webkit-autofill,
.login-container input[type="email"]:-webkit-autofill,
.login-container input[type="password"]:-webkit-autofill {
    -webkit-text-fill-color: var(--charcoal) !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    background: #ffffff !important;
    color: var(--charcoal) !important;
}

/* Ensure text is visible after form submission/validation */
.login-container input[type="text"]:valid,
.login-container input[type="email"]:valid,
.login-container input[type="password"]:valid,
.login-container input[type="text"]:invalid,
.login-container input[type="email"]:invalid,
.login-container input[type="password"]:invalid {
    color: var(--charcoal) !important;
    -webkit-text-fill-color: var(--charcoal) !important;
}

.login-container .btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 32px 0 24px 0;
    box-shadow: 0 4px 12px rgba(124, 219, 70, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(124, 219, 70, 0.4),
        0 0 0 2px rgba(124, 219, 70, 0.2);
}

.login-container .btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(124, 219, 70, 0.3);
}

.login-container .links {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.login-container .links a {
    color: var(--lime-green);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin: 0 16px;
    padding: 8px 0;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
}

.login-container .links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 0;
    background: var(--lime-green);
    transition: width 0.3s ease;
}

.login-container .links a:hover::after {
    width: 100%;
}

.login-container .links a:hover {
    color: #5fb837;
}

.login-container .form-actions {
    text-align: center;
    margin-top: 24px;
}

.login-container .form-actions a {
    color: var(--lime-green);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-container .form-actions a:hover {
    color: #5fb837;
}

.login-container .error-message {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.08) 0%, rgba(255, 69, 0, 0.04) 100%);
    color: #e53e3e;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid rgba(229, 62, 62, 0.2);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-container .error-message::before {
    content: '⚠';
    font-size: 18px;
    flex-shrink: 0;
}

.login-container .alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
}

.login-container .alert-error {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.08) 0%, rgba(255, 69, 0, 0.04) 100%);
    border: 1px solid rgba(229, 62, 62, 0.2);
    color: #e53e3e;
}

.login-container .alert-success {
    background: linear-gradient(135deg, rgba(124, 219, 70, 0.08) 0%, rgba(124, 219, 70, 0.04) 100%);
    border: 1px solid rgba(124, 219, 70, 0.2);
    color: #38a169;
}

.login-container .footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    color: #718096;
    font-size: 12px;
    font-weight: 500;
}

.login-container .footer a {
    color: var(--lime-green);
    text-decoration: none;
    font-weight: 600;
}

.login-container .footer a:hover {
    color: #5fb837;
}

.demo-credentials {
    background: linear-gradient(135deg, rgba(124, 219, 70, 0.08) 0%, rgba(124, 219, 70, 0.04) 100%);
    border: 1px solid rgba(124, 219, 70, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--charcoal);
}

.demo-credentials h4 {
    color: var(--charcoal);
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.demo-credentials p {
    margin: 6px 0;
    font-weight: 500;
}

/* Responsive design for login page */
@media (max-width: 480px) {
    body.auth-page {
        padding: 1rem;
    }
    
    .login-container {
        padding: 32px 24px;
        max-width: 100%;
    }
    
    .login-container .logo h1 {
        font-size: 28px;
    }
    
    .login-container .logo p {
        font-size: 14px;
    }
    
    .login-container h2 {
        font-size: 24px;
    }
    
    .login-container input[type="text"],
    .login-container input[type="email"],
    .login-container input[type="password"] {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .login-container .btn {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .login-container .links {
        flex-direction: column;
        gap: 12px;
        display: flex;
    }
    
    .login-container .links a {
        margin: 0;
        padding: 12px 0;
    }
}

@media (max-width: 320px) {
    .login-container {
        padding: 24px 20px;
    }
    
    .login-container .logo h1 {
        font-size: 24px;
    }
    
    .login-container h2 {
        font-size: 20px;
    }
}

/* Enhanced focus states for accessibility */
.login-container input[type="text"]:focus,
.login-container input[type="email"]:focus,
.login-container input[type="password"]:focus {
    outline: none;
    border-color: var(--lime-green);
    box-shadow: 
        0 0 0 4px rgba(124, 219, 70, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.login-container .btn:focus {
    outline: none;
    box-shadow: 
        0 8px 24px rgba(124, 219, 70, 0.4),
        0 0 0 4px rgba(124, 219, 70, 0.2);
}

.login-container .links a:focus,
.login-container .form-actions a:focus {
    outline: 2px solid var(--lime-green);
    outline-offset: 2px;
}

/* Centered body for login/auth pages */
body.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    background: var(--primary-gradient);
    position: relative;
}

body.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(124, 219, 70, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 69, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Marketing page styles */
.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--primary-gradient);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--lime-green);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--cool-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.feature-icon {
    font-size: 3rem;
    color: var(--lime-green);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.5rem;
    color: var(--lime-green);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--cool-light);
    line-height: 1.6;
}

/* Activity Feed */
.activity-feed {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.activity-item:last-child {
    border-bottom: none;
}

/* Health Metrics */
.health-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.metric-value {
    color: var(--lime-green);
}

/* Quick Actions Container */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .page-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Utility Classes for commonly used inline styles */
.flex-gap {
    display: flex;
    gap: 1rem;
}

.flex-gap-sm {
    display: flex;
    gap: 0.5rem;
}

.flex-gap-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flex-center {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.margin-top {
    margin-top: 1rem;
}

.margin-top-sm {
    margin-top: 0.5rem;
}

.margin-top-lg {
    margin-top: 2rem;
}

.margin-bottom {
    margin-bottom: 1rem;
}

.margin-bottom-sm {
    margin-bottom: 0.5rem;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: #888;
    font-style: italic;
}

.user-role {
    font-size: 0.9rem;
    opacity: 0.8;
}

.logout-link {
    font-size: 0.8rem;
    color: var(--lime-green);
    text-decoration: none;
}

.logout-link:hover {
    opacity: 0.8;
}

.visually-hidden {
    position: absolute;
    left: -9999px;
}

.form-label {
    margin-bottom: 0.5rem;
    display: block;
}

.deploy-title {
    color: var(--lime-green);
    margin-bottom: 1.5rem;
}

.btn-with-margin {
    margin-left: 0.5rem;
}

.flex-gap-mb {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Client Dashboard Specific Styles */
.client-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.client-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.client-header {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.client-header h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-align: center;
}

.client-header .subtitle {
    color: #7f8c8d;
    text-align: center;
    font-size: 1.2em;
}

.nav-menu {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.nav-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.nav-menu a {
    color: #2c3e50;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

.client-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.client-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.client-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.client-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.client-btn:hover {
    background: linear-gradient(45deg, #2980b9, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}

.client-btn-success {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
}

.client-btn-success:hover {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    box-shadow: 0 4px 16px rgba(39, 174, 96, 0.3);
}

.client-btn-warning {
    background: linear-gradient(45deg, #f39c12, #e67e22);
}

.client-btn-warning:hover {
    background: linear-gradient(45deg, #e67e22, #f39c12);
    box-shadow: 0 4px 16px rgba(243, 156, 18, 0.3);
}

.client-btn-danger {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.client-btn-danger:hover {
    background: linear-gradient(45deg, #c0392b, #e74c3c);
    box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
}

.client-status.deployed {
    background: #dbeafe;
    color: #3b82f6;
}

.client-status.error {
    background: #fecaca;
    color: #ef4444;
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.loading.show {
    display: block;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.alert.success {
    background: #d5f4e6;
    color: #27ae60;
    border: 1px solid #27ae60;
}

.alert.error {
    background: #fecaca;
    color: #ef4444;
    border: 1px solid #ef4444;
}

.alert.info {
    background: #dbeafe;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.client-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    text-transform: uppercase;
}

.client-status.ready,
.client-status.healthy {
    background: #d5f4e6;
    color: #27ae60;
}

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

.client-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.system-status-row {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

/* ========================================
   PAGE-SPECIFIC STYLES
   ======================================== */

/* Sales Page Styles */
.sales-page {
    padding: 4rem 0;
    text-align: center;
}

.sales-page h1 {
    color: var(--lime-green);
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.sales-page .subtitle {
    color: var(--cool-light);
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sales-page .chat-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Pricing Page Styles */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 0, 0.1);
}

.pricing-card.popular {
    border: 2px solid var(--lime-green);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card.premium {
    border: 3px solid var(--blaze-orange);
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.1) 0%, var(--card-bg) 100%);
    transform: scale(1.08);
    position: relative;
}

.pricing-card.premium:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 25px 50px rgba(255, 69, 0, 0.2);
}

.pricing-card.premium .plan-name {
    background: linear-gradient(135deg, var(--blaze-orange), #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2rem;
}

.pricing-card.premium .plan-badge {
    background: linear-gradient(135deg, var(--blaze-orange), #ff6b35);
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
}

.btn-premium {
    background: linear-gradient(135deg, var(--blaze-orange), #ff6b35);
    border: none;
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 69, 0, 0.4);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-name {
    color: var(--lime-green);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: var(--cool-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.plan-price {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-period {
    color: var(--cool-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.plan-features {
    margin-bottom: 2rem;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon {
    color: var(--lime-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-text {
    color: var(--cool-light);
    font-size: 1rem;
}

.plan-cta {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* FAQ Section Styles */
.faq-section {
    padding: 4rem 0;
    margin-top: 4rem;
}

.faq-section h2 {
    color: var(--lime-green);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 219, 70, 0.1);
    border-color: var(--lime-green);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cool-light);
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.faq-question:hover {
    color: var(--lime-green);
    background: rgba(124, 219, 70, 0.1);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--lime-green);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--cool-light);
    line-height: 1.6;
    font-size: 1rem;
    opacity: 0.9;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    padding-top: 1.5rem;
}

/* Platform Page Styles */
.platform-page {
    padding: 4rem 0;
}

.platform-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.platform-hero h1 {
    color: var(--lime-green);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.platform-hero .subtitle {
    color: var(--cool-light);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.platform-features {
    margin-bottom: 4rem;
}

.platform-features h2 {
    color: var(--lime-green);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

/* Platform Cards - same styling as feature cards */
.platform-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 219, 70, 0.1);
    border-color: var(--lime-green);
}

.platform-card.featured {
    border-color: var(--lime-green);
    background: rgba(124, 219, 70, 0.05);
}

.platform-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.platform-card h3 {
    color: var(--lime-green);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.platform-card p {
    color: var(--cool-light);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.platform-features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.platform-card .platform-features {
    margin-bottom: 0;
}

.platform-card .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 219, 70, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.platform-card .feature-item:last-child {
    margin-bottom: 0;
}

.platform-card .feature-icon {
    font-size: 1rem;
}

.platform-card .feature-item span:last-child {
    color: var(--lime-green);
    font-weight: 500;
}

/* Tech Stack Section */
.tech-stack {
    margin-bottom: 4rem;
}

.tech-stack h2 {
    color: var(--lime-green);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--lime-green);
}

.tech-item h3 {
    color: var(--lime-green);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tech-item p {
    color: var(--cool-light);
    opacity: 0.9;
    line-height: 1.6;
}

/* Resources Page Styles */
.resources-page {
    padding: 4rem 0;
}

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

.resource-category {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.resource-category:hover {
    transform: translateY(-5px);
    border-color: var(--lime-green);
}

.resource-category h3 {
    color: var(--lime-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.resource-list li {
    margin-bottom: 0.75rem;
}

.resource-list a {
    color: var(--cool-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.resource-list a:hover {
    color: var(--lime-green);
}

/* Company Page Styles */
.company-page {
    padding: 4rem 0;
}

.company-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.company-hero h1 {
    color: var(--lime-green);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.company-sections {
    display: grid;
    gap: 4rem;
}

.company-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.company-section h2 {
    color: var(--lime-green);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.company-section p {
    color: var(--cool-light);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Signup Page Styles */
.signup-page {
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.signup-container {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.signup-container h1 {
    color: var(--lime-green);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    color: var(--lime-green);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--cool-light);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--lime-green);
    box-shadow: 0 0 0 2px rgba(0, 255, 0, 0.1);
}

/* Responsive Design for Page-Specific Styles */
@media (max-width: 768px) {
    .sales-page h1,
    .platform-hero h1,
    .company-hero h1 {
        font-size: 2.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 2rem 0;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .platform-hero .subtitle,
    .sales-page .subtitle {
        font-size: 1.1rem;
    }
    
    .company-section,
    .signup-container {
        padding: 2rem;
    }
    
    /* FAQ Responsive Styles */
    .faq-section {
        padding: 2rem 0;
    }
    
    .faq-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .faq-question::after {
        right: 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1rem 1.5rem;
        font-size: 0.95rem;
    }
}

.solution-row {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.client-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.quick-actions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Client-specific responsive design */
@media (max-width: 768px) {
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }
    
    .client-container {
        padding: 10px;
    }
    
    .client-header h1 {
        font-size: 2em;
    }
    
    .client-content {
        padding: 20px;
    }
    
    .client-info-grid {
        grid-template-columns: 1fr;
    }
    
    .system-status-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .solution-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ================================
   RESOURCES PAGE STYLES
   ================================ */

/* Wiki Layout */
.wiki-layout {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.wiki-sidebar {
    flex: 0 0 250px;
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.wiki-sidebar h3 {
    margin-bottom: 1rem;
    color: var(--lime-green);
    font-size: 1.1rem;
}

.wiki-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wiki-nav a {
    color: var(--cool-light);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.wiki-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--lime-green);
}

.wiki-nav a.active {
    background: rgba(124, 219, 70, 0.1);
    border-left-color: var(--lime-green);
    color: var(--lime-green);
}

.wiki-content {
    flex: 1;
    background: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
}

.wiki-section {
    margin-bottom: 3rem;
}

.wiki-section h2 {
    color: var(--lime-green);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.wiki-section h3 {
    margin: 1.5rem 0 0.5rem 0;
    color: var(--cool-light);
}

.wiki-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.wiki-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.wiki-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Code Blocks */
.code-block {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
    border-left: 4px solid var(--lime-green);
}

.code-block code {
    color: var(--cool-light);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    white-space: pre-wrap;
}

/* Info and Warning Boxes */
.info-box {
    background: rgba(124, 219, 70, 0.1);
    border-left: 4px solid var(--lime-green);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 6px 6px 0;
}

.warning-box {
    background: rgba(255, 69, 0, 0.1);
    border-left: 4px solid var(--blaze-orange);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 6px 6px 0;
}

.info-box strong,
.warning-box strong {
    color: var(--lime-green);
}

/* YouTube Section */
.youtube-section {
    margin: 3rem 0;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
}

.youtube-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--lime-green);
}

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

.youtube-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.youtube-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.youtube-thumbnail {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 6px;
    margin-bottom: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-thumbnail::after {
    content: "▶";
    color: white;
    font-size: 3rem;
    opacity: 0.8;
}

.youtube-card h3 {
    margin-bottom: 0.5rem;
    color: var(--cool-light);
    font-size: 1.1rem;
}

.youtube-card p {
    color: rgba(245, 247, 250, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.youtube-link {
    color: var(--lime-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.youtube-link:hover {
    color: #5fb837;
}

/* Resource Grid */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.resource-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.resource-card h3 {
    margin-bottom: 0.5rem;
    color: var(--lime-green);
}

.resource-card p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(245, 247, 250, 0.8);
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.resource-links a {
    color: var(--cool-light);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.resource-links a:hover {
    color: var(--lime-green);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.margin-top-lg {
    margin-top: 2rem;
}

/* Responsive Design for Resources Page */
@media (max-width: 768px) {
    .wiki-layout {
        flex-direction: column;
        gap: 1rem;
    }
    
    .wiki-sidebar {
        position: static;
        flex: none;
    }
    
    .youtube-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   COMPANY PAGE STYLES
   ================================ */

/* Company Story Section */
.company-story {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.company-story h2 {
    color: var(--lime-green);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.company-story p {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Team Section */
.team-section {
    margin: 3rem 0;
}

.team-section h2 {
    text-align: center;
    color: var(--lime-green);
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.team-member {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-gradient);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--charcoal);
    font-weight: bold;
}

.team-member h4 {
    color: var(--cool-light);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.team-role {
    color: var(--lime-green);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-bio {
    color: rgba(245, 247, 250, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    color: var(--cool-light);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: var(--lime-green);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.value-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--lime-green);
    margin-bottom: 0.5rem;
}

.value-card p {
    color: rgba(245, 247, 250, 0.8);
    line-height: 1.6;
}

/* Timeline */
.milestones-section {
    margin: 3rem 0;
}

.milestones-section h2 {
    text-align: center;
    color: var(--lime-green);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--lime-green);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 16px;
    height: 16px;
    background: var(--lime-green);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    border: 3px solid var(--charcoal);
}

.timeline-content {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    width: calc(50% - 2rem);
    border: 1px solid var(--border-color);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-date {
    color: var(--lime-green);
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-title {
    color: var(--cool-light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: rgba(245, 247, 250, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
}

.contact-section h2 {
    color: var(--lime-green);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-item {
    text-align: center;
    padding: 1rem;
}

.contact-item h4 {
    color: var(--lime-green);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: rgba(245, 247, 250, 0.8);
}

.contact-item a {
    color: var(--cool-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--lime-green);
}

/* Responsive Design for Company Page */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 1rem;
    }
    
    .timeline-marker {
        left: 1rem;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-content {
        width: calc(100% - 3rem);
        margin-left: 3rem !important;
        margin-right: 0 !important;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* ================================
   ADMIN SOLUTIONS PAGE STYLES
   ================================ */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.solution-card {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 219, 70, 0.1);
    border-color: var(--lime-green);
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.solution-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 219, 70, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.solution-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--lime-green);
    margin-bottom: 0.5rem;
}

.solution-description {
    color: var(--cool-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.solution-features {
    list-style: none;
    margin-bottom: 2rem;
}

.solution-features li {
    color: var(--cool-light);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.solution-features li::before {
    content: "✓";
    color: var(--lime-green);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.status-ready {
    background: rgba(124, 219, 70, 0.2);
    color: var(--lime-green);
}

.deployment-form {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    color: var(--lime-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-select, .form-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--cool-light);
    transition: border-color 0.3s ease;
}

.form-select:focus, .form-input:focus {
    outline: none;
    border-color: var(--lime-green);
    box-shadow: 0 0 0 3px rgba(124, 219, 70, 0.1);
}

.form-select option {
    background: var(--charcoal);
    color: var(--cool-light);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--lime-green);
}

.checkbox-item label {
    color: var(--cool-light);
    cursor: pointer;
}

.flex-gap {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.deployment-history {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.deployment-history h3 {
    color: var(--lime-green);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.deployment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.deployment-info {
    flex: 1;
}

.deployment-name {
    font-weight: 600;
    color: var(--cool-light);
    margin-bottom: 0.25rem;
}

.deployment-time {
    font-size: 0.9rem;
    color: rgba(245, 247, 250, 0.7);
}

.status-success {
    background: rgba(124, 219, 70, 0.2);
    color: var(--lime-green);
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-failed {
    background: rgba(255, 69, 0, 0.2);
    color: var(--blaze-orange);
}

.margin-top {
    margin-top: 1.5rem;
}

/* Responsive design for solutions page */
@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .deployment-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ================================
   ADMIN CONTAINERS PAGE STYLES
   ================================ */

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

.container-card {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.container-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 219, 70, 0.1);
    border-color: var(--lime-green);
}

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

.container-id {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--lime-green);
    font-weight: 600;
}

.container-info {
    margin-bottom: 1.5rem;
}

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

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: rgba(245, 247, 250, 0.8);
    font-weight: 500;
}

.info-value {
    color: var(--cool-light);
    font-weight: 600;
}

.container-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.status-running {
    background: rgba(124, 219, 70, 0.2);
    color: var(--lime-green);
}

.status-stopped {
    background: rgba(255, 69, 0, 0.2);
    color: var(--blaze-orange);
}

/* Responsive design for containers page */
@media (max-width: 768px) {
    .containers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .container-actions {
        flex-direction: column;
    }
}

/* ================================
   ADMIN BILLING PAGE STYLES
   ================================ */

.billing-actions {
    display: flex;
    gap: 1rem;
}

.billing-alert {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: #ffc107;
}

.billing-alert h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.billing-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.billing-card {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.billing-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lime-green);
    margin-bottom: 0.5rem;
}

.billing-label {
    color: var(--cool-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.billing-change {
    font-size: 0.8rem;
    font-weight: 600;
}

.billing-change.positive {
    color: var(--lime-green);
}

.billing-change.negative {
    color: var(--blaze-orange);
}

.billing-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.chart-container {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.chart-title {
    color: var(--lime-green);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.chart-placeholder {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(245, 247, 250, 0.6);
    text-align: center;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.payment-method {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.payment-method h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lime-green);
    margin-bottom: 1rem;
}

.payment-icon {
    font-size: 1.5rem;
}

.webhook-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--cool-light);
}

.webhook-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime-green);
}

.payment-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-stat {
    text-align: center;
}

.payment-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lime-green);
    margin-bottom: 0.25rem;
}

.payment-stat-label {
    font-size: 0.8rem;
    color: rgba(245, 247, 250, 0.8);
}

.recent-transactions {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.recent-transactions h3 {
    color: var(--lime-green);
    margin-bottom: 1.5rem;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-details {
    flex: 1;
}

.transaction-amount {
    font-weight: 600;
    color: var(--lime-green);
}

.transaction-date {
    font-size: 0.8rem;
    color: rgba(245, 247, 250, 0.6);
}

/* Responsive design for billing page */
@media (max-width: 768px) {
    .billing-overview {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .billing-charts {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .billing-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ================================
   ADMIN HEALTH PAGE STYLES
   ================================ */

.health-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lime-green);
}

.health-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lime-green);
    animation: pulse 2s infinite;
}

.health-dot.warning {
    background: #ffc107;
}

.health-dot.critical {
    background: var(--blaze-orange);
}

.health-dot.offline {
    background: #6c757d;
    animation: none;
}

.health-dot.operational {
    background: var(--lime-green);
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.health-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.refresh-time {
    color: rgba(245, 247, 250, 0.6);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.health-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.health-card {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.health-card h3 {
    color: var(--lime-green);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.health-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.health-value.good {
    color: var(--lime-green);
}

.health-value.warning {
    color: #ffc107;
}

.health-value.critical {
    color: var(--blaze-orange);
}

.health-label {
    color: rgba(245, 247, 250, 0.8);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.health-trend {
    font-size: 0.8rem;
    font-weight: 600;
}

.trend-up {
    color: var(--lime-green);
}

.trend-down {
    color: var(--blaze-orange);
}

/* Clickable health cards */
.clickable-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clickable-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 219, 70, 0.2);
    border-color: var(--lime-green);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 35, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--lime-green);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--cool-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 1.5rem 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Connection Table Styles */
.connection-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.connection-table th,
.connection-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.connection-table th {
    color: var(--lime-green);
    font-weight: 600;
    background: rgba(124, 219, 70, 0.1);
}

.connection-table td {
    color: var(--cool-light);
}

.connection-state {
    background: rgba(124, 219, 70, 0.2);
    color: var(--lime-green);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Settings Form Styles */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
}

.setting-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.setting-group label {
    color: var(--cool-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.setting-group input[type="number"],
.setting-group input[type="email"] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem;
    color: var(--cool-light);
    transition: border-color 0.2s ease;
}

.setting-group input[type="number"]:focus,
.setting-group input[type="email"]:focus {
    outline: none;
    border-color: var(--lime-green);
}

.setting-group input[type="checkbox"] {
    accent-color: var(--lime-green);
}

.service-status {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.service-status h3 {
    color: var(--lime-green);
    margin-bottom: 1.5rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.service-name {
    font-weight: 600;
    color: var(--cool-light);
}

.service-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.service-badge.healthy {
    background: rgba(124, 219, 70, 0.2);
    color: var(--lime-green);
}

.service-badge.warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.service-badge.critical {
    background: rgba(255, 69, 0, 0.2);
    color: var(--blaze-orange);
}

.service-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(245, 247, 250, 0.8);
}

.alerts-panel {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.alerts-panel h3 {
    color: var(--lime-green);
    margin-bottom: 1.5rem;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.alert-item.critical {
    background: rgba(255, 69, 0, 0.1);
    border-left-color: var(--blaze-orange);
}

.alert-item.warning {
    background: rgba(255, 193, 7, 0.1);
    border-left-color: #ffc107;
}

.alert-item.info {
    background: rgba(124, 219, 70, 0.1);
    border-left-color: var(--lime-green);
}

.alert-icon {
    font-size: 1.5rem;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 600;
    color: var(--cool-light);
    margin-bottom: 0.25rem;
}

.alert-description {
    font-size: 0.9rem;
    color: rgba(245, 247, 250, 0.8);
}

.alert-time {
    font-size: 0.8rem;
    color: rgba(245, 247, 250, 0.6);
}

.metrics-table {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.metrics-table h3 {
    color: var(--lime-green);
    margin-bottom: 1.5rem;
}

.metric-value {
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

/* Responsive design for health page */
@media (max-width: 768px) {
    .health-overview {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .health-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .alert-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ================================
   ADMIN SETTINGS PAGE STYLES
   ================================ */

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

.settings-card {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.settings-card h3 {
    color: var(--lime-green);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--lime-green);
}

.form-checkbox label {
    color: var(--cool-light);
    cursor: pointer;
}

/* ================================
   ADMIN AI INSTRUCTIONS PAGE STYLES
   ================================ */

.ai-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ai-card {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.ai-card h3 {
    color: var(--lime-green);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.ai-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--cool-light);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime-green);
    animation: pulse 2s infinite;
}

.ai-metric {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--lime-green);
    margin-bottom: 0.5rem;
}

.ai-label {
    font-size: 0.8rem;
    color: rgba(245, 247, 250, 0.8);
}

.instruction-tabs {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.tab-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    color: rgba(245, 247, 250, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-button:hover,
.tab-button.active {
    color: var(--lime-green);
    background: rgba(124, 219, 70, 0.1);
    border-bottom-color: var(--lime-green);
}

.tab-content {
    padding: 2rem;
}

.instruction-editor {
    margin-bottom: 2rem;
}

.instruction-editor textarea {
    width: 100%;
    min-height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    color: var(--cool-light);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
}

.instruction-editor textarea:focus {
    outline: none;
    border-color: var(--lime-green);
    box-shadow: 0 0 0 3px rgba(124, 219, 70, 0.1);
}

.instruction-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--lime-green);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(245, 247, 250, 0.8);
}

.instruction-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.test-panel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
}

.test-panel h4 {
    color: var(--lime-green);
    margin-bottom: 1rem;
}

.test-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--cool-light);
    margin-bottom: 1rem;
}

.test-output {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    min-height: 100px;
    color: var(--cool-light);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

/* Responsive design for settings and AI pages */
@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ai-overview {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .tab-header {
        flex-direction: column;
    }
    
    .tab-button {
        text-align: left;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .tab-button:hover,
    .tab-button.active {
        border-left-color: var(--lime-green);
        border-bottom-color: transparent;
    }
    
    .instruction-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ================================
   ADMIN CUSTOMERS TABLE STYLES
   ================================ */

.customers-table {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
    overflow-x: auto;
}

.customers-table table {
    width: 100%;
    min-width: 600px;
}

/* Responsive design for customers table */
@media (max-width: 768px) {
    .customers-table {
        padding: 1rem;
    }
    
    .customers-table table {
        font-size: 0.9rem;
    }
}

/* ================================
   MODAL STYLES
   ================================ */

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-color);
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.close {
    color: var(--text-muted);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: var(--text-color);
}

.modal form {
    padding: 2rem;
}

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

.page-header .page-title {
    margin: 0;
}

/* Hide modal by default */
.modal.hidden {
    display: none;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 2% auto;
        width: 95%;
    }
    
    .modal-header,
    .modal-footer {
        padding: 1rem;
    }
    
    .modal form {
        padding: 1rem;
    }
}

/* Repository Management Styles */
.repo-workspace {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    min-height: calc(100vh - 200px);
}

.repo-sidebar {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    height: fit-content;
}

.repo-content {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.git-status-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    background: var(--bg-secondary);
    border-radius: 6px;
    margin-bottom: 20px;
}

.git-branch {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 600;
}

.git-changes {
    color: var(--warning-color);
    font-size: 0.9rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.file-list {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.file-item:last-child {
    border-bottom: none;
}

.file-item:hover {
    background: var(--bg-secondary);
}

.file-icon {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.file-info {
    flex: 1;
}

.file-name {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 2px;
}

.file-meta {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.file-actions {
    display: flex;
    gap: 8px;
}

.file-git-status {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.file-git-status.modified {
    background: var(--warning-color);
    color: white;
}

.file-git-status.added {
    background: var(--success-color);
    color: white;
}

.file-git-status.deleted {
    background: var(--error-color);
    color: white;
}

.file-git-status.clean {
    background: var(--text-secondary);
    color: white;
}

.quick-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
}

.upload-area.dragover {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
}

.code-editor {
    width: 100%;
    min-height: 400px;
    font-family: 'Courier New', monospace;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 15px;
    color: var(--text-primary);
    resize: vertical;
}

/* Repository-specific utility classes */
.repo-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.repo-git-status-title {
    margin-top: 20px;
}

.repo-empty-state {
    color: var(--text-secondary);
    font-style: italic;
}

.repo-modal-form-group {
    margin-bottom: 15px;
}

.repo-modal-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.repo-inline-hidden {
    display: none;
}

.repo-input-readonly {
    width: 100%;
    background: var(--bg-secondary);
}

.repo-input-full-width {
    width: 100%;
}

.repo-textarea-commit {
    width: 100%;
    margin-bottom: 15px;
}

/* Accessibility utility class */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* AI Assistant Management Styles */
.assistant-management {
    margin-top: 2rem;
}

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

.section-header h3 {
    color: var(--lime-green);
    font-size: 1.5rem;
    margin: 0;
}

.assistants-table {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.data-table th {
    background: rgba(124, 219, 70, 0.1);
    color: var(--lime-green);
    font-weight: 600;
    text-align: left;
    padding: 1rem 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.data-table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.assistant-name {
    font-weight: 600;
    color: var(--cool-light);
    margin-bottom: 0.25rem;
}

.assistant-desc {
    font-size: 0.9rem;
    color: var(--cool-light);
    opacity: 0.8;
}

.type-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.type-sales {
    background: rgba(124, 219, 70, 0.2);
    color: var(--lime-green);
}

.type-security {
    background: rgba(255, 69, 0, 0.2);
    color: var(--blaze-orange);
}

.type-support {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.type-deployment {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--cool-light);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--lime-green);
    color: var(--lime-green);
}

.assistant-details {
    background: rgba(124, 219, 70, 0.05);
    border-left: 3px solid var(--lime-green);
}

.assistant-details.hidden {
    display: none;
}

.details-content {
    padding: 1.5rem;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.detail-section h4 {
    color: var(--lime-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.detail-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.detail-item label {
    font-weight: 600;
    color: var(--cool-light);
    min-width: 120px;
}

.detail-item span {
    color: var(--cool-light);
    opacity: 0.9;
}

.instructions-preview {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--cool-light);
    max-height: 150px;
    overflow-y: auto;
    white-space: pre-wrap;
}

.detail-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    color: var(--lime-green);
    margin: 0;
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--cool-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.modal-close:hover {
    color: var(--blaze-orange);
}

.modal form {
    padding: 1.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--cool-light);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--lime-green);
    box-shadow: 0 0 0 2px rgba(124, 219, 70, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-item label {
    color: var(--cool-light);
    cursor: pointer;
    margin: 0;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* Test Interface Styles */
.test-interface {
    padding: 1.5rem;
}

.test-results {
    margin-top: 1.5rem;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    color: var(--cool-light);
}

.loading.hidden {
    display: none;
}

.response-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid var(--border-color);
    min-height: 100px;
}

.response-header {
    color: var(--lime-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.response-content {
    color: var(--cool-light);
    line-height: 1.6;
    white-space: pre-wrap;
}

.error {
    color: var(--blaze-orange);
    font-weight: 500;
}

/* Temperature Slider Styles */
input[type="range"] {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--border-color);
    outline: none;
    appearance: none;
    margin: 0.5rem 0;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--lime-green);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(124, 219, 70, 0.3);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--lime-green);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(124, 219, 70, 0.3);
}

#temp-value {
    display: inline-block;
    background: var(--lime-green);
    color: var(--charcoal);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

/* Responsive Design for AI Management */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .modal-content {
        margin: 0;
        max-height: 95vh;
    }
    
    .modal {
        padding: 0.5rem;
    }
    
    .data-table {
        font-size: 0.9rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ai-overview {
        grid-template-columns: 1fr;
    }
    
    .assistants-table {
        overflow-x: auto;
    }
    
    .data-table {
        min-width: 600px;
    }
}
