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

:root {
    /* Dark Theme Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-glass: rgba(26, 26, 46, 0.7);
    --bg-card: rgba(22, 33, 62, 0.8);
    
    /* AI Brand Colors */
    --accent-primary: #10b981;
    --accent-secondary: #0066ff;
    --accent-tertiary: #ff0066;
    --gradient-ai: linear-gradient(135deg, #10b981 0%, #0066ff 100%);
    --gradient-danger: linear-gradient(135deg, #ff0066 0%, #ff6b35 100%);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8c5d1;
    --text-muted: #6b7280;
    --text-accent: #10b981;
    
    /* Borders and Shadows */
    --border-primary: rgba(255, 255, 255, 0.1);
    --border-secondary: rgba(16, 185, 129, 0.2);
    --shadow-soft: 0 4px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.3);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Monaco', 'Menlo', monospace;
}

/* Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

/* Gradient Text */
.gradient-text {
    background: var(--gradient-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-ai);
    color: var(--bg-primary);
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-secondary);
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-glass);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.btn-primary.large,
.btn-secondary.large {
    padding: 20px 40px;
    font-size: 18px;
    border-radius: 16px;
}

.full-width {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-primary);
}

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

.logo {
    height: 50px;
    width: auto;
}

/* Navigation styles moved to shared-components.css to avoid duplication */

.cta-button {
    background: var(--gradient-ai);
    color: var(--bg-primary);
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 0, 102, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-glass);
    border: 1px solid var(--border-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 16px;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: left; /* Changed from center to left */
}

.role-transition {
    display: inline-block;
    transition: all 0.5s ease-in-out;
    position: relative;
    opacity: 1; /* Ensure visibility */
    visibility: visible; /* Ensure visibility */
    background: var(--gradient-ai) !important; /* Same gradient as parent */
    -webkit-background-clip: text !important; /* Apply gradient to text */
    -webkit-text-fill-color: transparent !important; /* Make text transparent to show gradient */
    background-clip: text !important; /* Apply gradient to text */
    font-weight: 700 !important; /* Bold for visibility */
    display: inline-block !important; /* Force display */
    visibility: visible !important; /* Force visibility */
    opacity: 1 !important; /* Force opacity */
    border-right: 2px solid transparent; /* Cursor for typing effect - hidden by default */
}

/* Typing cursor animation - only show when typing */
.role-transition.typing {
    border-right: 2px solid;
    border-image: var(--gradient-ai) 1;
    animation: blink 1s infinite; /* Blinking cursor animation only when typing */
}

/* Hide cursor when not typing */
.role-transition.not-typing {
    border-right-color: transparent;
    animation: none; /* No animation when not typing */
}

/* Typing cursor blink animation */
@keyframes blink {
    0%, 50% { 
        border-right-color: transparent; 
    }
    51%, 100% { 
        border-right: 2px solid;
        border-image: var(--gradient-ai) 1;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.5;
    text-align: left; /* Changed from center to left */
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    justify-content: flex-start; /* Changed from center to flex-start */
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start; /* Changed from center to flex-start */
}

/* AI Chat Demo */
.hero-visual {
    position: relative;
}

.ai-chat-demo {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.chat-header {
    background: var(--bg-secondary);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-primary);
}

.chat-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

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

.chat-messages {
    padding: 20px;
    min-height: 300px;
}

.message {
    margin-bottom: 16px;
}

.user-message .message-content {
    background: var(--bg-secondary);
    padding: 12px 16px;
    border-radius: 16px 16px 4px 16px;
    margin-left: auto;
    max-width: 80%;
    display: block;
    text-align: right;
}

.ai-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-ai);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.ai-message .message-content {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 16px;
    max-width: 85%;
    position: relative;
}

.code-suggestion {
    background: none; /* Remove separate background */
    border: none; /* Remove separate border */
    border-radius: 0; /* Remove separate border radius */
    padding: 0; /* Remove separate padding */
    margin-top: 8px; /* Reduced spacing */
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.4;
    position: relative;
    border-left: 3px solid var(--accent-primary); /* Keep only the accent line */
    padding-left: 12px; /* Add left padding for the accent line */
}

