/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Composio-inspired color palette */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-900: #1e3a8a;
    
    --secondary-50: #f8fafc;
    --secondary-100: #f1f5f9;
    --secondary-200: #e2e8f0;
    --secondary-300: #cbd5e1;
    --secondary-500: #64748b;
    --secondary-600: #475569;
    --secondary-700: #334155;
    --secondary-800: #1e293b;
    --secondary-900: #0f172a;
    
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-yellow: #f59e0b;
    
    --gradient-primary: linear-gradient(135deg, var(--primary-500) 0%, var(--accent-purple) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-100) 0%, var(--primary-50) 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--secondary-800);
    background: linear-gradient(180deg, #ffffff 0%, var(--secondary-50) 100%);
    font-size: 16px;
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--secondary-800);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--secondary-200);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-800);
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.logo-img {
    height: 32px;
    width: auto;
    transition: var(--transition);
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-logo i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--secondary-600);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-600);
    background: var(--primary-50);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-600);
    background: var(--primary-100);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero {
    background: var(--gradient-secondary);
    color: var(--secondary-800);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--secondary-600);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary-700);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--secondary-200);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 1);
}

.badge i {
    color: var(--primary-500);
}

/* Main Content */
.main-content {
    background: #ffffff;
    position: relative;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--secondary-50);
}

.section h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 3rem;
    text-align: center;
    color: var(--secondary-800);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.section h2 i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.9em;
}

/* Steps Container */
.steps-container {
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 4rem;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--secondary-200);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.step-number {
    background: var(--gradient-primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-800);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.step-content p {
    margin-bottom: 1.5rem;
    color: var(--secondary-600);
    line-height: 1.7;
}

.step-content ul {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.step-content li {
    margin-bottom: 0.75rem;
    color: var(--secondary-600);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.step-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 0.9rem;
}

/* Code Blocks */
.code-block {
    background: var(--secondary-900);
    border: 1px solid var(--secondary-700);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.code-block.small {
    padding: 1.25rem;
}

.code-block pre {
    margin: 0;
    color: #e2e8f0;
}

.code-block code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'SF Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.code-block:hover {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-xl);
}

/* Core Services */
.core-services {
    background: var(--secondary-50);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--secondary-600);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-architecture {
    margin-top: 3rem;
}

.service-layer {
    margin-bottom: 4rem;
}

.layer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-800);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.layer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

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

.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--secondary-200);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-300);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--secondary-100);
    gap: 1rem;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.service-card.apollo .service-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-card.mcp .service-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-card.thermos .service-icon {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.service-card.mercury .service-icon {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.service-card.temporal .service-icon {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
}

.service-card.minio .service-icon {
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
}

.service-card.redis .service-icon {
    background: linear-gradient(135deg, #fdbb2d 0%, #22c1c3 100%);
}

.service-info {
    flex: 1;
}

.service-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-800);
    margin: 0 0 0.25rem 0;
}

.service-version {
    font-size: 0.8rem;
    color: var(--secondary-500);
    background: var(--secondary-100);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
}

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

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

.status-text {
    font-size: 0.85rem;
    color: var(--secondary-600);
    font-weight: 500;
}

.service-description {
    padding: 1.5rem;
    color: var(--secondary-600);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.service-metrics {
    display: flex;
    gap: 1.5rem;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

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

.metric-label {
    font-size: 0.8rem;
    color: var(--secondary-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 0.9rem;
    color: var(--secondary-800);
    font-weight: 600;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'SF Mono', monospace;
}

.service-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid var(--secondary-100);
}

.action-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.action-btn.primary {
    background: var(--primary-500);
    color: white;
}

.action-btn.primary:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.action-btn.secondary {
    background: var(--secondary-100);
    color: var(--secondary-700);
    border: 1px solid var(--secondary-200);
}

.action-btn.secondary:hover {
    background: var(--secondary-200);
    border-color: var(--secondary-300);
    transform: translateY(-1px);
}

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

/* Resource Requirements */
.resource-requirements {
    background: #f8fafc;
}

.requirements-table-container {
    margin-top: 3rem;
    overflow-x: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    background: white;
}

.requirements-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.requirements-table th {
    background: var(--primary-50);
    color: var(--primary-700);
    font-weight: 600;
    padding: 1.5rem 1rem;
    text-align: left;
    border-bottom: 2px solid var(--primary-200);
}

.requirements-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--secondary-200);
    vertical-align: middle;
}

.requirements-table tr:hover {
    background: var(--secondary-50);
}

.minimum-row {
    border-left: 4px solid var(--accent-red);
}

.recommended-row {
    border-left: 4px solid var(--accent-green);
}

.enterprise-row {
    border-left: 4px solid var(--accent-purple);
}

.requirements-table i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.minimum-row i {
    color: var(--accent-red);
}

.recommended-row i {
    color: var(--accent-green);
}

.enterprise-row i {
    color: var(--accent-purple);
}

/* Service Access */
.services-table-container {
    margin-top: 3rem;
    overflow-x: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    background: white;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.services-table th {
    background: var(--primary-50);
    color: var(--primary-700);
    font-weight: 600;
    padding: 1.5rem 1rem;
    text-align: left;
    border-bottom: 2px solid var(--primary-200);
}

.services-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--secondary-200);
    vertical-align: middle;
}

