/* --- VARIABLES --- */
:root {
    --bg-dark: #000000;
    --panel-bg: #121212;
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
    
    /* Instagram Gradient */
    --insta-grad: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --pink: #cc2366;
    --yellow: #f09433;
    --blue: #2979ff;
}

body { font-family: 'Poppins', sans-serif; background-color: var(--bg-dark); color: var(--text-white); overflow-x: hidden; }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; }

/* UTILS */
.text-insta { background: var(--insta-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-pink { color: var(--pink); }
.text-yellow { color: var(--yellow); }
.bg-darker { background-color: #080808; }
.bg-panel { background-color: var(--panel-bg); }

/* --- BACKGROUND BLOBS --- */
.blur-blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; z-index: -1; animation: floatBlob 10s infinite alternate;
}
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: #833ab4; }
.blob-2 { top: 40%; right: -10%; width: 400px; height: 400px; background: #fd1d1d; }
.blob-3 { bottom: -10%; left: 20%; width: 600px; height: 600px; background: #405de6; opacity: 0.2; }

@keyframes floatBlob { 0% { transform: translate(0,0); } 100% { transform: translate(30px, 30px); } }

/* HERO */
.social-hero { padding: 120px 0 100px; margin-top: 50px; position: relative; }

.badge-live {
    background: rgba(255, 0, 0, 0.2); color: white; padding: 5px 15px; border-radius: 4px; border: 1px solid red; 
    display: inline-flex; align-items: center; gap: 8px; font-weight: bold; font-size: 0.8rem; margin-bottom: 20px;
}
.dot-rec { width: 10px; height: 10px; background: red; border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

.btn-insta {
    background: var(--insta-grad); color: white; padding: 12px 35px; border-radius: 50px; font-weight: 700; border: none; transition: 0.3s; text-decoration: none;
}
.btn-insta:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(220, 39, 67, 0.5); color: white; }

.btn-outline-insta {
    border: 2px solid #dc2743; color: white; padding: 12px 35px; border-radius: 50px; font-weight: 700; text-decoration: none; transition: 0.3s;
}
.btn-outline-insta:hover { background: #dc2743; }

/* 3D PHONE */
.phone-mockup {
    width: 260px; height: 500px; background: #000; border: 8px solid #222; border-radius: 35px; margin: 0 auto; position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); background-image: url('https://images.unsplash.com/photo-1611162617213-7d7a39e9b1d7?w=500'); background-size: cover;
}
.notch { width: 100px; height: 25px; background: #222; border-radius: 0 0 15px 15px; position: absolute; top: 0; left: 50%; transform: translateX(-50%); }
.floating { animation: float 6s infinite ease-in-out; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.screen-content { position: absolute; width: 100%; height: 100%; }
.bubble {
    position: absolute; background: rgba(255,255,255,0.9); color: black; padding: 8px 15px; border-radius: 20px; font-weight: bold; font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); animation: popIn 0.5s ease-out forwards;
}
.like-bubble { top: 100px; left: -30px; animation-delay: 0.5s; }
.comment-bubble { top: 200px; right: -40px; animation-delay: 1s; }
.share-bubble { bottom: 100px; left: -20px; animation-delay: 1.5s; }
.play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px;
    background: rgba(255,255,255,0.2); backdrop-filter: blur(5px); border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 2px solid white; font-size: 1.5rem;
}

@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* --- AUDIENCE --- */
.bg-glass { background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); }
.border-y-pink { border-top: 1px solid rgba(204, 35, 102, 0.3); border-bottom: 1px solid rgba(204, 35, 102, 0.3); }
.border-end-pink { border-right: 1px solid rgba(204, 35, 102, 0.3); }
@media (max-width: 768px) { .border-end-pink { border-right: none; border-bottom: 1px solid rgba(204,35,102,0.3); padding-bottom: 20px; } }

/* --- LAB --- */
.lab-frame { background: var(--panel-bg); border-radius: 12px; overflow: hidden; max-width: 900px; margin: 0 auto; border: 1px solid #333; }
.type-picker { display: flex; gap: 10px; }
.type-option {
    flex: 1; background: #222; padding: 10px; border-radius: 8px; text-align: center; cursor: pointer; border: 1px solid transparent; transition: 0.3s; color: #777;
}
.type-option:hover, .type-option.active { border-color: var(--pink); color: white; background: #222; }

.stat-circle {
    width: 200px; height: 200px; border-radius: 50%; border: 5px solid #222; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: radial-gradient(circle, #1a1a1a, #000); box-shadow: 0 0 30px rgba(255,255,255,0.05);
}
.stat-number { font-size: 3rem; font-weight: 900; background: var(--insta-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 0.8rem; color: #777; letter-spacing: 2px; }

/* Emoji Animation */
.reaction-stream { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
.flying-emoji { position: absolute; bottom: -50px; font-size: 2rem; animation: flyUp 2s linear forwards; }
@keyframes flyUp { to { bottom: 100%; opacity: 0; } }

/* --- PLATFORMS --- */
.platform-card {
    background: #151515; padding: 30px; border-radius: 12px; text-align: center; transition: 0.3s; border: 1px solid #222; height: 100%;
}
.platform-card:hover { transform: translateY(-10px); }
.ig-card:hover { background: radial-gradient(circle at bottom left, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); border-color: transparent; }
.fb-card:hover { background: #1877f2; border-color: transparent; }
.yt-card:hover { background: #ff0000; border-color: transparent; }
.li-card:hover { background: #0a66c2; border-color: transparent; }

/* --- TOOLS --- */
.tools-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.t-tag { background: #222; padding: 8px 15px; border-radius: 30px; border: 1px solid #333; font-size: 0.9rem; color: #ccc; }
.salary-box { background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); }