.code-suggestion code {
    color: var(--text-primary);
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    font-family: inherit;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

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

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

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

.fix-button {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 36px; /* Increased from 8px for better spacing */
    display: inline-block;
}

.fix-button:hover {
    background: #0ea371;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Feature Teasers */
.feature-teasers {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.teasers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    row-gap: 40px;
}

.teaser-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 40px 28px 32px 28px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    transition: box-shadow 0.2s, border 0.2s;
    cursor: pointer;
    backdrop-filter: blur(20px);
}

.teaser-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.teaser-icon {
    font-size: 2.1rem;
    margin-bottom: 0;
    display: block;
}

.teaser-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    margin-top: 12px;
    font-weight: 700;
}

.teaser-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.5;
}

.teaser-preview {
    margin-top: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.teaser-preview > *:not(:last-child) {
    margin-bottom: 14px;
}

.preview-chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-bubble {
    background: var(--bg-secondary);
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    max-width: 80%;
}

.chat-bubble.ai {
    background: var(--bg-glass);
    border: 1px solid var(--border-secondary);
    margin-left: auto;
    max-width: 90%;
}

.clone-timeline {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    position: relative;
}

.timeline-item.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-primary);
}

.timeline-item.completed::before {
    content: '✓';
    width: 16px;
    height: 16px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.timeline-item.active {
    background: rgba(0, 102, 255, 0.1);
    color: var(--accent-secondary);
    animation: pulse 1s infinite;
}

.timeline-item.active::before {
    content: '⟳';
    width: 16px;
    height: 16px;
    background: var(--accent-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    animation: spin 2s linear infinite;
}

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

.pipeline-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.flow-node {
    background: var(--bg-secondary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid var(--border-primary);
}

.flow-arrow {
    color: var(--accent-primary);
    font-weight: bold;
}

.cost-chart {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 16px;
    height: 60px;
}

.chart-bar {
    width: 32px;
    background: var(--gradient-ai);
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: end;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: var(--bg-primary);
    padding: 4px;
    transition: all 0.3s ease;
}

.chart-bar.old {
    background: var(--gradient-danger);
}

/* Problem Section */
.problem-section {
    padding: 80px 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.problem-text h2,
.solution-text h2 {
    margin-bottom: 32px;
}

.problem-list,
.solution-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.problem-item,
.solution-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
}

.problem-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.solution-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.problem-content h4,
.solution-content h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.problem-content p,
.solution-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    background: var(--bg-card);
    padding: 8px;
    border-radius: 12px;
    border: 1px solid var(--border-primary);
}

.tab-button {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: var(--gradient-ai);
    color: var(--bg-primary);
}

.tab-button:not(.active):hover {
    background: var(--bg-glass);
    color: var(--text-primary);
}

.tab-panel {
    display: none;
}

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

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.demo-window {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
}

.window-header {
    background: var(--bg-secondary);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-primary);
}

.window-controls {
    display: flex;
    gap: 6px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.window-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.demo-content {
    padding: 20px;
}

.ai-conversation {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 13px;
}

.conversation-item {
    padding: 8px 0;
}

.conversation-item.ai {
    color: var(--accent-primary);
}

.inline-fix-btn {
    background: var(--gradient-ai);
    color: var(--bg-primary);
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin-top: 8px;
    cursor: pointer;
}

.pipeline-builder {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
}

.pipeline-stage {
    min-width: 120px;
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    overflow: hidden;
}

.stage-header {
    background: var(--bg-secondary);
    padding: 8px 12px;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    border-bottom: 1px solid var(--border-primary);
}

.stage-content {
    padding: 12px 8px;
}

.stage-step {
    background: var(--bg-glass);
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 10px;
    margin-bottom: 4px;
    text-align: center;
    border: 1px solid var(--border-primary);
}

.pipeline-arrow {
    color: var(--accent-primary);
    font-size: 1.5rem;
    font-weight: bold;
}

.security-dashboard,
.cost-dashboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.security-metric,
.cost-metric {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-glass);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border-primary);
}

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

