/* --- VARIABLES --- */
:root {
    --primary: #4f46e5;
    --secondary: #06b6d4;
    --gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --bg-light: #ffffff;
    --bg-soft: #f3f4f6;
    --text-dark: #111827;
    --text-muted: #6b7280;
}

body { font-family: 'Outfit', sans-serif; color: var(--text-dark); background: var(--bg-light); }

/* --- UTILS --- */
.text-gradient { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-purple { color: #9333ea; }
.text-primary { color: var(--primary) !important; }
.bg-light-gradient { background: linear-gradient(to bottom, #fff, #f0f9ff); }

/* Buttons */
.btn-gradient {
    background: var(--gradient); color: white; padding: 12px 30px; border-radius: 50px; border: none; font-weight: 700; transition: 0.3s;
}
.btn-gradient:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3); color: white; }

.btn-outline-gradient {
    background: white; color: var(--text-dark); padding: 12px 30px; border-radius: 50px; border: 2px solid #e5e7eb; font-weight: 700; text-decoration: none; transition: 0.3s;
}
.btn-outline-gradient:hover { border-color: var(--primary); color: var(--primary); }

/* --- HERO --- */
.ai-hero { padding: 120px 0 80px; margin-top: 50px; position: relative; overflow: hidden; }
.blob-bg {
    position: absolute; top: -50%; right: -20%; width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 70%);
    z-index: -1; animation: floatBlob 10s infinite alternate;
}
@keyframes floatBlob { 0% { transform: translate(0,0); } 100% { transform: translate(-30px, 30px); } }

.hero-badge { background: #e0e7ff; color: var(--primary); padding: 8px 16px; border-radius: 30px; font-weight: 700; font-size: 0.85rem; display: inline-block; margin-bottom: 20px; }
.hero-title { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }

/* AI Chat Card */
.ai-chat-card {
    background: white; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); width: 350px; margin: 0 auto; overflow: hidden; border: 1px solid #eee;
}
.floating { animation: float 6s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

.chat-header { padding: 15px; border-bottom: 1px solid #eee; display: flex; align-items: center; gap: 10px; background: #fafafa; }
.avatar { width: 40px; height: 40px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; }
.chat-body { padding: 20px; height: 200px; background: white; text-align: left; font-size: 0.95rem; color: #444; }
.chat-input-bar { padding: 15px; border-top: 1px solid #eee; display: flex; gap: 10px; align-items: center; }
.fake-input { flex-grow: 1; background: #f3f4f6; padding: 10px; border-radius: 30px; color: #9ca3af; font-size: 0.9rem; text-align: left; }
.send-btn { width: 35px; height: 35px; background: var(--primary); border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; }

/* --- PRICING CARDS --- */
.price-card {
    background: white; border-radius: 24px; padding: 40px 30px; text-align: center; border: 1px solid #eee; transition: 0.3s; position: relative; overflow: hidden;
}
.price-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--primary); }

.price-card.popular { border: 2px solid var(--primary); transform: scale(1.05); z-index: 2; box-shadow: 0 20px 50px rgba(79, 70, 229, 0.15); }
.popular-badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 5px 20px; border-radius: 0 0 10px 10px; font-size: 0.8rem; font-weight: bold; }

.card-icon { width: 70px; height: 70px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 20px; }
.bg-blue-soft { background: #e0f2fe; color: #0284c7; }
.bg-pink-soft { background: #fce7f3; color: #db2777; }
.bg-purple-soft { background: #f3e8ff; color: #9333ea; }

.price-tag { margin: 20px 0; }
.old-price { text-decoration: line-through; color: #9ca3af; font-size: 1.1rem; margin-right: 10px; }
.new-price { font-size: 2rem; font-weight: 800; color: var(--text-dark); }

.course-list { list-style: none; padding: 0; margin: 20px 0; text-align: left; }
.course-list li { margin-bottom: 10px; font-size: 0.95rem; color: #555; }
.course-list i { width: 25px; }

.btn-select { display: block; width: 100%; padding: 12px; border-radius: 10px; background: #f3f4f6; color: var(--text-dark); font-weight: 700; text-decoration: none; transition: 0.2s; }
.btn-select:hover { background: #e5e7eb; color: black; }
.btn-gradient-fill { background: var(--gradient); color: white; }
.btn-gradient-fill:hover { color: white; opacity: 0.9; }

/* --- PROMPT SIMULATOR --- */
.prompt-box { background: white; padding: 30px; border-radius: 20px; border: 1px solid #eee; }
.prompt-input { background: #f9fafb; padding: 15px; border-radius: 10px; font-family: monospace; border-left: 4px solid var(--primary); margin-bottom: 20px; }
.prompt-output { min-height: 80px; color: #4b5563; font-style: italic; }
.loader { display: none; width: 20px; height: 20px; border: 3px solid #eee; border-top: 3px solid var(--primary); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- DESIGN SHOWCASE --- */
.design-card { position: relative; border-radius: 15px; overflow: hidden; height: 250px; group: hover; }
.design-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.design-card:hover img { transform: scale(1.1); filter: brightness(0.6); }
.design-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.design-card:hover .design-overlay { opacity: 1; }