.services-table tr:hover {
    background: var(--secondary-50);
}

.service-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-500);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.service-name {
    font-weight: 600;
    color: var(--secondary-800);
}

.service-type {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.service-type.nodeport {
    background: var(--accent-yellow);
    color: #92400e;
}

.service-type.clusterip {
    background: var(--primary-100);
    color: var(--primary-700);
}

.copy-btn {
    background: var(--primary-500);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.running {
    background: #d1fae5;
    color: #065f46;
}

/* Troubleshooting */
.troubleshooting {
    background: #f8fafc;
}

.troubleshooting-table-container {
    margin-top: 3rem;
    overflow-x: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    background: white;
}

.troubleshooting-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.troubleshooting-table th {
    background: var(--primary-50);
    color: var(--primary-700);
    font-weight: 600;
    padding: 1.5rem 1rem;
    text-align: left;
    border-bottom: 2px solid var(--primary-200);
}

.troubleshooting-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--secondary-200);
    vertical-align: top;
}

.troubleshooting-table tr:hover {
    background: var(--secondary-50);
}

.issue-category {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--secondary-800);
}

.issue-category i {
    font-size: 1.2rem;
    color: var(--primary-500);
}

.issue-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.issue-list li {
    padding: 0.5rem 0;
    color: var(--secondary-600);
    border-bottom: 1px solid var(--secondary-200);
    position: relative;
    padding-left: 1.5rem;
}

.issue-list li:last-child {
    border-bottom: none;
}

.issue-list li:before {
    content: "•";
    color: var(--primary-500);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.fix-btn {
    background: var(--accent-green);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fix-btn:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.doc-link {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.doc-link:hover {
    color: var(--primary-700);
    transform: translateX(2px);
}

/* CTA Section */
.cta {
    background: var(--gradient-secondary);
    color: var(--secondary-800);
    text-align: center;
    border-top: 1px solid var(--secondary-200);
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1.5rem;
    color: var(--secondary-800);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--secondary-600);
    line-height: 1.6;
}

/* Community Section */
.community {
    background: var(--secondary-50);
}

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

.community-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--secondary-200);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.community-card:hover::before {
    transform: scaleX(1);
}

.community-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
    background: rgba(255, 255, 255, 1);
}

.community-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.community-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.3;
    filter: blur(12px);
}

.community-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-800);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.community-card p {
    color: var(--secondary-600);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.community-card .btn {
    margin-top: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-600);
    border: 2px solid var(--primary-200);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary-600);
    color: white;
    border-color: var(--primary-600);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--secondary-900);
    color: var(--secondary-300);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-100);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--secondary-400);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.25rem 0;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--primary-400);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--secondary-700);
    padding-top: 2rem;
    text-align: center;
    color: var(--secondary-500);
    font-size: 0.9rem;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--secondary-600);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.mobile-nav-toggle:hover {
    background: var(--primary-50);
    color: var(--primary-600);
}

.mobile-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--secondary-200);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
}