.metric-info {
    flex: 1;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.metric-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.cost-savings {
    color: var(--accent-primary);
}

.metric-trend {
    font-size: 12px;
    font-weight: 600;
}

.metric-trend.up {
    color: var(--accent-primary);
}

.recommendations {
    margin-top: 16px;
}

.recommendation {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-glass);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-secondary);
}

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

.rec-text {
    flex: 1;
    font-size: 12px;
}

.apply-rec-btn {
    background: var(--gradient-ai);
    color: var(--bg-primary);
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 10px;
    cursor: pointer;
}

.feature-info {
    padding: 20px;
}

.feature-info h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.feature-list li::before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: bold;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    font-size: 10px;
}

/* Social Proof */
.social-proof {
    padding: 80px 0;
}

.proof-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.metric-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    backdrop-filter: blur(20px);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.metric-label {
    color: var(--text-secondary);
    font-weight: 500;
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(20px);
}

.testimonial-content {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-title {
    font-size: 14px;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cta-note p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-primary);
}

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

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

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

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-primary);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    height: 50px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid var(--border-primary);
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-content p {
    color: var(--text-muted);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    color: var(--text-secondary);
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-primary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    /* Mobile navigation styles moved to shared-components.css to avoid duplication */
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .tab-button {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .teasers-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .btn-primary.large,
    .btn-secondary.large {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .pipeline-builder {
        flex-direction: column;
        gap: 12px;
    }
    
    .pipeline-arrow {
        transform: rotate(90deg);
    }
}

/* Animation delays for better loading experience */
.hero-badge { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-stats { animation-delay: 0.4s; }
.hero-buttons { animation-delay: 0.5s; }
.ai-chat-demo { animation-delay: 0.6s; } 

/* Responsive adjustments */
@media (max-width: 900px) {
    .teasers-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 32px;
    }
}
@media (max-width: 600px) {
    .teasers-grid {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }
    .teaser-card {
        padding: 28px 10px 18px 10px;
        min-height: 260px;
    }
    .teaser-preview {
        margin-top: 14px;
    }
} 

/* Multi-Cloud Deployments badges and button spacing */
.teaser-card[data-feature="multi-cloud"] .teaser-preview > *:not(:last-child) {
    margin-bottom: 12px;
}
.teaser-card[data-feature="multi-cloud"] button {
    margin-top: 16px !important;
}

/* Security & Compliance badges spacing */
.teaser-card[data-feature="security-compliance"] .teaser-preview > *:not(:last-child) {
    margin-bottom: 12px;
}

/* Cost Intelligence bar chart spacing */
.teaser-card[data-feature="cost-optimization"] .cost-bar-chart {
    margin-bottom: 18px !important;
} 

/* Monitoring Dashboard Styles */
.monitoring-dashboard {
    padding: 20px;
}

.monitoring-metric {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.metric-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.health-status {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.metric-details {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-secondary);
}

.alert-panel {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 16px;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 8px;
    border-left: 3px solid #ffc107;
}

.alert-icon {
    font-size: 16px;
}

.alert-text {
    flex: 1;
    font-size: 13px;
    color: var(--text-primary);
}

.fix-alert-btn {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fix-alert-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* GitOps Workflow Styles */
.gitops-workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    margin-bottom: 12px;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    padding: 12px;
    min-width: 110px;
    transition: all 0.3s ease;
    position: relative;
}

.workflow-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.workflow-step.active {
    border-color: var(--accent-primary);
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.15);
}

.workflow-step.active::before {
    transform: scaleX(1);
}

.workflow-step.current {
    border-color: var(--accent-secondary);
    box-shadow: 0 3px 12px rgba(0, 102, 255, 0.15);
}

.workflow-step.current::before {
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
}

.step-icon {
    font-size: 14px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: 50%;
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.workflow-step.active .step-icon {
    border-color: var(--accent-primary);
    background: rgba(16, 185, 129, 0.1);
}

.workflow-step.current .step-icon {
    border-color: var(--accent-secondary);
    background: rgba(0, 102, 255, 0.1);
}

.step-content {
    flex: 1;
    min-width: 0;
}

.step-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
    line-height: 1.2;
}

.step-desc {
    font-size: 10px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-family: var(--font-mono);
    line-height: 1.3;
}

.step-status {
    font-size: 9px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 6px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.workflow-step.active .step-status {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-primary);
}

.workflow-step.current .step-status {
    background: rgba(0, 102, 255, 0.2);
    color: var(--accent-secondary);
}

.workflow-arrow {
    font-size: 14px;
    color: var(--accent-primary);
    font-weight: bold;
    margin: 0 3px;
    flex-shrink: 0;
}

.gitops-details {
    background: var(--bg-secondary);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-primary);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid var(--border-primary);
}

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

.detail-label {
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-value {
    font-size: 10px;
    color: var(--text-primary);
    font-weight: 600;
    font-family: var(--font-mono);
}

.status-synced {
    color: var(--accent-primary);
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 8px;
}

.gitops-actions {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.action-btn.primary {
    background: var(--gradient-ai);
    color: var(--bg-primary);
}

.action-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.25);
}

.action-btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
}

