/* ═══════════════════════════════════════════════════════════
   BÜYÜME MOTORU - Create.cshtml Premium Styles
   ═══════════════════════════════════════════════════════════ */

/* ── Mesh Gradient Background ── */
.growth-bg {
    position: fixed; inset: 0; z-index: 0; overflow: hidden;
    background: linear-gradient(135deg, #0f0a1a 0%, #1a1035 40%, #0d1b2a 100%);
}
.growth-bg .blob {
    position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5;
    animation: blobDrift 20s ease-in-out infinite alternate;
}
.growth-bg .blob-1 { width: 600px; height: 600px; background: radial-gradient(circle, #7b5cff, transparent 70%); top: -10%; left: -10%; animation-duration: 22s; }
.growth-bg .blob-2 { width: 500px; height: 500px; background: radial-gradient(circle, #ff4f93, transparent 70%); bottom: -15%; right: -10%; animation-duration: 18s; animation-delay: -5s; }
.growth-bg .blob-3 { width: 450px; height: 450px; background: radial-gradient(circle, #00d4ff, transparent 70%); top: 40%; left: 50%; animation-duration: 25s; animation-delay: -10s; }
.growth-bg .blob-4 { width: 350px; height: 350px; background: radial-gradient(circle, #ffc371, transparent 70%); top: 10%; right: 30%; animation-duration: 20s; animation-delay: -3s; }
@keyframes blobDrift {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(40px, -30px) scale(1.08); }
    66%  { transform: translate(-20px, 40px) scale(0.95); }
    100% { transform: translate(30px, 20px) scale(1.05); }
}

/* ── Glassmorphism Panel (içerik/form paneli — hover efekti YOK) ── */
.glass-panel {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

/* ── Panel Title (glass-panel içinde standart başlık) ── */
.panel-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.panel-title i {
    color: #7b5cff;
    font-size: 22px;
}

/* ── Glassmorphism Card (tıklanabilir kart — hover lift + mor glow) ── */
.glass-card {
    background: rgba(19, 17, 42, 0.55);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 28px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.glass-card:hover { 
    background: rgba(23, 20, 52, 0.75);
    border-top: 1px solid rgba(123, 97, 255, 0.4);
    border-left: 1px solid rgba(123, 97, 255, 0.3);
    box-shadow: 0 32px 80px rgba(123, 92, 255, 0.2), 0 0 30px rgba(123, 92, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* ── Fluid Toggle ── */
.fluid-toggle { position: relative; display: flex; background: rgba(255,255,255,0.06); border-radius: 16px; padding: 4px; gap: 4px; border: 1px solid rgba(255,255,255,0.08); }
.fluid-toggle .toggle-slider { position: absolute; top: 4px; left: 4px; width: calc(50% - 4px); height: calc(100% - 8px); background: linear-gradient(135deg, #7b5cff, #5e46e6); border-radius: 13px; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 4px 15px rgba(123,92,255,0.4); }
.fluid-toggle.instagram .toggle-slider { transform: translateX(100%); background: linear-gradient(135deg, #E1306C, #C13584); box-shadow: 0 4px 15px rgba(225,48,108,0.4); }
.toggle-btn { flex: 1; position: relative; z-index: 1; padding: 12px 24px; border: none; background: transparent; color: rgba(255,255,255,0.5); font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; cursor: pointer; transition: color 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.toggle-btn.active { color: #fff; }

/* ── Input Styles ── */
.premium-input {
    width: 100%; padding: 18px 20px 18px 52px; background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.1); border-radius: 16px; color: #fff;
    font-family: 'Inter', sans-serif; font-size: 15px; outline: none;
    transition: all 0.3s ease;
}
.premium-input::placeholder { color: rgba(255,255,255,0.3); }
.premium-input:focus { border-color: #7b5cff; box-shadow: 0 0 0 4px rgba(123,92,255,0.15); background: rgba(255,255,255,0.08); }
.premium-input.instagram-mode:focus { border-color: #E1306C; box-shadow: 0 0 0 4px rgba(225,48,108,0.15); }
.input-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.35); transition: color 0.3s; font-size: 18px; }
.premium-input:focus ~ .input-icon, .premium-input:not(:placeholder-shown) ~ .input-icon { color: #7b5cff; }
.premium-input.instagram-mode:focus ~ .input-icon { color: #E1306C; }

/* ── Submit Button ── */
.submit-btn {
    width: 100%; padding: 18px; border: none; border-radius: 16px; font-family: 'Inter', sans-serif;
    font-weight: 700; font-size: 16px; color: #fff; cursor: pointer; position: relative; overflow: hidden;
    background: linear-gradient(135deg, #7b5cff, #5e46e6);
    box-shadow: 0 8px 32px rgba(123,92,255,0.35); transition: all 0.3s ease; letter-spacing: 0.3px;
}
.submit-btn.instagram-mode { background: linear-gradient(135deg, #E1306C, #C13584); box-shadow: 0 8px 32px rgba(225,48,108,0.35); }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(123,92,255,0.5); }
.submit-btn.instagram-mode:hover { box-shadow: 0 12px 40px rgba(225,48,108,0.5); }
.submit-btn:active { transform: translateY(0); }
.submit-btn .btn-shimmer { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); animation: shimmer 3s infinite; }
@keyframes shimmer { 0% { left: -100%; } 100% { left: 200%; } }

/* ── Analysis Container ── */
.analysis-overlay { 
    position: relative; 
    min-height: calc(100vh - 130px); 
    padding: 60px 20px; 
    z-index: 100; 
    display: none; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    transition: opacity 0.5s ease; 
}
.analysis-overlay.active { display: flex; opacity: 1; }
.analysis-box {
    width: 340px; height: 340px; border-radius: 30px; position: relative; overflow: hidden;
    background: rgba(255,255,255,0.07); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 120px rgba(123,92,255,0.1);
    animation: floatingBox 6s ease-in-out infinite;
    display: flex; align-items: center; justify-content: center;
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1), height 0.8s cubic-bezier(0.22, 1, 0.36, 1), border-radius 0.8s ease;
}
/* Ekran Görüntüsü Geldiğinde Kutu Genişler */
.analysis-box.has-screenshot.website-mode {
    width: 640px;
    height: 400px;
    border-radius: 20px;
}
.analysis-box.has-screenshot.instagram-mode {
    width: 340px;
    height: 600px;
    border-radius: 24px;
}

@keyframes floatingBox {
    0%   { transform: translate(0, 0) rotate(0deg); }
    25%  { transform: translate(12px, -18px) rotate(0.5deg); }
    50%  { transform: translate(-8px, 8px) rotate(-0.3deg); }
    75%  { transform: translate(15px, 12px) rotate(0.4deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}
.analysis-text { color: rgba(255,255,255,0.9); font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px; text-align: center; transition: opacity 0.5s ease; padding: 20px; }
.analysis-screenshot { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.analysis-screenshot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: inherit; }
.analysis-screenshot.visible { opacity: 1; }

/* ── Orbiting Particles ── */
.particle-ring { position: absolute; inset: -60px; pointer-events: none; }
.particle {
    position: absolute; width: 6px; height: 6px; border-radius: 50%;
    background: #7b5cff; opacity: 0;
}
.particle-ring.active .particle { opacity: 1; }
.p1  { top: 50%; left: -3px;  animation: orbit 4s linear infinite; }
.p2  { top: -3px;  left: 50%; animation: orbit 4s linear infinite 0.5s; }
.p3  { top: 50%; right: -3px; animation: orbit 4s linear infinite 1s; }
.p4  { bottom: -3px; left: 50%; animation: orbit 4s linear infinite 1.5s; }
.p5  { top: 15%; left: 10%;   animation: orbit 5s linear infinite 0.3s; background: #ff4f93; }
.p6  { top: 10%; right: 15%;  animation: orbit 5s linear infinite 0.8s; background: #00d4ff; }
.p7  { bottom: 15%; right: 10%; animation: orbit 5s linear infinite 1.3s; background: #ffc371; }
.p8  { bottom: 10%; left: 15%; animation: orbit 5s linear infinite 1.8s; background: #ff4f93; }
.p9  { top: 30%; left: -6px;  animation: orbit 3.5s linear infinite 0.2s; width: 4px; height: 4px; }
.p10 { top: -6px;  left: 30%; animation: orbit 3.5s linear infinite 0.7s; width: 4px; height: 4px; background: #00d4ff; }
.p11 { bottom: 30%; right: -6px; animation: orbit 3.5s linear infinite 1.2s; width: 4px; height: 4px; background: #ffc371; }
.p12 { bottom: -6px; right: 30%; animation: orbit 3.5s linear infinite 1.7s; width: 4px; height: 4px; }

@keyframes orbit {
    0%   { opacity: 0; transform: scale(0.5); }
    20%  { opacity: 1; transform: scale(1); }
    80%  { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.5) translate(20px, -20px); }
}

/* ── Completion Flash ── */
.analysis-box.completing {
    animation: completeFlash 1.2s ease-out forwards;
}
@keyframes completeFlash {
    0%   { transform: scale(1); box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 120px rgba(123,92,255,0.1); }
    50%  { transform: scale(1.15); box-shadow: 0 0 200px rgba(123,92,255,0.6), 0 0 80px rgba(255,79,147,0.3); }
    100% { transform: scale(2); opacity: 0; }
}

/* ── Fade Utility ── */
.fade-in  { animation: fadeIn 0.6s ease forwards; }
.fade-out { animation: fadeOut 0.5s ease forwards; }
@keyframes fadeIn  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-10px); } }

/* ── Step Indicators ── */
.step-dots { display: flex; gap: 8px; justify-content: center; }
.step-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); transition: all 0.4s ease; }
.step-dot.active { background: #7b5cff; width: 28px; border-radius: 4px; }

/* ── Config Input (dark glass — form/settings sayfaları için) ── */
.config-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}
.config-input:focus {
    border-color: #7b5cff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 92, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
}
.config-input::placeholder { color: rgba(255, 255, 255, 0.3); }
.config-input:disabled, .config-input[readonly] { opacity: 0.5; cursor: not-allowed; }

/* ── Pulse ── */
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.3; } }
