:root {
    --primary: #4353ff;
    --primary-dark: #3644cc;
    --secondary: #0f172a;
    --accent: #10b981;
    --light: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --border-radius: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.5;
    color: var(--gray-800);
    background-color: var(--light);
    font-weight: 400;
    overflow-x: hidden;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1.0s; }
.delay-6 { transition-delay: 1.2s; }

/* Header */
header {
    background-color: var(--secondary);
    color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.5rem 0;
}

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

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

.logo a {
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo img {
    height: 88px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: white;
}

/* Hero Section */
.hero {
    padding: 0rem 0;
    background: linear-gradient(135deg, #fafbff 0%, white 50%, #f0f9ff 100%);
    position: relative;
    border-bottom: 1px solid #e5e7eb;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(67, 83, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Hero Three-Column Layout */
.kafkapilot-hero-section {
    display: grid;
    grid-template-columns: 2fr auto 2fr;
    gap: 4rem;
    padding: 4rem 2rem;
    align-items: start;
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
}

.kafkapilot-hero-left,
.kafkapilot-hero-right {
    min-width: 0;
    overflow: visible;
    word-wrap: break-word;
}

.kafkapilot-hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-width: 300px;
    max-width: 400px;
    text-align: center;
}

/* Hero Features */
.kafkapilot-hero-features {
    margin-top: 2rem;
}

/* Hero Challenges */
.kafkapilot-hero-challenges {
    margin-top: 2rem;
}

/* Scroll Indicator */
.kafkapilot-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    cursor: default;
}

.kafkapilot-scroll-text {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kafkapilot-scroll-arrows {
    display: flex;
    flex-direction: column;
    gap: -0.5rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

.kafkapilot-scroll-arrows svg {
    width: 1.25rem;
    height: 1.25rem;
    opacity: 0.7;
}

.kafkapilot-scroll-arrows svg:nth-child(2) {
    margin-top: -0.5rem;
    opacity: 0.4;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Hero Center Content */
.kafkapilot-hero-logo {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.kafkapilot-hero-logo img {
    width: 2rem;
    height: 2rem;
    filter: brightness(0) invert(1);
}

.kafkapilot-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 1rem 0;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.kafkapilot-hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin: 0 0 2rem 0;
    line-height: 1.6;
    font-weight: 400;
}



.kafkapilot-hero-cta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Legacy hero card styles for backward compatibility */
.hero-card {
    background: transparent;
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: none;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
}



.hero-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 50%, var(--accent) 100%);
    color: white;
    padding: 0.625rem 2rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    box-shadow: 
        0 4px 12px rgba(67, 83, 255, 0.2),
        0 2px 8px rgba(16, 185, 129, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-badge::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: left 0.6s ease;
}

.hero-badge:hover::before {
    left: 100%;
}

.hero-badge:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 16px rgba(67, 83, 255, 0.25),
        0 4px 12px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.badge-text {
    position: relative;
    z-index: 1;
}

.hero-card h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.hero-card p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* =================================================================
   KAFKAPILOT BUTTON SYSTEM
   =================================================================
   
   A comprehensive button design system with consistent styling:
   
   • .primary-btn    - Main call-to-action buttons with gradient & animations
   • .secondary-btn  - Secondary actions with gradient border effect
   • .default-btn    - Neutral buttons for general use cases
   • .success-btn    - Success actions (confirmations, saves)
   • .danger-btn     - Destructive actions (delete, remove)
   
   All buttons include:
   - Consistent padding, typography, and border-radius
   - Smooth hover animations with transform and shadow effects
   - Mobile-responsive sizing
   - Accessibility features (focus states, cursor pointer)
   - Gradient backgrounds with depth and polish
   
   ================================================================= */

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

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 50%, var(--accent) 100%);
    color: white;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.025em;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    box-shadow: 
        0 4px 12px rgba(67, 83, 255, 0.2),
        0 2px 8px rgba(16, 185, 129, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

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

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

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(67, 83, 255, 0.25),
        0 6px 16px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #3b82f6 0%, var(--accent) 50%, var(--primary) 100%);
}

.primary-btn:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    color: var(--primary);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.025em;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.secondary-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 50%, var(--accent) 100%);
    border-radius: 12px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.secondary-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.secondary-btn:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Default Button - Versatile neutral button */
.default-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(145deg, var(--gray-100), var(--gray-200));
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid var(--gray-300);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.default-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(145deg, var(--gray-200), var(--gray-300));
    color: var(--gray-800);
    box-shadow: 
        0 3px 8px rgba(0, 0, 0, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-color: var(--gray-400);
}

.default-btn:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Success Button */
.success-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, #059669 50%, #047857 100%);
    color: white;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.025em;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(16, 185, 129, 0.25),
        0 2px 4px rgba(16, 185, 129, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(16, 185, 129, 0.3),
        0 4px 8px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #059669 0%, var(--accent) 50%, #10b981 100%);
}

/* Danger Button */
.danger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    color: white;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.025em;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(239, 68, 68, 0.25),
        0 2px 4px rgba(239, 68, 68, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.danger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(239, 68, 68, 0.3),
        0 4px 8px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
}

/* Button Mobile Responsiveness */
@media (max-width: 768px) {
    .primary-btn,
    .secondary-btn,
    .default-btn,
    .success-btn,
    .danger-btn {
        padding: 1rem 1.75rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
        border-radius: 12px;
    }
    
    .default-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    
    .cta {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-badge {
        padding: 0.5rem 1.75rem;
        font-size: 0.75rem;
        letter-spacing: 0.75px;
    }
}

@media (max-width: 480px) {
    .primary-btn,
    .secondary-btn,
    .success-btn,
    .danger-btn {
        padding: 1.125rem 2rem;
        font-size: 1.125rem;
        font-weight: 700;
        border-radius: 14px;
    }
    
    .default-btn {
        padding: 1rem 1.75rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 12px;
    }
    
    .hero-badge {
        padding: 0.5rem 1.5rem;
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }
    
    .subscribe-form button {
        padding: 1.125rem 2.5rem;
        font-size: 1.125rem;
    }
}

/* Integrations Section */
.integrations {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

.integrations h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.compatibility-highlight {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.compatibility-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.compatibility-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.compatibility-icon svg {
    width: 40px;
    height: 40px;
}

.compatibility-highlight h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.compatibility-highlight p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.platforms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.platform-tag {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(67, 83, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.platform-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 83, 255, 0.3);
}

.platform-tag:last-child {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    font-weight: 600;
}

.platforms-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.platform-category h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.platform-note {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 1rem;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Architecture Section */
.architecture {
    padding: 5rem 0;
    background-color: white;
}

.architecture h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.architecture p {
    font-size: 1.125rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.kafka-cluster-section,
.kafkapilot-section {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.kafka-cluster-section::before,
.kafkapilot-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

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

.section-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 12px;
}

.kafka-icon {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 2px solid var(--gray-300);
}

.kafkapilot-icon {
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    border: 2px solid var(--primary);
}

.section-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.kafkapilot-icon img {
    /* Removed filter to show the actual KafkaPilot icon colors */
}

.section-icon svg {
    width: 32px;
    height: 32px;
}

.section-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin: 0;
}

.cluster-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.broker-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: var(--gray-100);
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.broker-item:hover {
    background-color: var(--gray-200);
}

.broker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    flex-shrink: 0;
    position: relative;
    animation: pulse 2s infinite;
}

.broker-dot::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background-color: var(--accent);
    opacity: 0.3;
    animation: ping 2s infinite;
}

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

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    75%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.broker-status {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.broker-status.active {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--accent);
}

.cluster-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric {
    text-align: center;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.metric-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

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

.connection-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
    min-width: 200px;
    background: linear-gradient(135deg, #f8fafc, white);
    border-radius: 16px;
    padding: 2rem;
    border: 2px dashed var(--gray-300);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.flow-line {
    width: 120px;
    height: 6px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 3px;
    margin-bottom: 1rem;
    position: relative;
    overflow: visible;
    box-shadow: 0 0 12px rgba(67, 83, 255, 0.3);
}

.data-stream {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 6px;
    border-radius: 3px;
}

.data-packet {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.9));
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.8), 0 0 8px var(--primary);
    animation: dataFlowHorizontal 2.5s infinite linear;
    border: 2px solid var(--primary);
}

.data-packet:nth-child(1) { animation-delay: 0s; }
.data-packet:nth-child(2) { animation-delay: 0.5s; }
.data-packet:nth-child(3) { animation-delay: 1.0s; }
.data-packet:nth-child(4) { animation-delay: 1.5s; }
.data-packet:nth-child(5) { animation-delay: 2.0s; }

@keyframes dataFlowHorizontal {
    0% {
        left: -12px;
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }
    10% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    100% {
        left: calc(100% + 12px);
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }
}

.flow-label {
    text-align: center;
    margin-bottom: 1rem;
}

.protocol-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

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

.flow-details span {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
}

.flow-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.flow-arrow svg {
    width: 20px;
    height: 20px;
}

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

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

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.25rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 100px;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-content {
    width: 100%;
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.4;
}

/* Documentation Section */
.documentation {
    padding: 8rem 0;
    background: linear-gradient(135deg, #fafbff 0%, white 50%, #f0f9ff 100%);
    position: relative;
}

.documentation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(67, 83, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.documentation-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.documentation-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.documentation-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

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

/* Documentation Overview */
.documentation-overview {
    position: relative;
}

.documentation-intro h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.documentation-intro p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.api-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.api-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.api-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.api-feature-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.api-feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.api-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.api-feature p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
}

/* Documentation Interactive */
.documentation-interactive {
    position: relative;
}

.doc-container {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.doc-header {
    padding: 2rem 2rem 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.doc-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.doc-header p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

.doc-content-simple {
    padding: 0;
}

.doc-redirect {
    padding: 3rem;
    text-align: center;
}

.doc-redirect-content {
    max-width: 400px;
    margin: 0 auto;
}

.doc-redirect-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.doc-redirect-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.doc-redirect h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.doc-redirect p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.doc-redirect-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.doc-redirect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 83, 255, 0.25);
}

.doc-redirect-btn .btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.doc-redirect-btn:hover .btn-icon {
    transform: translateX(2px);
}

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

/* Removed old ReDoc embedding styles - now using simple redirect button */

/* Responsive Design */
@media (max-width: 1024px) {
    .documentation-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .documentation {
        padding: 4rem 0;
    }
    
    .documentation-header h2 {
        font-size: 2rem;
    }
    
    .documentation-header p {
        font-size: 1rem;
    }
    
    .documentation-content {
        gap: 2rem;
    }
    
    .doc-container {
        border-radius: 12px;
    }
    
    .doc-redirect {
        padding: 2rem;
    }
    
    .doc-redirect-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .doc-redirect-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .doc-redirect h4 {
        font-size: 1.25rem;
    }
    
    .doc-redirect-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .documentation {
        padding: 3rem 0;
    }
    
    .documentation-header h2 {
        font-size: 1.75rem;
    }
    
    .documentation-content {
        gap: 1.5rem;
    }
    
    .api-feature {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .api-feature-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .api-feature-icon svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .doc-redirect {
        padding: 1.5rem;
    }
    
    .doc-redirect-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .doc-redirect-icon svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .doc-redirect h4 {
        font-size: 1.125rem;
    }
    
    .doc-redirect p {
        font-size: 0.9rem;
    }
    
    .doc-redirect-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Pricing Section */
.pricing {
    padding: 8rem 0;
    background: linear-gradient(135deg, #fafbff 0%, white 50%, #f0f9ff 100%);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(67, 83, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.pricing-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.pricing-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pricing Tiers */
.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.pricing-tier {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid var(--gray-200);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-tier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gray-300), var(--gray-400));
    transition: all 0.3s ease;
}

.pricing-tier:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
}

.pricing-tier:hover::before {
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.pricing-tier.popular {
    transform: scale(1.05);
    border-color: var(--primary);
    background: linear-gradient(145deg, #ffffff, #fafbff);
    box-shadow: 
        0 15px 35px rgba(67, 83, 255, 0.15),
        0 6px 15px rgba(67, 83, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.pricing-tier.popular::before {
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.pricing-tier.popular:hover {
    transform: scale(1.05) translateY(-6px);
    box-shadow: 
        0 25px 50px rgba(67, 83, 255, 0.2),
        0 10px 20px rgba(67, 83, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.tier-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 50%, var(--accent) 100%);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 12px rgba(67, 83, 255, 0.3),
        0 2px 6px rgba(67, 83, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tier-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.tier-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.tier-price {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
}

.tier-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-left: 0.25rem;
}

.tier-features {
    flex: 1;
}

.tier-features ul {
    list-style: none;
    margin-bottom: 2.5rem;
}

.tier-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.5;
}

.tier-features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
    margin-right: 1rem;
    width: 18px;
    height: 18px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.tier-cta {
    margin-top: auto;
}

.tier-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: linear-gradient(145deg, var(--gray-100), var(--gray-200));
    color: var(--gray-700);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid var(--gray-300);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.tier-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, var(--gray-200), var(--gray-300));
    color: var(--gray-800);
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-color: var(--gray-400);
}

.tier-btn.primary {
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 50%, var(--accent) 100%);
    color: white;
    border: none;
    box-shadow: 
        0 4px 12px rgba(67, 83, 255, 0.25),
        0 2px 6px rgba(16, 185, 129, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.tier-btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.tier-btn.primary:hover::before {
    left: 100%;
}

.tier-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(67, 83, 255, 0.3),
        0 4px 12px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #3b82f6 0%, var(--accent) 50%, var(--primary) 100%);
}

/* Enterprise Tier */
.enterprise-tier {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: white;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

.enterprise-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.enterprise-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

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

.feature-column h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-column ul {
    list-style: none;
    text-align: left;
}

.feature-column li {
    padding: 0.25rem 0;
    opacity: 0.9;
}

.feature-column li::before {
    content: "→";
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Pricing Notes */
.pricing-notes {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.08),
        0 6px 15px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid var(--gray-200);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.pricing-notes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

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

.note-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1rem 0;
}

.note-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 50%, var(--accent) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 
        0 4px 12px rgba(67, 83, 255, 0.25),
        0 2px 6px rgba(16, 185, 129, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.note-icon svg {
    width: 22px;
    height: 22px;
}

.note-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.note-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
}

.pricing-tax-note {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.pricing-tax-note p {
    margin: 0;
    color: var(--gray-500);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing {
        padding: 4rem 0;
    }
    
    .pricing-header h2 {
        font-size: 2rem;
    }
    
    .pricing-tiers {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-tier {
        padding: 2rem;
        border-radius: 16px;
    }
    
    .pricing-tier.popular {
        transform: none;
    }
    
    .pricing-tier.popular:hover {
        transform: translateY(-4px);
    }
    
    .tier-header h3 {
        font-size: 1.5rem;
    }
    
    .tier-price {
        font-size: 2.25rem;
    }
    
    .tier-btn {
        padding: 1.125rem 2rem;
        font-size: 1.05rem;
        border-radius: 12px;
    }
    
    .enterprise-tier {
        padding: 2rem;
    }
    
    .enterprise-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-notes {
        padding: 2rem;
        border-radius: 16px;
    }
    
    .notes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .note-icon {
        width: 44px;
        height: 44px;
    }
    
    .note-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .note-content h4 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .pricing {
        padding: 3rem 0;
    }
    
    .pricing-header h2 {
        font-size: 1.75rem;
    }
    
    .pricing-header p {
        font-size: 1rem;
    }
    
    .pricing-tiers {
        gap: 1.25rem;
    }
    
    .pricing-tier {
        padding: 1.75rem;
        border-radius: 14px;
    }
    
    .tier-header h3 {
        font-size: 1.375rem;
    }
    
    .tier-price {
        font-size: 2rem;
    }
    
    .tier-btn {
        padding: 1.25rem 2rem;
        font-size: 1.125rem;
        font-weight: 700;
        border-radius: 14px;
    }
    
    .pricing-notes {
        padding: 1.75rem;
        border-radius: 14px;
    }
    
    .notes-grid {
        gap: 1.75rem;
    }
    
    .note-item {
        gap: 1rem;
    }
    
    .note-icon {
        width: 40px;
        height: 40px;
    }
    
    .note-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .note-content h4 {
        font-size: 1rem;
    }
    
    .note-content p {
        font-size: 0.875rem;
    }
}

/* Deployment Section */
.deployment {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fafbff 0%, white 50%, #f0f9ff 100%);
}

.deployment h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 1rem;
}

.deployment > .container > p {
    font-size: 1.125rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.deployment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.deployment-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.deployment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.deployment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.deployment-icon {
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 16px;
    padding: 1rem;
}

.deployment-icon img {
    width: 64px;
    height: 64px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.deployment-card:hover .deployment-icon img {
    transform: scale(1.1);
}

.deployment-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.deployment-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.deployment-command {
    background: linear-gradient(135deg, #fafbff, white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.deployment-command:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(67, 83, 255, 0.1);
    transform: translateY(-1px);
}

.deployment-command code {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
    display: block;
    text-align: center;
    font-style: italic;
}

.deployment-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.docker-hub-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(67, 83, 255, 0.3);
}

.docker-hub-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 83, 255, 0.4);
    text-decoration: none;
    color: white;
}

.external-link-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

/* Features Showcase Section */
.features-showcase {
    padding: 8rem 0;
    background: linear-gradient(135deg, #fafbff 0%, white 50%, #f0f9ff 100%);
    position: relative;
    overflow: visible;
}

.features-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 100, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 200, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.features-intro {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.features-intro p {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

/* Feature Flow Steps */
.feature-flow {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    margin-bottom: 8rem;
}

.feature-step {
    position: relative;
}

.step-content {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 6rem;
    align-items: flex-start;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.step-content.reverse {
    grid-template-columns: 1.6fr 1fr;
}

.step-content.reverse .step-header {
    order: 2;
}

.step-content.reverse .step-visual {
    order: 1;
}

.step-header {
    padding: 2rem 0;
    max-width: 500px;
}

.step-number {
    display: inline-block;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 100, 255, 0.25);
}

.step-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.step-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.step-visual {
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    width: 100%;
    padding: 2rem 0;
}

/* Connection Demo */
.connection-demo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.kafka-cluster, .kafkapilot-instance {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.cluster-icon, .instance-icon {
    width: 64px;
    height: 64px;
    background: var(--gray-100);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cluster-icon img, .instance-icon img {
    width: 32px;
    height: 32px;
}

.cluster-info h4, .instance-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.cluster-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    justify-content: center;
    flex-wrap: wrap;
}

.cluster-stats span {
    background: var(--gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.connection-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 0 2rem;
}

.data-flow {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.data-flow::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: dataFlowAnimation 2s infinite;
}

@keyframes dataFlowAnimation {
    0% { left: -100%; }
    100% { left: 100%; }
}

.protocol-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
    font-weight: 500;
}

.status-indicator {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

.status-indicator.connected {
    background: #dcfce7;
    color: #16a34a;
}

/* Real Dashboard Screenshots - SIMPLIFIED */
.monitoring-demo {
    width: 100%;
}

.real-dashboard-preview {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
}

.dashboard-window {
    background: white;
}

.window-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.window-controls {
    display: none;
}

.control {
    display: none;
}

.window-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
}

.dashboard-content {
    background: white;
}

.dashboard-grid {
    display: block;
}

.screenshot-container {
    width: 100%;
    background: white;
}

.dashboard-screenshot {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-width: 100%;
    transform: scale(1.1);
    transform-origin: center;
}

/* Optimization Screenshots - SIMPLIFIED */
.optimization-demo {
    width: 100%;
}

.real-optimization-preview {
    max-width: 1700px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
}

.optimization-window {
    background: white;
}

.optimization-header {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.optimization-header .window-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
}

.screenshot-container.optimization {
    background: white;
}

.optimization-screenshot {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-width: 100%;
    transform: scale(1.15);
    transform-origin: center;
}

.optimization-actions {
    padding: 2rem;
    background: linear-gradient(135deg, #f0fdf4, #f8fafc);
    display: flex;
    gap: 2rem;
    border-top: 1px solid #bbf7d0;
    align-items: stretch;
    position: relative;
}

.optimization-actions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    opacity: 0.7;
}

.manual-operations, .automated-operations {
    flex: 1;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
}

.manual-operations, .automated-operations {
    background: linear-gradient(135deg, #f0fdf4, #ffffff);
    border-color: #bbf7d0;
}

.operations-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.manual-operations .operations-header,
.automated-operations .operations-header {
    background: linear-gradient(135deg, #dcfce7, #f0fdf4);
    border-bottom-color: #bbf7d0;
}

.operations-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.25rem;
}

.operations-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
}

.action-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #334155;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: all 0.2s ease;
    min-height: 70px;
    cursor: default;
    position: relative;
    pointer-events: none;
}

.action-group .action-item:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
}

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

.action-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.action-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.3;
}

/* Manual Operations Actions */
.manual-operations .action-item:hover {
    background: rgba(16, 185, 129, 0.05);
    transform: translateX(4px);
}

.manual-operations .action-icon {
    background: #10b981;
}

.manual-operations .action-item:first-child .action-icon {
    background: #10b981;
}

.manual-operations .action-item:last-child .action-icon {
    background: var(--primary);
}

/* Automated Operations Actions */
.automated-operations .action-item:hover {
    background: rgba(16, 185, 129, 0.05);
    transform: translateX(4px);
}

.automated-operations .action-icon {
    background: #059669;
}

/* Flow Arrow from Manual to Automated */
.manual-operations::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -14px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #059669;
    transform: translateY(-50%);
    z-index: 2;
}

/* Arrow within Manual Operations */
.manual-operations .action-group .action-item:first-child::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #10b981;
    transform: translateX(-50%);
    z-index: 1;
}

.action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    color: white;
    flex-shrink: 0;
}

.action-icon svg {
    width: 16px;
    height: 16px;
}

.insight-callout {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 280px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.status-badge.analyzing {
    background: #dbeafe;
    color: #1d4ed8;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #059669;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

/* Step Content Layout - SIMPLIFIED */
.step-content {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.step-content.reverse {
    grid-template-columns: 1.6fr 1fr;
}

.step-header {
    padding: 2rem 0;
}

.step-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive Layout - Improved for KafkaPilot Mockups */
@media (max-width: 1200px) {
    .step-content,
    .step-content.reverse {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .step-content.reverse .step-visual {
        order: 2;
    }
    
    .step-content.reverse .step-header {
        order: 1;
    }
    
    .real-dashboard-preview,
    .real-optimization-preview {
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }
    
    .step-visual {
        padding: 1rem 0;
    }
}

@media (max-width: 900px) {
    .step-content,
    .step-content.reverse {
        gap: 3rem;
        padding: 0 1rem;
    }
    
    .step-header {
        padding: 1.5rem 0;
    }
    
    .step-header h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .step-content,
    .step-content.reverse {
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .real-dashboard-preview,
    .real-optimization-preview {
        margin: 0;
    }
    
    .step-header h3 {
        font-size: 1.5rem;
    }
    
    .step-header p {
        font-size: 1rem;
    }
    
    .optimization-actions {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .manual-operations, .automated-operations {
        flex: none;
    }
    
    .action-item {
        padding: 1rem 1.25rem;
        min-height: 60px;
    }
    
    .action-title {
        font-size: 0.85rem;
    }
    
    .action-subtitle {
        font-size: 0.75rem;
    }
    
    .operations-title {
        font-size: 0.85rem;
    }
    
    .operations-subtitle {
        font-size: 0.7rem;
    }
    
    .manual-operations::after,
    .manual-operations .action-group .action-item:first-child::after {
        display: none;
    }
    
    .manual-operations {
        margin-bottom: 1rem;
    }
    
    .dashboard-screenshot {
        transform: scale(1.05);
    }
    
    .optimization-screenshot {
        transform: scale(1.08);
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .action-item {
        padding: 0.875rem 1rem;
        min-height: 55px;
    }
    
    .action-title {
        font-size: 0.8rem;
    }
    
    .action-subtitle {
        font-size: 0.7rem;
    }
    
    .action-icon {
        width: 26px;
        height: 26px;
    }
    
    .action-icon svg {
        width: 13px;
        height: 13px;
    }
}

/* Capabilities Section */
.capabilities-section {
    text-align: center;
    margin-top: 0;
    padding: 4rem 0;
    background: linear-gradient(135deg, #fafbff 0%, white 50%, #f0f9ff 100%);
    position: relative;
}

.capabilities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(67, 83, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.capabilities-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

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

.capability-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.capability-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    color: white;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(67, 83, 255, 0.3);
}

.capability-icon svg {
    width: 32px;
    height: 32px;
}

.capability-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.capability-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Legacy Features Section - Keep for backwards compatibility */
.features {
    padding: 5rem 0;
    background-color: white;
}

.features h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

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

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 48px;
    height: 48px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.feature-card p {
    color: var(--gray-600);
}

/* VS Section */
.vs-section {
    margin-top: 4rem;
}

.vs-section h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-intro {
    font-size: 1.125rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.modern-comparison {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: linear-gradient(135deg, var(--gray-50), white);
    border-bottom: 2px solid var(--gray-200);
}

.header-cell {
    padding: 2rem 1.5rem;
    text-align: center;
}

.feature-col {
    background-color: var(--gray-100);
    font-weight: 600;
    color: var(--secondary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.product-tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cruise .product-name {
    color: var(--gray-700);
}

.cruise .product-tag {
    background-color: #fef2f2;
    color: #dc2626;
}

.kafkapilot .product-name {
    color: var(--primary);
}

.kafkapilot .product-tag {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.comparison-section {
    border-bottom: 1px solid var(--gray-200);
}

.section-title {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    border-bottom: 1px solid var(--gray-200);
}

.comparison-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid var(--gray-100);
    transition: background-color 0.2s ease;
}

.comparison-item:hover {
    background-color: var(--gray-50);
}

.comparison-item.highlight {
    background: linear-gradient(135deg, rgba(67, 83, 255, 0.02), rgba(16, 185, 129, 0.02));
}

.comparison-item.highlight:hover {
    background: linear-gradient(135deg, rgba(67, 83, 255, 0.05), rgba(16, 185, 129, 0.05));
}

.feature-name {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    background-color: var(--gray-50);
    display: flex;
    align-items: center;
    border-right: 1px solid var(--gray-200);
}

.cruise-value,
.kafkapilot-value {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 80px;
    transition: background-color 0.2s ease;
}

.cruise-value {
    background-color: #fefefe;
    border-right: 1px solid var(--gray-200);
}

.kafkapilot-value {
    background: linear-gradient(135deg, rgba(67, 83, 255, 0.02), rgba(16, 185, 129, 0.02));
}

.comparison-item:hover .cruise-value {
    background-color: var(--gray-50);
}

.comparison-item:hover .kafkapilot-value {
    background: linear-gradient(135deg, rgba(67, 83, 255, 0.05), rgba(16, 185, 129, 0.05));
}

.status-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.status-icon.good {
    color: var(--accent);
}

.status-icon.bad {
    color: #dc2626;
}

.status-icon.neutral {
    color: #3b82f6;
}

.status-icon.star {
    color: var(--primary);
}

.status-text {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--secondary);
    font-weight: 500;
}

.comparison-footer {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 2.5rem;
    text-align: center;
}

.footer-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-row {
    display: flex;
    justify-content: center;
}

.comparison-cta {
    background-color: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.1rem;
}

.comparison-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Subscribe Section */
.subscribe {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fafbff 0%, white 50%, #f0f9ff 100%);
    text-align: center;
    position: relative;
}

.subscribe h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.subscribe p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 1rem;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

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

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

.subscribe-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.subscribe-form input,
.subscribe-form select,
.subscribe-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    outline: none;
    background: white;
    font-family: inherit;
}

.subscribe-form input:focus,
.subscribe-form select:focus,
.subscribe-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 83, 255, 0.1);
}

.subscribe-form select {
    cursor: pointer;
}

.subscribe-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Turnstile widget styling */
.subscribe-form .cf-turnstile {
    margin: 0.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ensure Turnstile widget fits nicely in the form layout */
.subscribe-form .cf-turnstile > div {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
}

.subscribe-form .cf-turnstile > div:hover {
    box-shadow: var(--shadow);
}

.trial-license-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff, #ecfdf5);
    border-radius: 12px;
    border: 1px solid #e0f2fe;
}

.trial-option {
    position: relative;
}

.trial-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 2;
}

.trial-option label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.trial-option input[type="radio"]:checked + label {
    border-color: var(--primary);
    background: linear-gradient(135deg, #fafbff, white);
    box-shadow: 0 4px 12px rgba(67, 83, 255, 0.1);
}

.trial-badge,
.inquiry-badge {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
}

.trial-badge {
    color: var(--accent);
}

.trial-description,
.inquiry-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.4;
}

.trial-option:hover label {
    border-color: var(--primary);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .trial-license-section {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .trial-option label {
        padding: 0.875rem;
    }
    
    .trial-badge,
    .inquiry-badge {
        font-size: 0.9rem;
    }
    
    .trial-description,
    .inquiry-description {
        font-size: 0.8rem;
    }
}

.subscribe-form button {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 50%, var(--accent) 100%);
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: center;
    font-size: 1.125rem;
    box-shadow: 
        0 6px 16px rgba(67, 83, 255, 0.2),
        0 3px 8px rgba(16, 185, 129, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.subscribe-form button::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: left 0.6s ease;
}

.subscribe-form button:hover:not(:disabled)::before {
    left: 100%;
}

.subscribe-form button:hover:not(:disabled) {
    background: linear-gradient(135deg, #3b82f6 0%, var(--accent) 50%, var(--primary) 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 10px 24px rgba(67, 83, 255, 0.25),
        0 6px 16px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.subscribe-form button.ready {
    background-color: var(--accent);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.subscribe-form button.ready:hover {
    background-color: #0d9488;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.subscribe-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.subscribe-form button.loading {
    background-color: var(--gray-400);
    cursor: wait;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

.form-loading {
    opacity: 0.6;
    pointer-events: none;
}

.disclaimer {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.disclaimer-link {
    color: var(--primary);
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.disclaimer-link:hover {
    text-decoration: underline;
}

.success-message {
    background: linear-gradient(145deg, #ecfdf5, #f0fdf4);
    border: 2px solid var(--accent);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.1);
    position: relative;
    overflow: hidden;
}

.success-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
    }
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

.success-message h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.success-message p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.success-details {
    background: rgba(16, 185, 129, 0.1);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.success-details small {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.success-details strong {
    color: var(--accent);
    font-weight: 600;
}

.error-message {
    background: linear-gradient(145deg, #fef2f2, #fef7f7);
    border: 2px solid #ef4444;
    padding: 1.5rem;
    border-radius: 16px;
    margin-top: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: errorShake 0.5s ease-in-out;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.error-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.error-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.error-icon svg {
    width: 24px;
    height: 24px;
}

.error-message p {
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.error-message small {
    color: #991b1b;
    font-size: 0.875rem;
    opacity: 0.8;
}


/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-logo a {
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-logo a:hover {
    opacity: 0.8;
}

.footer-logo img {
    height: 64px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-logo .trademark-notice {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--gray-400);
    margin-top: 1rem;
    max-width: 300px;
    opacity: 0.8;
    text-align: center;
}

.footer-links ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-card {
        padding: 3rem 2rem;
        margin: 0 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    /* Improved Comparison Table for Tablet/Desktop */
    .modern-comparison {
        margin: 0 1rem;
    }
    
    .comparison-header {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .header-cell {
        padding: 1.5rem 1rem;
    }
    
    .product-badge {
        gap: 0.25rem;
    }
    
    .product-name {
        font-size: 1rem;
    }
    
    .product-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .comparison-item {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .feature-name {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .cruise-value,
    .kafkapilot-value {
        padding: 1rem;
        min-height: 70px;
    }
    
    .status-text {
        font-size: 0.85rem;
    }
    
    .section-title {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .comparison-footer {
        padding: 2rem 1rem;
    }
    
    .footer-content h4 {
        font-size: 1.25rem;
    }
    
    .footer-content p {
        font-size: 1rem;
    }
}

/* Responsive Styles for Features Showcase */
@media (max-width: 1024px) {
    .features-showcase {
        padding: 4rem 0;
    }
    
    .feature-flow {
        gap: 4rem;
    }
    
    .step-content {
        gap: 3rem;
    }
    
    .capabilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .features-showcase {
        padding: 3rem 0;
    }
    
    .features-intro {
        margin-bottom: 4rem;
    }
    
    .features-intro h2 {
        font-size: 2.25rem;
    }
    
    .features-intro p {
        font-size: 1.125rem;
    }
    
    .feature-flow {
        gap: 3rem;
    }
    
    .step-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .step-content.reverse .step-header {
        order: 1;
    }
    
    .step-content.reverse .step-visual {
        order: 2;
        margin: 2rem 0;
    }
    
    .step-header {
        max-width: 100%;
    }
    
    .step-visual {
        margin: 2rem 0;
        overflow: visible;
    }
    
    .dashboard-screenshot {
        max-width: 100%;
    }
    
    .optimization-screenshot {
        max-width: 100%;
    }
    
    .step-header {
        padding: 1rem 0;
    }
    
    .step-header h3 {
        font-size: 1.75rem;
    }
    
    .step-header p {
        font-size: 1rem;
    }
    
    .connection-demo {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    
    .connection-line {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .data-flow {
        width: 80px;
    }
    
    .real-dashboard-preview {
        max-width: 100%;
        backdrop-filter: none;
    }
    
    .real-optimization-preview {
        max-width: 100%;
        backdrop-filter: none;
    }
    
    .dashboard-screenshot {
        /* Remove fixed aspect ratio for mobile */
    }
    
    .optimization-screenshot {
        aspect-ratio: 16/10;
    }
    
    .window-header {
        padding: 0.75rem 1rem;
        justify-content: center;
    }
    
    .window-header::before {
        display: none;
    }
    
    .window-title {
        font-size: 0.8rem;
    }
    
    .live-indicator {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .optimization-header {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .optimization-header::before {
        display: none;
    }
    
    .insight-callout {
        position: static;
        margin-bottom: 1rem;
        max-width: none;
    }
    
    .dashboard-grid {
        gap: 2px;
    }
    
    .dashboard-content {
        padding: 1rem;
    }
    
    .dashboard-content::before {
        display: none;
    }
    
    .optimization-actions {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .optimization-actions::before {
        display: none;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .capability-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .features-showcase {
        padding: 2rem 0;
    }
    
    .features-intro {
        margin-bottom: 3rem;
    }
    
    .features-intro h2 {
        font-size: 1.875rem;
    }
    
    .features-intro p {
        font-size: 1rem;
    }
    
    .feature-flow {
        gap: 2.5rem;
    }
    
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }
    
    .step-header h3 {
        font-size: 1.5rem;
    }
    
    .connection-demo {
        padding: 1.5rem;
    }
    
    .cluster-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .window-header {
        padding: 0.5rem 0.75rem;
    }
    
    .window-controls {
        display: none;
    }
    
    .control {
        display: none;
    }
    
    .window-title {
        font-size: 0.75rem;
    }
    
    .live-indicator {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
        gap: 0.375rem;
    }
    
    .pulse-dot {
        width: 6px;
        height: 6px;
    }
    
    .optimization-header {
        padding: 0.75rem 1rem;
    }
    
    .optimization-header h4 {
        font-size: 1rem;
    }
    
    .status-badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .dashboard-screenshot {
        /* Remove fixed aspect ratio for small mobile */
    }
    
    .optimization-screenshot {
        aspect-ratio: 4/3;
    }
    
    .dashboard-grid {
        gap: 2px;
    }
    
    .screenshot-container.optimization {
        padding: 0;
    }
    
    .insight-callout {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }
    
    .callout-content strong {
        font-size: 0.8rem;
    }
    
    .callout-content span {
        font-size: 0.75rem;
    }
    
    .optimization-actions {
        padding: 0.75rem 1rem;
    }
    
    .action-item {
        font-size: 0.9rem;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        justify-content: center;
        text-align: center;
    }
    
    .action-icon {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .capabilities-section h3 {
        font-size: 1.75rem;
    }
    
    .capability-card {
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
    
    .logo {
        align-self: center;
    }
    
    .logo img {
        height: 60px;
    }

    nav ul {
        gap: 1rem;
        justify-content: center;
    }
    
    .hero-card {
        padding: 2.5rem 1.5rem;
        margin: 0 0.5rem;
        border-radius: 16px;
    }
    
    .hero-card h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem 0.75rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .compatibility-highlight {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .platforms-list {
        gap: 0.5rem;
    }

    .platform-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Mobile Comparison Table - Clean Stacked Design */
    .modern-comparison {
        margin: 2rem 0.75rem 0 0.75rem;
        border-radius: 12px;
        overflow: hidden;
        background: white;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        border: 1px solid var(--gray-200);
    }
    
    .comparison-header {
        display: none; /* Hide traditional header on mobile */
    }
    
    .comparison-section .section-title {
        background: linear-gradient(135deg, var(--secondary), #1e293b);
        color: white;
        margin: 2rem 0 0 0;
        padding: 1rem;
        font-size: 0.9rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        text-align: center;
        border-radius: 0;
        position: relative;
        display: block;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .comparison-section:first-child .section-title {
        margin-top: 0;
        border-radius: 12px 12px 0 0;
    }
    
    .comparison-section:last-child {
        border-radius: 0 0 12px 12px;
        overflow: hidden;
    }
    

    
    .comparison-section {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .comparison-item {
        display: grid;
        grid-template-columns: 1fr;
        border-bottom: none;
        margin-bottom: 0;
        background: white;
        border-radius: 0;
        box-shadow: none;
        border: none;
        border-bottom: 1px solid var(--gray-100);
        overflow: hidden;
    }
    
    .comparison-item:last-child {
        border-bottom: none;
    }
    
    .comparison-item.highlight {
        background: linear-gradient(135deg, #fefbff, #f8f4ff);
        border-left: 4px solid var(--primary);
        position: relative;
    }
    
    .comparison-item.highlight .feature-name::after {
        content: "KEY FEATURE";
        position: absolute;
        top: 0;
        right: 0;
        background: var(--primary);
        color: white;
        font-size: 0.6rem;
        font-weight: 700;
        padding: 0.3rem 0.6rem;
        border-radius: 0 0 0 8px;
        letter-spacing: 0.4px;
        text-transform: uppercase;
    }
    
    .feature-name {
        padding: 1.25rem 1rem;
        background: linear-gradient(135deg, #f8fafc, #f1f5f9);
        color: var(--secondary);
        font-weight: 700;
        font-size: 1rem;
        text-align: center;
        line-height: 1.3;
        letter-spacing: -0.02em;
        border-bottom: 3px solid var(--gray-300);
        margin: 0;
        position: relative;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    }
    

    
    .comparison-item .cruise-value,
    .comparison-item .kafkapilot-value {
        display: block;
        position: relative;
        border-bottom: 1px solid var(--gray-100);
        padding: 0;
        margin: 0;
        min-height: auto;
        background: white;
    }
    
    .comparison-item .kafkapilot-value {
        border-bottom: none;
    }
    
    .comparison-item .cruise-value::before {
        content: "Traditional Solution";
        display: block;
        background: linear-gradient(135deg, #fef2f2, #fee2e2);
        color: #b91c1c;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        text-align: center;
        padding: 0.75rem 1rem;
        border-bottom: 2px solid #fecaca;
        margin: 0;
        position: relative;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .comparison-item .kafkapilot-value::before {
        content: "KafkaPilot";
        display: block;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: white;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        text-align: center;
        padding: 0.75rem 1rem;
        margin: 0;
        position: relative;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .comparison-item .cruise-value .status-text,
    .comparison-item .kafkapilot-value .status-text {
        display: block;
        padding: 1rem;
        margin: 0;
        line-height: 1.5;
        font-size: 0.875rem;
        font-weight: 400;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .comparison-item .kafkapilot-value .status-text {
        font-weight: 500;
    }
    
    .comparison-item .kafkapilot-value .status-text strong {
        color: var(--primary);
        font-weight: 600;
    }
    
    .status-icon {
        font-size: 1.1rem;
        margin-right: 0.5rem;
        vertical-align: middle;
    }
    
    .status-text {
        font-size: 0.875rem;
        line-height: 1.5;
        font-weight: 400;
    }
    
    .comparison-footer {
        padding: 2.5rem 1.5rem;
        border-radius: 0 0 12px 12px;
        background: linear-gradient(135deg, #f8fafc, white);
        border-top: 3px solid var(--gray-300);
        margin-top: 1.5rem;
        text-align: center;
    }
    
    .comparison-footer .footer-content h4 {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--secondary);
        margin-bottom: 1rem;
    }
    
    .comparison-footer .footer-content p {
        font-size: 1rem;
        line-height: 1.6;
        color: var(--gray-600);
        margin-bottom: 1.5rem;
    }

    /* Enhanced Architecture Diagram for Mobile */
    .architecture-diagram {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .connection-flow {
        order: 2;
        min-height: 120px;
        min-width: 200px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: linear-gradient(135deg, #f8fafc, white);
        border-radius: 12px;
        padding: 1.5rem;
        border: 2px dashed var(--gray-300);
        position: relative;
    }

    .flow-line {
        width: 4px;
        height: 80px;
        background: linear-gradient(to bottom, var(--primary), var(--accent));
        border-radius: 2px;
        margin: 0;
        position: relative;
        overflow: visible;
    }
    
    .data-stream {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 100%;
        border-radius: 2px;
    }

    .data-packet {
        position: absolute;
        width: 12px;
        height: 12px;
        background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.9));
        border-radius: 50%;
        left: 50%;
        transform: translateX(-50%);
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.8), 0 0 4px var(--primary);
        animation: dataFlowVertical 2.5s infinite linear;
        border: 2px solid var(--primary);
    }

    @keyframes dataFlowVertical {
        0% {
            top: -12px;
            opacity: 0;
            transform: translateX(-50%) scale(0.5);
        }
        10% {
            opacity: 1;
            transform: translateX(-50%) scale(1);
        }
        90% {
            opacity: 1;
            transform: translateX(-50%) scale(1);
        }
        100% {
            top: calc(100% + 12px);
            opacity: 0;
            transform: translateX(-50%) scale(0.5);
        }
    }
    
    .flow-label {
        text-align: center;
        margin-top: 1rem;
        margin-bottom: 0;
    }
    
    .protocol-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .flow-details {
        gap: 0.15rem;
    }
    
    .flow-details span {
        font-size: 0.7rem;
    }

    .kafka-cluster-section {
        order: 1;
        padding: 2rem 1.5rem;
    }

    .kafkapilot-section {
        order: 3;
        padding: 2rem 1.5rem;
    }

    .cluster-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
        min-height: 80px;
    }
    
    .feature-content h4 {
        font-size: 0.9rem;
    }
    
    .feature-content p {
        font-size: 0.8rem;
    }

    .deployment-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .subscribe-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .subscribe-form input,
    .subscribe-form button {
        border-radius: var(--border-radius);
        width: 100%;
        align-self: center;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .hero-card h1 {
        font-size: 2rem;
    }
    
    .hero-card p {
        font-size: 1rem;
    }
    
    .compatibility-highlight {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .modern-comparison {
        margin: 0 0.5rem;
    }
    
    .feature-name {
        font-size: 0.9rem;
        padding: 0.875rem 0.75rem;
        line-height: 1.25;
    }
    
    .comparison-item .cruise-value::before,
    .comparison-item .kafkapilot-value::before {
        font-size: 0.65rem;
        padding: 0.5rem 0.75rem;
        letter-spacing: 0.3px;
    }
    
    .comparison-item .cruise-value .status-text,
    .comparison-item .kafkapilot-value .status-text {
        font-size: 0.8rem;
        padding: 0.875rem 0.75rem;
        line-height: 1.4;
    }
    
    .comparison-section .section-title {
        font-size: 0.8rem;
        padding: 0.875rem 0.75rem;
        letter-spacing: 0.6px;
        margin: 1.5rem 0 0 0;
    }
    
    .comparison-section:first-child .section-title {
        margin-top: 0;
    }
    
    .comparison-item.highlight .feature-name::after {
        font-size: 0.55rem;
        padding: 0.25rem 0.45rem;
        letter-spacing: 0.3px;
    }
    
    .connection-flow {
        min-height: 100px;
        padding: 1rem;
    }
    
    .flow-line {
        height: 60px;
    }
    
    .data-packet {
        width: 10px;
        height: 10px;
    }
    
    .protocol-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
    
    .flow-details span {
        font-size: 0.65rem;
    }
    
    .kafka-cluster-section,
    .kafkapilot-section {
        padding: 1.5rem 1rem;
    }
    
    .section-icon {
        width: 48px;
        height: 48px;
    }
    
    .section-icon img,
    .section-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .section-header h3 {
        font-size: 1.25rem;
    }
    
    .comparison-footer {
        padding: 1.5rem 0.75rem;
    }
    
    .footer-content h4 {
        font-size: 1.1rem;
    }
    
    .footer-content p {
        font-size: 0.9rem;
    }
}

/* ===== LEGAL PAGE STYLES ===== */

.legal-page {
  padding: 4rem 0;
  background: white;
  min-height: 80vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 2rem;
  text-align: center;
}

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.legal-section p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.trademark-notice-box {
  background: linear-gradient(135deg, #fefbff, #f8f4ff);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.trademark-notice-box p {
  color: var(--secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.legal-section a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.legal-section a:hover {
  border-bottom-color: var(--primary);
  color: var(--primary-dark);
}

@media (max-width: 768px) {
  .legal-page {
    padding: 2rem 0;
  }
  
  .legal-content {
    padding: 0 1rem;
  }
  
  .legal-content h1 {
    font-size: 2rem;
  }
  
  .legal-section h2 {
    font-size: 1.25rem;
  }
  
  .trademark-notice-box {
    padding: 1rem;
  }
  
  .trademark-notice-box p {
    font-size: 1rem;
  }
} 

/* Real KafkaPilot UI Mockup Styles - Exact Match to Application */

/* KafkaPilot App Container */
.kafkapilot-app-container {
    min-height: 100vh;
    max-height: none; /* Remove max-height restriction to prevent cutting off content */
    position: relative;
    background: transparent; /* Remove background to let section backgrounds show */
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 15px;
    color: #1f2937;
    overflow: visible; /* Allow content to overflow if needed */
    transform: none; /* Remove scaling for full-screen layout */
    width: 100%; /* Full width */
    margin-left: 0; /* No offset needed */
}

/* Navigation Bar - Exact Match */
.kafkapilot-navigation-bar {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
}

.kafkapilot-nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

.kafkapilot-brand-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.kafkapilot-brand-icon {
    width: 2rem;
    height: 2rem;
    color: #3b82f6;
}

.kafkapilot-brand-info {
    display: flex;
    flex-direction: column;
}

.kafkapilot-brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin: 0;
}

.kafkapilot-brand-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    margin: 0;
}

.kafkapilot-desktop-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    margin-left: 2rem;
}

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

.kafkapilot-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    outline: none;
}

.kafkapilot-nav-item:hover:not(.active) {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.kafkapilot-nav-item.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    font-weight: 600;
}

.kafkapilot-nav-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.kafkapilot-nav-label {
    font-size: inherit;
}

/* Main Content Area */
.kafkapilot-main-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem;
}

.kafkapilot-content-area {
    width: 100%;
}

/* Modern Card - Exact Match */
.kafkapilot-modern-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.kafkapilot-card-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    color: white;
}

.kafkapilot-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.kafkapilot-card-description {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.4;
}

/* Cluster Stats */
.kafkapilot-cluster-stats {
    padding: 2rem;
    overflow: visible; /* Ensure all sections including Activity & Performance are fully visible */
    min-height: auto; /* Allow content to determine height */
}

.kafkapilot-section-header {
    margin-bottom: 2rem;
}

.kafkapilot-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.kafkapilot-section-description {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Metrics Grid - Exact Match */
.kafkapilot-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.kafkapilot-metrics-grid:last-child {
    margin-bottom: 0;
}

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

/* Metric Card - Exact Match */
.kafkapilot-metric-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.kafkapilot-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.kafkapilot-metric-card.compact {
    padding: 1rem;
}

.kafkapilot-metric-card.success {
    border-color: #10b981;
    background: linear-gradient(145deg, #f0fdf4, #ecfdf5);
}

.kafkapilot-metric-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.kafkapilot-metric-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.kafkapilot-metric-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.kafkapilot-metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.kafkapilot-metric-card.compact .kafkapilot-metric-value {
    font-size: 1.5rem;
}

.kafkapilot-metric-rate {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

/* Rebalancing Specific Styles */
.kafkapilot-rebalancing-container {
    background: white;
    padding: 0;
}

.kafkapilot-proposal-content {
    padding: 2rem;
}

/* Proposal Table Container */
.kafkapilot-proposal-table-container {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.kafkapilot-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr 1fr;
    gap: 1rem;
    background: linear-gradient(145deg, #f3f4f6, #f9fafb);
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.kafkapilot-column {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kafkapilot-table-body {
    display: flex;
    flex-direction: column;
}

.kafkapilot-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr 1fr;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    align-items: center;
    transition: background-color 0.2s ease;
}

.kafkapilot-table-row:hover {
    background: #f9fafb;
}

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

/* Partition Info */
.kafkapilot-partition-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.kafkapilot-partition-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.kafkapilot-partition-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.kafkapilot-topic-name {
    font-weight: 600;
    color: #111827;
    font-size: 0.875rem;
    line-height: 1.2;
}

.kafkapilot-partition-number {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.2;
}

/* Broker Badges */
.kafkapilot-broker-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    justify-self: center;
}

.kafkapilot-broker-badge.current {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.kafkapilot-broker-badge.proposed {
    background: #dcfdf7;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.kafkapilot-broker-icon {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
}

/* Activity Score */
.kafkapilot-activity-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    justify-self: center;
}

.kafkapilot-score-value {
    font-weight: 600;
    color: #111827;
    font-size: 0.875rem;
    line-height: 1.2;
}

.kafkapilot-score-bar {
    width: 60px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.kafkapilot-score-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #3b82f6 50%, #ef4444 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Impact Badges */
.kafkapilot-impact-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    justify-self: center;
}

.kafkapilot-impact-badge.low {
    background: #dcfdf7;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.kafkapilot-impact-badge.medium {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.kafkapilot-impact-badge.high {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.kafkapilot-impact-icon {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
}

/* Responsive Design for KafkaPilot Mockups */
.real-dashboard-preview,
.real-optimization-preview {
    max-width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
}

.dashboard-window,
.optimization-window {
    width: 100%;
    min-height: 600px;
    overflow: visible; /* Allow content to overflow if needed */
}

.dashboard-content {
    min-height: 500px;
    overflow: visible; /* Ensure Activity & Performance cards are fully visible */
}

/* Medium screens (tablets and small desktops) */
@media (max-width: 1200px) {
    .kafkapilot-wide-monitoring-section {
        max-width: 1400px;
        gap: 2rem;
    }
    
    .kafkapilot-monitor-center {
        min-width: 200px;
        max-width: 300px;
        padding: 1rem;
    }
    
    .kafkapilot-connect-section {
        max-width: 1400px;
        gap: 2rem;
    }
    
    .kafkapilot-connect-center {
        min-width: 200px;
        max-width: 300px;
        padding: 1rem;
    }
    
    .kafkapilot-optimize-section {
        max-width: 1400px;
        gap: 2rem;
    }
    
    .kafkapilot-optimize-center {
        min-width: 200px;
        max-width: 300px;
        padding: 1rem;
    }
    
    .kafkapilot-maintenance-section {
        max-width: 1400px;
        gap: 2rem;
    }
    
    .kafkapilot-maintenance-center {
        min-width: 200px;
        max-width: 300px;
        padding: 1rem;
    }
    
    .kafkapilot-topic-section {
        max-width: 1400px;
        gap: 2rem;
    }
    
    .kafkapilot-topic-center {
        min-width: 200px;
        max-width: 300px;
        padding: 1rem;
    }
    
    .kafkapilot-section-title-large {
        font-size: 2rem;
    }
    
    .kafkapilot-section-description-large {
        font-size: 1.125rem;
    }
    
    .kafkapilot-center-title {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .kafkapilot-app-container {
        transform: none;
        width: 100%;
        margin-left: 0;
        max-height: none; /* Remove height restriction on tablets */
        overflow: visible;
    }
    
    .kafkapilot-main-content {
        padding: 0.75rem;
    }
    
    .kafkapilot-metrics-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.75rem;
    }
    
    .kafkapilot-metrics-grid-compact {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0.75rem;
    }
    
    .kafkapilot-metrics-grid-compact {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .kafkapilot-wide-monitoring-section {
        gap: 3rem;
        padding: 3rem 1rem;
        max-width: 1600px;
    }
    
    .kafkapilot-monitor-center {
        padding: 1.5rem;
        min-width: 250px;
        max-width: 350px;
    }
    
    .kafkapilot-center-title {
        font-size: 2rem;
    }
    
    .kafkapilot-connect-section {
        gap: 3rem;
        padding: 3rem 1rem;
        max-width: 1600px;
    }
    
    .kafkapilot-connect-center {
        padding: 1.5rem;
        min-width: 250px;
        max-width: 350px;
    }
    
    .kafkapilot-optimize-section {
        gap: 3rem;
        padding: 3rem 1rem;
        max-width: 1600px;
    }
    
    .kafkapilot-optimize-center {
        padding: 1.5rem;
        min-width: 250px;
        max-width: 350px;
    }
    
    .kafkapilot-maintenance-section {
        gap: 3rem;
        padding: 3rem 1rem;
        max-width: 1600px;
    }
    
    .kafkapilot-maintenance-center {
        padding: 1.5rem;
        min-width: 250px;
        max-width: 350px;
    }
    
    .kafkapilot-topic-section {
        gap: 3rem;
        padding: 3rem 1rem;
        max-width: 1600px;
    }
    
    .kafkapilot-topic-center {
        padding: 1.5rem;
        min-width: 250px;
        max-width: 350px;
    }
    
    .kafkapilot-hero-section {
        gap: 3rem;
        padding: 3rem 2rem;
        max-width: 1600px;
    }
    
    .kafkapilot-hero-center {
        padding: 1.5rem;
        min-width: 250px;
        max-width: 350px;
    }
    
    .kafkapilot-metrics-grid.proposal-stats {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .kafkapilot-cluster-stats,
    .kafkapilot-proposal-content {
        padding: 1rem;
    }
    
    .kafkapilot-card-header {
        padding: 1rem 1.5rem;
    }
    
    .kafkapilot-section-row {
        gap: 2rem;
    }
    
    .kafkapilot-section-column {
        padding: 1.5rem;
    }
    
    .kafkapilot-fullscreen-section {
        padding: 3rem 1rem;
        min-height: 80vh;
    }
    
    .kafkapilot-section-title-large {
        font-size: 2rem;
    }
    
    .kafkapilot-section-description-large {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    /* Dashboard and optimization preview containers */
    .dashboard-window,
    .optimization-window {
        min-height: 400px;
    }
    
    .window-header {
        padding: 0.75rem 1rem;
    }
    
    .window-title {
        font-size: 0.8rem;
    }
    
    .kafkapilot-app-container {
        transform: none;
        width: 100%;
        margin-left: 0;
        max-height: none; /* Remove height restriction on mobile */
        min-height: 100vh; /* Increase minimum height for better visibility */
        overflow: visible;
    }
    
    /* KafkaPilot specific mobile styles */
    .kafkapilot-nav-container {
        padding: 0 1rem;
        min-height: 60px;
    }
    
    .kafkapilot-desktop-nav {
        display: none;
    }
    
    .kafkapilot-brand-title {
        font-size: 1rem;
    }
    
    .kafkapilot-brand-subtitle {
        font-size: 0.65rem;
    }
    
    .kafkapilot-main-content {
        padding: 0.5rem;
    }
    
    .kafkapilot-cluster-stats,
    .kafkapilot-proposal-content {
        padding: 1rem;
    }
    
    .kafkapilot-card-header {
        padding: 1rem;
    }
    
    .kafkapilot-card-title {
        font-size: 1.125rem;
    }
    
    .kafkapilot-metrics-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .kafkapilot-metrics-grid-compact {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .kafkapilot-metrics-grid.proposal-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .kafkapilot-metric-card {
        padding: 0.75rem;
    }
    
    .kafkapilot-metric-value {
        font-size: 1.5rem;
    }
    
    .kafkapilot-section-title {
        font-size: 1.25rem;
    }
    
    .kafkapilot-section-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .kafkapilot-section-column {
        padding: 1rem;
    }
    
    .kafkapilot-main-title {
        font-size: 1.5rem;
    }
    
    .kafkapilot-main-subtitle {
        font-size: 1rem;
    }
    
    .kafkapilot-fullscreen-section {
        flex-direction: column;
        padding: 2rem 1rem;
        min-height: auto;
    }
    
    .kafkapilot-fullscreen-left,
    .kafkapilot-fullscreen-right {
        flex: none;
        width: 100%;
        padding: 2rem 0;
    }
    
    .kafkapilot-fullscreen-left {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        margin-bottom: 2rem;
        padding-bottom: 3rem;
    }
    
    .kafkapilot-metrics-grid-compact {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .kafkapilot-metrics-grid-compact.health {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .kafkapilot-metrics-grid-compact.balance {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .kafkapilot-section-title-large {
        font-size: 1.75rem;
    }
    
    .kafkapilot-section-description-large {
        font-size: 1rem;
    }
    
    .kafkapilot-table-header,
    .kafkapilot-table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .kafkapilot-table-row {
        padding: 0.75rem;
        text-align: center;
    }
    
    .kafkapilot-column {
        display: none;
    }
    
    .kafkapilot-partition-info,
    .kafkapilot-broker-badge,
    .kafkapilot-activity-score,
    .kafkapilot-impact-badge {
        justify-self: center;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .kafkapilot-app-container {
        transform: none;
        width: 100%;
        margin-left: 0;
        max-height: none; /* Remove height restriction on small mobile */
        min-height: 100vh; /* Increase minimum height for better visibility */
        overflow: visible;
    }
    
    .kafkapilot-brand-section {
        gap: 0.5rem;
    }
    
    .kafkapilot-brand-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .kafkapilot-brand-title {
        font-size: 0.875rem;
    }
    
    .kafkapilot-brand-subtitle {
        font-size: 0.6rem;
    }
    
    .kafkapilot-cluster-stats,
    .kafkapilot-proposal-content {
        padding: 0.75rem;
    }
    
    .kafkapilot-card-header {
        padding: 0.75rem 1rem;
    }
    
    .kafkapilot-card-title {
        font-size: 1rem;
    }
    
    .kafkapilot-metrics-grid.proposal-stats {
        grid-template-columns: 1fr;
    }
    
    .kafkapilot-metrics-grid-compact {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .kafkapilot-metric-card {
        padding: 0.75rem;
    }
    
    .kafkapilot-metric-value {
        font-size: 1.25rem;
    }
    
    .kafkapilot-section-title {
        font-size: 1.125rem;
    }
    
    .kafkapilot-section-column {
        padding: 0.75rem;
    }
    
    .kafkapilot-main-title {
        font-size: 1.25rem;
    }
    
    .kafkapilot-main-subtitle {
        font-size: 0.9rem;
    }
    
    .kafkapilot-fullscreen-section {
        padding: 1.5rem 1rem;
    }
    
    .kafkapilot-fullscreen-left,
    .kafkapilot-fullscreen-right {
        padding: 1.5rem 0;
    }
    
    .kafkapilot-section-title-large {
        font-size: 1.5rem;
    }
    
    .kafkapilot-section-description-large {
        font-size: 0.9rem;
    }
    
    .kafkapilot-wide-monitoring-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .kafkapilot-monitor-center {
        order: -1;
        padding: 1.5rem;
        min-width: auto;
        max-width: none;
    }
    
    .kafkapilot-connect-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .kafkapilot-connect-center {
        order: -1;
        padding: 1.5rem;
        min-width: auto;
        max-width: none;
    }
    
    .kafkapilot-maintenance-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .kafkapilot-maintenance-center {
        order: -1;
        padding: 1.5rem;
        min-width: auto;
        max-width: none;
    }
    
    .kafkapilot-topic-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .kafkapilot-topic-center {
        order: -1;
        padding: 1.5rem;
        min-width: auto;
        max-width: none;
    }
    
    .kafkapilot-hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .kafkapilot-hero-center {
        order: -1;
        padding: 1.5rem;
        min-width: auto;
        max-width: none;
    }
    
    .kafkapilot-hero-title {
        font-size: 2.5rem;
    }
    
    .kafkapilot-hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .kafkapilot-scroll-indicator {
        gap: 0.25rem;
    }
    
    .kafkapilot-scroll-text {
        font-size: 0.75rem;
    }
    
    .kafkapilot-scroll-arrows svg {
        width: 1rem;
        height: 1rem;
    }
    
    .kafkapilot-optimize-section {
        max-width: 1400px;
        gap: 2rem;
    }
    
    .kafkapilot-hero-center {
        min-width: 200px;
        max-width: 300px;
        padding: 1rem;
    }
    
    .kafkapilot-optimize-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .kafkapilot-optimize-center {
        order: -1;
        padding: 1.5rem;
        min-width: auto;
        max-width: none;
    }
    
    .kafkapilot-center-title {
        font-size: 1.5rem;
    }
    
    .kafkapilot-center-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .kafkapilot-center-icon svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .kafkapilot-flow-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .kafkapilot-cluster-node,
    .kafkapilot-pilot-node {
        min-width: 70px;
        padding: 0.75rem;
    }
    
    .kafkapilot-connection-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .kafkapilot-feature-item {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .kafkapilot-feature-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .kafkapilot-feature-icon svg {
        width: 1rem;
        height: 1rem;
    }
}

/* Main Description */
.kafkapilot-main-description {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.kafkapilot-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.kafkapilot-main-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Rows for Alternating Layout */
.kafkapilot-section-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.kafkapilot-section-column {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.kafkapilot-section-column.left {
    /* Additional styling for left columns if needed */
}

.kafkapilot-section-column.right {
    /* Additional styling for right columns if needed */
}

/* Compact Metrics Grid for Alternating Layout */
.kafkapilot-metrics-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Full Screen Layout Styles */

/* Full Screen Sections */
.kafkapilot-fullscreen-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, white 50%, #f3f4f6 100%);
    border-bottom: 1px solid #e5e7eb;
}

.kafkapilot-fullscreen-section.single {
    justify-content: center;
}

/* Removed duplicate definitions - using main ones below */

/* Compact Metrics Grid */
.kafkapilot-metrics-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.kafkapilot-metrics-grid-compact.health {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.kafkapilot-metrics-grid-compact.balance {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Update Featured Cards for Compact Size */
.kafkapilot-metric-card.compact.featured {
    background: linear-gradient(145deg, #dbeafe, #eff6ff);
    border-color: #3b82f6;
}

/* Health Status Compact Cards */
.kafkapilot-metric-card.compact.health-good {
    background: linear-gradient(145deg, #f0fdf4, #ecfdf5);
    border-color: #10b981;
}

.kafkapilot-metric-card.compact.health-warning {
    background: linear-gradient(145deg, #fef2f2, #fef7f7);
    border-color: #ef4444;
}

.kafkapilot-metric-card.compact.health-info {
    background: linear-gradient(145deg, #dbeafe, #eff6ff);
    border-color: #3b82f6;
}

.kafkapilot-metric-card.compact.health-neutral {
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    border-color: #64748b;
}

/* Balance Status Compact Cards */
.kafkapilot-metric-card.compact.balance-excellent {
    background: linear-gradient(145deg, #f0fdf4, #ecfdf5);
    border-color: #10b981;
}

.kafkapilot-metric-card.compact.balance-good {
    background: linear-gradient(145deg, #dbeafe, #eff6ff);
    border-color: #3b82f6;
}

.kafkapilot-metric-card.compact.balance-info {
    background: linear-gradient(145deg, #f3f4f6, #f9fafb);
    border-color: #9ca3af;
}

/* Full Screen Layout Styles */

/* Full Screen Sections */
.kafkapilot-fullscreen-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, white 50%, #f3f4f6 100%);
    border-bottom: 1px solid #e5e7eb;
}

.kafkapilot-fullscreen-section.single {
    justify-content: center;
}

/* Section Content */
.kafkapilot-section-content {
    width: 100%;
    max-width: 600px;
    overflow: visible;
    word-wrap: break-word;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    position: relative;
}

.kafkapilot-section-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.kafkapilot-section-content.centered {
    max-width: 1200px;
    text-align: center;
}

/* Large Section Headers */
.kafkapilot-section-header-large {
    margin-bottom: 3rem;
}

.kafkapilot-section-header-large.centered {
    text-align: center;
    margin-bottom: 4rem;
}

.kafkapilot-section-title-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.kafkapilot-section-description-large {
    font-size: 1.25rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Wide Monitoring Section Styles */
.kafkapilot-wide-monitoring-section {
    display: grid;
    grid-template-columns: 2fr auto 2fr;
    gap: 4rem;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #fafbff 0%, white 50%, #f0f9ff 100%);
    border-bottom: 1px solid #e5e7eb;
    align-items: start;
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
}

.kafkapilot-monitor-left,
.kafkapilot-monitor-right {
    min-width: 0; /* Prevent grid overflow */
    overflow: visible;
    word-wrap: break-word;
}

.kafkapilot-monitor-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-width: 300px;
    max-width: 400px;
}

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

.kafkapilot-center-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.kafkapilot-center-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.kafkapilot-center-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 1rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.kafkapilot-center-subtitle {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.kafkapilot-center-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.kafkapilot-pulse-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Connect Section Styles */
.kafkapilot-connect-section {
    display: grid;
    grid-template-columns: 2fr auto 2fr;
    gap: 4rem;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #fafbff 0%, white 50%, #f0f9ff 100%);
    border-bottom: 1px solid #e5e7eb;
    align-items: start;
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
}

.kafkapilot-connect-left,
.kafkapilot-connect-right {
    min-width: 0;
}

.kafkapilot-connect-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-width: 300px;
    max-width: 400px;
}

.kafkapilot-connect-features {
    margin-top: 2rem;
}

.kafkapilot-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.kafkapilot-feature-item:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.kafkapilot-feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kafkapilot-feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.kafkapilot-feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.kafkapilot-feature-content p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* Connection Flow */
.kafkapilot-connection-flow {
    text-align: center;
}

.kafkapilot-flow-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.kafkapilot-cluster-node,
.kafkapilot-pilot-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 100px;
}

.kafkapilot-cluster-icon,
.kafkapilot-pilot-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kafkapilot-cluster-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.kafkapilot-pilot-icon img {
    width: 2.5rem;
    height: 2.5rem;
    filter: brightness(0) invert(1);
}

.kafkapilot-cluster-node span,
.kafkapilot-pilot-node span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.kafkapilot-connection-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kafkapilot-connection-arrow svg {
    width: 2rem;
    height: 2rem;
    color: #3b82f6;
    z-index: 2;
}

.kafkapilot-connection-pulse {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: connectionPulse 2s linear infinite;
}

@keyframes connectionPulse {
    0% { transform: translateX(-20px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(20px); opacity: 0; }
}

.kafkapilot-protocol-badge {
    background: linear-gradient(135deg, #3b82f6, #10b981);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

/* Removed - Using compact cards now */

/* Maintenance Section Styles */
.kafkapilot-maintenance-section {
    display: grid;
    grid-template-columns: 2fr auto 2fr;
    gap: 4rem;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #fafbff 0%, white 50%, #f0f9ff 100%);
    border-bottom: 1px solid #e5e7eb;
    align-items: start;
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
}

.kafkapilot-maintenance-left,
.kafkapilot-maintenance-right {
    min-width: 0; /* Prevent grid overflow */
    overflow: visible;
    word-wrap: break-word;
}

.kafkapilot-maintenance-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-width: 300px;
    max-width: 400px;
}

/* Topic Section Styles */
.kafkapilot-topic-section {
    display: grid;
    grid-template-columns: 2fr auto 2fr;
    gap: 4rem;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #fafbff 0%, white 50%, #f0f9ff 100%);
    border-bottom: 1px solid #e5e7eb;
    align-items: start;
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
}

.kafkapilot-topic-left,
.kafkapilot-topic-right {
    min-width: 0; /* Prevent grid overflow */
    overflow: visible;
    word-wrap: break-word;
}

.kafkapilot-topic-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-width: 300px;
    max-width: 400px;
}

/* Topic Features Styles */
.kafkapilot-topic-features {
    margin-top: 2rem;
}

/* Maintenance Features Styles */
.kafkapilot-maintenance-features {
    margin-top: 2rem;
}

/* Optimize Section Styles */
.kafkapilot-optimize-section {
    display: grid;
    grid-template-columns: 2fr auto 2fr;
    gap: 4rem;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #fafbff 0%, white 50%, #f0f9ff 100%);
    border-bottom: 1px solid #e5e7eb;
    align-items: start;
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
}

.kafkapilot-optimize-left,
.kafkapilot-optimize-right {
    min-width: 0; /* Prevent grid overflow */
    overflow: visible;
    word-wrap: break-word;
}

.kafkapilot-optimize-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-width: 300px;
    max-width: 400px;
}

/* Optimize Features Styles */
.kafkapilot-optimize-features {
    margin-top: 2rem;
}

.kafkapilot-feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.kafkapilot-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.kafkapilot-feature-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.kafkapilot-feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.kafkapilot-feature-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.kafkapilot-feature-content p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVENESS ===== */

/* Header Mobile Enhancements */
@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }
    
    .logo img {
        height: 58px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.75rem 0;
    }
    
    header .container {
        gap: 1rem;
    }
    
    .logo img {
        height: 52px;
    }
    
    nav ul {
        gap: 0.5rem;
        margin: 0;
    }
    
    nav a {
        font-size: 0.8rem;
        padding: 0.375rem 0.5rem;
        border-radius: 6px;
    }
}

/* Hero Section Mobile Enhancements */
@media (max-width: 768px) {
    .hero {
        padding: 1.5rem 0;
    }
    
    .kafkapilot-hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .kafkapilot-hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.4;
        margin-bottom: 2rem;
    }
    
    .kafkapilot-hero-cta {
        gap: 1.5rem;
    }
    
    .kafkapilot-section-title-large {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .kafkapilot-section-description-large {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Features Showcase Mobile Fixes - Override existing styles */
    .features-showcase {
        padding: 2rem 0 !important;
        overflow: hidden !important;
    }
    
    .features-intro {
        margin-bottom: 2rem !important;
        padding: 0 1rem !important;
        text-align: center !important;
    }
    
    .features-intro h2 {
        font-size: 1.875rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    .features-intro p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1rem 0;
    }
    
    .kafkapilot-hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .kafkapilot-hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .kafkapilot-hero-cta {
        gap: 1rem;
    }
    
    .kafkapilot-section-title-large {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .kafkapilot-section-description-large {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Small Mobile Features Showcase Fixes */
    .features-showcase {
        padding: 1.5rem 0 !important;
    }
    
    .features-intro {
        margin-bottom: 1.5rem !important;
        padding: 0 0.75rem !important;
    }
    
    .features-intro h2 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
    }
    
    .features-intro p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
}

/* Feature Cards Mobile Optimization */
@media (max-width: 768px) {
    .kafkapilot-feature-item {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .kafkapilot-feature-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .kafkapilot-feature-icon svg {
        width: 1rem;
        height: 1rem;
    }
    
    .kafkapilot-feature-content h4 {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .kafkapilot-feature-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .kafkapilot-feature-item {
        padding: 1rem;
        gap: 0.75rem;
        border-radius: 8px;
    }
    
    .kafkapilot-feature-icon {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .kafkapilot-feature-icon svg {
        width: 0.875rem;
        height: 0.875rem;
    }
    
    .kafkapilot-feature-content h4 {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 0.375rem;
    }
    
    .kafkapilot-feature-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Metric Cards Mobile Optimization */
@media (max-width: 768px) {
    .kafkapilot-metric-card {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .kafkapilot-metric-card.compact {
        padding: 0.875rem;
    }
    
    .kafkapilot-metric-header h3 {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .kafkapilot-metric-value {
        font-size: 1.5rem;
        line-height: 1.1;
        margin: 0.5rem 0;
    }
    
    .kafkapilot-metric-rate {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .kafkapilot-metric-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
}

@media (max-width: 480px) {
    .kafkapilot-metric-card {
        padding: 0.875rem;
        border-radius: 8px;
    }
    
    .kafkapilot-metric-card.compact {
        padding: 0.75rem;
    }
    
    .kafkapilot-metric-header h3 {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .kafkapilot-metric-value {
        font-size: 1.25rem;
        line-height: 1.1;
        margin: 0.375rem 0;
    }
    
    .kafkapilot-metric-rate {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .kafkapilot-metric-icon {
        width: 1rem;
        height: 1rem;
    }
}

/* Section Centers Mobile Optimization - CRITICAL FIX */
@media (max-width: 768px) {
    .kafkapilot-connect-center,
    .kafkapilot-maintenance-center,
    .kafkapilot-topic-center,
    .kafkapilot-optimize-center,
    .kafkapilot-monitor-center,
    .kafkapilot-hero-center {
        padding: 1.25rem;
        min-width: auto !important;
        max-width: none !important;
        width: 100% !important;
        margin: 0 auto;
    }
    
    .kafkapilot-center-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .kafkapilot-center-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .kafkapilot-center-icon {
        width: 3rem;
        height: 3rem;
        margin-bottom: 1rem;
    }
    
    .kafkapilot-center-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

@media (max-width: 480px) {
    .kafkapilot-connect-center,
    .kafkapilot-maintenance-center,
    .kafkapilot-topic-center,
    .kafkapilot-optimize-center,
    .kafkapilot-monitor-center,
    .kafkapilot-hero-center {
        padding: 1rem;
        min-width: auto !important;
        max-width: none !important;
        width: 100% !important;
    }
    
    .kafkapilot-center-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .kafkapilot-center-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .kafkapilot-center-icon {
        width: 2.5rem;
        height: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .kafkapilot-center-icon svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* Typography Mobile Scaling */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; line-height: 1.1; }
    h2 { font-size: 1.875rem; line-height: 1.2; }
    h3 { font-size: 1.5rem; line-height: 1.3; }
    h4 { font-size: 1.25rem; line-height: 1.3; }
    h5 { font-size: 1.125rem; line-height: 1.4; }
    h6 { font-size: 1rem; line-height: 1.4; }
    
    p { font-size: 1rem; line-height: 1.6; }
    .small { font-size: 0.875rem; line-height: 1.5; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.875rem; line-height: 1.1; }
    h2 { font-size: 1.5rem; line-height: 1.2; }
    h3 { font-size: 1.25rem; line-height: 1.3; }
    h4 { font-size: 1.125rem; line-height: 1.3; }
    h5 { font-size: 1rem; line-height: 1.4; }
    h6 { font-size: 0.9rem; line-height: 1.4; }
    
    p { font-size: 0.9rem; line-height: 1.6; }
    .small { font-size: 0.8rem; line-height: 1.5; }
}

/* Form Elements Mobile Enhancement */
@media (max-width: 768px) {
    input[type="email"],
    input[type="text"],
    textarea,
    select {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .subscription-form {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    input[type="email"],
    input[type="text"],
    textarea,
    select {
        padding: 1rem;
        font-size: 1.125rem;
        border-radius: 10px;
    }
    
    .subscription-form {
        gap: 1rem;
        max-width: 100%;
        padding: 0 0.5rem;
    }
}

/* Touch Target Improvements */
@media (max-width: 768px) {
    a, button, input, select, textarea {
        min-height: 44px; /* iOS recommended touch target */
        min-width: 44px;
    }
    
    .kafkapilot-scroll-arrows svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    /* Critical Mobile Layout Fixes */
    html {
        font-size: 16px !important; /* Ensure proper base font size */
        -webkit-text-size-adjust: 100% !important;
        -moz-text-size-adjust: 100% !important;
        -ms-text-size-adjust: 100% !important;
        text-size-adjust: 100% !important;
    }
    
    body {
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        font-size: 1rem !important;
        line-height: 1.5 !important;
        min-width: 100% !important;
        width: 100% !important;
    }
    
    * {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }
    
    /* Override any fixed widths that break mobile */
    .kafkapilot-hero-section,
    .kafkapilot-connect-section,
    .kafkapilot-maintenance-section,
    .kafkapilot-topic-section,
    .kafkapilot-optimize-section,
    .kafkapilot-wide-monitoring-section {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        overflow: hidden !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Force all center sections to be mobile-friendly */
    .kafkapilot-center {
        min-width: auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    a, button, input, select, textarea {
        min-height: 48px; /* Larger for small screens */
    }
    
    .kafkapilot-scroll-arrows svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    /* Extra small mobile fixes */
    html {
        font-size: 14px !important; /* Slightly smaller base font for very small screens */
    }
    
    .kafkapilot-hero-section,
    .kafkapilot-connect-section,
    .kafkapilot-maintenance-section,
    .kafkapilot-topic-section,
    .kafkapilot-optimize-section,
    .kafkapilot-wide-monitoring-section {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Ensure no horizontal overflow on any element */
    .kafkapilot-feature-item,
    .kafkapilot-metric-card {
        max-width: 100% !important;
        width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* Force proper scaling on very small screens */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Final critical mobile viewport fixes */
    .features-showcase,
    .hero,
    section {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Ensure all grid layouts stack properly */
    .kafkapilot-hero-section,
    .kafkapilot-connect-section,
    .kafkapilot-maintenance-section,
    .kafkapilot-topic-section,
    .kafkapilot-optimize-section,
    .kafkapilot-wide-monitoring-section {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Force text to be readable size */
    h1, h2, h3, h4, h5, h6, p, span, div {
        font-size: inherit !important;
        line-height: inherit !important;
        word-break: break-word !important;
    }
}

/* Additional Mobile Viewport Safety - Critical Override */
@media screen and (max-width: 480px) {
    * {
        -webkit-text-size-adjust: none !important;
        -moz-text-size-adjust: none !important;
        -ms-text-size-adjust: none !important;
        text-size-adjust: none !important;
    }
    
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        position: relative !important;
    }
}

/* Subscription Section Mobile Enhancement */
@media (max-width: 768px) {
    .subscribe {
        padding: 3rem 0;
    }
    
    .subscribe h2 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .subscribe p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .subscribe-form {
        flex-direction: column;
        gap: 1rem;
        max-width: 100%;
        padding: 0;
    }
    
    .subscribe-form input,
    .subscribe-form button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        border-radius: 10px;
        box-sizing: border-box;
    }
    
    .disclaimer {
        font-size: 0.875rem;
        line-height: 1.5;
        margin-top: 1.5rem;
        text-align: center;
    }
    
    .disclaimer-link {
        text-decoration: underline;
    }
}

@media (max-width: 480px) {
    .subscribe {
        padding: 2rem 0;
    }
    
    .subscribe h2 {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .subscribe p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .subscribe-form {
        gap: 0.875rem;
    }
    
    .subscribe-form input,
    .subscribe-form button {
        padding: 1.125rem;
        font-size: 1.125rem;
        border-radius: 12px;
    }
    
    .disclaimer {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-top: 1.25rem;
    }
}

/* Footer Mobile Enhancement */
@media (max-width: 768px) {
    footer {
        padding: 2rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        align-items: center;
    }
    
    .footer-logo {
        align-items: center;
    }

    .footer-logo img {
        height: 40px;
        margin-bottom: 0.5rem;
    }
    
    .footer-logo p {
        font-size: 0.875rem;
        margin: 0;
    }
    
    .footer-links ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin: 0;
        padding: 0;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    /* Header centering for very small screens */
    .logo img {
        height: 50px;
    }
    
    /* Footer styles */
    footer {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        gap: 1.25rem;
        align-items: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-logo img {
        height: 36px;
        margin-bottom: 0.375rem;
    }
    
    .footer-logo p {
        font-size: 0.8rem;
    }
    
    .footer-links ul {
        gap: 0.75rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
        padding: 0.375rem 0.5rem;
        border-radius: 4px;
    }
}

/* Deployment Section Mobile Enhancement */
@media (max-width: 768px) {
    .deployment {
        padding: 3rem 0;
    }
    
    .deployment h2 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .deployment p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .deployment-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .deployment-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .deployment-icon {
        width: 4.5rem;
        height: 4.5rem;
        margin: 0 auto 1rem auto;
        padding: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .deployment-icon img {
        width: 3rem;
        height: 3rem;
    }
    
    .deployment-card h3 {
        font-size: 1.25rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .deployment-card p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .deployment-command {
        padding: 1rem;
        border-radius: 10px;
        background: linear-gradient(135deg, #fafbff, white);
        border: 1px solid var(--gray-200);
        box-shadow: var(--shadow-sm);
    }
    
    .deployment-command code {
        font-size: 0.875rem;
        color: var(--gray-600);
        font-weight: 500;
        display: block;
        text-align: center;
        font-style: italic;
        font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    }
    
    .docker-hub-link {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
        gap: 0.375rem;
    }
    
    .external-link-icon {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .deployment {
        padding: 2rem 0;
    }
    
    .deployment h2 {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .deployment p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .deployment-grid {
        gap: 1.25rem;
    }
    
    .deployment-card {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .deployment-icon {
        width: 5rem;
        height: 5rem;
        margin: 0 auto 1rem auto;
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .deployment-icon img {
        width: 3rem;
        height: 3rem;
    }
    
    .deployment-card h3 {
        font-size: 1.125rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .deployment-card p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.875rem;
    }
    
    .deployment-command {
        padding: 1.125rem;
        border-radius: 12px;
        background: linear-gradient(135deg, #fafbff, white);
        border: 1px solid var(--gray-200);
        box-shadow: var(--shadow-sm);
        margin-top: 1rem;
    }
    
    .deployment-command code {
        font-size: 0.875rem;
        color: var(--gray-600);
        font-weight: 500;
        display: block;
        text-align: center;
        padding: 0.25rem 0;
        font-style: italic;
        font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    }
    
    .docker-hub-link {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    .external-link-icon {
        width: 12px;
        height: 12px;
    }
}

/* Mobile Anti-Horizontal Scroll Fix */
@media (max-width: 768px) {
    /* Prevent any element from being wider than viewport */
    .kafkapilot-hero-section,
    .kafkapilot-wide-monitoring-section,
    .kafkapilot-optimize-section,
    .kafkapilot-topic-section,
    .kafkapilot-maintenance-section,
    .kafkapilot-connect-section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Ensure all main sections respect viewport bounds */
    .features-showcase,
    .deployment,
    .subscribe {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    /* Override all problematic min-widths for very small screens */
    * {
        min-width: auto !important;
    }
    
    /* Allow specific containers to have reasonable minimum widths */
    .container {
        min-width: auto;
        padding: 0 0.5rem;
    }
    
    /* Prevent any element from being wider than viewport */
    .kafkapilot-hero-section,
    .kafkapilot-wide-monitoring-section,
    .kafkapilot-optimize-section,
    .kafkapilot-topic-section,
    .kafkapilot-maintenance-section,
    .kafkapilot-connect-section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Ensure metric cards fit properly */
    .kafkapilot-metric-card {
        min-width: auto;
        max-width: 100%;
        width: 100%;
    }
    
    /* Make sure grid layouts don't overflow */
    .kafkapilot-metrics-grid-compact {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Ensure hero sections scale properly */
    .kafkapilot-hero-left,
    .kafkapilot-hero-center,
    .kafkapilot-hero-right {
        min-width: auto;
        max-width: 100%;
    }
}