.action-btn.secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(16, 185, 129, 0.1);
}

@media (max-width: 768px) {
    .gitops-workflow {
        flex-direction: column;
        gap: 6px;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
        margin: 3px 0;
    }
    
    .workflow-step {
        min-width: auto;
        width: 100%;
    }
    
    .gitops-actions {
        flex-direction: column;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1px;
    }
} 

/* Hero Carousel System */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 520px; /* Decreased from 600px to 520px */
    overflow: hidden;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    isolation: isolate; /* Creates a new stacking context */
}

/* Enhanced Carousel Transitions - Clean implementation */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1;
    will-change: transform, opacity, visibility; /* Optimize for animations */
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
}

/* Remove padding for AI Copilot slide to eliminate empty box effect */
.carousel-slide[data-slide="ai-copilot"] {
    padding: 0;
}

.carousel-slide.prev {
    transform: translateX(-100%);
    z-index: 1;
    visibility: hidden; /* Ensure it's completely hidden */
}

/* Pipeline Stage Animations */
.pipeline-stage.active {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    transform: translateY(-4px);
}

.pipeline-stage.completed {
    border-color: var(--accent-primary);
    background: rgba(16, 185, 129, 0.1);
}

.pipeline-stage.active .stage-icon {
    background: var(--accent-primary);
    color: var(--bg-primary);
    animation: pulse 1s infinite;
}

.pipeline-stage.completed .stage-icon {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.pipeline-stage.active .stage-title {
    color: var(--accent-primary);
}

.pipeline-stage.completed .stage-title {
    color: var(--accent-primary);
}

/* Enhanced Carousel Transitions - Clean implementation */

/* Environment Cloning Demo */
.environment-cloning-demo {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.demo-header {
    text-align: center;
    margin-bottom: 20px;
}

.demo-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.demo-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.cloning-process {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    flex: 1;
}

.source-environment,
.target-environment {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 16px;
    width: 100%;
    max-width: 400px;
}

.env-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-primary);
}

.env-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.env-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.env-status.active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.env-status.success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.env-cluster {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cluster-node {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Enhanced Cluster Nodes */
.cluster-node.cloned {
    animation: cloneAppear 1s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--accent-primary);
}

@keyframes cloneAppear {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(30px) rotate(-5deg);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.9) translateY(10px) rotate(-2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
}

.node-icon {
    font-size: 20px;
    width: 32px;
    text-align: center;
}

.node-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.node-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.node-status.running {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-primary);
}

/* Cloning Animation */
.cloning-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-height: 120px;
}

/* Enhanced Clone Button */
.clone-button {
    background: var(--gradient-ai);
    color: var(--bg-primary);
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.clone-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;
}

.clone-button:hover::before {
    left: 100%;
}

.clone-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px rgba(16, 185, 129, 0.4);
}

.clone-button:active {
    transform: translateY(-1px) scale(0.98);
}

.cloning-progress {
    width: 100%;
    max-width: 400px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-primary);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Enhanced Progress Steps */
.step.active .step-icon {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    animation: stepPulse 1.5s infinite;
}

