/* =========== AI Templates Section — Gold Theme ============ */
.ait-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    background: linear-gradient(180deg, #0a0a12 0%, #111118 50%, #0a0a12 100%);
}

.ait-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(255,215,0,0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(212,175,55,0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255,165,0,0.04) 0%, transparent 40%);
    pointer-events: none;
}

.ait-section::after {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    background-image:
        radial-gradient(2px 2px at 20% 15%, rgba(255,215,0,0.1), transparent),
        radial-gradient(2px 2px at 40% 35%, rgba(255,255,255,0.06), transparent),
        radial-gradient(1px 1px at 60% 80%, rgba(255,215,0,0.1), transparent),
        radial-gradient(1px 1px at 80% 25%, rgba(212,175,55,0.12), transparent),
        radial-gradient(2px 2px at 10% 70%, rgba(255,165,0,0.08), transparent),
        radial-gradient(1px 1px at 90% 55%, rgba(255,255,255,0.06), transparent);
    pointer-events: none;
    animation: aitParticlesDrift 20s linear infinite;
}

@keyframes aitParticlesDrift {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

/* Header */
.ait-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.ait-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(212,175,55,0.15));
    border: 1px solid rgba(255,215,0,0.35);
    border-radius: 50px;
    color: #FFD700;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.ait-badge i { font-size: 1rem; color: #FFA500; }

.ait-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.ait-gradient-text {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ait-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.65);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Showcase */
.ait-showcase { position: relative; z-index: 2; }

.ait-demo-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(15,15,25,0.6);
    border: 1px solid rgba(255,215,0,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 80px rgba(255,215,0,0.05), inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.ait-demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    background: rgba(10,10,20,0.9);
    border-bottom: 1px solid rgba(255,215,0,0.15);
}