.mobile-nav-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.mobile-nav-menu .nav-link {
    display: block;
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: var(--border-radius-sm);
    text-align: center;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .step-number {
        align-self: center;
    }
    
    .section h2 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .code-block {
        padding: 1.5rem;
        font-size: 0.85rem;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .community-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .step {
        padding: 1rem;
    }
    
    .feature-card,
    .community-card {
        padding: 1.5rem;
    }
    
    .code-block {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Additional animations and effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(odd) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(even) {
    animation-delay: 0.2s;
}

.step:nth-child(odd) {
    animation-delay: 0.1s;
}

.step:nth-child(even) {
    animation-delay: 0.2s;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.nav-link:focus,
.btn:focus,
.mobile-nav-toggle:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-500);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-600);
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.form-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.form-section h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #3b82f6;
    border-color: #3b82f6;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-weight: bold;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #111827;
    font-weight: 600;
}

.info-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Changelog Styles */
.changelog-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.filter-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.changelog-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.changelog-entry {
    background: white;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border-left: 4px solid #e2e8f0;
}

.changelog-entry.helm {
    border-left-color: #3b82f6;
}

.changelog-entry.docker {
    border-left-color: #8b5cf6;
}

.changelog-entry.breaking {
    border-left-color: #ef4444;
}

.entry-header {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.entry-date {
    font-weight: 600;
    color: #111827;
}

.entry-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6b7280;
}

.breaking-badge {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: bold;
}

.entry-content {
    padding: 1.5rem;
}

.entry-content h3 {
    color: #111827;
    margin-bottom: 1rem;
    font-weight: 600;
}

.entry-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.entry-changes,
.breaking-changes,
.docker-images {
    margin-bottom: 1rem;
}

.entry-changes h4,
.breaking-changes h4,
.docker-images h4 {
    color: #111827;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.entry-changes ul,
.breaking-changes ul {
    list-style: none;
    padding: 0;
}

.entry-changes li,
.breaking-changes li {
    padding: 0.5rem 0;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}

.entry-changes li:last-child,
.breaking-changes li:last-child {
    border-bottom: none;
}

.entry-changes li:before,
.breaking-changes li:before {
    content: "•";
    color: #3b82f6;
    font-weight: bold;
    margin-right: 0.5rem;
}

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

.docker-image {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.docker-image .service {
    font-weight: 600;
    color: #111827;
}

.docker-image .repository {
    font-family: monospace;
    color: #6b7280;
    font-size: 0.9rem;
}

.docker-image .tag {
    color: #3b82f6;
    font-weight: 500;
}

/* Load Test Styles */
.load-test-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.date-range-selector h3,
.test-type-selector h3 {
    color: #111827;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.date-inputs {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
}

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

.date-input-group label {
    font-weight: 500;
    color: #374151;
}

.date-input-group input {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
}

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

.test-type-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.test-type-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.test-type-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

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

.metric-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.metric-icon {
    width: 60px;
    height: 60px;
    background: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.metric-content h3 {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
}

.metric-trend {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.metric-trend.positive {
    color: #10b981;
}

.metric-trend.negative {
    color: #ef4444;
}

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

.chart-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.chart-container h3 {
    color: #111827;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.test-results-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.test-results-table-container {
    overflow-x: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--secondary-200);
}

.test-results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.test-results-table th {
    background: var(--primary-50);
    color: var(--primary-700);
    font-weight: 600;
    padding: 1.25rem 1rem;
    text-align: left;
    border-bottom: 2px solid var(--primary-200);
    position: sticky;
    top: 0;
    z-index: 10;
}

.test-results-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--secondary-200);
    vertical-align: middle;
}

.test-results-table tr:hover {
    background: var(--secondary-50);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-badge.passed {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.warning {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.failed {
    background: #fee2e2;
    color: #991b1b;
}

/* Test Results Table Elements */
.test-id {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'SF Mono', monospace;
    font-size: 0.85rem;
    color: var(--secondary-600);
}

.test-id i {
    color: var(--primary-500);
}

.test-datetime {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.test-date {
    font-weight: 500;
    color: var(--secondary-800);
    font-size: 0.9rem;
}

.test-time {
    font-size: 0.8rem;
    color: var(--secondary-500);
}

.duration-badge {
    background: var(--primary-100);
    color: var(--primary-700);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.users-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.users-info i {
    color: var(--primary-500);
    font-size: 0.9rem;
}

.response-time {
    text-align: right;
}

.response-value {
    font-weight: 600;
    color: var(--secondary-800);
    font-size: 0.9rem;
}

.throughput {
    text-align: right;
}

.throughput-value {
    font-weight: 600;
    color: var(--secondary-800);
    font-size: 0.9rem;
}

.throughput-unit {
    font-size: 0.8rem;
    color: var(--secondary-500);
    margin-left: 0.25rem;
}

.error-rate {
    text-align: right;
    font-weight: 600;
}

.error-rate.low {
    color: var(--accent-green);
}

.error-rate.medium {
    color: var(--accent-yellow);
}

.error-rate.high {
    color: var(--accent-red);
}

.view-btn {
    background: var(--primary-500);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.view-btn:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.detailed-results {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.analysis-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
    padding: 1rem 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #111827;
}

.tab-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

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

.performance-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.performance-card h4 {
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.performance-card .metric-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
}

.metric-description {
    font-size: 0.8rem;
    color: #6b7280;
}

.error-analysis {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
}

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

.error-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
}

.error-type {
    font-weight: 500;
    color: #111827;
}

.error-count {
    background: #3b82f6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-weight: bold;
}

.resource-usage {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.resource-chart h4 {
    color: #111827;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.resource-bar {
    background: #e5e7eb;
    height: 20px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.resource-fill {
    background: #3b82f6;
    height: 100%;
    border-radius: 6px;
    transition: width 0.3s ease;
}

.resource-value {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

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

.recommendation-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.recommendation-icon {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.recommendation-content h4 {
    color: #111827;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.recommendation-content p {
    color: #6b7280;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius-lg);
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--secondary-200);
    background: var(--primary-50);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.modal-header h3 {
    color: var(--primary-700);
    margin: 0;
    font-weight: 600;
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-500);
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
}

.modal-close:hover {
    background: var(--secondary-100);
    color: var(--secondary-700);
}

.modal-body {
    padding: 2rem;
}

.quick-fix-content h4 {
    color: var(--secondary-800);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.quick-fix-content ol,
.quick-fix-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.quick-fix-content li {
    margin-bottom: 0.5rem;
    color: var(--secondary-600);
    line-height: 1.6;
}

.quick-fix-content code {
    background: var(--secondary-100);
    color: var(--secondary-800);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'SF Mono', monospace;
    font-size: 0.9rem;
}

/* Service Details Modal */
.service-details-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-details-content .service-description {
    font-size: 1.1rem;
    color: var(--secondary-700);
    line-height: 1.6;
    margin: 0;
    padding: 1rem;
    background: var(--primary-50);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-500);
}

.service-info-section,
.service-commands-section {
    background: var(--secondary-50);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--secondary-200);
}

.service-info-section h4,
.service-commands-section h4 {
    color: var(--secondary-800);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-info-section h4::before {
    content: '📊';
    font-size: 1.2rem;
}

.service-commands-section h4::before {
    content: '⚡';
    font-size: 1.2rem;
}

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

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: white;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--secondary-200);
}

.info-label {
    font-size: 0.8rem;
    color: var(--secondary-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 0.95rem;
    color: var(--secondary-800);
    font-weight: 600;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'SF Mono', monospace;
}

.commands-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.command-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--secondary-200);
    transition: var(--transition);
}

.command-item:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-sm);
}

.command-code {
    flex: 1;
    background: var(--secondary-900);
    color: var(--secondary-100);
    padding: 0.75rem;
    border-radius: var(--border-radius-sm);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'SF Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.4;
    overflow-x: auto;
}

.copy-command-btn {
    background: var(--primary-500);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.copy-command-btn:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: #6b7280;
}

.detail-value {
    color: #111827;
    font-weight: 500;
}

.test-description h4 {
    color: #111827;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.test-description p {
    color: #6b7280;
    line-height: 1.6;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    animation: slideIn 0.3s ease;
}

.notification.success {
    border-left: 4px solid #10b981;
}

.notification.info {
    border-left: 4px solid #3b82f6;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
}

.notification-content i {
    color: #10b981;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .code-block {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .date-inputs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .test-type-buttons {
        flex-direction: column;
    }
    
    .charts-section {
        grid-template-columns: 1fr;
    }
    
    .analysis-tabs {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    /* Core Services Responsive */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .service-info {
        width: 100%;
    }
    
    .service-status {
        align-self: flex-end;
    }
    
    .service-metrics {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .service-actions {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .action-btn {
        width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .command-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .command-code {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    .copy-command-btn {
        width: 100%;
        height: 40px;
    }
}

/* Services Table Styling */
.services-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.services-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.services-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--primary-color);
}

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

.services-table tr:hover {
    background-color: var(--hover-bg);
    transition: background-color 0.2s ease;
}

.services-table tr:last-child td {
    border-bottom: none;
}

.services-table ul {
    margin: 0;
    padding-left: 1.2rem;
    list-style-type: disc;
}

.services-table li {
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.services-table code {
    background: var(--code-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--code-color);
    font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
}

.services-table strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive table */
@media (max-width: 1200px) {
    .services-table {
        font-size: 0.85rem;
    }
    
    .services-table th,
    .services-table td {
        padding: 0.8rem 0.6rem;
    }
}

@media (max-width: 768px) {
    .services-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .services-table thead,
    .services-table tbody,
    .services-table th,
    .services-table td,
    .services-table tr {
        display: block;
    }
    
    .services-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .services-table tr {
        border: 1px solid var(--border-color);
        margin-bottom: 1rem;
        border-radius: 8px;
        padding: 1rem;
        background: var(--card-bg);
    }
    
    .services-table td {
        border: none;
        position: relative;
        padding-left: 50%;
        white-space: normal;
    }
    
    .services-table td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        color: var(--primary-color);
    }
}