@keyframes stepPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.8);
    }
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.step.active .step-icon {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.step.completed .step-icon {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
}

.step-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.step.active .step-text {
    color: var(--accent-primary);
}

.step.completed .step-text {
    color: var(--accent-primary);
}

/* Clone Success */
.clone-success {
    text-align: center;
    margin-top: 16px;
}

/* Success Message Animation */
.success-message {
    animation: successSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes successSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.time {
    color: var(--text-primary);
    font-weight: 700;
}

/* Enhanced Access Button */
.access-button {
    background: var(--accent-secondary);
    color: var(--text-primary);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.access-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.5s ease;
}

.access-button:hover::before {
    left: 100%;
}

.access-button:hover {
    background: #0052cc;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

/* Pipeline Builder Demo */
.pipeline-builder-demo {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pipeline-canvas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px; /* Further reduced from 12px to fit more stages */
    flex: 1;
    padding: 16px; /* Reduced from 20px */
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    min-width: 0;
    overflow: visible;
}

.pipeline-stage {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 10px; /* Further reduced from 12px */
    min-width: 90px; /* Further reduced from 100px */
    flex: 1;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 110px; /* Reduced from 120px */
}

.pipeline-stage:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.stage-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px; /* Further reduced from 6px */
    margin-bottom: 6px; /* Further reduced from 8px */
}

.stage-icon {
    font-size: 18px; /* Further reduced from 20px */
    width: 28px; /* Further reduced from 32px */
    height: 28px; /* Further reduced from 32px */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
}

.stage-title {
    font-size: 11px; /* Further reduced from 12px */
    font-weight: 600;
    color: var(--text-primary);
}

.stage-content {
    font-size: 10px; /* Further reduced from 11px */
    color: var(--text-secondary);
}

.git-repo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background: var(--bg-tertiary);
    border-radius: 6px;
}

.build-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.build-progress {
    width: 100%;
    height: 4px;
    background: var(--border-primary);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.build-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: var(--accent-primary);
    animation: buildProgress 2s infinite;
}

@keyframes buildProgress {
    0% { left: -30%; }
    100% { left: 100%; }
}

.test-results {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.test-item {
    font-size: 11px;
    padding: 2px 0;
}

.test-item.passed {
    color: var(--accent-primary);
}

.test-item.running {
    color: var(--accent-secondary);
}

.deploy-target {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background: var(--bg-tertiary);
    border-radius: 6px;
}

.pipeline-arrow {
    font-size: 14px; /* Further reduced from 16px */
    color: var(--accent-primary);
    font-weight: bold;
    margin: 0 1px; /* Reduced from 2px */
}

.pipeline-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.add-stage-btn,
.run-pipeline-btn {
    padding: 12px 20px;
    border: 1px solid var(--border-primary);
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-stage-btn:hover {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}

.run-pipeline-btn {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}

.run-pipeline-btn:hover {
    background: #0ea371;
    transform: translateY(-1px);
}

/* Responsive Design for Carousel */
@media (max-width: 768px) {
    .hero-carousel {
        height: 450px; /* Adjusted from 500px to maintain proportion */
    }
    
    .carousel-slide {
        padding: 16px;
    }
    
    .pipeline-canvas {
        flex-direction: column;
        gap: 12px;
        justify-content: flex-start; /* Better for column layout */
    }
    
    .pipeline-stage {
        min-width: 100%; /* Full width on mobile */
        max-width: 100%;
    }
    
    .pipeline-arrow {
        transform: rotate(90deg);
    }
    
    .cloning-process {
        gap: 16px;
    }
    
    .source-environment,
    .target-environment {
        max-width: 100%;
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 16px;
    }
    
    .progress-steps::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: 400px; /* Adjusted from 450px to maintain proportion */
    }
    
    .carousel-slide {
        padding: 12px;
    }
    
    .pipeline-stage {
        min-width: 100%;
        padding: 12px; /* Slightly reduced padding */
    }
    
    .demo-title {
        font-size: 20px;
    }
    
    .demo-subtitle {
        font-size: 12px;
    }
} 