.ait-demo-dots { display: flex; gap: 6px; }
.ait-demo-dots span { width: 10px; height: 10px; border-radius: 50%; }
.ait-demo-dots span:nth-child(1) { background: #ef4444; }
.ait-demo-dots span:nth-child(2) { background: #f59e0b; }
.ait-demo-dots span:nth-child(3) { background: #10b981; }

.ait-demo-url {
    flex: 1; margin: 0 1rem; padding: 0.3rem 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    font-family: 'Courier New', monospace;
}

.ait-demo-body { padding: 2rem; }

/* Process Flow */
.ait-process { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }

.ait-process-step {
    flex: 1; padding: 1.2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,215,0,0.12);
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.ait-process-step:hover {
    background: rgba(255,215,0,0.05);
    border-color: rgba(255,215,0,0.3);
    transform: translateY(-3px);
}

.ait-process-step .step-icon { font-size: 1.8rem; margin-bottom: 0.6rem; display: block; }
.ait-process-step .step-label { color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 600; }

.ait-process-arrow { color: rgba(255,215,0,0.4); font-size: 1.4rem; flex-shrink: 0; }

/* Preview Grid */
.ait-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.ait-preview-card {
    border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s ease;
}

.ait-preview-card:hover {
    border-color: rgba(255,215,0,0.35);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255,215,0,0.12);
}

.ait-preview-card-img {
    height: 140px; display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; color: rgba(255,255,255,0.3); position: relative;
}

.ait-preview-dark { background: linear-gradient(135deg, #0f0f2e, #1a1a3e); }
.ait-preview-neon { background: linear-gradient(135deg, #0a0a1a, #1a0a2e); }
.ait-preview-light { background: linear-gradient(135deg, #f0f0ff, #e8e8f8); }

.ait-preview-card-img .preview-badge {
    position: absolute; bottom: 8px; right: 8px;
    padding: 0.2rem 0.5rem; border-radius: 4px;
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
}

.ait-preview-dark .preview-badge { background: rgba(255,215,0,0.2); color: #FFD700; border: 1px solid rgba(255,215,0,0.35); }
.ait-preview-neon .preview-badge { background: rgba(0,255,150,0.15); color: #00ff98; border: 1px solid rgba(0,255,150,0.3); }
.ait-preview-light .preview-badge { background: rgba(59,130,246,0.15); color: #3b82f6; border: 1px solid rgba(59,130,246,0.3); }

.ait-preview-card-img .mock-title, .ait-preview-card-img .mock-subtitle, .ait-preview-card-img .mock-btn { border-radius: 5px; }
.ait-preview-card-img .mock-title { width: 60%; height: 10px; margin-bottom: 0.4rem; }
.ait-preview-card-img .mock-subtitle { width: 40%; height: 6px; margin-bottom: 1rem; }
.ait-preview-card-img .mock-btn { width: 35%; height: 14px; border-radius: 7px; }

.ait-preview-dark .mock-title { background: rgba(255,215,0,0.3); }
.ait-preview-dark .mock-subtitle { background: rgba(255,255,255,0.15); }
.ait-preview-dark .mock-btn { background: linear-gradient(90deg, #FFD700, #d4af37); }

.ait-preview-neon .mock-title { background: rgba(0,255,150,0.3); }
.ait-preview-neon .mock-subtitle { background: rgba(255,255,255,0.12); }
.ait-preview-neon .mock-btn { background: linear-gradient(90deg, #00ff98, #00cc7a); }

.ait-preview-light .mock-title { background: rgba(59,130,246,0.35); }
.ait-preview-light .mock-subtitle { background: rgba(0,0,0,0.12); }
.ait-preview-light .mock-btn { background: linear-gradient(90deg, #3b82f6, #6366f1); }

.ait-preview-card-footer {
    padding: 0.6rem 0.8rem; background: rgba(10,10,20,0.8); text-align: center;
}
.ait-preview-card-footer span { font-size: 0.7rem; color: rgba(255,255,255,0.6); font-weight: 500; }

/* Feature Cards */
.ait-features { position: relative; z-index: 2; }

.ait-feature-card {
    padding: 1.5rem;
    background: rgba(15,15,25,0.5);
    border: 1px solid rgba(255,215,0,0.1);
    border-radius: 16px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.ait-feature-card:hover {
    background: rgba(255,215,0,0.04);
    border-color: rgba(255,215,0,0.3);
    transform: translateX(5px);
}

.ait-feature-icon {
    width: 45px; height: 45px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 0.8rem;
}

.ait-feature-icon.purple { background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(212,175,55,0.15)); color: #FFD700; }
.ait-feature-icon.cyan { background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(212,175,55,0.15)); color: #FFA500; }
.ait-feature-icon.gold { background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(212,175,55,0.15)); color: #d4af37; }
.ait-feature-icon.green { background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(212,175,55,0.15)); color: #FFD700; }

.ait-feature-title { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
.ait-feature-desc { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.5; margin: 0; }

/* CTA */
.ait-cta { text-align: center; margin-top: 3.5rem; position: relative; z-index: 2; }

.ait-cta-btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #d4af37 100%);
    color: #000;
    font-size: 1.15rem; font-weight: 700;
    border: none; border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255,215,0,0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ait-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,215,0,0.5);
    color: #000;
    background: linear-gradient(135deg, #ffe44d 0%, #FFD700 50%, #FFA500 100%);
}

.ait-cta-note { color: rgba(255,255,255,0.4); font-size: 0.85rem; margin-top: 1rem; }
.ait-cta-note i { color: #FFD700; margin-right: 0.3rem; }

/* Responsive */
@media (max-width: 991.98px) {
    .ait-main-title { font-size: 2.2rem; }
    .ait-process { flex-wrap: wrap; }
    .ait-process-arrow { display: none; }
}

@media (max-width: 767.98px) {
    .ait-section { padding: 3rem 0; }
    .ait-main-title { font-size: 1.8rem; }
    .ait-subtitle { font-size: 1rem; }
    .ait-header { margin-bottom: 2.5rem; }
    .ait-preview-grid { grid-template-columns: 1fr; }
    .ait-preview-card-img { height: 100px; }
    .ait-demo-body { padding: 1.2rem; }
    .ait-cta-btn { width: 100%; justify-content: center; }
    .ait-process-step { padding: 0.8rem; }
    .ait-process-step .step-icon { font-size: 1.4rem; }
    .ait-process-step .step-label { font-size: 0.75rem; }
}
