/* AI Agent Development - Clean Hero Section Design */
/* Matching ai-development.blade.php style */

/* ========================================
   HERO SECTION - Clean Simple Design
   ======================================== */
.agent-hero-section {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f4d 50%, #0f1438 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Agent Network Background Animation */
.agent-network-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

#agentNetworkCanvas {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

/* Hero Grid Layout */
.agent-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Left Content */
.agent-hero-content {
    max-width: 100%;
}

/* Badge */
.agent-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #667eea;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    margin-bottom: 35px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    animation: slideInLeft 0.8s ease-out;
}

.badge-icon {
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

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

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

/* Hero Title */
.agent-hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.2;
    color: white;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.agent-hero-title .gradient-text {
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: gradientShift 4s ease-in-out infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

/* Hero Subtitle */
.agent-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* CTA Group */
.agent-cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.agent-btn-primary {
    background: #667eea;
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.agent-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s;
}

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

.agent-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.6);
    color: white;
    text-decoration: none;
    background: #5568d3;
}

.agent-btn-secondary {
    background: transparent;
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.agent-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(102, 126, 234, 0.2);
    transition: width 0.3s ease;
}

.agent-btn-secondary:hover::before {
    width: 100%;
}

.agent-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
    text-decoration: none;
}

/* Trust Badges */
.agent-trust-badges {
    display: flex;
    gap: 25px;
    flex-wrap: nowrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
    align-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
}

.trust-badge i {
    color: #667eea;
    font-size: 1.1rem;
}

/* Right: Code Demo Window */
.agent-code-demo {
    animation: fadeInRight 0.8s ease-out 0.4s both;
}

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

.agent-editor-window {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Editor Titlebar */
.editor-titlebar {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.titlebar-dots {
    display: flex;
    gap: 8px;
}

.titlebar-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.titlebar-dots .dot.red {
    background: #ff5f56;
}

.titlebar-dots .dot.yellow {
    background: #ffbd2e;
}

.titlebar-dots .dot.green {
    background: #27c93f;
}

.titlebar-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.titlebar-text i {
    color: #667eea;
}

/* Editor Body */
.editor-body {
    padding: 25px;
}

/* Code Sections */
.code-section {
    margin-bottom: 20px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-label i {
    color: #667eea;
}

.section-label.success {
    color: #27c93f;
}

.section-label.success i {
    color: #27c93f;
}

.problem-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    padding: 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

/* Code Content */
.code-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    overflow-x: auto;
}

.code-line {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.line-number {
    color: rgba(255, 255, 255, 0.3);
    min-width: 20px;
    text-align: right;
    user-select: none;
}

.code-keyword {
    color: #c678dd;
    font-weight: 600;
}

.code-function {
    color: #61afef;
}

.code-comment {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* Results Section */
.results-section {
    margin-top: 25px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.result-item {
    background: rgba(102, 126, 234, 0.1);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-item.success {
    background: rgba(39, 201, 63, 0.1);
    border-color: rgba(39, 201, 63, 0.3);
}

.result-item.warning {
    background: rgba(255, 189, 46, 0.1);
    border-color: rgba(255, 189, 46, 0.3);
}

.result-icon {
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 1.1rem;
}

.result-item.success .result-icon {
    background: rgba(39, 201, 63, 0.2);
    color: #27c93f;
}

.result-item.warning .result-icon {
    background: rgba(255, 189, 46, 0.2);
    color: #ffbd2e;
}

.result-content {
    flex: 1;
}

.result-value {
    font-size: 1.4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 4px;
}

.result-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Insight Box */
.insight-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid #667eea;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.insight-box i {
    color: #ffbd2e;
    font-size: 1.2rem;
    margin-top: 2px;
}

.insight-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
}

.insight-text strong {
    color: #667eea;
}

/* Scroll Indicator */
.agent-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: #667eea;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

.agent-scroll-indicator span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .agent-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .agent-hero-title {
        font-size: 2.8rem;
    }
    
    .agent-hero-section {
        padding: 80px 0 60px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .agent-hero-title {
        font-size: 2.2rem;
    }
    
    .agent-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .agent-cta-group {
        flex-direction: column;
    }
    
    .agent-btn-primary,
    .agent-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .agent-trust-badges {
        flex-direction: column;
        gap: 15px;
    }
}
